Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for testDescriptor (0.19 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/operations/TestListenerBuildOperationAdapterTest.groovy

            1 * buildOperationIdFactory.nextId() >> 1
            1 * clock.currentTime >> 0
            1 * listener.started(_, _) >> {
                generatedDescriptor = it[0]
                assert generatedDescriptor.details.testDescriptor == testDescriptorInternal
                assert generatedDescriptor.details.startTime == TEST_START_TIMESTAMP
            }
    
            when:
            adapter.completed(testDescriptorInternal, testResult, testCompleteEvent)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. 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)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

                    @Override
                    public String getId() {
                        return "EngineFailingDiscovery";
                    }
    
                    @Override
                    public TestDescriptor discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) {
                        throw new RuntimeException("oops");
                    }
    
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/TestExecutionRequest.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    public class TestExecutionRequest implements InternalTestExecutionRequest {
        private final Collection<InternalTestDescriptor> testDescriptors;
        private final Collection<String> testClassNames;
        private final Collection<InternalJvmTestRequest> internalJvmTestRequests;
        private final InternalDebugOptions debugOptions;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/action/TestExecutionRequestAction.java

                                          List<InternalTaskSpec> taskSpecs
        ) {
            super(clientSubscriptions);
            this.startParameter = startParameter;
            this.testDescriptors = testDescriptors;
            this.classNames = providerClassNames;
            this.internalJvmTestRequests = internalJvmTestRequests;
            this.debugOptions = debugOptions;
            this.taskAndTests = taskAndTests;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestExecuter.java

                Deque<XCTestDescriptor> testDescriptors = new ArrayDeque<XCTestDescriptor>();
                TextStream stdOut = new XCTestScraper(TestOutputEvent.Destination.StdOut, resultProcessor, idGenerator, clock, rootTestSuiteId, testDescriptors);
                TextStream stdErr = new XCTestScraper(TestOutputEvent.Destination.StdErr, resultProcessor, idGenerator, clock, rootTestSuiteId, testDescriptors);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/action/BuildActionSerializer.java

            public TestExecutionRequestPayload(Set<InternalTestDescriptor> testDescriptors, Set<String> classNames, Set<InternalJvmTestRequest> internalJvmTestRequests, InternalDebugOptions debugOptions, Map<String, List<InternalJvmTestRequest>> taskAndTests, boolean isRunDefaultTasks) {
                this.testDescriptors = testDescriptors;
                this.classNames = classNames;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top