- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for testDescriptor (0.33 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/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-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/AbstractTestDescriptor.java
* It should be in TestDescriptor, but moved here for backward compatibility * TODO: move it to TestDescriptor interface with 9.0 * * @return The method name. May return null. * @since 8.8 * @see org.gradle.tooling.internal.provider.runner.TestOperationMapper#getLegacyOperationDisplayName(String, TestDescriptor) */ @Incubating @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 2.1K 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/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/TestDescriptorInternal.java
package org.gradle.api.internal.tasks.testing; import org.gradle.api.NonNullApi; import org.gradle.api.tasks.testing.TestDescriptor; import org.gradle.internal.scan.UsedByScanPlugin; import javax.annotation.Nullable; @UsedByScanPlugin @NonNullApi public interface TestDescriptorInternal extends TestDescriptor { @Nullable @Override TestDescriptorInternal getParent(); Object getId(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestListenerIntegrationTest.groovy
useJUnitJupiter() } } } tasks.test { onOutput( KotlinClosure2<TestDescriptor, TestOutputEvent, Any>({ descriptor, event -> println("onOutput:" + descriptor.displayName + ":" + event.message) }) ) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy
class TestAdapter implements TestListener { @Override void beforeSuite(TestDescriptor suite) {} @Override void afterSuite(TestDescriptor suite, TestResult result) {} @Override void beforeTest(TestDescriptor testDescriptor) {} @Override void afterTest(TestDescriptor testDescriptor, TestResult result) {} }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 56.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultTestLauncher.java
} @Override protected DefaultTestLauncher getThis() { return this; } @Override public TestLauncher withTests(TestOperationDescriptor... testDescriptors) { withTests(Arrays.asList(testDescriptors)); return this; } @Override public TestLauncher withTests(Iterable<? extends TestOperationDescriptor> descriptors) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 9.1K 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)