Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for assertStderr (0.1 sec)

  1. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy

                    ignoreFailures = true
                }
            """
    
            when:
            succeeds "check"
    
            then:
            testResult.testClass('SomeTest').assertStderr(CoreMatchers.containsString("some error output"))
        }
    
        @ToBeFixedForConfigurationCache(bottomSpecs = "XCTestTestFrameworkIntegrationTest")
        def "failing tests cause report url to be printed"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy

            TestClassExecutionResult assertTestCaseStdout(String testCaseName, Matcher<? super String> matcher) {
                throw new UnsupportedOperationException()
            }
    
            TestClassExecutionResult assertStderr(Matcher<? super String> matcher) {
                return assertOutput('Standard error', matcher)
            }
    
            private HtmlTestClassExecutionResult assertOutput(heading, Matcher<? super String> matcher) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitTestClassExecutionResult.groovy

            def stdout = testClassNode.'system-out'[0].text();
            assertThat(stdout, matcher)
            this
        }
    
        TestClassExecutionResult assertStderr(Matcher<? super String> matcher) {
            def stderr = testClassNode.'system-err'[0].text();
            assertThat(stderr, matcher)
            this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top