Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 140 for expectedOutput (0.88 sec)

  1. istioctl/pkg/wait/wait_test.go

    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && !strings.Contains(output, c.expectedOutput) {
    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftModifyCppDepHeadersApp.groovy

            }
    
            final String moduleName = "App"
    
            @Override
            final String getExpectedOutput() {
                main.expectedOutput
            }
    
            @Override
            final String getExpectedAlternateOutput() {
                alternateMain.expectedOutput
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalCppStaleCompileOutputApp.groovy

            preserve(greeter),
            rename(sum),
            delete(multiply),
            preserve(main)
        ]
        final String expectedOutput = main.expectedOutput
        final String expectedAlternateOutput = main.expectedOutput
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. istioctl/pkg/util/testutil/util.go

    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.ExpectedOutput != "" && c.ExpectedOutput != output {
    		t.Fatalf("Unexpected output for '%s %s'\n got: %q\nwant: %q", cmd.Name(),
    			strings.Join(c.Args, " "), output, c.ExpectedOutput)
    	}
    
    	if c.ExpectedRegexp != nil && !c.ExpectedRegexp.MatchString(output) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftModifyExpectedOutputAppWithLib.groovy

            }
    
            final String moduleName = "App"
    
            @Override
            final String getExpectedOutput() {
                main.expectedOutput
            }
    
            @Override
            final String getExpectedAlternateOutput() {
                alternateMain.expectedOutput
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. cmd/api-utils_test.go

    	for i, testCase := range testCases {
    		t.Run(fmt.Sprintf("Test%d", i+1), func(t *testing.T) {
    			outputText := s3EncodeName(testCase.inputText, testCase.encodingType)
    			if testCase.expectedOutput != outputText {
    				t.Errorf("Expected `%s`, got `%s`", testCase.expectedOutput, outputText)
    			}
    		})
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftStaleCompileOutputApp.groovy

            preserve(greeter),
            rename(sum),
            delete(multiply),
            preserve(main)
        ]
        final String expectedOutput = main.expectedOutput
        final String expectedAlternateOutput = main.expectedOutput
        final String moduleName = "App"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/cache/node_tree_test.go

    		nodesToAdd     []*v1.Node
    		expectedOutput []string
    	}{
    		{
    			name:           "empty tree",
    			nodesToAdd:     nil,
    			expectedOutput: nil,
    		},
    		{
    			name:           "one node",
    			nodesToAdd:     allNodes[:1],
    			expectedOutput: []string{"node-0"},
    		},
    		{
    			name:           "four nodes",
    			nodesToAdd:     allNodes[:4],
    			expectedOutput: []string{"node-0", "node-1", "node-2", "node-3"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftModifyCppDepApp.groovy

            }
    
            final String moduleName = "App"
    
            @Override
            final String getExpectedOutput() {
                main.expectedOutput
            }
    
            @Override
            final String getExpectedAlternateOutput() {
                alternateMain.expectedOutput
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. istioctl/pkg/dashboard/dashboard_test.go

    			ExpectedOutput: "Error: no pods found with selector app=kiali\n",
    			WantException:  true,
    		},
    		{ // case 9
    			Args:           strings.Split("prometheus --browser=false", " "),
    			ExpectedOutput: "Error: no pods found with selector app.kubernetes.io/name=prometheus\n",
    			WantException:  true,
    		},
    		{ // case 10
    			Args:           strings.Split("zipkin --browser=false", " "),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 21 01:17:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top