Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for testcover (0.17 sec)

  1. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    				Clientset: fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testutil.NewPod("pod0", "node0")}}),
    			},
    			updateReactor: func() func(action testcore.Action) (bool, runtime.Object, error) {
    				i := 0
    				return func(action testcore.Action) (bool, runtime.Object, error) {
    					if action.GetVerb() == "update" && action.GetResource().Resource == "pods" && action.GetSubresource() == "status" {
    						i++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

            } else {
                assert operation.result instanceof TaskSkippedResult
                assert operation.result.skipMessage == "NO-SOURCE"
            }
            true
        }
    
        def testCode() {
            settingsFile << "rootProject.name = 'testproject'\n"
            buildFile.text = simpleJavaProject()
    
            def classesDir = 'file("build/classes/moreTests")'
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

        File parent = getTestFile("ascii.txt");
        assertTrue(parent.isFile());
        File file = file(parent, "foo");
        assertThrows(IOException.class, () -> Files.createParentDirs(file));
      }
    
      public void testMove() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        Files.copy(i18nFile, temp1);
        moveHelper(true, temp1, temp2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        try {
          sortedMultiset.pollFirstEntry();
          fail();
        } catch (UnsupportedOperationException e) {
        }
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesTest.java

        File parent = getTestFile("ascii.txt");
        assertTrue(parent.isFile());
        File file = file(parent, "foo");
        assertThrows(IOException.class, () -> Files.createParentDirs(file));
      }
    
      public void testMove() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        Files.copy(i18nFile, temp1);
        moveHelper(true, temp1, temp2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        try {
          sortedMultiset.pollFirstEntry();
          fail();
        } catch (UnsupportedOperationException e) {
        }
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/scheme_test.go

    				}
    				return
    			}
    			if !reflect.DeepEqual(out, test.out) {
    				t.Fatalf("unexpected out: %s", cmp.Diff(out, test.out))
    			}
    		})
    	}
    }
    
    func TestConvert(t *testing.T) {
    	testCases := []struct {
    		scheme *runtime.Scheme
    		in     runtime.Object
    		into   runtime.Object
    		gv     runtime.GroupVersioner
    		out    runtime.Object
    		errFn  func(error) bool
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  10. src/reflect/all_test.go

    	{V(new(bytes.Buffer)), ReaderV(new(bytes.Buffer))},
    	{ReadWriterV(new(bytes.Buffer)), ReaderV(new(bytes.Buffer))},
    	{V(new(bytes.Buffer)), ReadWriterV(new(bytes.Buffer))},
    }
    
    func TestConvert(t *testing.T) {
    	canConvert := map[[2]Type]bool{}
    	all := map[Type]bool{}
    
    	for _, tt := range convertTests {
    		t1 := tt.in.Type()
    		if !t1.ConvertibleTo(t1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top