org.hdiv.taglib.html
Class MultiboxTag3Test
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.MultiboxTag3Test
- All Implemented Interfaces:
- junit.framework.Test, org.apache.cactus.internal.CactusTestCase
public class MultiboxTag3Test
- 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 |
MultiboxTag3Test(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 |
MultiboxTag3Test
public MultiboxTag3Test(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
testMultiboxPropertyFalse
public void testMultiboxPropertyFalse()
testMultiboxPropertyFalseAccesskey
public void testMultiboxPropertyFalseAccesskey()
testMultiboxPropertyFalseAlt
public void testMultiboxPropertyFalseAlt()
testMultiboxPropertyFalseAltKey1
public void testMultiboxPropertyFalseAltKey1()
testMultiboxPropertyFalseAltKey2
public void testMultiboxPropertyFalseAltKey2()
testMultiboxPropertyFalseAltKey_fr1
public void testMultiboxPropertyFalseAltKey_fr1()
testMultiboxPropertyFalseAltKey_fr2
public void testMultiboxPropertyFalseAltKey_fr2()
testMultiboxPropertyFalseDisabled_True
public void testMultiboxPropertyFalseDisabled_True()
testMultiboxPropertyFalseDisabled_False1
public void testMultiboxPropertyFalseDisabled_False1()
testMultiboxPropertyFalseDisabled_False2
public void testMultiboxPropertyFalseDisabled_False2()
testMultiboxPropertyFalseOnblur
public void testMultiboxPropertyFalseOnblur()
testMultiboxPropertyFalseOnchange
public void testMultiboxPropertyFalseOnchange()
testMultiboxPropertyFalseOnclick
public void testMultiboxPropertyFalseOnclick()
testMultiboxPropertyFalseOndblclick
public void testMultiboxPropertyFalseOndblclick()
testMultiboxPropertyFalseOnfocus
public void testMultiboxPropertyFalseOnfocus()
testMultiboxPropertyFalseOnkeydown
public void testMultiboxPropertyFalseOnkeydown()
testMultiboxPropertyFalseOnkeypress
public void testMultiboxPropertyFalseOnkeypress()
testMultiboxPropertyFalseOnkeyup
public void testMultiboxPropertyFalseOnkeyup()
testMultiboxPropertyFalseOnmousedown
public void testMultiboxPropertyFalseOnmousedown()
testMultiboxPropertyFalseOnmousemove
public void testMultiboxPropertyFalseOnmousemove()
testMultiboxPropertyFalseOnmouseout
public void testMultiboxPropertyFalseOnmouseout()
testMultiboxPropertyFalseOnmouseover
public void testMultiboxPropertyFalseOnmouseover()
testMultiboxPropertyFalseOnmouseup
public void testMultiboxPropertyFalseOnmouseup()
Copyright © 2008 hdiv.org. All Rights Reserved.