Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for pouch (0.04 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. testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy

        void antTargetsAndGradleTasksCanDependOnEachOther() {
            testFile('build.xml') << """
    <project>
        <target name='target1' depends='target2,initialize'>
            <touch file='build/target1.txt'/>
        </target>
        <target name='target2' depends='initialize'>
            <touch file='build/target2.txt'/>
        </target>
    </project>
    """
            testFile('build.gradle') << """
    ant.importBuild(file('build.xml'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. 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)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            when:
            run("work")
    
            then:
            result.assertTasksSkipped(":work")
        }
    
        def "uses the target of symlink for input directory content"() {
            file('in.txt').touch()
            def inDir = file("other").createDir()
            def inFile = inDir.file("file").createFile()
            file("in-dir").createLink("other")
    
            given:
            run("work")
            run("work")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/test/resources/run.sh

    #!/bin/bash
    
    touch $(ls -d ./fess-*/logs)/fess-crawler.log
    tail -f ./fess-*/logs/*.log &
    
    mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
    ret=$?
    
    if [ $ret != 0 ] ; then
      for f in `find ./target -type f | grep surefire-reports | grep -v /TEST-` ; do
        cat $f
      done
    fi
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Feb 10 03:25:34 UTC 2024
    - 353 bytes
    - Viewed (0)
  8. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/AbstractTaskSubclassingBinaryCompatibilityCrossVersionSpec.groovy

    }
    
    apply plugin: SomePlugin
    """
        }
    
        protected void prepareMethodUseTest(GradleVersion targetVersion) {
            file("someFile").touch()
            file("anotherFile").touch()
            file("yetAnotherFile").touch()
            file("someDir").createDir()
    
            def apiDepConf = "implementation"
            if (targetVersion < GradleVersion.version("7.0-rc-1")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. 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)
  10. src/test/resources/before_script.sh

    #!/bin/bash
    set -xuo pipefail
    
    temp_log_file=/tmp/fess-build.$$
    unzip target/releases/fess-*.zip > ${temp_log_file} 2>&1
    tail ${temp_log_file}
    
    ./fess-*/bin/fess > ${temp_log_file} 2>&1 &
    
    temp_json_file=/tmp/fess-log.$$
    touch ${temp_json_file}
    error_count=0
    while true ; do
      status=$(curl -w '%{http_code}\n' -s -o ${temp_json_file} "http://localhost:8080/api/v1/health")
      cat ${temp_json_file}
      if [[ x"${status}" = x200 ]] ; then
        break
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Feb 10 03:25:34 UTC 2024
    - 863 bytes
    - Viewed (0)
Back to top