|
|
|
@ -32,6 +32,8 @@ import org.junit.jupiter.api.AfterEach; |
|
|
|
|
import org.junit.jupiter.api.BeforeEach; |
|
|
|
|
import org.junit.jupiter.api.Disabled; |
|
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
import org.junit.jupiter.api.condition.DisabledOnOs; |
|
|
|
|
import org.junit.jupiter.api.condition.OS; |
|
|
|
|
|
|
|
|
|
public class BadCLIOptionsPluginTest extends AcceptanceTestBaseJunit5 { |
|
|
|
|
private BesuNode node; |
|
|
|
@ -52,6 +54,7 @@ public class BadCLIOptionsPluginTest extends AcceptanceTestBaseJunit5 { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
@DisabledOnOs(OS.MAC) |
|
|
|
|
public void shouldNotRegister() { |
|
|
|
|
final Path registrationFile = node.homeDirectory().resolve("plugins/badCLIOptions.init"); |
|
|
|
|
waitForFile(registrationFile); |
|
|
|
@ -59,6 +62,7 @@ public class BadCLIOptionsPluginTest extends AcceptanceTestBaseJunit5 { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
@DisabledOnOs(OS.MAC) |
|
|
|
|
public void shouldNotStart() { |
|
|
|
|
// depend on the good PicoCLIOptions to tell us when it should be up
|
|
|
|
|
final Path registrationFile = node.homeDirectory().resolve("plugins/pluginLifecycle.started"); |
|
|
|
|