Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 334 for processJob (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  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/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)
  6. src/runtime/cpuflags_amd64.go

    import (
    	"internal/cpu"
    )
    
    var useAVXmemmove bool
    
    func init() {
    	// Let's remove stepping and reserved fields
    	processor := processorVersionInfo & 0x0FFF3FF0
    
    	isIntelBridgeFamily := isIntel &&
    		processor == 0x206A0 ||
    		processor == 0x206D0 ||
    		processor == 0x306A0 ||
    		processor == 0x306E0
    
    	useAVXmemmove = cpu.X86.HasAVX && !isIntelBridgeFamily
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 24 07:29:52 UTC 2018
    - 533 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/SuiteTestClassProcessorTest.groovy

        def firesSuiteStartEventOnStartProcessing() {
            when:
            processor.startProcessing(resultProcessor)
    
            then:
            1 * resultProcessor.started(suiteDescriptor, !null)
            1 * targetProcessor.startProcessing(!null) >> { args ->
                def processor = args[0]
                processor instanceof AttachParentTestResultProcessor && args[0].processor == resultProcessor
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/TestOutputRedirector.java

        static class Forwarder implements StandardOutputRedirector.OutputListener {
            final TestResultProcessor processor;
            final TestOutputEvent.Destination dest;
            Object outputOwner;
    
            public Forwarder(TestResultProcessor processor, TestOutputEvent.Destination dest) {
                this.processor = processor;
                this.dest = dest;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top