use of ch.ivyteam.ivy.maven.log.LogCollector in project project-build-plugin by axonivy.
the class TestEngineControlEngineDirectory method engineControl_engineDir_doesNotExist.
@Test
public void engineControl_engineDir_doesNotExist() throws Exception {
LogCollector log = new LogCollector();
StopTestEngineMojo mojo = rule.getMojo();
mojo.setLog(log);
mojo.testEngine = TestEngineLocation.MODIFY_EXISTING;
EngineControl controller = mojo.createEngineController();
controller.stop();
assertThat(log.getWarnings()).isEmpty();
assertThat(log.getErrors()).isEmpty();
}
Aggregations