Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for expectedOutput (0.34 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGLoggingOutputCaptureIntegrationTest.groovy

                    "Gradle Test Executor \\d+ -> constructor out",
                    "Gradle Test Executor \\d+ -> constructor err"
                )
            }
    
            outputContains expectedOutput('The Foo Test')
    
            /**
             * This test documents the current behavior. It's not right, we're missing a lot of output in the report.
             */
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. 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)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

            then:
            installation(consumer.file("build/install/main/release")).exec().out == app.withFeatureEnabled().expectedOutput
            def releaseInstall = installation(consumer.file("build/install/main/release"))
            releaseInstall.exec().out == app.withFeatureEnabled().expectedOutput
            releaseInstall.assertIncludesLibraries("greeting")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleSwiftProjectIntegrationTest.groovy

            resultDebug.assertTasksNotSkipped(':compileDebugSwift', ':linkDebug', ':installDebug', ':_xcode___App_Debug')
            debugBinary.exec().out == app.expectedOutput
            fixture(debugBinary).assertHasDebugSymbolsFor(app.sourceFileNames)
    
            when:
            releaseBinary.assertDoesNotExist()
            def resultRelease = xcodebuild
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 31.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalBuildIntegrationTest.groovy

            succeeds "assemble"
    
            then:
            result.assertTasksExecuted(assembleAppTasks)
            result.assertTasksNotSkipped(assembleAppTasks)
            executable("build/exe/main/debug/App").exec().out == app.expectedOutput
    
            when:
            app.applyChangesToProject(testDirectory)
            succeeds "assemble"
    
            then:
            result.assertTasksExecuted(assembleAppTasks)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithBothLinkagePublishingIntegrationTest.groovy

            run("installDebug")
    
            then:
            def debugInstall = installation(consumer.file("build/install/main/debug"))
            debugInstall.exec().out == app.withFeatureDisabled().expectedOutput
            debugInstall.assertIncludesLibraries("greeting")
            def debugLib = sharedLibrary(producer.file("build/lib/main/debug/shared/greeting"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. 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)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleCppProjectIntegrationTest.groovy

            resultDebug.assertTasksNotSkipped(':compileDebugCpp', ':linkDebug', ':installDebug', ':_xcode___App_Debug')
            debugBinary.exec().out == app.expectedOutput
            fixture(debugBinary).assertHasDebugSymbolsFor(app.sourceFileNamesWithoutHeaders)
    
            when:
            releaseBinary.assertDoesNotExist()
            def resultRelease = xcodebuild
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 27.7K bytes
    - Viewed (0)
  9. 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)
  10. 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