Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for assertActivation (0.18 seconds)

  1. 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 testWithNameOnlySystemProperty() throws Exception {
            Profile profile = newProfile("prop", null);
    
            assertActivation(true, profile, newContext(null, newProperties("prop", "value")));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. 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();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top