Merge branch '1.4.x' into 1.5.x

This commit is contained in:
Phillip Webb
2016-12-19 12:36:57 -08:00
330 changed files with 554 additions and 47 deletions

View File

@@ -225,6 +225,7 @@ public class CliTester implements TestRule {
throw new IllegalStateException(ex);
}
}
}
}

View File

@@ -85,4 +85,5 @@ public class GrabCommandIntegrationTests {
assertThat(new File("target/repository/javax/ejb/ejb-api/3.0").isDirectory())
.isTrue();
}
}

View File

@@ -140,6 +140,7 @@ public class SpringApplicationLauncherTests {
public void run(String[] args) {
TestSpringApplication.args = args;
}
}
private class TestSpringApplicationLauncher extends SpringApplicationLauncher {

View File

@@ -49,4 +49,5 @@ public class CommandRunnerIntegrationTests {
runner.runAndHandleErrors("run", "samples/app.groovy", "--", "-d");
assertThat(this.output.toString()).doesNotContain("Negative matches:");
}
}

View File

@@ -199,6 +199,9 @@ public class CommandRunnerTests {
}
private enum Call {
SHOW_USAGE, ERROR_MESSAGE, PRINT_STACK_TRACE
}
}

View File

@@ -267,4 +267,5 @@ public class AetherGrapeEngineTests {
}
return System.clearProperty(key);
}
}

View File

@@ -105,6 +105,7 @@ public class GrapeRootRepositorySystemSessionAutoConfigurationTests {
}
private class LocalRepositoryManagerAnswer implements Answer<LocalRepositoryManager> {
@Override
public LocalRepositoryManager answer(InvocationOnMock invocation)
throws Throwable {

View File

@@ -33,7 +33,6 @@ public final class SystemProperties {
/**
* Performs the given {@code action} with the given system properties set. System
* properties are restored to their previous values once the action has run.
*
* @param action The action to perform
* @param systemPropertyPairs The system properties, each in the form
* {@code key:value}
@@ -61,4 +60,5 @@ public final class SystemProperties {
}
}
}
}