org.hdiv.taglib.html
Class MultiboxTag2Test
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.cactus.internal.AbstractCactusTestCase
org.apache.cactus.ServletTestCase
org.apache.cactus.JspTestCase
org.hdiv.taglib.html.MultiboxTag2Test
- All Implemented Interfaces:
- junit.framework.Test, org.apache.cactus.internal.CactusTestCase
public class MultiboxTag2Test
- 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
| Fields inherited from class org.apache.cactus.JspTestCase |
out, pageContext |
| Fields inherited from class org.apache.cactus.ServletTestCase |
config, request, response, session |
|
Constructor Summary |
MultiboxTag2Test(java.lang.String theName)
Defines the testcase name for JUnit. |
| 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, 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 |
MultiboxTag2Test
public MultiboxTag2Test(java.lang.String theName)
- Defines the testcase name for JUnit.
- Parameters:
theName - the testcase's name.
main
public static void main(java.lang.String[] theArgs)
- Start the tests.
- Parameters:
theArgs - the arguments. Not used
suite
public static junit.framework.Test suite()
- Returns:
- a test suite (
TestSuite) that includes all methods
starting with "test"
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp in class junit.framework.TestCase
- Throws:
java.lang.Exception
testMultiboxBodyPropertyTrue
public void testMultiboxBodyPropertyTrue()
testMultiboxBodyPropertyTrueAccesskey
public void testMultiboxBodyPropertyTrueAccesskey()
testMultiboxBodyPropertyTrueAlt
public void testMultiboxBodyPropertyTrueAlt()
testMultiboxBodyPropertyTrueAltKey1
public void testMultiboxBodyPropertyTrueAltKey1()
testMultiboxBodyPropertyTrueAltKey2
public void testMultiboxBodyPropertyTrueAltKey2()
testMultiboxBodyPropertyTrueAltKey_fr1
public void testMultiboxBodyPropertyTrueAltKey_fr1()
testMultiboxBodyPropertyTrueAltKey_fr2
public void testMultiboxBodyPropertyTrueAltKey_fr2()
testMultiboxBodyPropertyTrueDisabled_True
public void testMultiboxBodyPropertyTrueDisabled_True()
testMultiboxBodyPropertyTrueDisabled_False1
public void testMultiboxBodyPropertyTrueDisabled_False1()
testMultiboxBodyPropertyTrueDisabled_False2
public void testMultiboxBodyPropertyTrueDisabled_False2()
testMultiboxBodyPropertyTrueOnblur
public void testMultiboxBodyPropertyTrueOnblur()
testMultiboxBodyPropertyTrueOnchange
public void testMultiboxBodyPropertyTrueOnchange()
testMultiboxBodyPropertyTrueOnclick
public void testMultiboxBodyPropertyTrueOnclick()
testMultiboxBodyPropertyTrueOndblclick
public void testMultiboxBodyPropertyTrueOndblclick()
testMultiboxBodyPropertyTrueOnfocus
public void testMultiboxBodyPropertyTrueOnfocus()
testMultiboxBodyPropertyTrueOnkeydown
public void testMultiboxBodyPropertyTrueOnkeydown()
testMultiboxBodyPropertyTrueOnkeypress
public void testMultiboxBodyPropertyTrueOnkeypress()
testMultiboxBodyPropertyTrueOnkeyup
public void testMultiboxBodyPropertyTrueOnkeyup()
testMultiboxBodyPropertyTrueOnmousedown
public void testMultiboxBodyPropertyTrueOnmousedown()
testMultiboxBodyPropertyTrueOnmousemove
public void testMultiboxBodyPropertyTrueOnmousemove()
testMultiboxBodyPropertyTrueOnmouseout
public void testMultiboxBodyPropertyTrueOnmouseout()
testMultiboxBodyPropertyTrueOnmouseover
public void testMultiboxBodyPropertyTrueOnmouseover()
testMultiboxBodyPropertyTrueOnmouseup
public void testMultiboxBodyPropertyTrueOnmouseup()
Copyright © 2008 hdiv.org. All Rights Reserved.