Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestBuild (0.3 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy

        @Test
        void "caches compiled build script"() {
            createLargeBuildScript()
            testBuild("hello1", "Hello 1")
            TestFile.Snapshot classFileSnapshot = classFile.snapshot()
    
            testBuild("hello2", "Hello 2")
            classFile.assertHasNotChangedSince(classFileSnapshot)
    
            modifyLargeBuildScript()
            testBuild("newTask", "I am new")
            classFile.assertHasChangedSince(classFileSnapshot)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. maven-model/src/test/java/org/apache/maven/model/ModelTest.java

    /**
     * Tests {@code Model}.
     *
     */
    class ModelTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Model().hashCode();
        }
    
        @Test
        void testBuild() {
            Model model = new Model();
            Build build = new Build();
            build.setOutputDirectory("myOutputDirectory");
            model.setBuild(build);
            Build build2 = model.getBuild();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. pkg/config/schema/resource/schema_test.go

    			g := NewWithT(t)
    
    			err := c.b.BuildNoValidate().Validate()
    			if c.expectError {
    				g.Expect(err).ToNot(BeNil())
    			} else {
    				g.Expect(err).To(BeNil())
    			}
    		})
    	}
    }
    
    func TestBuild(t *testing.T) {
    	cases := []struct {
    		name        string
    		b           Builder
    		expectError bool
    	}{
    		{
    			name: "valid",
    			b: Builder{
    				Kind:         "Empty",
    				Plural:       "Empties",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top