Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 682 for testPass (0.15 sec)

  1. cmd/format-erasure_test.go

    				}{
    					Version: "0",
    				},
    			},
    			false,
    		},
    	}
    
    	// Valid all test cases.
    	for i, testCase := range testCases {
    		if err := checkFormatErasureValue(testCase.format, nil); err != nil && testCase.success {
    			t.Errorf("Test %d: Expected failure %s", i+1, err)
    		}
    	}
    }
    
    // Tests getFormatErasureInQuorum()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          }
        }
        List<Class<?>> result = Lists.newArrayList();
        NEXT_CANDIDATE:
        for (Class<?> candidate : Iterables.filter(candidateClasses, classFilter)) {
          for (Class<?> testClass : testClasses.get(candidate)) {
            if (hasTest(testClass, explicitTestNames)) {
              // covered by explicit test
              continue NEXT_CANDIDATE;
            }
          }
          result.add(candidate);
        }
        return result;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    };
    
    // A test case, which consists of a vector of TestInfos.
    //
    // TestCase is not copyable.
    class GTEST_API_ TestCase {
     public:
      // Creates a TestCase with the given name.
      //
      // TestCase does NOT have a default constructor.  Always use this
      // constructor to create a TestCase object.
      //
      // Arguments:
      //
      //   name:         name of the test case
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  4. pilot/pkg/trustbundle/trustbundle_test.go

    			certs2:  []string{"a", "b"},
    			expSame: true,
    		},
    	}
    	for _, tc := range testCases {
    		certSame := slices.Equal(tc.certs1, tc.certs2)
    		if (certSame && !tc.expSame) || (!certSame && tc.expSame) {
    			t.Errorf("cert compare testcase failed. tc: %v", tc)
    		}
    	}
    }
    
    func TestVerifyTrustAnchor(t *testing.T) {
    	testCases := []struct {
    		errExp bool
    		cert   string
    	}{
    		{
    			cert:   rootCACert,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *
     * <p><b>Other notes</b>
     *
     * <ul>
     *   <li>Usually, there is one testcase method per JSR166 method covering "normal" operation, and
     *       then as many exception-testing methods as there are exceptions the method can throw.
     *       Sometimes there are multiple tests per JSR166 method when the different "normal" behaviors
     *       differ significantly. And sometimes testcases cover multiple methods when they cannot be
     *       tested in isolation.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/strategy_test.go

    		},
    	}
    	for _, testCase := range testCases {
    		m := MatchPod(labels.Everything(), testCase.fieldSelector)
    		result, err := m.Matches(testCase.in)
    		if err != nil {
    			t.Errorf("Unexpected error %v", err)
    		}
    		if result != testCase.expectMatch {
    			t.Errorf("Result %v, Expected %v, Selector: %v, Pod: %v", result, testCase.expectMatch, testCase.fieldSelector.String(), testCase.in)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier_test.go

    				},
    			},
    		},
    	}
    
    	for _, testcase := range testcases {
    		t.Run(testcase.name, func(t *testing.T) {
    			nft, fp := NewFakeProxier(v1.IPv4Protocol)
    			fp.OnServiceSynced()
    			fp.OnEndpointSlicesSynced()
    
    			fp.OnServiceAdd(service)
    
    			fp.OnEndpointSliceAdd(testcase.endpointslice)
    			fp.syncProxyRules()
    			runPacketFlowTests(t, testcase.line, nft, testNodeIPs, testcase.flowTests)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    				{Type: watch.Deleted, Object: &v1.Pod{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "5"}}},
    			},
    		},
    	}
    
    TestCase:
    	for i, testCase := range testCases {
    		// set the size of the buffer of w.result to 0, so that the writes to
    		// w.result is blocked.
    		for j := range testCase.events {
    			testCase.events[j].ResourceVersion = uint64(j) + 1
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    		// Init and run test on ErasureSet backend.
    		{serverType: "ErasureSet", signer: signerV4},
    	}
    	testCases := []*TestSuiteIAM{}
    	for _, bt := range baseTestCases {
    		testCases = append(testCases,
    			newTestSuiteIAM(bt, false),
    			newTestSuiteIAM(bt, true),
    		)
    	}
    	for i, testCase := range testCases {
    		etcdStr := ""
    		if testCase.withEtcdBackend {
    			etcdStr = " (with etcd backend)"
    		}
    		t.Run(
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder_test.go

    			},
    		},
    	}
    
    	for _, testCase := range testCases {
    		testNamespacedCRD := &apiextensionsv1.CustomResourceDefinition{
    			Spec: apiextensionsv1.CustomResourceDefinitionSpec{
    				Scope: testCase.scope,
    				Group: testCRDGroup,
    				Names: apiextensionsv1.CustomResourceDefinitionNames{
    					Kind:   testCRDKind,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top