aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStephane Gamard <stephane.gamard@searchbox.com>2014-07-11 11:34:42 +0200
committerStephane Gamard <stephane.gamard@searchbox.com>2014-07-11 11:34:42 +0200
commit7373af4dce8972c019d4cca00b3dc3e8601e179d (patch)
treebd1f2af94fddf7a259071192ea846fb554f566cf /server
parent7c12b01a5fc2e8a4732f03798253920eac126a34 (diff)
downloadsonarqube-7373af4dce8972c019d4cca00b3dc3e8601e179d.tar.gz
sonarqube-7373af4dce8972c019d4cca00b3dc3e8601e179d.zip
SONAR-5409 - Fixed test
Diffstat (limited to 'server')
-rw-r--r--server/sonar-process/src/test/java/org/sonar/process/ProcessTest.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/server/sonar-process/src/test/java/org/sonar/process/ProcessTest.java b/server/sonar-process/src/test/java/org/sonar/process/ProcessTest.java
index e9356437ae9..42abbeef3c7 100644
--- a/server/sonar-process/src/test/java/org/sonar/process/ProcessTest.java
+++ b/server/sonar-process/src/test/java/org/sonar/process/ProcessTest.java
@@ -94,8 +94,8 @@ public class ProcessTest {
private Process testProcess(Properties properties) {
return new Process(Props.create(properties)) {
- @Override
- public void execute() {
+
+ public void onStart() {
try {
Thread.sleep(10000L);
} catch (InterruptedException e) {
@@ -103,8 +103,7 @@ public class ProcessTest {
}
}
- @Override
- public void shutdown() {
+ public void onStop() {
}
};