|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.commons.beanutils.DynaBeanMapDecoratorTestCase
public class DynaBeanMapDecoratorTestCase
Test Case for the DynaBeanMapDecorator
implementation class.
Field Summary | |
---|---|
private static DynaProperty |
dateProp
|
private static Date |
dateVal
|
private Map |
decoratedMap
|
private BasicDynaBean |
dynaBean
|
private static DynaClass |
dynaClass
|
private static Map |
emptyMap
|
private static DynaProperty |
intProp
|
private static Integer |
intVal
|
private static DynaProperty |
mapProp
|
private Map |
mapVal
|
private Map |
modifiableMap
|
private static DynaProperty |
nullProp
|
private static DynaProperty[] |
properties
|
private static DynaProperty |
stringProp
|
private static String |
stringVal
|
private Object[] |
values
|
Constructor Summary | |
---|---|
DynaBeanMapDecoratorTestCase(String name)
Construct a new instance of this test case. |
Method Summary | |
---|---|
private void |
checkUnmodifiable(String desc,
Collection collection)
Check that a Collection is not modifiable |
static void |
main(String[] args)
Run thus Test |
void |
setUp()
Set up instance variables required by this test case. |
static junit.framework.Test |
suite()
Return the tests included in this test suite. |
void |
tearDown()
Tear down instance variables required by this test case. |
void |
testClear()
Test clear() method |
void |
testContainsKey()
Test containsKey() method |
void |
testContainsValue()
Test containsValue() method |
void |
testEntrySet()
Test entrySet() method |
void |
testGet()
Test get() method |
void |
testIsEmpty()
Test isEmpty() method |
void |
testIsReadOnly()
Test isReadOnly() method |
void |
testKeySet()
Test keySet() method |
void |
testPut()
Test put() method |
void |
testPutAll()
Test putAll() method |
void |
testRemove()
Test remove() method |
void |
testSize()
Test size() method |
void |
testValues()
Test values() method |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Field Detail |
---|
private static final DynaProperty stringProp
private static final DynaProperty nullProp
private static final DynaProperty intProp
private static final DynaProperty dateProp
private static final DynaProperty mapProp
private static final DynaProperty[] properties
private static final DynaClass dynaClass
private static String stringVal
private static Integer intVal
private static Date dateVal
private Map mapVal
private Object[] values
private BasicDynaBean dynaBean
private Map decoratedMap
private Map modifiableMap
private static final Map emptyMap
Constructor Detail |
---|
public DynaBeanMapDecoratorTestCase(String name)
name
- Name of the test caseMethod Detail |
---|
public static void main(String[] args)
public static junit.framework.Test suite()
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testIsReadOnly()
public void testClear()
public void testContainsKey()
public void testContainsValue()
public void testEntrySet()
public void testGet()
public void testIsEmpty()
public void testKeySet()
public void testPut()
public void testPutAll()
public void testRemove()
public void testSize()
public void testValues()
private void checkUnmodifiable(String desc, Collection collection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |