Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 545 for expect2 (0.12 sec)

  1. cni/test/testdata/expected/minikube_cni.conflist.expected

    Ben Leggett <******@****.***> 1716316321 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 875 bytes
    - Viewed (0)
  2. cmd/import-boss/main_test.go

    		input  []string
    		expect bool
    	}{{
    		input:  nil,
    		expect: false,
    	}, {
    		input:  []string{},
    		expect: false,
    	}, {
    		input:  []string{"foo.go"},
    		expect: false,
    	}, {
    		input:  []string{"foo.go", "bar.go"},
    		expect: false,
    	}, {
    		input:  []string{"foo_test.go"},
    		expect: true,
    	}, {
    		input:  []string{"foo.go", "foo_test.go"},
    		expect: true,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. operator/pkg/util/progress/progress_test.go

    	bar.ReportError("some error")
    	expect(`❌ ` + cnbo + ` encountered an error: some error`)
    
    	foo.ReportProgress()
    	expect(`- Processing resources for ` + cnpo + `.`)
    
    	foo.ReportFinished()
    	expect(`🧠 ` + cnpo + ` installed`)
    
    	p.SetState(StatePruning)
    	expect(`- Pruning removed resources`)
    
    	p.SetState(StateComplete)
    	expect(`✅ Installation complete`)
    
    	p.SetState(StateUninstallComplete)
    	expect(`✅ Uninstall complete`)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/runtime/coro_test.go

    	c := strings.SplitN(output, "\n", 2)
    	if len(c) == 1 {
    		t.Fatalf("expected at least one complete line in the output, got:\n%s", output)
    	}
    	expect, ok := strings.CutPrefix(c[0], "expect: ")
    	if !ok {
    		t.Fatalf("expected first line of output to start with \"expect: \", got: %q", c[0])
    	}
    	rest := c[1]
    	if expect == "OK" && rest != "OK\n" {
    		t.Fatalf("expected just 'OK' in the output, got:\n%s", rest)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:36:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. tools/istio-iptables/pkg/builder/iptables_builder_test.go

    	goldenFile := filepath.Join("testdata", name+".golden")
    	testutil.CompareContent(t, gotBytes, goldenFile)
    }
    
    func TestBuilder(t *testing.T) {
    	cases := []struct {
    		name         string
    		expectV4     bool
    		expectV6     bool
    		config       func(builder *IptablesRuleBuilder)
    		sharedGolden bool
    	}{
    		{
    			"insert-single-v4",
    			true,
    			false,
    			func(builder *IptablesRuleBuilder) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtMultiplatformInfoProvider.kt

    public interface KaMultiplatformInfoProviderMixin : KaSessionMixIn {
    
        /**
         * Gives expect symbol for the actual one if it is available.
         *
         * @return a single expect declaration corresponds to the [KaDeclarationSymbol] on valid code or multiple expects in a case of erroneous code with multiple expects.
         **/
        public fun KaDeclarationSymbol.getExpectsForActual(): List<KaDeclarationSymbol> =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/IntQuestionPromptEventTest.groovy

            expect:
            def result = event.convert("")
            result.response == 4
            result.newPrompt == null
        }
    
        def "can have negative minimum value"() {
            def event = new IntQuestionPromptEvent(123, "question?", -5, -2)
    
            expect:
            def result = event.convert(input)
            result.response == expected
            result.newPrompt == null
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go

    	wrapped.ServeHTTP(w, testRequest)
    
    	if callCount != 1 {
    		t.Errorf("expected the given handler to be invoked once, but was actually invoked %d times", callCount)
    	}
    	if filterRecord == nil {
    		t.Fatal("expected a filter record in the request context, but got nil")
    	}
    	if filterName != filterRecord.name {
    		t.Errorf("expected filter name=%s but got=%s", filterName, filterRecord.name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. pilot/pkg/xds/discovery_test.go

    	}
    
    	if !wgDoneOrTimeout(wg, time.Second) {
    		t.Fatalf("Expected 5 pushes but got %v", len(pushes))
    	}
    	expected := map[string]int{
    		"proxy-0": 1,
    		"proxy-1": 1,
    		"proxy-2": 1,
    		"proxy-3": 1,
    		"proxy-4": 1,
    	}
    	if !reflect.DeepEqual(expected, pushes) {
    		t.Fatalf("Expected pushes %+v, got %+v", expected, pushes)
    	}
    }
    
    type fakeStream struct {
    	grpc.ServerStream
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/retry/retry_test.go

    				g.Expect(policy).To(Not(BeNil()))
    				g.Expect(policy.RetryOn).To(Equal("some,fake,conditions"))
    				g.Expect(policy.PerTryTimeout).To(Equal(durationpb.New(time.Second * 3)))
    				g.Expect(policy.NumRetries.Value).To(Equal(uint32(2)))
    				g.Expect(policy.RetriableStatusCodes).To(Equal(make([]uint32, 0)))
    				g.Expect(policy.RetryPriority).To(BeNil())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top