Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Minor

Christian Bauerd053cf48c067
diff --git a/controller/src/test/groovy/org/openremote/test/rules/ClimateControlTest.groovy b/controller/src/test/groovy/org/openremote/test/rules/ClimateControlTest.groovy
index ea5d99c4a..ba9c73722 100644
--- a/controller/src/test/groovy/org/openremote/test/rules/ClimateControlTest.groovy
+++ b/controller/src/test/groovy/org/openremote/test/rules/ClimateControlTest.groovy
@@ -5,7 +5,6 @@ import org.kie.api.io.Resource
import org.openremote.controller.ControllerService
import org.openremote.controller.rules.RuleEngine
import org.openremote.test.ContainerTrait
-import org.openremote.test.util.EventGrabProcessor
import spock.lang.Specification
import java.util.stream.Stream
@@ -30,16 +29,13 @@ class ClimateControlTest extends Specification implements ContainerTrait {
)
}
}
- def grabProcessor = new EventGrabProcessor();
-
and: "the started controller server"
def testCommandFactory = new TestCommandBuilder();
def controllerService = new ControllerService(
controllerDeploymentXml,
testCommandFactory,
- ruleEngineProcessor,
- grabProcessor
+ ruleEngineProcessor
)
def services = Stream.of(controllerService)
def serverPort = findEphemeralPort()
diff --git a/controller/src/test/groovy/org/openremote/test/rules/MixedWithErrorsTest.groovy b/controller/src/test/groovy/org/openremote/test/rules/MixedWithErrorsTest.groovy
index d236a185c..4b62506b0 100644
--- a/controller/src/test/groovy/org/openremote/test/rules/MixedWithErrorsTest.groovy
+++ b/controller/src/test/groovy/org/openremote/test/rules/MixedWithErrorsTest.groovy
@@ -44,15 +44,13 @@ class MixedWithErrorsTest extends Specification implements ContainerTrait {
)
}
}
- def grabProcessor = new EventGrabProcessor()
and: "the started controller server"
def testCommandFactory = new TestCommandBuilder();
def controllerService = new ControllerService(
controllerDeploymentXml,
testCommandFactory,
- ruleEngineProcessor,
- grabProcessor
+ ruleEngineProcessor
)
def services = Stream.of(controllerService)
def serverPort = findEphemeralPort()
diff --git a/controller/src/test/groovy/org/openremote/test/rules/VacationTest.groovy b/controller/src/test/groovy/org/openremote/test/rules/VacationTest.groovy
index 4662974f9..6d2cb88ed 100644
--- a/controller/src/test/groovy/org/openremote/test/rules/VacationTest.groovy
+++ b/controller/src/test/groovy/org/openremote/test/rules/VacationTest.groovy
@@ -34,15 +34,13 @@ class VacationTest extends Specification implements ContainerTrait {
)
}
}
- def grabProcessor = new EventGrabProcessor();
and: "the started controller server"
def testCommandFactory = new TestCommandBuilder();
def controllerService = new ControllerService(
controllerDeploymentXml,
testCommandFactory,
- ruleEngineProcessor,
- grabProcessor
+ ruleEngineProcessor
)
def services = Stream.of(controllerService)
def serverPort = findEphemeralPort()
diff --git a/controller/src/test/groovy/org/openremote/test/util/TestEventProducerCommand.java b/controller/src/test/groovy/org/openremote/test/util/TestEventProducerCommand.java
deleted file mode 100644
index cadd4e3a5..000000000
--- a/controller/src/test/groovy/org/openremote/test/util/TestEventProducerCommand.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package org.openremote.test.util;
-
-import org.openremote.controller.command.EventProducerCommand;
-
-public class TestEventProducerCommand implements EventProducerCommand {
-
-}