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

Quick Search    Search Deep

org.apache.struts.taglib.html
Class TestMultiboxTag4  view TestMultiboxTag4 download TestMultiboxTag4.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.html.TestMultiboxTag4
All Implemented Interfaces:
org.apache.cactus.internal.CactusTestCase, junit.framework.Test

public class TestMultiboxTag4
extends org.apache.cactus.JspTestCase

Suite of unit tests for the org.apache.struts.taglib.html.MultiboxTag class. NOTE - These tests were separated into 4 files each because of the size of the jsp. (not playing well with Tomcat 3.3 These tests are numbered as such: 1 thru 4 test a single checkbox TestMultiboxTag1 - These test validate true (a value was in the array) on our form. TestMultiboxTag2 - Same as 1, but using BodyContent instead of value attribute TestMultiboxTag3 - These test validate true (a value was in the array) on our form. TestMultiboxTag4 - Same as 3, but using BodyContent instead of value attribute 5 thru 8 test multiple checkboxes TestMultiboxTag5 - These test validate true (a value was in the array) on our form. TestMultiboxTag6 - Same as 5, but using BodyContent instead of value attribute TestMultiboxTag7 - These test validate true (a value was in the array) on our form. TestMultiboxTag8 - Same as 7, but using BodyContent instead of value attribute


Field Summary
 
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
TestMultiboxTag4(java.lang.String theName)
          Defines the testcase name for JUnit.
 
Method Summary
static void main(java.lang.String[] theArgs)
          Start the tests.
private  void runMyTest(java.lang.String whichTest, java.lang.String locale)
           
static junit.framework.Test suite()
           
 void testMultiboxBodyPropertyFalse()
           
 void testMultiboxBodyPropertyFalseAccesskey()
           
 void testMultiboxBodyPropertyFalseAlt()
           
 void testMultiboxBodyPropertyFalseAltKey_fr1()
           
 void testMultiboxBodyPropertyFalseAltKey_fr2()
           
 void testMultiboxBodyPropertyFalseAltKey1()
           
 void testMultiboxBodyPropertyFalseAltKey2()
           
 void testMultiboxBodyPropertyFalseDisabled_False()
           
 void testMultiboxBodyPropertyFalseDisabled_False1()
           
 void testMultiboxBodyPropertyFalseDisabled_False2()
           
 void testMultiboxBodyPropertyFalseOnblur()
           
 void testMultiboxBodyPropertyFalseOnchange()
           
 void testMultiboxBodyPropertyFalseOnclick()
           
 void testMultiboxBodyPropertyFalseOndblclick()
           
 void testMultiboxBodyPropertyFalseOnfocus()
           
 void testMultiboxBodyPropertyFalseOnkeydown()
           
 void testMultiboxBodyPropertyFalseOnkeypress()
           
 void testMultiboxBodyPropertyFalseOnkeyup()
           
 void testMultiboxBodyPropertyFalseOnmousedown()
           
 void testMultiboxBodyPropertyFalseOnmousemove()
           
 void testMultiboxBodyPropertyFalseOnmouseout()
           
 void testMultiboxBodyPropertyFalseOnmouseover()
           
 void testMultiboxBodyPropertyFalseOnmouseup()
           
 
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, 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
 

Constructor Detail

TestMultiboxTag4

public TestMultiboxTag4(java.lang.String theName)
Defines the testcase name for JUnit.

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.lang.String locale)
                throws java.lang.Exception

testMultiboxBodyPropertyFalse

public void testMultiboxBodyPropertyFalse()
                                   throws java.lang.Exception

testMultiboxBodyPropertyFalseAccesskey

public void testMultiboxBodyPropertyFalseAccesskey()
                                            throws java.lang.Exception

testMultiboxBodyPropertyFalseAlt

public void testMultiboxBodyPropertyFalseAlt()
                                      throws java.lang.Exception

testMultiboxBodyPropertyFalseAltKey1

public void testMultiboxBodyPropertyFalseAltKey1()
                                          throws java.lang.Exception

testMultiboxBodyPropertyFalseAltKey2

public void testMultiboxBodyPropertyFalseAltKey2()
                                          throws java.lang.Exception

testMultiboxBodyPropertyFalseAltKey_fr1

public void testMultiboxBodyPropertyFalseAltKey_fr1()
                                             throws java.lang.Exception

testMultiboxBodyPropertyFalseAltKey_fr2

public void testMultiboxBodyPropertyFalseAltKey_fr2()
                                             throws java.lang.Exception

testMultiboxBodyPropertyFalseDisabled_False

public void testMultiboxBodyPropertyFalseDisabled_False()
                                                 throws java.lang.Exception

testMultiboxBodyPropertyFalseDisabled_False1

public void testMultiboxBodyPropertyFalseDisabled_False1()
                                                  throws java.lang.Exception

testMultiboxBodyPropertyFalseDisabled_False2

public void testMultiboxBodyPropertyFalseDisabled_False2()
                                                  throws java.lang.Exception

testMultiboxBodyPropertyFalseOnblur

public void testMultiboxBodyPropertyFalseOnblur()
                                         throws java.lang.Exception

testMultiboxBodyPropertyFalseOnchange

public void testMultiboxBodyPropertyFalseOnchange()
                                           throws java.lang.Exception

testMultiboxBodyPropertyFalseOnclick

public void testMultiboxBodyPropertyFalseOnclick()
                                          throws java.lang.Exception

testMultiboxBodyPropertyFalseOndblclick

public void testMultiboxBodyPropertyFalseOndblclick()
                                             throws java.lang.Exception

testMultiboxBodyPropertyFalseOnfocus

public void testMultiboxBodyPropertyFalseOnfocus()
                                          throws java.lang.Exception

testMultiboxBodyPropertyFalseOnkeydown

public void testMultiboxBodyPropertyFalseOnkeydown()
                                            throws java.lang.Exception

testMultiboxBodyPropertyFalseOnkeypress

public void testMultiboxBodyPropertyFalseOnkeypress()
                                             throws java.lang.Exception

testMultiboxBodyPropertyFalseOnkeyup

public void testMultiboxBodyPropertyFalseOnkeyup()
                                          throws java.lang.Exception

testMultiboxBodyPropertyFalseOnmousedown

public void testMultiboxBodyPropertyFalseOnmousedown()
                                              throws java.lang.Exception

testMultiboxBodyPropertyFalseOnmousemove

public void testMultiboxBodyPropertyFalseOnmousemove()
                                              throws java.lang.Exception

testMultiboxBodyPropertyFalseOnmouseout

public void testMultiboxBodyPropertyFalseOnmouseout()
                                             throws java.lang.Exception

testMultiboxBodyPropertyFalseOnmouseover

public void testMultiboxBodyPropertyFalseOnmouseover()
                                              throws java.lang.Exception

testMultiboxBodyPropertyFalseOnmouseup

public void testMultiboxBodyPropertyFalseOnmouseup()
                                            throws java.lang.Exception