Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 193 for pouch (0.04 sec)

  1. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultGroovyJavaJointCompileSpecFactoryTest.groovy

            def otherJavaHome = tmpDir.createDir("other-java-home")
            otherJavaHome.createDir("bin")
            otherJavaHome.file(OperatingSystem.current().getExecutableName("bin/java")).touch()
            otherJavaHome.file(OperatingSystem.current().getExecutableName("bin/javac")).touch()
    
            def version = currentVM == 'current' ? Jvm.current().javaVersion.majorVersion : currentVM
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHelperTest.groovy

                protected HttpClientResponse executeGetOrHead(HttpRequestBase method) {
                    throw new IOException("ouch")
                }
            }
    
            when:
            client.performRequest(new HttpGet("http://gradle.org"), false)
    
            then:
            HttpRequestException e = thrown()
            e.cause.message == "ouch"
        }
    
        def "response is closed if an error occurs during a request"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

            def staleFileInDir = file("build/dir/stale-file.txt").touch()
            def fileInBuildDir = file("build/file").touch()
    
            expect:
            succeeds("myTask")
    
            when:
            invalidateBuildOutputCleanupState()
            dirInBuildDir.createDir()
            staleFileInDir.touch()
            fileInBuildDir.touch()
            then:
            succeeds("myTask")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K 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/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftDependenciesIntegrationTest.groovy

                version = '1.0'
    
                dependencies {
                    api 'org.gradle.swift:log:latest.integration'
                }
            """
            libraryPath.file("settings.gradle").touch()
            libraryRepo.commit("initial commit")
            libraryRepo.close()
        }
    
        private writeLogLibrary() {
            def logPath = file("log")
            def logRepo = GitFileRepository.init(logPath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. 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)
  8. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy

        }
    
        def "prompts to overwrite files if any exist and defaults to no"() {
            given: "a file exists in the build directory"
            targetDir.file(defaultFileName).touch()
    
            when:
            def handle = startInteractiveExecutorWithTasks(
                "init",
                "--incubating",
                "--dsl", "groovy",
                "--type", "basic",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/ShortExceptionFormatterTest.groovy

                // java.lang.AssertionError(String) is private, so explicit cast to Object is needed here
                // to call public AssertionError(Object)
                new AssertionError((Object) "ouch").tap { stackTrace = createCauseTrace() }
            ]
            expect:
            formatter.format(testDescriptor, exceptions) == """\
        java.io.IOException at FileName1.java:11
        java.lang.AssertionError at FileName0.java:1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. 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)
Back to top