- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for testDescriptor (0.19 sec)
-
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/tasks/testing/TestDescriptor.java
/** * Describes a test. A test may be a single atomic test, such as the execution of a test method, or it may be a * composite test, made up of zero or more tests. */ @HasInternalProtocol @NonNullApi public interface TestDescriptor { /** * Returns the name of the test. Not guaranteed to be unique. * * @return The test name */ String getName(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestEventsIntegrationTest.groovy
void beforeSuite(TestDescriptor suite) {} void afterSuite(TestDescriptor suite, TestResult result) {} void beforeTest(TestDescriptor testDescriptor) {} void afterTest(TestDescriptor testDescriptor, TestResult result) {} } def testOutputListener = new TestOutputListener() { void onOutput(TestDescriptor testDescriptor, TestOutputEvent outputEvent) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestWorkerProgressListener.java
} testWorkerProgressLoggers.clear(); } private boolean isDefaultTestClassDescriptor(TestDescriptorInternal testDescriptor) { if (testDescriptor.isComposite() && testDescriptor instanceof DecoratingTestDescriptor && ((DecoratingTestDescriptor)testDescriptor).getDescriptor() instanceof DefaultTestClassDescriptor) { return true; } return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestScraper.java
TestDescriptorInternal testDescriptor = new DefaultTestClassDescriptor(idGenerator.generateId(), testSuite); // Using DefaultTestClassDescriptor to fake JUnit test processor.started(testDescriptor, new TestStartEvent(clock.getCurrentTime())); testDescriptors.push(new XCTestDescriptor(testDescriptor)); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9.7K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestEventLogger.java
this.testLogging = testLogging; } @Override public void beforeSuite(TestDescriptor descriptor) { before(descriptor); } @Override public void afterSuite(TestDescriptor descriptor, TestResult result) { after(descriptor, result); } @Override public void beforeTest(TestDescriptor descriptor) { before(descriptor); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGClassIntegrationTest.groovy
void beforeSuite(TestDescriptor d) { printEventInformation('$STARTED', d) } void afterSuite(TestDescriptor d, TestResult result) { printEventInformation('$FINISHED', d) } void beforeTest(TestDescriptor d) { printEventInformation('$STARTED', d)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/software/testing-base/src/integTest/groovy/org/gradle/testing/TestExecutionBuildOperationTestUtils.groovy
assert firstLevelTestOps.details.testDescriptor.name == ["SimpleSuite"] assert firstLevelTestOps.details.testDescriptor.className == [null] assert firstLevelTestOps.details.testDescriptor.composite == [true] def suiteTestOps = operations.children(firstLevelTestOps[0], ExecuteTestBuildOperationType) assert suiteTestOps.size() == 1 assert suiteTestOps*.details.testDescriptor.name == ["SimpleTest"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/operations/TestListenerBuildOperationAdapter.java
Details(TestDescriptor testDescriptor, long startTime) { this.testDescriptor = testDescriptor; this.startTime = startTime; } @Override public TestDescriptor getTestDescriptor() { return testDescriptor; } @Override public long getStartTime() { return startTime; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestListenerBuildOperationAdapterIntegrationTest.groovy
with(iterator.next()) { details.testDescriptor.name == "Gradle Test Run :test" details.testDescriptor.className == null details.testDescriptor.composite == true } with(iterator.next()) { details.testDescriptor.name ==~ "Gradle Test Executor \\d+" details.testDescriptor.className == null details.testDescriptor.composite == true }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollector.java
String className = testDescriptor.getClassName(); String classDisplayName = ((TestDescriptorInternal) testDescriptor).getClassDisplayName(); TestMethodResult methodResult = currentTestMethods.remove(testDescriptor).completed(result); for (Throwable throwable : result.getExceptions()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 8.3K bytes - Viewed (0)