Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for pouch (0.1 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/initialization/InternalGradleFailuresIntegrationTest.groovy

                }
            """
        }
    
        def "Error message due to unwritable build scope cache directory is not scary"() {
            given:
            def localGradleCache = file('.gradle')
            localGradleCache.touch()
    
            when:
            fails 'hello'
    
            then:
            localGradleCache.isFile()
            assertHasStartupFailure(failure, "Cache directory '${localGradleCache}' exists and is not a directory.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy

            readFileQuietly(temp.createDir("dir")).startsWith "Unable to read file"
        }
    
        def "touch creates new empty file"() {
            def foo = temp.file("foo.txt")
    
            when:
            touch(foo)
            then:
            foo.exists()
            foo.length() == 0
            foo.file
        }
    
        def "touch touches existing file"() {
            def foo = temp.file("foo.txt") << "data"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            touchFile.delete();
    
            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
            file.createNewFile();
            updateCheckManager.touch(a, remoteRepository, null);
    
            assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            assertNull(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/cache/internal/DefaultGeneratedGradleJarCacheIntegrationTest.groovy

    import org.junit.Rule
    import spock.lang.Specification
    
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.atomic.AtomicInteger
    
    import static org.apache.commons.io.FileUtils.touch
    
    class DefaultGeneratedGradleJarCacheIntegrationTest extends Specification {
        private final static String CACHE_IDENTIFIER = 'test'
        private final static long JAR_GENERATION_TIME_MS = 2000L
    
        @Rule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCleanupExecutor.java

                    Timer timer = Time.startTimer();
                    try {
                        cacheCleanupStrategy.getCleanupAction().clean(cleanableStore, progressMonitor);
                        FileUtils.touch(gcFile);
                        LOGGER.info("{} cleaned up in {}.", cleanableStore.getDisplayName(), timer.getElapsed());
                        context.setResult(new CacheCleanupResult(progressMonitor.getDeleted(), lastCleanupTime));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskExecutionResultCrossVersionSpec.groovy

            then:
            with(taskSuccessResult(':incrementalTask')) {
                !incremental
                executionReasons[0].contains("No history")
            }
    
            when:
            file('src/a').touch()
            file('src/b').touch()
    
            and:
            runBuild('incrementalTask')
    
            then:
            with(taskSuccessResult(':incrementalTask')) {
                incremental
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/DaemonJvmCompatibilityCrossVersionSpec.groovy

    import org.gradle.integtests.tooling.fixture.ToolingApiSpecification
    
    class DaemonJvmCompatibilityCrossVersionSpec extends ToolingApiSpecification {
        def setup() {
            buildFile.touch()
            settingsFile << """
                rootProject.name = "root"
            """
        }
    
        @TargetGradleVersion(">=8.8")
        def "can run a build with Java 21 followed by another build with a different version"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/context/DaemonCompatibilitySpecSpec.groovy

        private DaemonContext candidate = Mock(DaemonContext)
    
        private TestFile javaHome = tmp.createDir("jdk")
    
        def setup() {
            javaHome.file("bin", OperatingSystem.current().getExecutableName("java")).touch()
        }
    
        DaemonRequestContext clientWants(Map args) {
            clientWants(args.requestedJvm,
                args.daemonOpts ?: [],
                args.applyInstrumentationAgent ?: false,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. .github/workflows/stale-pr.yml

              operations-per-run: 50
              ascending: true
              exempt-all-milestones: true
    
              # ISSUES (deactivated) ----------------------------------------------
              # This workflow should touch no issues, so times are set to -1
              # (see actions/stale documentation for the behavior)
              days-before-issue-stale: -1
              stale-issue-label: stale
              stale-issue-message: >
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/UndefinedBuildExecutionIntegrationTest.groovy

            where:
            fileName << ScriptFileUtil.getValidSettingsFileNames()
        }
    
        def "does not treat buildSrc with no settings file as undefined build"() {
            given:
            settingsFile.touch()
            file("buildSrc/build.gradle") << """
                plugins {
                    id "groovy-gradle-plugin"
                }
            """
            file("buildSrc/src/main/groovy/Dummy.groovy") << "class Dummy {}"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top