Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for testDescriptor (0.39 sec)

  1. 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)
  2. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestWorkerProgressListenerTest.groovy

            def testEvent2 = new TestEvent('Gradle Test Executor 2', 'org.gradle.Test2')
            def testDescriptor1 = createTestDescriptor(testEvent1)
            def testDescriptor2 = createTestDescriptor(testEvent2)
    
            when:
            testWorkerProgressListener.started(testDescriptor1, createTestStartEvent())
            testWorkerProgressListener.started(testDescriptor2, createTestStartEvent())
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForTestOperationsTest.groovy

            when:
            def testDescriptor = Mock(InternalJvmTestDescriptor)
            _ * testDescriptor.getId() >> 1
            _ * testDescriptor.getName() >> 'some test suite'
            _ * testDescriptor.getDisplayName() >> 'some test suite in human readable form'
            _ * testDescriptor.getTestKind() >> InternalJvmTestDescriptor.KIND_SUITE
            _ * testDescriptor.getSuiteName() >> 'some suite'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top