- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for OkTest (0.11 sec)
-
platforms/documentation/docs/src/snippets/testing/testng-java-passing/groovy/src/test/java/org/gradle/OkTest.java
package org.gradle; public class OkTest { @org.testng.annotations.Test public void passingTest() { } @org.testng.annotations.Test(expectedExceptions = RuntimeException.class) public void expectedFailTest() { throw new RuntimeException("broken"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 284 bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/vintage/JUnitVintageLoggingOutputCaptureIntegrationTest.groovy
assert junitResult.getSuiteStandardOutput("OkTest").isPresent() assert junitResult.getTestCaseStandardOutput("OkTest", "isOk").isPresent() } else { assert !junitResult.getSuiteStandardOutput("OkTest").isPresent() // isEmpty not available in Java 8 assert !junitResult.getTestCaseStandardOutput("OkTest", "isOk").isPresent() } if (standardErrIncluded) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:51:39 UTC 2024 - 4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterLoggingOutputCaptureIntegrationTest.groovy
"Test anotherOk(OkTest) -> after err\n" + "Test class OkTest -> test constructed\n" + "Test ok(OkTest) -> before out\n" + "Test ok(OkTest) -> before err\n" + "Test ok(OkTest) -> test out: \u03b1</html>\n" + "Test ok(OkTest) -> test err\n" + "Test ok(OkTest) -> after out\n" + "Test ok(OkTest) -> after err\n" +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:51:39 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/SampleTestNGIntegrationTest.groovy
result.assertTestClassesExecuted('org.gradle.OkTest', 'org.gradle.ConcreteTest', 'org.gradle.SuiteSetup', 'org.gradle.SuiteCleanup', 'org.gradle.TestSetup', 'org.gradle.TestCleanup') result.testClass('org.gradle.OkTest').assertTestsExecuted('passingTest', 'expectedFailTest') result.testClass('org.gradle.OkTest').assertTestPassed('passingTest') result.testClass('org.gradle.OkTest').assertTestPassed('expectedFailTest')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4LoggingOutputCaptureIntegrationTest.groovy
"Test anotherOk(OkTest) -> after out\n" + "Test anotherOk(OkTest) -> after err\n" + "Test ok(OkTest) -> test constructed\n" + "Test ok(OkTest) -> before out\n" + "Test ok(OkTest) -> before err\n" + "Test ok(OkTest) -> test out: \u03b1</html>\n" + "Test ok(OkTest) -> test err\n" + "Test ok(OkTest) -> after out\n" +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4LoggingOutputCaptureIntegrationTest.groovy
assert junitResult.getSuiteStandardOutput("OkTest").isPresent() assert junitResult.getTestCaseStandardOutput("OkTest", "isOk").isPresent() } else { assert !junitResult.getSuiteStandardOutput("OkTest").isPresent() // isEmpty not available in Java 8 assert !junitResult.getTestCaseStandardOutput("OkTest", "isOk").isPresent() } if (standardErrIncluded) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:51:05 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitLoggingOutputCaptureIntegrationTest.groovy
def testResult = new JUnitXmlTestExecutionResult(testDirectory) def classResult = testResult.testClass("OkTest") 5.times { n -> outputContains("Test ok(OkTest) -> stdout from thread $n") outputContains("Test ok(OkTest) -> stderr from thread $n") outputContains("Test ok(OkTest) -> ${java.util.logging.Level.INFO.getLocalizedName()}: info from thread $n")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitJnaIntegrationTest.groovy
@Requires(UnitTestPreconditions.Windows) def canRunTestsUsingJna() { given: file('src/test/java/OkTest.java') << """ ${testFrameworkImports} import com.sun.jna.platform.win32.Shell32; public class OkTest { @Test public void ok() { assert Shell32.INSTANCE != null; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGStaticLoggingIntegrationTest.groovy
def classResult = testResult.testClass("OkTest") 5.times { n -> outputContains("Test method ok(OkTest) -> stdout from thread $n") outputContains("Test method ok(OkTest) -> stderr from thread $n") outputContains("Test method ok(OkTest) -> ${java.util.logging.Level.INFO.getLocalizedName()}: info from thread $n")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterTestListenerBuildOperationAdapterIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.3K bytes - Viewed (0)