Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newProfile (0.17 sec)

  1. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 05 14:16:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/exec.go

    	// going to compile.
    	goFile = objdir + goFile
    	newGoFile := objdir + "_" + base + "_swig.go"
    	if cfg.BuildX || cfg.BuildN {
    		sh.ShowCmd("", "mv %s %s", goFile, newGoFile)
    	}
    	if !cfg.BuildN {
    		if err := os.Rename(goFile, newGoFile); err != nil {
    			return "", "", err
    		}
    	}
    	return newGoFile, objdir + gccBase + gccExt, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top