Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for foo82 (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. src/cmd/compile/internal/test/switch_test.go

    	a := []string{
    		"foo",
    		"foo1",
    		"foo22",
    		"foo333",
    		"foo4444",
    		"foo55555",
    		"foo666666",
    		"foo7777777",
    	}
    	n := 0
    	rng := newRNG()
    	for i := 0; i < b.N; i++ {
    		rng = rng.next(predictable)
    		switch a[rng.value()&7] {
    		case "foo":
    			n += 1
    		case "foo1":
    			n += 2
    		case "foo22":
    			n += 3
    		case "foo333":
    			n += 4
    		case "foo4444":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.2K 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. src/internal/types/testdata/fixedbugs/issue39634.go

    // crash 7
    type foo7 interface { bar() }
    type x7[A any] struct{ foo7 }
    func main7() { var _ foo7 = x7[int]{} }
    
    // crash 8
    type foo8[A any] interface { ~A /* ERROR "cannot be a type parameter" */ }
    func bar8[A foo8[A]](a A) {}
    
    // crash 9
    type foo9[A any] interface { foo9 /* ERROR "invalid recursive type" */ [A] }
    func _() { var _ = new(foo9[int]) }
    
    // crash 12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top