Search in sources :

Example 6 with StaticgridSpacePartitioner

use of org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner in project bboxdb by jnidzwetzki.

the class TestStaticgridSpacePartitioner2 method testSplitFailed.

/**
 * Test the split failed call
 * @throws BBoxDBException
 * @throws ZookeeperNotFoundException
 * @throws ZookeeperException
 */
@Test(expected = BBoxDBException.class)
public void testSplitFailed() throws BBoxDBException, ZookeeperException, ZookeeperNotFoundException {
    final StaticgridSpacePartitioner spacePartitioner = getSpacePartitioner();
    spacePartitioner.splitFailed(null, null);
}
Also used : StaticgridSpacePartitioner(org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner) Test(org.junit.Test)

Example 7 with StaticgridSpacePartitioner

use of org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner in project bboxdb by jnidzwetzki.

the class TestStaticgridSpacePartitioner2 method testGetDestinationForMerge.

/**
 * Test the get destination for merge call
 * @throws BBoxDBException
 * @throws ZookeeperNotFoundException
 * @throws ZookeeperException
 */
@Test(expected = BBoxDBException.class)
public void testGetDestinationForMerge() throws BBoxDBException, ZookeeperException, ZookeeperNotFoundException {
    final StaticgridSpacePartitioner spacePartitioner = getSpacePartitioner();
    spacePartitioner.getDestinationForMerge(null);
}
Also used : StaticgridSpacePartitioner(org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner) Test(org.junit.Test)

Example 8 with StaticgridSpacePartitioner

use of org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner in project bboxdb by jnidzwetzki.

the class TestStaticgridSpacePartitioner2 method testSplitRegion.

/**
 * Test the split region call
 * @throws BBoxDBException
 * @throws ZookeeperNotFoundException
 * @throws ZookeeperException
 */
@Test(expected = BBoxDBException.class)
public void testSplitRegion() throws BBoxDBException, ZookeeperException, ZookeeperNotFoundException {
    final StaticgridSpacePartitioner spacePartitioner = getSpacePartitioner();
    spacePartitioner.splitRegion(null, null);
}
Also used : StaticgridSpacePartitioner(org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner) Test(org.junit.Test)

Example 9 with StaticgridSpacePartitioner

use of org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner in project bboxdb by jnidzwetzki.

the class TestStaticgridSpacePartitioner2 method testSplitComplete.

/**
 * Test the split complete call
 * @throws BBoxDBException
 * @throws ZookeeperNotFoundException
 * @throws ZookeeperException
 */
@Test(expected = BBoxDBException.class)
public void testSplitComplete() throws BBoxDBException, ZookeeperException, ZookeeperNotFoundException {
    final StaticgridSpacePartitioner spacePartitioner = getSpacePartitioner();
    spacePartitioner.splitComplete(null, null);
}
Also used : StaticgridSpacePartitioner(org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner) Test(org.junit.Test)

Example 10 with StaticgridSpacePartitioner

use of org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner in project bboxdb by jnidzwetzki.

the class TestStaticgridSpacePartitioner2 method testPrepareMerge.

/**
 * Test the prepare merge call
 * @throws BBoxDBException
 * @throws ZookeeperNotFoundException
 * @throws ZookeeperException
 */
@Test(expected = BBoxDBException.class)
public void testPrepareMerge() throws BBoxDBException, ZookeeperException, ZookeeperNotFoundException {
    final StaticgridSpacePartitioner spacePartitioner = getSpacePartitioner();
    spacePartitioner.prepareMerge(null, null);
}
Also used : StaticgridSpacePartitioner(org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner) Test(org.junit.Test)

Aggregations

StaticgridSpacePartitioner (org.bboxdb.distribution.partitioner.StaticgridSpacePartitioner)11 Test (org.junit.Test)11 DistributionRegion (org.bboxdb.distribution.region.DistributionRegion)2 BoundingBox (org.bboxdb.commons.math.BoundingBox)1