Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 107 for testCode (0.24 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    			t.Logf("\tskipping  %v %v", externalGVK, externalGoType)
    			continue
    		}
    		t.Logf("\tround tripping to %v %v", externalGVK, externalGoType)
    
    		roundTrip(t, scheme, apitesting.TestCodec(codecFactory, externalGVK.GroupVersion()), object)
    
    		// TODO remove this hack after we're past the intermediate steps
    		if !skipProtobuf && externalGVK.Group != "kubeadm.k8s.io" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    		shouldFail          bool
    		watchTimeout        time.Duration
    	}{
    		{
    			name:       "test ok 1",
    			nodeName:   "testnode-01",
    			driverName: "testdriver-01",
    			volumeName: "testvol-01",
    			attachID:   getAttachmentName("testvol-01", "testdriver-01", "testnode-01"),
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("pv01", 10, "testdriver-01", "testvol-01"), false),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) : public parent_class {\
     public:\
      GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {}\
     private:\
      virtual void TestBody();\
      static ::testing::TestInfo* const test_info_ GTEST_ATTRIBUTE_UNUSED_;\
      GTEST_DISALLOW_COPY_AND_ASSIGN_(\
          GTEST_TEST_CLASS_NAME_(test_case_name, test_name));\
    };\
    \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go

    	"k8s.io/apimachinery/pkg/types"
    	namedresourcesmodel "k8s.io/kubernetes/pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources"
    	"k8s.io/kubernetes/test/utils/ktesting"
    	"k8s.io/utils/ptr"
    )
    
    func TestModel(t *testing.T) {
    	testcases := map[string]struct {
    		slices   resourceSliceLister
    		claims   assumeCacheLister
    		inFlight map[types.UID]resourceapi.ResourceClaimStatus
    
    		wantResources resources
    		wantErr       bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) : public parent_class {\
     public:\
      GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {}\
     private:\
      virtual void TestBody();\
      static ::testing::TestInfo* const test_info_ GTEST_ATTRIBUTE_UNUSED_;\
      GTEST_DISALLOW_COPY_AND_ASSIGN_(\
          GTEST_TEST_CLASS_NAME_(test_case_name, test_name));\
    };\
    \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  6. src/math/big/nat_test.go

    		out, _ := new(Int).SetString(test.out, 10)
    
    		r := in.abs.modW(d.abs[0])
    		if r != out.abs[0] {
    			t.Errorf("#%d failed: got %d want %s", i, r, out)
    		}
    	}
    }
    
    func TestModW(t *testing.T) {
    	if _W >= 32 {
    		runModWTests(t, modWTests32)
    	}
    	if _W >= 64 {
    		runModWTests(t, modWTests64)
    	}
    }
    
    var montgomeryTests = []struct {
    	x, y, m      string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    		options.recorderEnabled = true
    	}
    }
    
    func withDefaults(options *setupOptions) {
    	options.client = func(t testing.TB) *clientv3.Client {
    		return testserver.RunEtcd(t, nil)
    	}
    	options.codec = apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion)
    	options.newFunc = newPod
    	options.newListFunc = newPodList
    	options.prefix = ""
    	options.resourcePrefix = "/pods"
    	options.groupResource = schema.GroupResource{Resource: "pods"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

      class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) \
          : public test_case_name { \
       public: \
        GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {} \
        virtual void TestBody(); \
       private: \
        static int AddToRegistry() { \
          ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
              GetTestCasePatternHolder<test_case_name>(\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 74.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

      class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) \
          : public test_case_name { \
       public: \
        GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {} \
        virtual void TestBody(); \
       private: \
        static int AddToRegistry() { \
          ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
              GetTestCasePatternHolder<test_case_name>(\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 74.1K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/framework_test.go

    	testCloseErrorPlugin              = "test-close-error-plugin"
    
    	testProfileName              = "test-profile"
    	testPercentageOfNodesToScore = 35
    	nodeName                     = "testNode"
    
    	injectReason       = "injected status"
    	injectFilterReason = "injected filter status"
    )
    
    // TestScoreWithNormalizePlugin implements ScoreWithNormalizePlugin interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
Back to top