Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,262 for expect2 (0.17 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. pkg/model/proxy_test.go

    func TestStringList(t *testing.T) {
    	cases := []struct {
    		in          string
    		expect      model.StringList
    		noRoundTrip bool
    	}{
    		{in: `"a,b,c"`, expect: []string{"a", "b", "c"}},
    		{in: `"\"a,b,c"`, expect: []string{`"a`, "b", "c"}},
    		{in: `"a"`, expect: []string{"a"}},
    		{in: `""`, expect: []string{}},
    		{in: `"123,@#$#,abcdef"`, expect: []string{"123", "@#$#", "abcdef"}},
    	}
    	for _, tt := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. tests/integration/pilot/revisions/uninstall_test.go

    	// for purge case we expect all resources removed
    	if purge {
    		if len(reStrList) != 0 {
    			msg := fmt.Sprintf("resources expected to be pruned but still exist in the cluster: %s",
    				strings.Join(reStrList, " "))
    			scopes.Framework.Warnf(msg)
    			return fmt.Errorf(msg)
    		}
    		return nil
    	}
    	// for other cases, we expect base component resources to be kept.
    	if len(reStrList) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. tests/integration/security/normalization_test.go

    						Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    							for _, expected := range tt.expectations {
    								expected := expected
    								t.NewSubTest(expected.in).Run(func(t framework.TestContext) {
    									checker := check.URL(expected.out)
    									if expected.out == "400" {
    										checker = check.Status(http.StatusBadRequest)
    									}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top