Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for processTestClass (0.31 sec)

  1. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestWorkerTest.groovy

                start {
                    worker.startProcessing()
                    worker.processTestClass(test)
                    thread.block()
                    instant.stopped
                    worker.stop()
                }
            }
            1 * processor.startProcessing(_)
            1 * processor.processTestClass(test)
            1 * processor.stop()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestWorker.java

     * methods willed be called sequentially in the following order:
     *
     * - {@link RemoteTestClassProcessor#startProcessing()}
     * - 0 or more calls to {@link RemoteTestClassProcessor#processTestClass(TestClassRunInfo)}
     * - {@link RemoteTestClassProcessor#stop()}
     *
     * Commands are received on communication threads and then processed sequentially on the main thread.  Although concurrent calls to
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/DefaultTestClassScanner.java

            candidateClassFiles.visit(new ClassFileVisitor() {
                @Override
                public void visitClassFile(FileVisitDetails fileDetails) {
                    testFrameworkDetector.processTestClass(new RelativeFile(fileDetails.getFile(), fileDetails.getRelativePath()));
                }
            });
        }
    
        private void filenameScan() {
            candidateClassFiles.visit(new ClassFileVisitor() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/RemoteTestClassProcessor.java

     */
    public interface RemoteTestClassProcessor {
        /**
         * Does not block.
         */
        void startProcessing();
    
        /**
         * Does not block.
         */
        void processTestClass(TestClassRunInfo testClass);
    
        /**
         * Does not block.
         */
        void stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestExecuter.java

                for (String includedTests : testSelection.getIncludedTests()) {
                    TestClassRunInfo testClass = new DefaultTestClassRunInfo(includedTests);
                    testClassProcessor.processTestClass(testClass);
                }
            }
        }
    
        static class XCTestProcessor implements TestClassProcessor {
            private TestResultProcessor resultProcessor;
            private ExecHandle execHandle;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/SuiteTestClassProcessor.java

                resultProcessor.failure(suiteDescriptor.getId(), TestFailure.fromTestFrameworkFailure(rawFailure));
            }
        }
    
        @Override
        public void processTestClass(TestClassRunInfo testClass) {
            try {
                processor.processTestClass(testClass);
            } catch (Throwable t) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessor.java

        }
    
        @Override
        public void startProcessing(TestResultProcessor resultProcessor) {
            this.resultProcessor = resultProcessor;
        }
    
        @Override
        public void processTestClass(TestClassRunInfo testClass) {
            lock.lock();
            try {
                if (stoppedNow) {
                    return;
                }
    
                if (remoteProcessor == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/SuiteTestClassProcessorTest.groovy

            RuntimeException failure = new RuntimeException()
            processor.startProcessing(resultProcessor)
    
            when:
            processor.processTestClass(testClass)
    
            then:
            1 * targetProcessor.processTestClass(testClass) >> { throw failure }
            1 * resultProcessor.failure('id', !null) >> { args ->
                def e = args[1]
                assert e instanceof DefaultTestFailure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/TestFrameworkDetector.java

    import java.io.File;
    import java.util.List;
    
    public interface TestFrameworkDetector {
        void startDetection(TestClassProcessor testClassProcessor);
    
        boolean processTestClass(RelativeFile testClassFile);
    
        void setTestClasses(List<File> testClasses);
    
        void setTestClasspath(List<File> classpath);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/TestClassProcessor.java

        /**
         * Accepts the given test class for processing. May execute synchronously, asynchronously, or defer execution for
         * later.
         *
         * @param testClass The test class.
         */
        void processTestClass(TestClassRunInfo testClass);
    
        /**
         * Completes any pending or asynchronous processing. Blocks until all processing is complete. The processor should
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top