use of io.quarkus.test.junit.main.Launch in project keycloak by keycloak.
the class HelpCommandTest method testStartDevHelp.
@Test
@Launch({ StartDev.NAME, "--help" })
void testStartDevHelp(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertHelp();
}
use of io.quarkus.test.junit.main.Launch in project keycloak by keycloak.
the class HelpCommandTest method testStartHelp.
@Test
@Launch({ Start.NAME, "--help" })
void testStartHelp(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertHelp();
}
use of io.quarkus.test.junit.main.Launch in project keycloak by keycloak.
the class HelpCommandTest method testStartDevHelpAll.
@Test
@Launch({ StartDev.NAME, "--help-all" })
void testStartDevHelpAll(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertHelp();
}
use of io.quarkus.test.junit.main.Launch in project keycloak by keycloak.
the class BuildAndStartDistTest method testStartUsingCliArgs.
@Test
@Launch({ "start", "--http-enabled=true", "--hostname-strict=false" })
@Order(2)
void testStartUsingCliArgs(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertStarted();
cliResult.assertLocalCache();
}
use of io.quarkus.test.junit.main.Launch in project keycloak by keycloak.
the class BuildAndStartDistTest method testBuildWithCliArgs.
@Test
@Launch({ "build", "--cache=local" })
@Order(1)
void testBuildWithCliArgs(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertBuild();
}
Aggregations