use of org.keycloak.it.junit5.extension.CLIResult in project keycloak by keycloak.
the class QuarkusPropertiesDistTest method testPropertyEnabledAtRuntime.
@Test
@Launch({ "start", "--http-enabled=true", "--hostname-strict=false" })
@Order(2)
void testPropertyEnabledAtRuntime(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
assertFalse(cliResult.getOutput().contains("INFO"));
}
use of org.keycloak.it.junit5.extension.CLIResult in project keycloak by keycloak.
the class QuarkusPropertiesDistTest method testIgnoreQuarkusSystemPropertyAtBuild.
@Test
@Launch({ "-Dquarkus.log.console.enabled=true", "build" })
@Order(4)
void testIgnoreQuarkusSystemPropertyAtBuild(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
assertFalse(cliResult.getOutput().contains("INFO"));
cliResult.assertBuild();
}
use of org.keycloak.it.junit5.extension.CLIResult in project keycloak by keycloak.
the class QuarkusPropertiesDistTest method testIgnoreQuarkusPropertyFromKeycloakConf.
@Test
@BeforeStartDistribution(DisableConsoleLogHandlerInKeycloakConf.class)
@Launch({ "build" })
@Order(5)
void testIgnoreQuarkusPropertyFromKeycloakConf(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
assertTrue(cliResult.getOutput().contains("INFO"));
cliResult.assertBuild();
}
use of org.keycloak.it.junit5.extension.CLIResult in project keycloak by keycloak.
the class HelpCommandTest method testDefaultToHelp.
@Test
@Launch({})
void testDefaultToHelp(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertHelp();
}
use of org.keycloak.it.junit5.extension.CLIResult in project keycloak by keycloak.
the class AbstractStartDabataseTest method testSuccessful.
@Test
@Launch({ "start-dev" })
void testSuccessful(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertStartedDevMode();
}
Aggregations