Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 144 for expected_outputs (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. istioctl/pkg/authz/analyzer_test.go

    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			var buf bytes.Buffer
    			a.Print(&buf)
    			expectedOutput := "ACTION   AuthorizationPolicy   RULES\n"
    			actualOutput := buf.String()
    			if !reflect.DeepEqual(expectedOutput, actualOutput) {
    				t.Errorf("Found %v, wanted %v", actualOutput, expectedOutput)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. istioctl/cmd/options_test.go

    	rootCmd.SetErr(&out)
    
    	fErr := rootCmd.Execute()
    	if fErr != nil {
    		t.Fatalf("options failed with %v and %q\n", fErr, out.String())
    	}
    	if !regexp.MustCompile(expectedOutput).Match(out.Bytes()) {
    		t.Fatalf("'istioctl options' expected output\n%s\n  got\n%s",
    			expectedOutput, out.String())
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 14 02:38:54 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/users/users_linux_test.go

    			if tc.expectedOutput != got {
    				t.Fatalf("expected output:\n%s\ngot:\n%s\n", tc.expectedOutput, got)
    			}
    		})
    	}
    }
    
    func TestRemoveEntries(t *testing.T) {
    	testCases := []struct {
    		name            string
    		file            string
    		entries         []*entry
    		expectedRemoved int
    		expectedOutput  string
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 16.3K bytes
    - Viewed (0)
Back to top