|
||||||||||
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.BeanUtilsBenchCase
public class BeanUtilsBenchCase
JUnit Test Case containing microbenchmarks for BeanUtils.
Field Summary | |
---|---|
private BeanUtilsBean |
bu
|
private long |
counter
|
private DynaClass |
dynaClass
|
private BenchBean |
inBean
|
private DynaBean |
inDyna
|
private Map |
inMap
|
private Map |
inStrs
|
private BenchBean |
outBean
|
private DynaBean |
outDyna
|
Constructor Summary | |
---|---|
BeanUtilsBenchCase(String name)
Construct a new instance of this test case. |
Method Summary | |
---|---|
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 |
testCopyPropertiesBean()
|
void |
testCopyPropertiesDyna()
|
void |
testCopyPropertiesMap()
|
void |
testCopyPropertiesStrs()
|
void |
testPopulateMap()
|
void |
testPopulateStrs()
|
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 long counter
private DynaClass dynaClass
private BenchBean inBean
private DynaBean inDyna
private Map inMap
private Map inStrs
private BenchBean outBean
private DynaBean outDyna
private BeanUtilsBean bu
Constructor Detail |
---|
public BeanUtilsBenchCase(String name)
name
- Name of the test caseMethod Detail |
---|
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public static junit.framework.Test suite()
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testCopyPropertiesBean() throws Exception
Exception
public void testCopyPropertiesDyna() throws Exception
Exception
public void testCopyPropertiesMap() throws Exception
Exception
public void testCopyPropertiesStrs() throws Exception
Exception
public void testPopulateMap() throws Exception
Exception
public void testPopulateStrs() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |