org.apache.commons.beanutils
Class BeanUtilsBenchCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.beanutils.BeanUtilsBenchCase
All Implemented Interfaces:
junit.framework.Test

public class BeanUtilsBenchCase
extends junit.framework.TestCase

JUnit Test Case containing microbenchmarks for BeanUtils.


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
 

Constructor Detail

BeanUtilsBenchCase

public BeanUtilsBenchCase(String name)
Construct a new instance of this test case.

Parameters:
name - Name of the test case
Method Detail

setUp

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

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

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.

Overrides:
tearDown in class junit.framework.TestCase

testCopyPropertiesBean

public void testCopyPropertiesBean()
                            throws Exception
Throws:
Exception

testCopyPropertiesDyna

public void testCopyPropertiesDyna()
                            throws Exception
Throws:
Exception

testCopyPropertiesMap

public void testCopyPropertiesMap()
                           throws Exception
Throws:
Exception

testCopyPropertiesStrs

public void testCopyPropertiesStrs()
                            throws Exception
Throws:
Exception

testPopulateMap

public void testPopulateMap()
                     throws Exception
Throws:
Exception

testPopulateStrs

public void testPopulateStrs()
                      throws Exception
Throws:
Exception


Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.