Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2014-11-20 14:05:16 -0500
committerAngel Avila2014-11-20 14:05:16 -0500
commitcfac7d6a0a966ecf613e9cb3f76352b57fba1c98 (patch)
treef31034b6d37b07e8319eac26711594c0ed0495e3 /plugins/org.eclipse.osee.executor.admin.test
parent89f73bcfa8eeafd627be5c96601c27d64620547d (diff)
downloadorg.eclipse.osee-cfac7d6a0a966ecf613e9cb3f76352b57fba1c98.tar.gz
org.eclipse.osee-cfac7d6a0a966ecf613e9cb3f76352b57fba1c98.tar.xz
org.eclipse.osee-cfac7d6a0a966ecf613e9cb3f76352b57fba1c98.zip
refactor: Clean-up executor admin
Remove unused classes Remove checked exceptions Use Osee exceptions where possible Change-Id: Ia182c148b5054086087b1e873fdb6058fe0ef70d
Diffstat (limited to 'plugins/org.eclipse.osee.executor.admin.test')
-rw-r--r--plugins/org.eclipse.osee.executor.admin.test/src/org/eclipse/osee/executor/admin/internal/ExecutionCallbackTest.java3
-rw-r--r--plugins/org.eclipse.osee.executor.admin.test/src/org/eclipse/osee/executor/admin/internal/ExecutorAdminTest.java3
2 files changed, 0 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.executor.admin.test/src/org/eclipse/osee/executor/admin/internal/ExecutionCallbackTest.java b/plugins/org.eclipse.osee.executor.admin.test/src/org/eclipse/osee/executor/admin/internal/ExecutionCallbackTest.java
index 64ff08fbda..65fa662f18 100644
--- a/plugins/org.eclipse.osee.executor.admin.test/src/org/eclipse/osee/executor/admin/internal/ExecutionCallbackTest.java
+++ b/plugins/org.eclipse.osee.executor.admin.test/src/org/eclipse/osee/executor/admin/internal/ExecutionCallbackTest.java
@@ -19,7 +19,6 @@ import java.util.concurrent.Callable;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
-import org.eclipse.osee.event.EventService;
import org.eclipse.osee.executor.admin.CancellableCallable;
import org.eclipse.osee.executor.admin.ExecutionCallback;
import org.eclipse.osee.logger.Log;
@@ -42,7 +41,6 @@ public class ExecutionCallbackTest {
//@formatter:off
@Mock private Log logger;
- @Mock private EventService eventService;
@Mock private Callable<String> callable;
@Mock private ExecutionCallback<String> callback;
//@formatter:on
@@ -55,7 +53,6 @@ public class ExecutionCallbackTest {
admin = new ExecutorAdminImpl();
admin.setLogger(logger);
- admin.setEventService(eventService);
admin.start(new HashMap<String, Object>());
}
diff --git a/plugins/org.eclipse.osee.executor.admin.test/src/org/eclipse/osee/executor/admin/internal/ExecutorAdminTest.java b/plugins/org.eclipse.osee.executor.admin.test/src/org/eclipse/osee/executor/admin/internal/ExecutorAdminTest.java
index 28120350da..eb1d1ccaae 100644
--- a/plugins/org.eclipse.osee.executor.admin.test/src/org/eclipse/osee/executor/admin/internal/ExecutorAdminTest.java
+++ b/plugins/org.eclipse.osee.executor.admin.test/src/org/eclipse/osee/executor/admin/internal/ExecutorAdminTest.java
@@ -12,7 +12,6 @@ package org.eclipse.osee.executor.admin.internal;
import java.util.HashMap;
import java.util.concurrent.ExecutorService;
-import org.eclipse.osee.event.EventService;
import org.eclipse.osee.logger.Log;
import org.junit.After;
import org.junit.Assert;
@@ -28,7 +27,6 @@ public class ExecutorAdminTest {
//@formatter:off
@Mock private Log logger;
- @Mock private EventService eventService;
//@formatter:on
private ExecutorAdminImpl admin;
@@ -39,7 +37,6 @@ public class ExecutorAdminTest {
admin = new ExecutorAdminImpl();
admin.setLogger(logger);
- admin.setEventService(eventService);
admin.start(new HashMap<String, Object>());
}

Back to the top