Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 140 for expectedOutput (5.17 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithDep.groovy

        }
    
        @Override
        final List<SourceFile> getFiles() {
            [main.sourceFile]
        }
    
        @Override
        String getExpectedOutput() {
            return main.expectedOutput
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAlternateMain.groovy

                  greeter.sayHello()
                  return 0
                }
    
                _ = main()
            """)
        }
    
        @Override
        String getExpectedOutput() {
            return greeter.expectedOutput
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppMain.groovy

            greeter.sayHello();
            Sum sum;
            std::cout << sum.sum(5, 7) << std::endl;
            return 0;
        }
        """)
    
        @Override
        String getExpectedOutput() {
            return greeter.expectedOutput + sum.sum(5, 7) + "\n"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppCachingIntegrationTest.groovy

            withBuildCache().run 'clean', tasks.withBuildType(buildType).install
    
            then:
            compileIsCached(buildType)
            installation("build/install/main/${buildType.toLowerCase()}").exec().out == app.expectedOutput
    
            when:
            file('lib1/src/main/public/greeter.h') << """
                // changed
            """
            withBuildCache().run 'clean', tasks.withBuildType(buildType).install
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftGreeterUsingCppFunction.groovy

                    public func sayHello() {
                        sayGreeting()
                    }
                }
            """)
        }
    
        @Override
        String getExpectedOutput() {
            return cppGreeter.expectedOutput
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithStaticLinkagePublishingIntegrationTest.groovy

            debugInstall.exec().out == app.withFeatureDisabled().expectedOutput
            debugInstall.assertIncludesLibraries()
    
            when:
            executer.inDirectory(consumer)
            run("installRelease")
    
            then:
            def releaseInstall = installation(consumer.file("build/install/main/release"))
            releaseInstall.exec().out == app.withFeatureEnabled().expectedOutput
            releaseInstall.assertIncludesLibraries()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. 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)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftApp.groovy

        SwiftApp() {
            super('app')
        }
    
        @Override
        String getExpectedOutput() {
            return 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)
  9. 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)
  10. 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)
Back to top