Class TerraSpaceTest
java.lang.Object
org.semispace.TerraSpaceTest
Tests targeted to test terracotta integration.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TerraSpaceTest
public TerraSpaceTest()
-
-
Method Details
-
getSpace
-
setUp
@BeforeAll public void setUp() -
testWrite
@Test public void testWrite() -
testRead
- Throws:
InterruptedException
-
testHolderIdArray
@Test public void testHolderIdArray() -
testAsync
- Throws:
InterruptedException
-
testPreciseRead
- Throws:
InterruptedException
-
testQuantity
@Test public void testQuantity() -
testQuantity2
@Test public void testQuantity2() -
testWhichIllustratesSlownessWithManyElements
@Test public void testWhichIllustratesSlownessWithManyElements()Test illustrates that a large number of items could benefit from having an index. The test is horrendously slow when having a large number of elements. NB: This test will fail when having a large (or large-ish) number of elements. This is a deficiency that will need indexes to be improved. -
testAlternateHolder
@Test public void testAlternateHolder() -
testDifferentObjects
@Test public void testDifferentObjects() -
testAsyncWithFourThreads
- Throws:
InterruptedException
-
testAsyncWithFourThreadsAndId
- Throws:
InterruptedException
-
testInsertionTime
@Test public void testInsertionTime()Will not fail on insertion time, really. Just testing how many elements that can be inserted and removed. Note that I do test whether the same number was removed as inserted.
-