HDIV API 2.0.4

org.hdiv.taglib.html
Class OptionsTag1Test

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.cactus.internal.AbstractCactusTestCase
              extended by org.apache.cactus.ServletTestCase
                  extended by org.apache.cactus.JspTestCase
                      extended by org.hdiv.taglib.html.OptionsTag1Test
All Implemented Interfaces:
junit.framework.Test, org.apache.cactus.internal.CactusTestCase

public class OptionsTag1Test
extends org.apache.cactus.JspTestCase

Suite of unit tests for the org.hdiv.taglib.html.OptionsTagHDIV class.


Field Summary
 
Fields inherited from class org.apache.cactus.JspTestCase
out, pageContext
 
Fields inherited from class org.apache.cactus.ServletTestCase
config, request, response, session
 
Constructor Summary
OptionsTag1Test(java.lang.String theName)
          Defines the testcase name for JUnit.
 
Method Summary
static void main(java.lang.String[] theArgs)
          Start the tests.
protected  void setUp()
           
static junit.framework.Test suite()
           
 void testOptionsCollectionArrayItemValueInCollectionProperty()
           
 void testOptionsCollectionArrayItemValueInCollectionPropertyLabelProperty()
           
 void testOptionsCollectionArrayItemValueNotInCollectionProperty()
           
 void testOptionsCollectionArrayItemValueNotInCollectionPropertyLabelProperty()
           
 void testOptionsNameArrayItemValueInCollection()
           
 void testOptionsNameArrayItemValueNotInCollection()
           
 void testOptionsNamePropertyArrayItemValueInCollection()
           
 void testOptionsNamePropertyArrayItemValueNotInCollection()
           
 void testOptionsPropertyArrayItemValueInCollection()
           
 void testOptionsPropertyArrayItemValueNotInCollection()
           
 
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
 

Constructor Detail

OptionsTag1Test

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

Parameters:
theName - the testcase's name.
Method Detail

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

testOptionsCollectionArrayItemValueInCollectionProperty

public void testOptionsCollectionArrayItemValueInCollectionProperty()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testOptionsCollectionArrayItemValueNotInCollectionProperty

public void testOptionsCollectionArrayItemValueNotInCollectionProperty()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testOptionsCollectionArrayItemValueInCollectionPropertyLabelProperty

public void testOptionsCollectionArrayItemValueInCollectionPropertyLabelProperty()
                                                                          throws java.lang.Exception
Throws:
java.lang.Exception

testOptionsCollectionArrayItemValueNotInCollectionPropertyLabelProperty

public void testOptionsCollectionArrayItemValueNotInCollectionPropertyLabelProperty()
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testOptionsNameArrayItemValueInCollection

public void testOptionsNameArrayItemValueInCollection()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testOptionsNameArrayItemValueNotInCollection

public void testOptionsNameArrayItemValueNotInCollection()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testOptionsPropertyArrayItemValueInCollection

public void testOptionsPropertyArrayItemValueInCollection()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testOptionsPropertyArrayItemValueNotInCollection

public void testOptionsPropertyArrayItemValueNotInCollection()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testOptionsNamePropertyArrayItemValueInCollection

public void testOptionsNamePropertyArrayItemValueInCollection()
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testOptionsNamePropertyArrayItemValueNotInCollection

public void testOptionsNamePropertyArrayItemValueNotInCollection()
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

HDIV 2.0.4

Copyright © 2008 hdiv.org. All Rights Reserved.