Feature/contitional test runner (#1132)

* FIX: warnings (add generics, overrides, fix imports) - should be no effecive code change

* replaced deprecated methods by default methods

* FIX: more compiler warnings

* FIX more warnings - no code changes

* FIX: deprecated call to JsonParseException

* Remove unused code, check unused variables

* ADD: ContitonaltestRunner to skip tests for certain platforms

* Use annotations to control on which platforms a test shoud run

* FIX: compile errors
This commit is contained in:
Roland Praml authored and Rob Bygrave committed 2017-09-15 21:03:03 +12:00
1 parent f3e4696498
commit 8d334ff2e8
17 files changed
+176 -76

No files matched your search

@@ -30,7 +30,7 @@ public class DefaultServerCache_RunEvictionTest {
this.cache = createCache();
}
@Ignore
@Ignore("test takes long time")
@Test
public void runEvict() throws InterruptedException {
@@ -6,7 +6,7 @@ import org.junit.Test;
public class DefaultBackgroundExecutorTest {
@Test
@Ignore
@Ignore("test takes long time")
public void shutdown_when_running_expect_waitAndNiceShutdown() throws Exception {
DefaultBackgroundExecutor es = new DefaultBackgroundExecutor(1, 20, "test");
@@ -19,7 +19,7 @@ public class DefaultBackgroundExecutorTest {
}
@Test
@Ignore
@Ignore("test takes long time")
public void shutdown_when_rougeRunnable_expect_InterruptedException() throws Exception {
DefaultBackgroundExecutor es = new DefaultBackgroundExecutor(1, 10, "test");