public class TestBucketCache
extends java.lang.Object
Tests will ensure that blocks' data correctness under several threads concurrency
Modifier and Type | Field and Description |
---|---|
int |
constructedBlockSize |
int[] |
constructedBlockSizes |
Constructor and Description |
---|
TestBucketCache() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Iterable<java.lang.Object[]> |
data() |
void |
setup() |
void |
tearDown() |
void |
testBucketAllocator() |
void |
testCacheMultiThreadedSingleKey() |
void |
testCacheSimple() |
void |
testHeapSizeChanges() |
void |
testMemoryLeak() |
void |
testOffsetProducesPositiveOutput() |
public int constructedBlockSize
public int[] constructedBlockSizes
public static java.lang.Iterable<java.lang.Object[]> data()
public void setup() throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public void tearDown()
public void testBucketAllocator() throws BucketAllocatorException
BucketAllocatorException
public void testCacheSimple() throws java.lang.Exception
java.lang.Exception
public void testCacheMultiThreadedSingleKey() throws java.lang.Exception
java.lang.Exception
public void testHeapSizeChanges() throws java.lang.Exception
java.lang.Exception
public void testMemoryLeak() throws java.lang.Exception
java.lang.Exception
public void testOffsetProducesPositiveOutput()