Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for expectedOutput (0.17 sec)

  1. 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)
  2. cmd/kubeadm/app/cmd/config_test.go

    			}
    
    			var output, expectedOutput bytes.Buffer
    
    			if err = i.Run(&output, printer); err != nil {
    				t.Fatalf("did not expect an error running the Images command: %v", err)
    			}
    
    			tmpl, err := template.New("test").Parse(tc.expectedOutput)
    			if err != nil {
    				t.Fatalf("could not create template: %v", err)
    			}
    			if err = tmpl.Execute(&expectedOutput, versionMapping); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

            public ExecutionResult assertOutputEquals(String expectedOutput, boolean ignoreExtraLines, boolean ignoreLineOrder) {
                outputResult.assertOutputEquals(expectedOutput, ignoreExtraLines, ignoreLineOrder);
                return this;
            }
    
            @Override
            public ExecutionResult assertNotOutput(String expectedOutput) {
                outputResult.assertNotOutput(expectedOutput);
                return this;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/version_test.go

    	tests := []struct {
    		name           string
    		input          string
    		expectedOutput string
    		expectedError  bool
    	}{
    		{
    			name:           "empty input",
    			input:          "",
    			expectedOutput: "",
    			expectedError:  true,
    		},
    		{
    			name:           "label as input",
    			input:          "stable",
    			expectedOutput: normalizedBuildVersion(constants.DefaultKubernetesPlaceholderVersion.String()),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 03:30:51 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. src/flag/flag_test.go

    	}
    	if fs.Output() != expectedOutput {
    		t.Errorf("unexpected output: got %#v, expected %#v", fs.Output(), expectedOutput)
    	}
    
    	expectedName = "gopher"
    	expectedErrorHandling = ExitOnError
    	expectedOutput = os.Stdout
    	fs.Init(expectedName, expectedErrorHandling)
    	fs.SetOutput(expectedOutput)
    
    	if fs.Name() != expectedName {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

                    }
                }
            """
    
            when:
            configurationCacheRun "reader"
    
            then:
            outputContains expectedOutput
    
            where:
            type                             | tasksInput             | expectedOutput
            "Task"                           | "copy1.get()"          | "[copy1]"
            "TaskProvider"                   | "copy1"                | "[copy1]"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

                collectOutputs(build)
                build.forLaunchables(tasks[0]).run()
            }
        }
    
        private boolean outputContains(String expectedOutput) {
            return stdout.toString().contains(expectedOutput)
        }
    
        class TestOperationCollector implements ProgressListener {
    
            List<TestOperationDescriptor> descriptors = []
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

            when:
            withBuildCache().run "weirdOutput"
            then:
            executedAndNotSkipped ":weirdOutput"
            expectedOutput.file
    
            when:
            cleanBuildDir()
            withBuildCache().run "weirdOutput"
            then:
            skipped ":weirdOutput"
            expectedOutput.file
        }
    
        def "local state declared via #api API is destroyed when task is loaded from cache"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top