|
|
@ -134,7 +134,7 @@ public class LocalDevToolsAutoConfigurationTests {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void restartTriggerdOnClassPathChangeWithRestart() throws Exception {
|
|
|
|
public void restartTriggeredOnClassPathChangeWithRestart() throws Exception {
|
|
|
|
this.context = initializeAndRun(Config.class);
|
|
|
|
this.context = initializeAndRun(Config.class);
|
|
|
|
ClassPathChangedEvent event = new ClassPathChangedEvent(this.context,
|
|
|
|
ClassPathChangedEvent event = new ClassPathChangedEvent(this.context,
|
|
|
|
Collections.<ChangedFiles> emptySet(), true);
|
|
|
|
Collections.<ChangedFiles> emptySet(), true);
|
|
|
@ -143,7 +143,7 @@ public class LocalDevToolsAutoConfigurationTests {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void restartNotTriggerdOnClassPathChangeWithRestart() throws Exception {
|
|
|
|
public void restartNotTriggeredOnClassPathChangeWithRestart() throws Exception {
|
|
|
|
this.context = initializeAndRun(Config.class);
|
|
|
|
this.context = initializeAndRun(Config.class);
|
|
|
|
ClassPathChangedEvent event = new ClassPathChangedEvent(this.context,
|
|
|
|
ClassPathChangedEvent event = new ClassPathChangedEvent(this.context,
|
|
|
|
Collections.<ChangedFiles> emptySet(), false);
|
|
|
|
Collections.<ChangedFiles> emptySet(), false);
|
|
|
|