Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.beanutils
Class PropertyUtilsBenchCase  view PropertyUtilsBenchCase download PropertyUtilsBenchCase.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.beanutils.PropertyUtilsBenchCase
All Implemented Interfaces:
junit.framework.Test

public class PropertyUtilsBenchCase
extends junit.framework.TestCase

JUnit Test Case containing microbenchmarks for PropertyUtils.


Field Summary
private  long counter
           
private  DynaClass dynaClass
           
private  BenchBean inBean
           
private  DynaBean inDyna
           
private  java.util.Map inMap
           
private  BenchBean outBean
           
private  DynaBean outDyna
           
private  PropertyUtilsBean pu
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
PropertyUtilsBenchCase(java.lang.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()
           
 
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

counter

private long counter

dynaClass

private DynaClass dynaClass

inBean

private BenchBean inBean

inDyna

private DynaBean inDyna

inMap

private java.util.Map inMap

outBean

private BenchBean outBean

outDyna

private DynaBean outDyna

pu

private PropertyUtilsBean pu
Constructor Detail

PropertyUtilsBenchCase

public PropertyUtilsBenchCase(java.lang.String name)
Construct a new instance of this test case.

Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Set up instance variables required by this test case.


suite

public static junit.framework.Test suite()
Return the tests included in this test suite.


tearDown

public void tearDown()
Tear down instance variables required by this test case.


testCopyPropertiesBean

public void testCopyPropertiesBean()
                            throws java.lang.Exception

testCopyPropertiesDyna

public void testCopyPropertiesDyna()
                            throws java.lang.Exception

testCopyPropertiesMap

public void testCopyPropertiesMap()
                           throws java.lang.Exception