public class IRevisioningTest extends Object
IRevisioning
-interface.Constructor and Description |
---|
IRevisioningTest() |
Modifier and Type | Method and Description |
---|---|
Object[][] |
instantiateVersioning()
Providing different implementations of the
IRevisioning as Dataprovider to the test class. |
void |
setUp() |
void |
tearDown() |
void |
testCombineBuckets(Class<org.treetank.revisioning.IRevisioning> pRevisioningClass,
org.treetank.revisioning.IRevisioning[] pRevisioning,
Class<org.treetank.revisioning.IRevisioningTest.IRevisionChecker> pRevisionCheckerClass,
org.treetank.revisioning.IRevisioningTest.IRevisionChecker[] pRevisionChecker,
Class<org.treetank.revisioning.IRevisioningTest.IDataBucketGenerator> pDataGeneratorClass,
org.treetank.revisioning.IRevisioningTest.IDataBucketGenerator[] pDataGenerator)
Test method for
IRevisioning.combineBucketsForModification(int, long, DataBucket[], boolean) . |
void |
testCombineBucketsForModification(Class<org.treetank.revisioning.IRevisioning> pRevisioningClass,
org.treetank.revisioning.IRevisioning[] pRevisioning,
Class<org.treetank.revisioning.IRevisioningTest.IRevisionChecker> pRevisionCheckerClass,
org.treetank.revisioning.IRevisioningTest.IRevisionChecker[] pRevisionChecker,
Class<org.treetank.revisioning.IRevisioningTest.IDataBucketGenerator> pDataGeneratorClass,
org.treetank.revisioning.IRevisioningTest.IDataBucketGenerator[] pDataGenerator)
Test method for
IRevisioning.combineBuckets(org.treetank.bucket.DataBucket[]) . |
public void testCombineBucketsForModification(Class<org.treetank.revisioning.IRevisioning> pRevisioningClass, org.treetank.revisioning.IRevisioning[] pRevisioning, Class<org.treetank.revisioning.IRevisioningTest.IRevisionChecker> pRevisionCheckerClass, org.treetank.revisioning.IRevisioningTest.IRevisionChecker[] pRevisionChecker, Class<org.treetank.revisioning.IRevisioningTest.IDataBucketGenerator> pDataGeneratorClass, org.treetank.revisioning.IRevisioningTest.IDataBucketGenerator[] pDataGenerator)
IRevisioning.combineBuckets(org.treetank.bucket.DataBucket[])
.
This test just takes two versions and checks if the version-counter is interpreted correctly.pRevisioningClass
- class for the revisioning approachespRevisioning
- the different revisioning approachespRevisionCheckerClass
- class for the revisioning-check approachespRevisionChecker
- the different revisioning-check approachespDataGeneratorClass
- class for data-generatorpDataGenerator
- different data-generatorspublic void testCombineBuckets(Class<org.treetank.revisioning.IRevisioning> pRevisioningClass, org.treetank.revisioning.IRevisioning[] pRevisioning, Class<org.treetank.revisioning.IRevisioningTest.IRevisionChecker> pRevisionCheckerClass, org.treetank.revisioning.IRevisioningTest.IRevisionChecker[] pRevisionChecker, Class<org.treetank.revisioning.IRevisioningTest.IDataBucketGenerator> pDataGeneratorClass, org.treetank.revisioning.IRevisioningTest.IDataBucketGenerator[] pDataGenerator)
IRevisioning.combineBucketsForModification(int, long, DataBucket[], boolean)
.
This test just takes two versions and checks if the version-counter is interpreted correctly.pRevisioningClass
- class for the revisioning approachespRevisioning
- the different revisioning approachespRevisionCheckerClass
- class for the revisioning-check approachespRevisionChecker
- the different revisioning-check approachespDataGeneratorClass
- class for data-generatorpDataGenerator
- different data-generatorspublic Object[][] instantiateVersioning() throws org.treetank.exception.TTByteHandleException
IRevisioning
as Dataprovider to the test class.IRevisioning
and IRevisionChecker
org.treetank.exception.TTByteHandleException
Copyright © 2013. All Rights Reserved.