- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for testDescriptor (0.54 sec)
-
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestOperationMapper.java
* {@link #adjustOperationDisplayNameForIntelliJ(String, AbstractTestDescriptor) 2}) are removed */ private static TestDescriptor getOriginalDescriptor(TestDescriptor testDescriptor) { if (testDescriptor instanceof DecoratingTestDescriptor) { return getOriginalDescriptor(((DecoratingTestDescriptor) testDescriptor).getDescriptor()); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 08:42:44 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy
import spock.lang.Specification class FullExceptionFormatterTest extends Specification { def testDescriptor = new SimpleTestDescriptor() def testLogging = Mock(TestLogging) def formatter = new FullExceptionFormatter(testLogging) def "shows all exceptions that have occurred for a test"() { expect: formatter.format(testDescriptor, [new RuntimeException("oops"), new Exception("ouch")]) == """\ java.lang.RuntimeException: oops
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java
} Optional<TestDescriptor> parent = descriptor.getParent(); return parent.isPresent() && shouldRun(parent.get(), true); } private boolean shouldRun(TestDescriptor descriptor, boolean checkingParent, ClassSource classSource) { Set<? extends TestDescriptor> children = descriptor.getChildren(); if (!checkingParent) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestExecutionResultEvaluator.java
if (!testDescriptor.isComposite() && testResult.getFailedTestCount() != 0) { failedTests.add(new FailedTest(testDescriptor.getName(), testDescriptor.getClassName(), getTaskPath(buildOperation.getId(), testDescriptor))); } } } private String getTaskPath(OperationIdentifier buildOperationId, TestDescriptorInternal descriptor) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 13:57:30 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy
void beforeSuite(TestDescriptor suite) { println "START [$suite] [$suite.name]" } void afterSuite(TestDescriptor suite, TestResult result) { println "FINISH [$suite] [$suite.name]" } void beforeTest(TestDescriptor test) { println "START [$test] [$test.name]" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java
* * @param closure The closure to call. */ public void beforeTest(Closure closure) { addDispatchAsTestListener("beforeTest", closure); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:49:01 UTC 2024 - 27.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy
def "tests can be executed multiple times without task being up-to-date"() { given: collectDescriptorsFromBuild() and: launchTests(testDescriptors("example.MyTest", null, ":secondTest")) when: launchTests(testDescriptors("example.MyTest", null, ":secondTest")); then: assertTaskNotUpToDate(":secondTest")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 22.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy
launcher.withJvmTestMethods("example.MyTest", "unknownMethod2") launcher.withJvmTestMethods("example.UnknownClass", "unknownTestMethod3") launcher.withTests(testDescriptors("example2.MyOtherTest", null, ":test")) } then: assertTaskExecuted(":test") assertTaskExecuted(":secondTest") def e = thrown(TestExecutionException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy
if (requested == null) { return true } actual == requested } Collection<TestOperationDescriptor> testDescriptors(String className, String methodName = null, String taskPath = null, String displayName = null) { findTestDescriptors(events.tests.collect { it.descriptor }, className, methodName, taskPath, displayName) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 08:42:44 UTC 2024 - 19.9K bytes - Viewed (0)