Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for expectedOutput (0.41 sec)

  1. pkg/kubelet/preemption/preemption_test.go

    		} else if !podListEqual(r.expectedOutput, outputPods) {
    			t.Errorf("getPodsToPreempt expected %v but got %v during the %s test.", r.expectedOutput, outputPods, r.testName)
    		}
    	}
    }
    
    func TestAdmissionRequirementsDistance(t *testing.T) {
    	type testRun struct {
    		testName       string
    		requirements   admissionRequirementList
    		inputPod       *v1.Pod
    		expectedOutput float64
    	}
    	allPods := getTestPods()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 10:04:08 UTC 2022
    - 19.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ErrorsOnStdoutScrapingExecutionResult.java

        public ExecutionResult assertHasErrorOutput(String expectedOutput) {
            assertContentContains(getOutput(), expectedOutput, "Build output");
            return this;
        }
    
        @Override
        public boolean hasErrorOutput(String expectedOutput) {
            return getOutput().contains(expectedOutput);
        }
    
        @Override
        public ExecutionResult assertOutputEquals(String expectedOutput, boolean ignoreExtraLines, boolean ignoreLineOrder) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags_test.go

    		templateArg        string
    		expectedError      string
    		expectedParseError string
    		expectedOutput     string
    		expectNoMatch      bool
    	}{
    		{
    			name:           "valid output format also containing the template argument succeeds",
    			outputFormat:   "go-template={{ .metadata.name }}",
    			expectedOutput: "foo",
    		},
    		{
    			name:          "valid output format and no template argument results in an error",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/reset/unmount_linux_test.go

    func TestFlagsToInt(t *testing.T) {
    
    	tests := []struct {
    		name           string
    		input          []string
    		expectedOutput int
    	}{
    		{
    			name:           "nil input",
    			input:          nil,
    			expectedOutput: 0,
    		},
    		{
    			name:           "no flags",
    			input:          []string{},
    			expectedOutput: 0,
    		},
    		{
    			name: "all flags",
    			input: []string{
    				kubeadmapi.UnmountFlagMNTForce,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 10:58:44 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

         *
         * @param expectedOutput The expected log message, with line endings normalized to a newline character.
         */
        boolean hasErrorOutput(String expectedOutput);
    
        ExecutionResult assertOutputEquals(String expectedOutput, boolean ignoreExtraLines, boolean ignoreLineOrder);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. internal/amztime/iso8601_time_test.go

    	testCases := []struct {
    		date           time.Time
    		expectedOutput string
    	}{
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.940Z",
    		},
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 901303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.901Z",
    		},
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Dec 12 18:28:30 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            releaseBinary.assertExists()
            releaseBinary.exec().out == app.withFeatureEnabled().expectedOutput
            installation("build/install/main/release").exec().out == app.withFeatureEnabled().expectedOutput
            releaseBinary.assertHasStrippedDebugSymbolsFor(['main.o', 'greeter.o'])
    
            succeeds "assembleDebug"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/webhook/serviceresolver_test.go

    	scenarios := []struct {
    		serviceName      string
    		serviceNamespace string
    		port             int32
    		expectedOutput   string
    		expectError      bool
    	}{
    		// scenario 1: a service name along with a namespace resolves
    		{serviceName: "ross", serviceNamespace: "andromeda", port: 443, expectedOutput: "https://ross.andromeda.svc:443"},
    		// scenario 2: a service name without a namespace does not resolve
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 08 07:19:52 UTC 2019
    - 2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags_test.go

    		outputFormat       string
    		templateArg        string
    		expectedError      string
    		expectedParseError string
    		expectedOutput     string
    		expectNoMatch      bool
    	}{
    		{
    			name:           "valid output format also containing the jsonpath argument succeeds",
    			outputFormat:   "jsonpath={ .metadata.name }",
    			expectedOutput: "foo",
    		},
    		{
    			name:          "valid output format and no --template argument results in an error",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/json_yaml_flags_test.go

    		name           string
    		outputFormat   string
    		expectedOutput string
    		expectNoMatch  bool
    	}{
    		{
    			name:           "json output format matches a json printer",
    			outputFormat:   "json",
    			expectedOutput: "\"name\": \"foo\"",
    		},
    		{
    			name:           "yaml output format matches a yaml printer",
    			outputFormat:   "yaml",
    			expectedOutput: "name: foo",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 21 15:08:30 UTC 2018
    - 2.4K bytes
    - Viewed (0)
Back to top