Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 331 for processDir (0.65 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/SupportedOptionsCollectingProcessor.java

     * when combined with {@code -Werror}.
     *
     * <p>This processor needs to be added last to make sure that all other processors
     * have been {@linkplain Processor#init(ProcessingEnvironment) initialized} when
     * {@link #getSupportedOptions()} is called.
     */
    public class SupportedOptionsCollectingProcessor extends AbstractProcessor {
        private final List<Processor> processors = new ArrayList<Processor>();
    
        public void addProcessor(Processor processor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessorTest.groovy

        }
    
        def "stopNow does nothing when no remote processor"() {
            given:
            def processor = newProcessor()
    
            when:
            processor.stopNow()
    
            then:
            0 * _
        }
    
        def "stopNow propagates to worker process"() {
            given:
            def processor = newProcessor()
    
            when:
            processor.processTestClass(Mock(TestClassRunInfo))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/processors/CaptureTestOutputTestResultProcessor.java

        private final TestResultProcessor processor;
        private final TestOutputRedirector outputRedirector;
        private Object rootId;
        private Map<Object, Object> parents = new ConcurrentHashMap<Object, Object>();
    
        public CaptureTestOutputTestResultProcessor(TestResultProcessor processor, StandardOutputRedirector outputRedirector) {
            this(processor, new TestOutputRedirector(processor, outputRedirector));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/AbstractIncrementalAnnotationProcessingIntegrationTest.groovy

            }
            out
        }
    
        def "explicit -processor option overrides automatic detection"() {
            buildFile << """
                compileJava.options.compilerArgs << "-processor" << "unknown.Processor"
            """
            java "class A {}"
    
            expect:
            fails("compileJava")
            failure.assertHasCause("Annotation processor 'unknown.Processor' not found")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 29 15:12:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/results/AttachParentTestResultProcessorTest.groovy

            TestDescriptorInternal other = suite('suite1')
            TestDescriptorInternal test = test('test')
    
            processor.started(root, new TestStartEvent(100L))
            processor.completed('root', new TestCompleteEvent(200L))
            processor.started(other, new TestStartEvent(200L))
    
            when:
            processor.started(test, new TestStartEvent(200L))
    
            then:
            1 * target.started(test, { it.parentId == 'suite1' })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/TestMainActionTest.groovy

            then:
            1 * processor.startProcessing(!null)
            then:
            1 * detector.run()
            then:
            1 * workerLeaseService.blocking(_) >> { Runnable runnable -> runnable.run() }
            1 * processor.stop() >> { throw failure }
            then:
            1 * resultProcessor.completed(!null, !null)
    
            0 * resultProcessor._
            0 * detector._
            0 * processor._
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/processors/RestartEveryNTestClassProcessor.java

            }
    
            if (processor == null) {
                processor = factory.create();
                processor.startProcessing(resultProcessor);
            }
            processor.processTestClass(testClass);
            testCount++;
            if (testCount == restartEvery) {
                endBatch();
            }
        }
    
        @Override
        public void stop() {
            if (processor != null) {
                endBatch();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/DynamicProcessorTest.groovy

        Processor delegate = Stub(Processor)
        AnnotationProcessorResult result = new AnnotationProcessorResult(null, "")
        DynamicProcessor processor = new DynamicProcessor(delegate, result)
    
        def "sets initial processor type"() {
            expect:
            result.type == UNKNOWN
        }
    
        def "updates processor type from options for #type processor"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/AnnotationProcessorDiscoveringCompilerTest.groovy

        @Issue("gradle/gradle#1471")
        def "fails when -processor is the last compiler arg"() {
            given:
            spec.compileOptions.compilerArgs = ["-Xthing", "-processor"]
    
            when:
            compiler.execute(spec)
    
            then:
            def e = thrown(InvalidUserDataException)
            e.message == 'No processor specified for compiler argument -processor in requested compiler args: -Xthing -processor'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/processors/MaxNParallelTestClassProcessor.java

            }
    
            TestClassProcessor processor;
            if (processors.size() < maxProcessors) {
                processor = factory.create();
                rawProcessors.add(processor);
                Actor actor = actorFactory.createActor(processor);
                processor = actor.getProxy(TestClassProcessor.class);
                actors.add(actor);
                processors.add(processor);
                processor.startProcessing(resultProcessor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top