Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.struts.taglib.bean
Class TestMessageTag3_fr  view TestMessageTag3_fr download TestMessageTag3_fr.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.cactus.internal.AbstractCactusTestCase
              extended byorg.apache.cactus.ServletTestCase
                  extended byorg.apache.cactus.JspTestCase
                      extended byorg.apache.struts.taglib.TaglibTestBase
                          extended byorg.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.


Field Summary
protected static java.lang.String TEST_KEY
           
protected static java.lang.String TEST_VAL_FR
           
 
Fields inherited from class org.apache.struts.taglib.TaglibTestBase
 
Fields inherited from class org.apache.cactus.JspTestCase
out, pageContext
 
Fields inherited from class org.apache.cactus.ServletTestCase
config, request, response, session
 
Fields inherited from class org.apache.cactus.internal.AbstractCactusTestCase
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestMessageTag3_fr(java.lang.String theName)
           
 
Method Summary
 void endMessageTag3ArgKeyApplicationScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgKeyApplicationScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgKeyNoScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgKeyNoScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgKeyRequestScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgKeyRequestScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgKeySessionScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgKeySessionScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNameApplicationScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNameApplicationScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNameNoScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNameNoScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNamePropertyApplicationScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNamePropertyApplicationScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNamePropertyNoScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNamePropertyNoScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNamePropertyRequestScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNamePropertyRequestScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNamePropertySessionScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNamePropertySessionScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNameRequestScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNameRequestScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNameSessionScopeAlternateBundle(org.apache.cactus.WebResponse response)
           
 void endMessageTag3ArgNameSessionScopeDefaultBundle(org.apache.cactus.WebResponse response)
           
private  void formatAndTest(java.lang.String compare, java.lang.String output)
           
static void main(java.lang.String[] theArgs)
          Start the tests.
private  void runMyTest(java.lang.String whichTest, java.util.Locale locale)
           
static junit.framework.Test suite()
           
 void testMessageTag3ArgKeyApplicationScopeAlternateBundle_fr()
           
 void testMessageTag3ArgKeyApplicationScopeDefaultBundle_fr()
           
 void testMessageTag3ArgKeyNoScopeAlternateBundle_fr()
           
 void testMessageTag3ArgKeyNoScopeDefaultBundle_fr()
           
 void testMessageTag3ArgKeyRequestScopeAlternateBundle_fr()
           
 void testMessageTag3ArgKeyRequestScopeDefaultBundle_fr()
           
 void testMessageTag3ArgKeySessionScopeAlternateBundle_fr()
           
 void testMessageTag3ArgKeySessionScopeDefaultBundle_fr()
           
 void testMessageTag3ArgNameApplicationScopeAlternateBundle_fr()
           
 void testMessageTag3ArgNameApplicationScopeDefaultBundle_fr()
           
 void testMessageTag3ArgNameNoScopeAlternateBundle_fr()
           
 void testMessageTag3ArgNameNoScopeDefaultBundle_fr()
           
 void testMessageTag3ArgNamePropertyApplicationScopeAlternateBundle_fr()
           
 void testMessageTag3ArgNamePropertyApplicationScopeDefaultBundle_fr()
           
 void testMessageTag3ArgNamePropertyNoScopeAlternateBundle_fr()
           
 void testMessageTag3ArgNamePropertyNoScopeDefaultBundle_fr()
           
 void testMessageTag3ArgNamePropertyRequestScopeAlternateBundle_fr()
           
 void testMessageTag3ArgNamePropertyRequestScopeDefaultBundle_fr()
           
 void testMessageTag3ArgNamePropertySessionScopeAlternateBundle_fr()
           
 void testMessageTag3ArgNamePropertySessionScopeDefaultBundle_fr()
           
 void testMessageTag3ArgNameRequestScopeAlternateBundle_fr()
           
 void testMessageTag3ArgNameRequestScopeDefaultBundle_fr()
           
 void testMessageTag3ArgNameSessionScopeAlternateBundle_fr()
           
 void testMessageTag3ArgNameSessionScopeDefaultBundle_fr()
           
 
Methods inherited from class org.apache.struts.taglib.TaglibTestBase
assertResults, fail, replace, runTest
 
Methods inherited from class org.apache.cactus.JspTestCase
createProtocolHandler
 
Methods inherited from class org.apache.cactus.internal.AbstractCactusTestCase
runBare, runBareServer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.cactus.internal.CactusTestCase
runBareServer
 

Field Detail

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
Constructor Detail

TestMessageTag3_fr

public TestMessageTag3_fr(java.lang.String theName)
Method Detail

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)