- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for assertActivation (0.09 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
.version("14.5")); assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64"))); assertActivation(false, profile, newContext(null, newProperties("windows", "1", "aarch64"))); assertActivation(false, profile, newContext(null, newProperties("windows", "99", "amd64")));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
assertActivation(true, profile, newContext(null, newProperties("1.3.1_09"))); assertActivation(true, profile, newContext(null, newProperties("1.3.1_09-b03"))); assertActivation(true, profile, newContext(null, newProperties("1.5"))); assertActivation(true, profile, newContext(null, newProperties("1.5.0"))); assertActivation(true, profile, newContext(null, newProperties("1.5.0_09")));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
assertActivation(false, profile, newContext(newProperties("prop", ""), null)); assertActivation(false, profile, newContext(newProperties("other", "value"), null)); } @Test void testWithNameOnly_SystemProperty() throws Exception { Profile profile = newProfile("prop", null); assertActivation(true, profile, newContext(null, newProperties("prop", "value")));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
assertActivation(false, newExistsProfile("someFile.txt"), context); assertActivation(false, newExistsProfile("${basedir}/someFile.txt"), context); assertActivation(false, newMissingProfile(null), context); assertActivation(true, newMissingProfile("someFile.txt"), context); assertActivation(true, newMissingProfile("${basedir}/someFile.txt"), context); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java
DefaultProfileActivationContext context = new DefaultProfileActivationContext(); return context.setUserProperties(userProperties).setSystemProperties(systemProperties); } protected void assertActivation(boolean active, Profile profile, ProfileActivationContext context) { SimpleProblemCollector problems = new SimpleProblemCollector();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0)