| org.jaffa.persistence.blackboxtests.PerformanceTest
PerformanceTest | public class PerformanceTest extends TestCase (Code) | | author: GautamJ |
Method Summary | |
protected void | setUp() Sets up the fixture, by creating the UOW. | protected void | tearDown() Tears down the fixture, by closing the UOW. | public void | testRead1000() This will first create 1000 item records. | public void | testRead10000() This will first create 10000 item records. | public void | testWrite1000() It will create 1000 Item records 5 times and display the average write time. | public void | testWrite10000() It will create 10000 Item records 5 times and display the average write time. |
PerformanceTest | public PerformanceTest(String name)(Code) | | Creates new QueryTest
Parameters: name - The name of the test case. |
setUp | protected void setUp()(Code) | | Sets up the fixture, by creating the UOW. This method is called before a test is executed.
|
tearDown | protected void tearDown()(Code) | | Tears down the fixture, by closing the UOW. This method is called after a test is executed.
|
testRead1000 | public void testRead1000()(Code) | | This will first create 1000 item records.
It will then read them 5 times and display the average read time.
|
testRead10000 | public void testRead10000()(Code) | | This will first create 10000 item records.
It will then read them 5 times and display the average read time.
|
testWrite1000 | public void testWrite1000()(Code) | | It will create 1000 Item records 5 times and display the average write time.
|
testWrite10000 | public void testWrite10000()(Code) | | It will create 10000 Item records 5 times and display the average write time.
|
|
|