Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testBuild (0.16 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. cmd/erasure-sets_test.go

    	for i, testCase := range testCases {
    		if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {
    			t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.sipHash, sipHashElement)
    		}
    	}
    
    	if sipHashElement := hashKey("SIPMOD", "This will fail", -1, testUUID); sipHashElement != -1 {
    		t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/pod_cache_test.go

    	}
    }
    
    func TestUpsertPodCache(t *testing.T) {
    	counter.Store(0)
    
    	p := newPodNetnsCache(openNsTestOverrideWithInodes(1, 1))
    
    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}}
    	nspath1 := "/path/to/netns/1"
    	nspath2 := "/path/to/netns/2"
    
    	netns1, err := p.UpsertPodCache(pod, nspath1)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

            TestFile child = parent.createDir("testchild")
            child.file("reference.txt") << "test file"
    
            child.mode = mode
            and:
            buildFile << """
                task copy(type: Copy) {
                    from "testparent"
                    into ("build/tmp")
                }
                """
            when:
            run "copy"
            then:
            file("build/tmp/testchild").mode == mode
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. pkg/kubelet/server/server_test.go

    		if podFullName != expectedPodName {
    			t.Errorf("expected %s, got %s", expectedPodName, podFullName)
    		}
    		if string(uid) != testUID {
    			t.Errorf("expected %s, got %s", testUID, uid)
    		}
    		if containerName != expectedContainerName {
    			t.Errorf("expected %s, got %s", expectedContainerName, containerName)
    		}
    		if strings.Join(cmd, " ") != expectedCommand {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        try {
          InternetDomainName.from("com").parent();
          fail("'com' should throw ISE on .parent() call");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testChild() {
        InternetDomainName domain = InternetDomainName.from("foo.com");
    
        assertEquals("www.foo.com", domain.child("www").toString());
    
        try {
          domain.child("www.");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top