aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/io/trygvis/esper/testing/jenkins/CreateMissingMavenModuleJobsApp.java2
-rw-r--r--src/test/java/io/trygvis/esper/testing/jenkins/SetJobTypeApp.java2
-rw-r--r--src/test/java/io/trygvis/esper/testing/web/WebRunner.java5
3 files changed, 5 insertions, 4 deletions
diff --git a/src/test/java/io/trygvis/esper/testing/jenkins/CreateMissingMavenModuleJobsApp.java b/src/test/java/io/trygvis/esper/testing/jenkins/CreateMissingMavenModuleJobsApp.java
index a8f8ce7..13a78d7 100644
--- a/src/test/java/io/trygvis/esper/testing/jenkins/CreateMissingMavenModuleJobsApp.java
+++ b/src/test/java/io/trygvis/esper/testing/jenkins/CreateMissingMavenModuleJobsApp.java
@@ -22,7 +22,7 @@ import static io.trygvis.esper.testing.jenkins.JenkinsClient.apiXml;
public class CreateMissingMavenModuleJobsApp {
public static void main(String[] args) throws Exception {
- final Config config = Config.loadFromDisk();
+ final Config config = Config.loadFromDisk("create-missing-maven-module");
final BoneCPDataSource boneCp = config.createBoneCp();
HTTPCache httpCache = HttpClient.createHttpCache(config);
Abdera abdera = config.createAbdera();
diff --git a/src/test/java/io/trygvis/esper/testing/jenkins/SetJobTypeApp.java b/src/test/java/io/trygvis/esper/testing/jenkins/SetJobTypeApp.java
index ffd3212..f272feb 100644
--- a/src/test/java/io/trygvis/esper/testing/jenkins/SetJobTypeApp.java
+++ b/src/test/java/io/trygvis/esper/testing/jenkins/SetJobTypeApp.java
@@ -19,7 +19,7 @@ import static io.trygvis.esper.testing.jenkins.JenkinsClient.apiXml;
public class SetJobTypeApp {
public static void main(String[] args) throws Exception {
- final Config config = Config.loadFromDisk();
+ final Config config = Config.loadFromDisk("set-job-type");
final BoneCPDataSource boneCp = config.createBoneCp();
HTTPCache httpCache = HttpClient.createHttpCache(config);
Abdera abdera = config.createAbdera();
diff --git a/src/test/java/io/trygvis/esper/testing/web/WebRunner.java b/src/test/java/io/trygvis/esper/testing/web/WebRunner.java
index 2e73b9f..60644de 100644
--- a/src/test/java/io/trygvis/esper/testing/web/WebRunner.java
+++ b/src/test/java/io/trygvis/esper/testing/web/WebRunner.java
@@ -1,6 +1,7 @@
package io.trygvis.esper.testing.web;
import io.trygvis.appsh.booter.jetty.*;
+import io.trygvis.esper.testing.*;
import org.slf4j.bridge.*;
import java.io.*;
@@ -8,8 +9,8 @@ import java.io.*;
public class WebRunner {
public static void main(String[] args) throws Exception {
- SLF4JBridgeHandler.removeHandlersForRootLogger();
- SLF4JBridgeHandler.install();
+ // Ensures that the system has been initialized
+ @SuppressWarnings("UnusedDeclaration") Config config = WebConfig.config;
JettyWebServer server = new JettyWebServer();
server.setHttpPort(1337);