Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for zipTo (0.06 sec)

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

                }
            """
            def srcDir = createDir('src') {
                file('foo.ok').write('')
                file('foo.fail').write('')
            }
            if (isZip) {
                srcDir.zipTo(file('src.zip'))
            }
    
            and:
            def configurationCache = newConfigurationCacheFixture()
    
            when:
            configurationCacheRun 'ok'
    
            then:
            outputContains '*foo.ok*'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        }
    
        def createZip(String name, Closure cl) {
            TestFile zipRoot = file("${name}.root")
            zipRoot.deleteDir()
            TestFile zip = file(name)
            zipRoot.create(cl)
            zipRoot.zipTo(zip)
            return zip
        }
    
        TestFile createDir(String name, @DelegatesTo(value = TestWorkspaceBuilder.class, strategy = Closure.DELEGATE_FIRST) Closure cl = {}) {
            TestFile root = file(name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top