public class IBucketTest extends Object
IBucket
interface.Constructor and Description |
---|
IBucketTest() |
Modifier and Type | Method and Description |
---|---|
Object[][] |
instantiateBuckets()
Providing different implementations of the
IBucket as Dataprovider to the test class. |
void |
testByteRepresentation(Class<org.treetank.bucket.interfaces.IBucket> clazz,
org.treetank.bucket.interfaces.IBucket[] pBuckets)
Test method for
IBucket and
IBucket.serialize(java.io.DataOutput) . |
void |
testEqualsAndHashCode(Class<org.treetank.bucket.interfaces.IBucket> clazz,
org.treetank.bucket.interfaces.IBucket[] pBuckets)
Test method for
IBucket and
IBucket.serialize(java.io.DataOutput) . |
public void testByteRepresentation(Class<org.treetank.bucket.interfaces.IBucket> clazz, org.treetank.bucket.interfaces.IBucket[] pBuckets) throws org.treetank.exception.TTIOException
IBucket
and
IBucket.serialize(java.io.DataOutput)
.clazz
- IBucket as classpBuckets
- different bucketsorg.treetank.exception.TTIOException
public void testEqualsAndHashCode(Class<org.treetank.bucket.interfaces.IBucket> clazz, org.treetank.bucket.interfaces.IBucket[] pBuckets) throws org.treetank.exception.TTIOException
IBucket
and
IBucket.serialize(java.io.DataOutput)
.clazz
- IBucket as classpBuckets
- different bucketsorg.treetank.exception.TTIOException
public Object[][] instantiateBuckets() throws org.treetank.exception.TTByteHandleException
IBucket
as Dataprovider to the test class.IByteHandler
org.treetank.exception.TTByteHandleException
Copyright © 2013. All Rights Reserved.