Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 119 for executors (0.3 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableInjection.groovy

                @Override
                void setup(AbstractConfigurationCacheIntegrationTest test) {
                    test.executer.withEnvironmentVars(variables)
                }
            }
        }
    
        static void checkEnvironmentVariableUnset(String key) {
            // We can't "unset" the variable with the API executer provides, but it isn't necessary, thanks to the filtering in
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInjection.groovy

                    return "using client JVM args"
                }
    
                @Override
                void setup(AbstractConfigurationCacheIntegrationTest test) {
                    test.executer.requireDaemon().requireIsolatedDaemons()
                    test.executer.withCommandLineGradleOpts("-D${prop}=${value}")
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGradlePropertiesIntegrationTest.groovy

                println(gradleProp + '!')
            """
    
            when:
            executer.withEnvironmentVars([
                (ENV_PROJECT_PROPERTIES_PREFIX + 'gradleProp'): 1
            ])
            configurationCacheRun "help"
    
            then:
            outputContains '1!'
            configurationCache.assertStateStored()
    
            when:
            executer.withEnvironmentVars([
                (ENV_PROJECT_PROPERTIES_PREFIX + 'gradleProp'): 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. pom.xml

    under the License.</licenseText>
              </configuration>
              <executions>
                <execution>
                  <id>modello-site-docs</id>
                  <goals>
                    <goal>xdoc</goal>
                    <goal>xsd</goal>
                  </goals>
                  <phase>pre-site</phase>
                </execution>
              </executions>
            </plugin>
            <!-- enforce backwards compatibility -->
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:13:34 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

    import java.util.jar.Manifest;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import static org.gradle.integtests.fixtures.executer.OutputScrapingExecutionResult.flattenTaskPaths;
    import static org.gradle.integtests.fixtures.executer.OutputScrapingExecutionResult.normalizeLambdaIds;
    import static org.gradle.internal.hash.Hashing.hashString;
    import static org.gradle.util.Matchers.normalizedLineSeparators;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy

            """
            javaProject(file("a"))
            javaProject(file("b"), """
                dependencies {
                    implementation(project(':a'))
                }
            """)
    
            when:
            executer.withArguments(ENABLE_CLI)
            runBuildAction(new FetchCustomModelForEachProjectInParallel())
    
            then:
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":", ":a", ":b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheWorkerApiIntegrationTest.groovy

                    @Inject
                    abstract WorkerExecutor getExecutor()
    
                    @TaskAction
                    def go() {
                        def flag = value
                        executor.noIsolation().submit(SomeWorkAction) {
                            value = flag
                        }
                    }
                }
    
                interface SomeParams extends WorkParameters {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

                    }
                }
            """
        }
    
        def "restores only projects that have work scheduled"(List<String> tasks) {
            def fixture = new BuildOperationsFixture(executer, temporaryFolder)
            executer.beforeExecute {
                withArgument("-Dorg.gradle.configuration-cache.internal.load-after-store=true")
            }
            createDirs("a", "b", "c", "custom")
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGParallelBySuitesNotSupportedIntegrationTest.groovy

               }
            """
    
            when:
            fails "test"
    
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
            result.testClassStartsWith('Gradle Test Executor').assertExecutionFailedWithCause(
                containsString("The version of TestNG used does not support setting thread pool size."))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDirectoryPluginIntegrationTest.groovy

                    }
                }
                apply plugin: FirstPlugin
                apply plugin: SecondPlugin
            """
    
            when:
            executer.inDirectory(file("first")).withTasks("classes").run()
            executer.inDirectory(file("second")).withTasks("classes").run()
            configurationCacheRun("-Dfirst.property=first.value", "-Dsecond.property=second.value")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top