- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for assertStderr (0.21 sec)
-
platforms/software/testing-base-infrastructure/src/integTest/groovy/org/gradle/api/internal/tasks/testing/JULRedirectorIntegrationTest.groovy
run("test") then: DefaultTestExecutionResult testResult = new DefaultTestExecutionResult(testDirectory); LYRICS.each { testResult.testClass("com.example.LumberJackTest").assertStderr(not(containsString(it))); } } /* Relies on the resources directory: * integTest/resources/org/gradle/api/internal/tasks/testing/loggingConfig */ def loggingConfigRespected() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterLoggingOutputCaptureIntegrationTest.groovy
"class loaded\n" + "before class out\n" + "test constructed\n" + "test constructed\n" + "after class out\n" )) classResult.assertStderr(containsString( "before class err\n" + "after class err\n" )) def htmlReport = new HtmlTestExecutionResult(testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:51:39 UTC 2024 - 8.5K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/TestClassExecutionResult.java
TestClassExecutionResult assertStdout(Matcher<? super String> matcher); TestClassExecutionResult assertTestCaseStdout(String testCaseName, Matcher<? super String> matcher); TestClassExecutionResult assertStderr(Matcher<? super String> matcher); TestClassExecutionResult assertTestCaseStderr(String testCaseName, Matcher<? super String> matcher);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy
"< html allowed, cdata closing token ]]> encoded!\n" + "no EOL, non-asci char: ż\n" + "xml entity: &" )) .assertStderr(equalTo("< html allowed, cdata closing token ]]> encoded!\n")) } String lineNumberOf(String text) { int i = 1 for (String line : testFile.readLines()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:58:24 UTC 2024 - 6.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestNGExecutionResult.groovy
} TestClassExecutionResult assertTestCaseStdout(String testCaseName, Matcher<? super String> matcher) { throw new UnsupportedOperationException(); } TestClassExecutionResult assertStderr(Matcher<? super String> matcher) { throw new UnsupportedOperationException(); } TestClassExecutionResult assertTestCaseStderr(String testCaseName, Matcher<? super String> matcher) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.6K bytes - Viewed (0)