Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 5,566 for Executer (0.66 sec)

  1. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

            cleanupMethod.maybeExpectDeprecationWarning(executer)
            run()
    
            then:
            existsBuildCacheEntry("0" * hashStringLength)
            existsBuildCacheEntry("1" * hashStringLength)
            assertCacheWasNotCleanedUpSince(lastCleanupCheck)
    
            when:
            lastCleanupCheck = markCacheLastCleaned(twoDaysAgo())
            executer.noDeprecationChecks()
            run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy

                plugins.apply(my.MyPlugin)
                println("configuring root")
            """
        }
    
        def "parameterized models are reused in the same build action"() {
            when:
            executer.withArguments(ENABLE_CLI)
            def models = runBuildAction(new FetchParameterizedCustomModelForEachProject(["fetch1", "fetch2", "fetch1", "fetch2"]))
    
            then:
            fixture.assertStateStored {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLayoutIntegrationTest.groovy

    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.gradle.test.fixtures.file.TestFile
    import org.junit.Before
    import org.junit.Rule
    import org.junit.Test
    
    class ProjectLayoutIntegrationTest extends AbstractIntegrationTest {
    
        @Rule
        public final ZincScalaCompileFixture zincScalaCompileFixture = new ZincScalaCompileFixture(executer, testDirectoryProvider)
    
        @Rule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/antmigration/SamplesAntImportIntegrationTest.groovy

            given: "A sample project with an Ant build"
            def dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            when:
            def result = succeeds('clean', 'assemble')
    
            then: "The correct JAR is built"
            dslDir.file('target/lib/hello-app.jar').isFile()
    
            and: "The compilejava task is executed in place of the original 'build' task"
            result.assertTaskExecuted(':compileJava')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCachedCompileIntegrationTest.groovy

            then:
            compileIsCached()
        }
    
        def "compilation is cached if the build executed from a different directory"() {
            // Compile in a different copy of the project
            def remoteProjectDir = file("remote-project")
            setupProjectInDirectory(remoteProjectDir)
    
            when:
            executer.inDirectory(remoteProjectDir)
            withBuildCache().run compilationTask
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedImplementationIntegrationTest.groovy

                apply plugin: InMemoryBuildCachePlugin
            """
    
            when:
            executer.withBuildCacheEnabled()
            succeeds "compileJava", "--info"
    
            then:
            executed ":compileJava"
    
            expect:
            succeeds "clean"
    
            when:
            executer.withBuildCacheEnabled()
            succeeds "compileJava"
    
            then:
            skipped ":compileJava"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 20 12:09:58 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/fixtures/XcodebuildExecutor.java

     */
    
    package org.gradle.ide.xcode.fixtures;
    
    import org.gradle.integtests.fixtures.executer.ExecutionFailure;
    import org.gradle.integtests.fixtures.executer.ExecutionResult;
    import org.gradle.integtests.fixtures.executer.OutputScrapingExecutionFailure;
    import org.gradle.integtests.fixtures.executer.OutputScrapingExecutionResult;
    import org.gradle.test.fixtures.file.ExecOutput;
    import org.gradle.test.fixtures.file.TestFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy

        }
    
        boolean isResolveDynamic() {
            false
        }
    
        abstract List<MavenHttpModule> getModulesInReadOnlyCache(MavenHttpRepository repo)
    
        def setup() {
            executer.requireIsolatedDaemons()
            executer.requireOwnGradleUserHomeDir()
            def roModules = getModulesInReadOnlyCache(mavenHttpRepo)
            roModules.each {
                it.withModuleMetadata()
                if (publishJavadocsAndSources) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ProjectLifecycleFixture.groovy

     */
    
    package org.gradle.integtests.fixtures.executer
    
    import org.gradle.test.fixtures.file.TestDirectoryProvider
    import org.gradle.test.fixtures.file.TestFile
    
    import static java.util.Arrays.asList
    
    class ProjectLifecycleFixture extends InitScriptExecuterFixture {
    
        private TestFile fixtureData
    
        ProjectLifecycleFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            super(executer, testDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

                buildCache {
                    remote {
                        url = "https://invalid.invalid/"
                    }
                }
            """
    
            when:
            executer.withStacktraceEnabled()
            executer.withStackTraceChecksDisabled()
            withBuildCache().run "jar"
    
            then:
            output.contains("java.net.UnknownHostException")
            output.contains("invalid.invalid")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top