- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for assertTestCount (0.27 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/TestClassExecutionResult.java
* * This supports JUnit5 parameterized tests where the test name and display name may not match. */ TestClassExecutionResult assertTestsExecuted(TestCase... testCases); TestClassExecutionResult assertTestCount(int tests, int failures, int errors); int getTestCount(); /** * Asserts that the given tests have the given outcome for the given test class. */
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/junit4/AbstractJUnit4IgnoreClassIntegrationTest.groovy
then: def result = new DefaultTestExecutionResult(testDirectory) result.assertTestClassesExecuted('org.gradle.CustomIgnoredTest') result.testClass('org.gradle.CustomIgnoredTest').assertTestCount(3, 0, 0).assertTestsSkipped("first test run", "second test run", "third test run") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGTestFrameworkIntegrationTest.groovy
} """ when: fails'test' then: testResult.assertTestClassesExecuted("TestNG18566") testResult.testClass('TestNG18566') .assertTestCount(1, 1, 0) .testFailed("testTimeout", containsNormalizedString("Method TestNG18566.testTimeout() didn't finish within the time-out 10")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/XCTestSourceFileElement.java
public abstract List<XCTestCaseElement> getTestCases(); @SuppressWarnings("unchecked") public void assertTestCasesRan(TestClassExecutionResult testExecutionResult) { testExecutionResult.assertTestCount(getTestCount(), getFailureCount(), 0); for (XCTestCaseElement testCase : getTestCases()) { if (testCase.isExpectFailure()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 5.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestNGExecutionResult.groovy
def TestNgTestClassExecutionResult(String testClass, GPathResult resultXml) { this.testClass = testClass this.testClassNode = resultXml } TestClassExecutionResult assertTestCount(int tests, int failures, int errors) { throw new RuntimeException("Unsupported. Implement if you need it."); } int getTestCount() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.6K bytes - Viewed (0)