diff options
author | David Gageot <david@gageot.net> | 2015-05-07 18:45:36 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-05-07 18:45:36 +0200 |
commit | 35fdca5b017a737c9b8eb3e43c1250e739590175 (patch) | |
tree | 2944e0c4d3f9a6b1f1d0614aad4648006891750b /server/sonar-process | |
parent | 912e9886ae4a982781c99afd7881dd9b0e934565 (diff) | |
download | sonarqube-35fdca5b017a737c9b8eb3e43c1250e739590175.tar.gz sonarqube-35fdca5b017a737c9b8eb3e43c1250e739590175.zip |
Dead code
Diffstat (limited to 'server/sonar-process')
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java | 5 | ||||
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/StopperThreadTest.java | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java b/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java index 8a6545e5819..37b929f0588 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java +++ b/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java @@ -19,17 +19,12 @@ */ package org.sonar.process; -import org.junit.Rule; import org.junit.Test; -import org.junit.rules.TemporaryFolder; import static org.mockito.Mockito.*; public class StopWatcherTest { - @Rule - public TemporaryFolder temp = new TemporaryFolder(); - @Test(timeout = 1000L) public void stop_if_receive_command() throws Exception { ProcessCommands commands = mock(ProcessCommands.class); diff --git a/server/sonar-process/src/test/java/org/sonar/process/StopperThreadTest.java b/server/sonar-process/src/test/java/org/sonar/process/StopperThreadTest.java index 2f6260f9d78..c174b3012af 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/StopperThreadTest.java +++ b/server/sonar-process/src/test/java/org/sonar/process/StopperThreadTest.java @@ -19,9 +19,7 @@ */ package org.sonar.process; -import org.junit.Rule; import org.junit.Test; -import org.junit.rules.TemporaryFolder; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; @@ -29,9 +27,6 @@ import static org.mockito.Mockito.*; public class StopperThreadTest { - @Rule - public TemporaryFolder temp = new TemporaryFolder(); - @Test(timeout = 3000L) public void stop_in_a_timely_fashion() throws Exception { ProcessCommands commands = mock(ProcessCommands.class); |