Startup time for CLI app much quicker now

The Boot resolver didn't transfer enough of the settings
of the default ChainResolver. Adding a boolean flag was
enough to make the chatter die down for dependencies
that were unneeded.

[Fixes #55358344] [bs-291]
This commit is contained in:
Dave Syer
2013-08-20 09:45:06 +01:00
committed by Phillip Webb
parent 3690ab16ba
commit b720f7e688
4 changed files with 29 additions and 16 deletions

View File

@@ -155,6 +155,13 @@ public class SampleIntegrationTests {
assertEquals("{\"message\":\"Hello World!\"}", result);
}
@Test
public void httpSample() throws Exception {
start("samples/http.groovy");
String output = this.outputCapture.getOutputAndRelease();
assertTrue("Wrong output: " + output, output.contains("Hello World"));
}
@Test
public void integrationSample() throws Exception {
start("samples/integration.groovy");