Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for newProfile (0.08 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

        @Override
        @BeforeEach
        void setUp() throws Exception {
            activator = new JdkVersionProfileActivator();
        }
    
        private Profile newProfile(String jdkVersion) {
            Activation a = Activation.newBuilder().jdk(jdkVersion).build();
    
            Profile p = Profile.newBuilder().activation(a).build();
    
            return p;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

        void testName() {
            Profile profile = newProfile(ActivationOS.newBuilder().name("windows"));
    
            assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64")));
            assertActivation(true, profile, newContext(null, newProperties("windows", "6.5.0-1014-aws", "aarch64")));
        }
    
        @Test
        void testNegatedName() {
            Profile profile = newProfile(ActivationOS.newBuilder().name("!windows"));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

            assertActivation(true, profile, newContext(null, newProperties("prop", "value")));
    
            assertActivation(false, profile, newContext(null, newProperties("prop", "other")));
    
            assertActivation(false, profile, newContext(null, newProperties("other", "")));
        }
    
        @Test
        void testWithNegatedValue_UserProperty() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link DefaultProfileSelector}.
     */
    public class DefaultProfileSelectorTest {
        private Profile newProfile(String id) {
            Activation activation = new Activation();
            Profile profile = new Profile();
            profile.setId(id);
            profile.setActivation(activation);
            return profile;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

            return newProfile(activationFile);
        }
    
        private Profile newMissingProfile(String filePath) {
            ActivationFile activationFile =
                    ActivationFile.newBuilder().missing(filePath).build();
            return newProfile(activationFile);
        }
    
        private Profile newProfile(ActivationFile activationFile) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg runtime, var MemProfileRate int
    pkg runtime/debug, func PrintStack()
    pkg runtime/debug, func Stack() []uint8
    pkg runtime/pprof, func Lookup(string) *Profile
    pkg runtime/pprof, func NewProfile(string) *Profile
    pkg runtime/pprof, func Profiles() []*Profile
    pkg runtime/pprof, func StartCPUProfile(io.Writer) error
    pkg runtime/pprof, func StopCPUProfile()
    pkg runtime/pprof, func WriteHeapProfile(io.Writer) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top