Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for foo22 (0.04 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestMethods(':secondTest', "example.MyTest", ["foo2"])
            }
            then:
            assertTaskNotExecuted(":test")
            assertTaskExecuted(":secondTest")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            assertTestNotExecuted(className: "example.MyTest", methodName: "foo")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTestSpecCrossVersionSpec.groovy

            then:
            events.testClassesAndMethods.size() == 5
            assertTestExecuted(className: 'example.MyTest', methodName: 'foo', task: ':secondTest')
            assertTestExecuted(className: 'example.MyTest', methodName: 'foo2', task: ':secondTest')
            assertTestExecuted(className: 'example2.MyOtherTest2', methodName: 'baz', task: ':secondTest')
        }
    
        def "can select test methods"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. pkg/filewatcher/fakefilewatcher_test.go

    		select {
    		case gotError := <-watcher.Errors(file):
    			t.Fatalf("Unexpected Errors() after Remove(): got %v", gotError)
    		default:
    		}
    	}
    
    	// verify double Add() / Remove()
    	for _, file := range []string{"foo2", "bar2", "baz2"} {
    		if err := watcher.Add(file); err != nil {
    			t.Fatalf("Add() returned error: %v", err)
    		}
    		if err := watcher.Add(file); err == nil {
    			t.Fatal("Adding a path that already exists should fail")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. pkg/cache/cache_test.go

    				c.Set("foo1", "bar")
    				c.Set("foo2", "bar")
    				c.Set("foo3", "bar")
    				c.Set("foo4", "bar")
    				c.Set("foo5", "bar")
    				c.Set("foo6", "bar")
    				c.Set("foo7", "bar")
    			}
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    }
    
    func benchmarkCacheGetSetConcurrent(c Cache, b *testing.B) {
    	c.Set("foo1", "bar")
    	c.Set("foo2", "bar")
    	c.Set("foo3", "bar")
    	c.Set("foo4", "bar")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/argument_test.go

    			expectedValue: "a1",
    			expectedIdx:   0,
    			startIdx:      0,
    		},
    		{
    			testName:      "argument exists with empty value",
    			args:          []Arg{{Name: "foo1", Value: ""}, {Name: "foo2", Value: ""}},
    			name:          "foo2",
    			expectedValue: "",
    			expectedIdx:   1,
    			startIdx:      -1,
    		},
    		{
    			testName:      "argument does not exists",
    			args:          []Arg{{Name: "foo", Value: "bar"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_test.go

    	set := newStatefulSet(3)
    	pod := newStatefulSetPod(set, 0)
    	pod.OwnerReferences = nil
    	set2 := newStatefulSet(3)
    	set2.Name = "foo2"
    	om.setsIndexer.Add(set)
    	om.setsIndexer.Add(set2)
    	clone := *pod
    	clone.Labels = map[string]string{"foo2": "bar2"}
    	fakeResourceVersion(&clone)
    	ssc.updatePod(logger, &clone, pod)
    	if got, want := ssc.queue.Len(), 2; got != want {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. pkg/controller/daemon/update_test.go

    	addNodes(manager.nodeStore, 0, 5, nil)
    	manager.dsStore.Add(ds)
    	expectSyncDaemonSets(t, manager, ds, podControl, 5, 0, 0)
    	markPodsReady(podControl.podStore)
    
    	ds.Spec.Template.Spec.Containers[0].Image = "foo2/bar2"
    	ds.Spec.UpdateStrategy.Type = apps.RollingUpdateDaemonSetStrategyType
    	intStr := intstr.FromInt32(int32(maxUnavailable))
    	ds.Spec.UpdateStrategy.RollingUpdate = &apps.RollingUpdateDaemonSet{MaxUnavailable: &intStr}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateAssemblerBaseNamesTestApp.groovy

                    fflush(stdout);
                    return 0;
                }
    
                """),
                sourceFile("asm", "foo1/sum.s", getAsmSource("sum1")),
                sourceFile("asm", "foo2/sum.s", getAsmSource("sum2"))
            ]
        }
    
        @Override
        List<SourceFile> getHeaderFiles() {
            []
        }
    
        protected def getAsmSource(String methodName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue4215.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func foo() (int, int) {
    	return 2.3 // ERROR "not enough return values\n\thave \(number\)\n\twant \(int, int\)|not enough arguments to return"
    }
    
    func foo2() {
    	return int(2), 2 // ERROR "too many (arguments to return|return values)\n\thave \(int, number\)\n\twant \(\)|return with value in function with no return type"
    }
    
    func foo3(v int) (a, b, c, d int) {
    	if v >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 18 21:43:02 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy

            file("anotherProject/foo").text = "foo2"
    
            when:
            executer.withWorkerDaemonsExpirationDisabled()
            succeeds("runInWorker2")
    
            then:
            assertWorkerExecuted("runInWorker")
            assertWorkerExecuted("runInWorker2")
    
            and:
            file("bar/foo").text == "foo"
            file("anotherProject/bar/foo").text == "foo2"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top