java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.cactus.internal.AbstractCactusTestCase
org.apache.cactus.ServletTestCase
org.apache.cactus.JspTestCase
org.apache.struts.taglib.TaglibTestBase
org.apache.struts.taglib.bean.TestMessageTag3_fr
- All Implemented Interfaces:
- org.apache.cactus.internal.CactusTestCase, junit.framework.Test
- public class TestMessageTag3_fr
- extends org.apache.struts.taglib.TaglibTestBase
These tests attempt to cover every single possible configuration of the
org.apache.struts.taglib.bean.MessageTag
I've tried to describe what I'm testing as best as possible by the method names.
To see how I'm testing, refer to the jsp file that these tests forward to.
All of these tests depend on a value being correctly written on the repose, then
checked here in endXXX method.
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail |
TEST_KEY
protected static final java.lang.String TEST_KEY
- See Also:
- Constant Field Values
TEST_VAL_FR
protected static final java.lang.String TEST_VAL_FR
- See Also:
- Constant Field Values
TestMessageTag3_fr
public TestMessageTag3_fr(java.lang.String theName)
main
public static void main(java.lang.String[] theArgs)
- Start the tests.
suite
public static junit.framework.Test suite()
runMyTest
private void runMyTest(java.lang.String whichTest,
java.util.Locale locale)
throws java.lang.Exception
formatAndTest
private void formatAndTest(java.lang.String compare,
java.lang.String output)
testMessageTag3ArgKeyNoScopeDefaultBundle_fr
public void testMessageTag3ArgKeyNoScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgKeyNoScopeDefaultBundle
public void endMessageTag3ArgKeyNoScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgKeyApplicationScopeDefaultBundle_fr
public void testMessageTag3ArgKeyApplicationScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgKeyApplicationScopeDefaultBundle
public void endMessageTag3ArgKeyApplicationScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgKeySessionScopeDefaultBundle_fr
public void testMessageTag3ArgKeySessionScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgKeySessionScopeDefaultBundle
public void endMessageTag3ArgKeySessionScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgKeyRequestScopeDefaultBundle_fr
public void testMessageTag3ArgKeyRequestScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgKeyRequestScopeDefaultBundle
public void endMessageTag3ArgKeyRequestScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgKeyNoScopeAlternateBundle_fr
public void testMessageTag3ArgKeyNoScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgKeyNoScopeAlternateBundle
public void endMessageTag3ArgKeyNoScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgKeyApplicationScopeAlternateBundle_fr
public void testMessageTag3ArgKeyApplicationScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgKeyApplicationScopeAlternateBundle
public void endMessageTag3ArgKeyApplicationScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgKeySessionScopeAlternateBundle_fr
public void testMessageTag3ArgKeySessionScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgKeySessionScopeAlternateBundle
public void endMessageTag3ArgKeySessionScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgKeyRequestScopeAlternateBundle_fr
public void testMessageTag3ArgKeyRequestScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgKeyRequestScopeAlternateBundle
public void endMessageTag3ArgKeyRequestScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNameNoScopeDefaultBundle_fr
public void testMessageTag3ArgNameNoScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNameNoScopeDefaultBundle
public void endMessageTag3ArgNameNoScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNameApplicationScopeDefaultBundle_fr
public void testMessageTag3ArgNameApplicationScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNameApplicationScopeDefaultBundle
public void endMessageTag3ArgNameApplicationScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNameSessionScopeDefaultBundle_fr
public void testMessageTag3ArgNameSessionScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNameSessionScopeDefaultBundle
public void endMessageTag3ArgNameSessionScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNameRequestScopeDefaultBundle_fr
public void testMessageTag3ArgNameRequestScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNameRequestScopeDefaultBundle
public void endMessageTag3ArgNameRequestScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNameNoScopeAlternateBundle_fr
public void testMessageTag3ArgNameNoScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNameNoScopeAlternateBundle
public void endMessageTag3ArgNameNoScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNameApplicationScopeAlternateBundle_fr
public void testMessageTag3ArgNameApplicationScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNameApplicationScopeAlternateBundle
public void endMessageTag3ArgNameApplicationScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNameSessionScopeAlternateBundle_fr
public void testMessageTag3ArgNameSessionScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNameSessionScopeAlternateBundle
public void endMessageTag3ArgNameSessionScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNameRequestScopeAlternateBundle_fr
public void testMessageTag3ArgNameRequestScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNameRequestScopeAlternateBundle
public void endMessageTag3ArgNameRequestScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNamePropertyNoScopeDefaultBundle_fr
public void testMessageTag3ArgNamePropertyNoScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNamePropertyNoScopeDefaultBundle
public void endMessageTag3ArgNamePropertyNoScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNamePropertyApplicationScopeDefaultBundle_fr
public void testMessageTag3ArgNamePropertyApplicationScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNamePropertyApplicationScopeDefaultBundle
public void endMessageTag3ArgNamePropertyApplicationScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNamePropertySessionScopeDefaultBundle_fr
public void testMessageTag3ArgNamePropertySessionScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNamePropertySessionScopeDefaultBundle
public void endMessageTag3ArgNamePropertySessionScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNamePropertyRequestScopeDefaultBundle_fr
public void testMessageTag3ArgNamePropertyRequestScopeDefaultBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNamePropertyRequestScopeDefaultBundle
public void endMessageTag3ArgNamePropertyRequestScopeDefaultBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNamePropertyNoScopeAlternateBundle_fr
public void testMessageTag3ArgNamePropertyNoScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNamePropertyNoScopeAlternateBundle
public void endMessageTag3ArgNamePropertyNoScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNamePropertyApplicationScopeAlternateBundle_fr
public void testMessageTag3ArgNamePropertyApplicationScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNamePropertyApplicationScopeAlternateBundle
public void endMessageTag3ArgNamePropertyApplicationScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNamePropertySessionScopeAlternateBundle_fr
public void testMessageTag3ArgNamePropertySessionScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNamePropertySessionScopeAlternateBundle
public void endMessageTag3ArgNamePropertySessionScopeAlternateBundle(org.apache.cactus.WebResponse response)
testMessageTag3ArgNamePropertyRequestScopeAlternateBundle_fr
public void testMessageTag3ArgNamePropertyRequestScopeAlternateBundle_fr()
throws java.lang.Exception
endMessageTag3ArgNamePropertyRequestScopeAlternateBundle
public void endMessageTag3ArgNamePropertyRequestScopeAlternateBundle(org.apache.cactus.WebResponse response)