Skip to content

Commit 37c0b6d

Browse files
mmerdesrtroilo
authored andcommitted
#470: rename all test names to postfix-convention
1 parent 48b9e33 commit 37c0b6d

5 files changed

+10
-10
lines changed
+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
*
1414
* <p>Runs the tests using the "affinity call" Ignite backend.</p>
1515
*/
16-
class MapReduceTestOSHDBIgniteAffinityCall extends MapReduceTestOSHDBIgnite {
16+
class MapReduceOSHDBIgniteAffinityCallTest extends MapReduceOSHDBIgniteTest {
1717
/**
1818
* Creates the test runner using the ignite affinitycall backend.
1919
*
2020
* @throws Exception if something goes wrong
2121
*/
22-
MapReduceTestOSHDBIgniteAffinityCall() throws Exception {
22+
MapReduceOSHDBIgniteAffinityCallTest() throws Exception {
2323
super(oshdb -> oshdb.computeMode(OSHDBIgnite.ComputeMode.AFFINITY_CALL));
2424
}
2525

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
*
88
* <p>Runs the tests using the "local peek" Ignite backend.</p>
99
*/
10-
class MapReduceTestOSHDBIgniteLocalPeek extends MapReduceTestOSHDBIgnite {
10+
class MapReduceOSHDBIgniteLocalPeekTest extends MapReduceOSHDBIgniteTest {
1111
/**
1212
* Creates the test runner using the ignite localpeak backend.
1313
*
1414
* @throws Exception if something goes wrong
1515
*/
16-
MapReduceTestOSHDBIgniteLocalPeek() throws Exception {
16+
MapReduceOSHDBIgniteLocalPeekTest() throws Exception {
1717
super(oshdb -> oshdb.computeMode(OSHDBIgnite.ComputeMode.LOCAL_PEEK));
1818
}
1919
}
+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
/**
99
* Tests for proper error messages is caches are not pnt on ignite.
1010
*/
11-
class MapReduceTestOSHDBIgniteMissingCache extends MapReduceTestOSHDBIgnite {
11+
class MapReduceOSHDBIgniteMissingCacheTest extends MapReduceOSHDBIgniteTest {
1212
/**
1313
* Creates the test runner using an Ignite backend.
1414
*
1515
* @throws Exception if something goes wrong
1616
*/
17-
MapReduceTestOSHDBIgniteMissingCache() throws Exception {
17+
MapReduceOSHDBIgniteMissingCacheTest() throws Exception {
1818
super(oshdb -> {});
1919
this.oshdb.prefix("<test caches not present>");
2020
}
+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
*
1111
* <p>Runs the tests using the "scan query" Ignite backend.</p>
1212
*/
13-
class MapReduceTestOSHDBIgniteScanQuery extends MapReduceTestOSHDBIgnite {
13+
class MapReduceOSHDBIgniteScanQueryTest extends MapReduceOSHDBIgniteTest {
1414
/**
1515
* Creates the test runner using the ignite scanquery backend.
1616
*
1717
* @throws Exception if something goes wrong
1818
*/
19-
MapReduceTestOSHDBIgniteScanQuery() throws Exception {
19+
MapReduceOSHDBIgniteScanQueryTest() throws Exception {
2020
super(oshdb -> oshdb.computeMode(OSHDBIgnite.ComputeMode.SCAN_QUERY));
2121
}
2222

oshdb-api-ignite/src/test/java/org/heigit/ohsome/oshdb/api/tests/MapReduceTestOSHDBIgnite.java renamed to oshdb-api-ignite/src/test/java/org/heigit/ohsome/oshdb/api/tests/MapReduceOSHDBIgniteTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import org.heigit.ohsome.oshdb.util.CellId;
3030
import org.heigit.ohsome.oshdb.util.TableNames;
3131

32-
abstract class MapReduceTestOSHDBIgnite extends MapReduceTest {
32+
abstract class MapReduceOSHDBIgniteTest extends MapReduceTest {
3333
static final Ignite ignite;
3434

3535
static {
@@ -98,7 +98,7 @@ private static OSHDBDatabase initOshdb(Consumer<OSHDBIgnite> computeMode) {
9898
return oshdb;
9999
}
100100

101-
MapReduceTestOSHDBIgnite(Consumer<OSHDBIgnite> computeMode) throws Exception {
101+
MapReduceOSHDBIgniteTest(Consumer<OSHDBIgnite> computeMode) throws Exception {
102102
super(initOshdb(computeMode));
103103
}
104104
}

0 commit comments

Comments
 (0)