org.hdiv.taglib.html
Class MultiboxTag4Test
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.MultiboxTag4Test
- All Implemented Interfaces:
- junit.framework.Test, org.apache.cactus.internal.CactusTestCase
public class MultiboxTag4Test
- 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
- Author:
- Aritz Rabadan, Gorka Vicente
| Fields inherited from class org.apache.cactus.JspTestCase |
out, pageContext |
| Fields inherited from class org.apache.cactus.ServletTestCase |
config, request, response, session |
|
Constructor Summary |
MultiboxTag4Test(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 |
MultiboxTag4Test
public MultiboxTag4Test(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
testMultiboxBodyPropertyFalse
public void testMultiboxBodyPropertyFalse()
testMultiboxBodyPropertyFalseAccesskey
public void testMultiboxBodyPropertyFalseAccesskey()
testMultiboxBodyPropertyFalseAlt
public void testMultiboxBodyPropertyFalseAlt()
testMultiboxBodyPropertyFalseAltKey1
public void testMultiboxBodyPropertyFalseAltKey1()
testMultiboxBodyPropertyFalseAltKey2
public void testMultiboxBodyPropertyFalseAltKey2()
testMultiboxBodyPropertyFalseAltKey_fr1
public void testMultiboxBodyPropertyFalseAltKey_fr1()
testMultiboxBodyPropertyFalseAltKey_fr2
public void testMultiboxBodyPropertyFalseAltKey_fr2()
testMultiboxBodyPropertyFalseDisabled_False
public void testMultiboxBodyPropertyFalseDisabled_False()
testMultiboxBodyPropertyFalseDisabled_False1
public void testMultiboxBodyPropertyFalseDisabled_False1()
testMultiboxBodyPropertyFalseDisabled_False2
public void testMultiboxBodyPropertyFalseDisabled_False2()
testMultiboxBodyPropertyFalseOnblur
public void testMultiboxBodyPropertyFalseOnblur()
testMultiboxBodyPropertyFalseOnchange
public void testMultiboxBodyPropertyFalseOnchange()
testMultiboxBodyPropertyFalseOnclick
public void testMultiboxBodyPropertyFalseOnclick()
testMultiboxBodyPropertyFalseOndblclick
public void testMultiboxBodyPropertyFalseOndblclick()
testMultiboxBodyPropertyFalseOnfocus
public void testMultiboxBodyPropertyFalseOnfocus()
testMultiboxBodyPropertyFalseOnkeydown
public void testMultiboxBodyPropertyFalseOnkeydown()
testMultiboxBodyPropertyFalseOnkeypress
public void testMultiboxBodyPropertyFalseOnkeypress()
testMultiboxBodyPropertyFalseOnkeyup
public void testMultiboxBodyPropertyFalseOnkeyup()
testMultiboxBodyPropertyFalseOnmousedown
public void testMultiboxBodyPropertyFalseOnmousedown()
testMultiboxBodyPropertyFalseOnmousemove
public void testMultiboxBodyPropertyFalseOnmousemove()
testMultiboxBodyPropertyFalseOnmouseout
public void testMultiboxBodyPropertyFalseOnmouseout()
testMultiboxBodyPropertyFalseOnmouseover
public void testMultiboxBodyPropertyFalseOnmouseover()
testMultiboxBodyPropertyFalseOnmouseup
public void testMultiboxBodyPropertyFalseOnmouseup()
Copyright © 2008 hdiv.org. All Rights Reserved.