Skip to content

armgit / core

Public Imported from GitHub
0

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

Added temporary test runners to reproduce test timing failure

Rich Turner3fee0a92f282
diff --git a/test/src/test/groovy/org/openremote/test/event/FailRunner.groovy b/test/src/test/groovy/org/openremote/test/event/FailRunner.groovy
new file mode 100644
index 000000000..54b433815
--- /dev/null
+++ b/test/src/test/groovy/org/openremote/test/event/FailRunner.groovy
@@ -0,0 +1,30 @@
+package org.openremote.test.event
+
+import org.junit.runner.RunWith
+import org.junit.runners.Suite
+import org.openremote.test.assets.AssetBrowserPresenterTest
+
+/*
+ * Copyright 2017, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+@RunWith(Suite.class)
[email protected]([AssetBrowserPresenterTest.class, ClientEventTest.class])
+class FailRunner {
+}
diff --git a/test/src/test/groovy/org/openremote/test/event/PassRunner.groovy b/test/src/test/groovy/org/openremote/test/event/PassRunner.groovy
new file mode 100644
index 000000000..0079693d9
--- /dev/null
+++ b/test/src/test/groovy/org/openremote/test/event/PassRunner.groovy
@@ -0,0 +1,30 @@
+package org.openremote.test.event
+
+import org.junit.runner.RunWith
+import org.junit.runners.Suite
+import org.openremote.test.assets.AssetBrowserPresenterTest
+
+/*
+ * Copyright 2017, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+@RunWith(Suite.class)
[email protected]([ClientEventTest.class, AssetBrowserPresenterTest.class])
+class PassRunner {
+}