org.xmlBlaster.test.classtest.queue
Class DesignQueues2008InitialTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.xmlBlaster.test.classtest.queue.DesignQueues2008InitialTest
- All Implemented Interfaces:
- junit.framework.Test
public class DesignQueues2008InitialTest
- extends junit.framework.TestCase
Test
Method Summary |
private XBMeat |
createSimpleMeat(long id,
int size)
If the size is negative then a random size is choosen between 1 and the abs value specified |
private XBRef |
createSimpleRef(long id,
long meatId,
long storeId,
XBMeat meat)
|
private XBStore |
createSimpleStore(long id,
java.lang.String node,
java.lang.String storeType,
java.lang.String storePostfix)
|
static void |
main(java.lang.String[] args)
java org.xmlBlaster.test.classtest.queue.JdbcManagerCommonTableTest |
protected void |
setUp()
|
static junit.framework.Test |
suite()
Method is used by TestRunner to load these tests |
void |
tearDown()
|
void |
testEncoding()
|
void |
testManyEntries()
Tests the performance of many entries (50000 entries). |
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 |
log
private static final java.util.logging.Logger log
ME
private java.lang.String ME
glob
protected Global glob
pool
private I_DbPool pool
random
private java.util.Random random
info
private I_Info info
storeFactory
private XBStoreFactory storeFactory
meatFactory
private XBMeatFactory meatFactory
refFactory
private XBRefFactory refFactory
DesignQueues2008InitialTest
public DesignQueues2008InitialTest(Global glob,
java.lang.String name)
setUp
protected void setUp()
- Overrides:
setUp
in class junit.framework.TestCase
createSimpleMeat
private XBMeat createSimpleMeat(long id,
int size)
- If the size is negative then a random size is choosen between 1 and the abs value specified
- Parameters:
id
- size
-
- Returns:
createSimpleStore
private XBStore createSimpleStore(long id,
java.lang.String node,
java.lang.String storeType,
java.lang.String storePostfix)
createSimpleRef
private XBRef createSimpleRef(long id,
long meatId,
long storeId,
XBMeat meat)
testEncoding
public void testEncoding()
testManyEntries
public void testManyEntries()
- Tests the performance of many entries (50000 entries).
The size of the meat is a normal size of 10 kB.
tearDown
public void tearDown()
- Overrides:
tearDown
in class junit.framework.TestCase
suite
public static junit.framework.Test suite()
- Method is used by TestRunner to load these tests
main
public static void main(java.lang.String[] args)
java org.xmlBlaster.test.classtest.queue.JdbcManagerCommonTableTest
Copyright © 1999-2014 The xmlBlaster.org contributers.