diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-28 17:24:51 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-28 17:24:51 +0100 |
commit | 695c875725b30a1a348f9c8a84e2bdd5ec1f3a82 (patch) | |
tree | e5e5049bb88621c3c80938fbda570404d3dc73fc /src/test/java | |
parent | 54ec271b75dad82da9bd4ee2975a22490d66d6dc (diff) | |
download | esper-testing-695c875725b30a1a348f9c8a84e2bdd5ec1f3a82.tar.gz esper-testing-695c875725b30a1a348f9c8a84e2bdd5ec1f3a82.tar.bz2 esper-testing-695c875725b30a1a348f9c8a84e2bdd5ec1f3a82.tar.xz esper-testing-695c875725b30a1a348f9c8a84e2bdd5ec1f3a82.zip |
o Sending logs to to disk.
Diffstat (limited to 'src/test/java')
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); |