use of org.keycloak.it.junit5.extension.CLIResult 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.CLIResult in project keycloak by keycloak.
the class ClusterConfigDistTest method changeClusterSetting.
@Test
@Launch({ "start-dev", "--cache=ispn" })
void changeClusterSetting(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertClusteredCache();
}
use of org.keycloak.it.junit5.extension.CLIResult in project keycloak by keycloak.
the class ClusterConfigDistTest method testStartDevDefaultsToLocalCaches.
@Test
@Launch({ "start-dev" })
void testStartDevDefaultsToLocalCaches(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertStartedDevMode();
cliResult.assertLocalCache();
}
use of org.keycloak.it.junit5.extension.CLIResult in project keycloak by keycloak.
the class FeaturesDistTest method testEnableOnBuild.
@Test
@Launch({ Build.NAME, "--features=preview", "--cache=local" })
@Order(1)
public void testEnableOnBuild(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertBuild();
assertPreviewFeaturesEnabled(cliResult);
}
use of org.keycloak.it.junit5.extension.CLIResult in project keycloak by keycloak.
the class FeaturesDistTest method testEnablePreviewFeatures.
@Test
@Launch({ StartDev.NAME, "--features=preview" })
public void testEnablePreviewFeatures(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
cliResult.assertStartedDevMode();
assertPreviewFeaturesEnabled((CLIResult) result);
}
Aggregations