Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isolationMode (0.45 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

            assertWorkerExecuted("runInWorker")
    
            where:
            isolationMode << ISOLATION_MODES
        }
    
        def "can create and use a work action defined in build script in #isolationMode"() {
            fixture.withWorkActionClassInBuildScript()
    
            buildFile << """
                task runInWorker(type: WorkerTask) {
                    isolationMode = $isolationMode
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy

            }
    
            class ParTask extends DefaultTask {
                @TaskAction zzz() {
                    services.get(WorkerExecutor.class).submit(TestRunnable) {
                        it.isolationMode = org.gradle.workers.IsolationMode.NONE
                        it.params = [ name ]
                    }
                }
            }
            """
        }
    
        private defineGradleWorkAction() {
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top