org.hdiv.taglib.html
Class OptionTag1Test
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.OptionTag1Test
- All Implemented Interfaces:
- junit.framework.Test, org.apache.cactus.internal.CactusTestCase
public class OptionTag1Test
- extends org.apache.cactus.JspTestCase
Suite of unit tests for the
org.hdiv.taglib.html.MultiboxTagHDIV class.
NOTE - These tests were separated into 4 files each because of the
size of the jsp.
These tests are numbered as such:
1 thru 4 test a single checkbox
TestOptionTag1 - 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 |
OptionTag1Test(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 |
OptionTag1Test
public OptionTag1Test(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
testOptionBodySelected
public void testOptionBodySelected()
testOptionBodyNotSelected
public void testOptionBodyNotSelected()
testOptionBodySelectedDisabled_true
public void testOptionBodySelectedDisabled_true()
testOptionBodyNotSelectedDisabled_true
public void testOptionBodyNotSelectedDisabled_true()
testOptionBodySelectedDisabled_false
public void testOptionBodySelectedDisabled_false()
testOptionBodyNotSelectedDisabled_false
public void testOptionBodyNotSelectedDisabled_false()
testOptionBodySelectedDisabled_other
public void testOptionBodySelectedDisabled_other()
testOptionBodyNotSelectedDisabled_other
public void testOptionBodyNotSelectedDisabled_other()
testOptionKeySelected
public void testOptionKeySelected()
testOptionKeyNotSelected
public void testOptionKeyNotSelected()
testOptionKeySelectedAlternateBundle
public void testOptionKeySelectedAlternateBundle()
testOptionKeyNotSelectedAlternateBundle
public void testOptionKeyNotSelectedAlternateBundle()
testOptionKeySelectedLocale_fr
public void testOptionKeySelectedLocale_fr()
testOptionKeyNotSelectedLocale_fr
public void testOptionKeyNotSelectedLocale_fr()
testOptionKeySelectedAlternateBundleLocale_fr
public void testOptionKeySelectedAlternateBundleLocale_fr()
testOptionKeyNotSelectedAlternateBundleLocale_fr
public void testOptionKeyNotSelectedAlternateBundleLocale_fr()
Copyright © 2008 hdiv.org. All Rights Reserved.