- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for testDescriptor (0.14 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/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)