Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for expectGet (0.18 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                        compile("test:snapshot:1.2-SNAPSHOT")
                    }
                }
            """
    
            when:
            m1.pom.expectGet()
            m1.artifact.expectGet()
            m2.metaData.expectGet()
            m2.pom.expectGet()
            m2.artifact.expectGet()
    
            succeeds ":app:resolve"
    
            then:
            output.count("files: [changing-1.2.jar.txt, snapshot-1.2-SNAPSHOT.jar.txt]") == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers_test.go

    			t.Fatal(err)
    		}
    		for i := range rows {
    			rows[i].Object.Object = nil
    		}
    		if !reflect.DeepEqual(test.expected, rows) {
    			t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expected, rows))
    		}
    	}
    }
    
    func TestPrintSecret(t *testing.T) {
    	tests := []struct {
    		secret   api.Secret
    		expected []metav1.TableRow
    	}{
    		// Basic namespace with type, data, and age.
    		{
    			secret: api.Secret{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  3. pkg/kubelet/eviction/helpers_test.go

    	if !found {
    		t.Error("Expected inodes free nodefs observation")
    	}
    	if expected := int64(nodeFsInodesFree); nodeFsInodesQuantity.available.Value() != expected {
    		t.Errorf("Expected %v, actual: %v", expected, nodeFsInodesQuantity.available.Value())
    	}
    	if expected := int64(nodeFsInodes); nodeFsInodesQuantity.capacity.Value() != expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        try {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        try {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier_test.go

    	if len(newMap) != len(expected) {
    		t.Errorf("[%d] expected %d results, got %d: %v", tci, len(expected), len(newMap), newMap)
    	}
    	for x := range expected {
    		if len(newMap[x]) != len(expected[x]) {
    			t.Errorf("[%d] expected %d endpoints for %v, got %d", tci, len(expected[x]), x, len(newMap[x]))
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods_test.go

    				}
    				expected := test.expected.DeepCopy()
    				actual := kl.generateAPIPodStatus(test.pod, test.currentStatus, test.isPodTerminal)
    				if enablePodReadyToStartContainersCondition {
    					expected.Conditions = append([]v1.PodCondition{test.expectedPodReadyToStartContainersCondition}, expected.Conditions...)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/scheduling_queue_test.go

    		t.Errorf("Expected: %v after Pop, but got: %v", highPriorityPodInfo.Pod.Name, p.Pod.Name)
    	}
    	if p, err := q.Pop(logger); err != nil || p.Pod != medPriorityPodInfo.Pod {
    		t.Errorf("Expected: %v after Pop, but got: %v", medPriorityPodInfo.Pod.Name, p.Pod.Name)
    	}
    	if p, err := q.Pop(logger); err != nil || p.Pod != unschedulablePodInfo.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  9. pkg/kubelet/eviction/eviction_manager_test.go

    	}
    
    	expected := []bool{true, true, true}
    	for i, pod := range pods {
    		if result := manager.Admit(&lifecycle.PodAdmitAttributes{Pod: pod}); expected[i] != result.Admit {
    			t.Errorf("Admit pod: %v, expected: %v, actual: %v", pod, expected[i], result.Admit)
    		}
    	}
    
    	manager.nodeConditions = []v1.NodeConditionType{v1.NodeMemoryPressure}
    	expected = []bool{true, true, false}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    		// ServeHTTP to execute the logic of the handler.
    		apiRouter.ServeHTTP(rec, req)
    
    		isEnc := false
    		expected := 200
    		if strings.HasPrefix(input.objectName, "enc-") {
    			isEnc = true
    			expected = 400
    		}
    		if rec.Code != expected {
    			t.Errorf("Test %d: expected code %d but got %d for object %s", i+1, expected, rec.Code, input.objectName)
    		}
    
    		contentLength := rec.Header().Get("Content-Length")
    		if isEnc {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
Back to top