Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fileInReadReadOnlyCache (0.29 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/ParentPomsReadOnlyCacheDependencyResolutionTest.groovy

            buildFile << """
                dependencies {
                    implementation 'org.other:other:1.0'
                }
            """
    
            when:
            fileInReadReadOnlyCache("modules-${CacheLayout.MODULES.version}/files-${CacheLayout.FILE_STORE.version}/org.readonly/parent/1.0").eachFileRecurse { it.delete() }
            withReadOnlyCache()
            other.allowAll()
            parent.allowAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/StaticVersionsReadOnlyCacheDependencyResolutionTest.groovy

            buildFile << """
                dependencies {
                    implementation 'org.readonly:core:+'
                }
            """
    
            when:
            fileInReadReadOnlyCache("modules-${CacheLayout.MODULES.version}/metadata-${CacheLayout.META_DATA.version}/${file}.bin").bytes = [0, 0, 0]
            withReadOnlyCache()
    
            core.allowAll()
            core.rootMetaData.allowGetOrHead()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy

        }
    
        void withReadOnlyCache() {
            executer.withReadOnlyCacheDir(roCacheDir)
            makeCacheReadOnly()
        }
    
        TestFile fileInReadReadOnlyCache(String path) {
            return roCacheDir.file(path)
        }
    
        private void copyToReadOnlyCache() {
            roCacheDir = temporaryFolder.createDir("read-only-cache")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top