use of org.keycloak.it.junit5.extension.BeforeStartDistribution in project keycloak by keycloak.
the class ClusterConfigDistTest method testCustomCacheStackInConfigFile.
@Test
@BeforeStartDistribution(ConfigureCacheUsingAsyncEncryption.class)
@Launch({ "start-dev", "--cache-config-file=cache-ispn-asym-enc.xml" })
void testCustomCacheStackInConfigFile(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
assertTrue(cliResult.getOutput().contains("ERROR: server.jks"));
}
use of org.keycloak.it.junit5.extension.BeforeStartDistribution 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.BeforeStartDistribution in project keycloak by keycloak.
the class BuildAndStartDistTest method testBuildUsingConfFile.
@Test
@BeforeStartDistribution(SetDefaultOptions.class)
@Launch({ "build" })
@Order(3)
void testBuildUsingConfFile(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertBuild();
}
use of org.keycloak.it.junit5.extension.BeforeStartDistribution in project keycloak by keycloak.
the class QuarkusPropertiesAutoBuildDistTest method testReAugAfterChangingProperty.
@Test
@BeforeStartDistribution(EnableConsoleLogHandler.class)
@Launch({ "start", "--auto-build", "--http-enabled=true", "--hostname-strict=false", "--cache=local" })
@Order(3)
void testReAugAfterChangingProperty(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertBuild();
assertTrue(cliResult.getOutput().contains("INFO [io.quarkus]"));
}
Aggregations