Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for printfile (0.19 sec)

  1. subprojects/core/src/test/groovy/org/gradle/cache/internal/GradleUserHomeCleanupServiceTest.groovy

            def oldCacheDir = createVersionSpecificCacheDir(oldVersion, NOT_USED_WITHIN_30_DAYS)
            def oldDist = createDistributionChecksumDir(oldVersion).parentFile
            def currentDist = createDistributionChecksumDir(currentVersion).parentFile
    
            when:
            cleanupService.cleanup()
    
            then:
            oldCacheDir.assertDoesNotExist()
            oldDist.assertDoesNotExist()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:46:34 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

            forceCleanup(gcFile)
    
            and:
            writeLastFileAccessTimeToJournal(resource.parentFile, daysAgo(DEFAULT_MAX_AGE_IN_DAYS_FOR_DOWNLOADED_CACHE_ENTRIES + 1))
            writeLastFileAccessTimeToJournal(files[0].parentFile, daysAgo(DEFAULT_MAX_AGE_IN_DAYS_FOR_DOWNLOADED_CACHE_ENTRIES + 1))
            writeLastFileAccessTimeToJournal(files[1].parentFile, daysAgo(DEFAULT_MAX_AGE_IN_DAYS_FOR_DOWNLOADED_CACHE_ENTRIES + 1))
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy

            candidate2.setText("!<symlink:abcd.bin", "utf-8")
            candidate3.setText("")
            os.getExecutableName("cc") >> "cc.bin"
            os.path >> [candidate1.parentFile, candidate2.parentFile, candidate3.parentFile, file.parentFile]
            os.windows >> true
    
            when:
            def result = registry.locate(ToolType.C_COMPILER, "cc")
    
            then:
            result.available
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy

            [included1, included2].each { File file ->
                file.parentFile.mkdirs()
                file.text = 'some text'
            }
    
            expect:
            fileTree.contains(included1)
            fileTree.contains(included2)
            !fileTree.contains(testDir)
            !fileTree.contains(included1.parentFile)
            !fileTree.contains(included2.parentFile)
            !fileTree.contains(new File(testDir, 'does not exist'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/fixtures/SampleSpec.groovy

        def 'sample dir'() {
            // Sample.dir is named after sample, test method and test class
            expect:
            sample.dir.name == 'multiproject'
            sample.dir.parentFile.parentFile.name == 'sample_dir'
            sample.dir.parentFile.parentFile.parentFile.name == 'SampleSpec'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Artifact.groovy

            return new S3Resource(server, file.parentFile.file(file.name + ".md5"), repositoryPath, bucket)
        }
    
        @Override
        S3Resource getSha1() {
            return new S3Resource(server, file.parentFile.file(file.name + ".sha1"), repositoryPath, bucket)
        }
    
        @Override
        S3Resource getSha256() {
            return new S3Resource(server, file.parentFile.file(file.name + ".sha256"), repositoryPath, bucket)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsArtifact.groovy

            return new GcsResource(server, file.parentFile.file(file.name + ".md5"), repositoryPath, bucket)
        }
    
        @Override
        GcsResource getSha1() {
            return new GcsResource(server, file.parentFile.file(file.name + ".sha1"), repositoryPath, bucket)
        }
    
        @Override
        GcsResource getSha256() {
            return new GcsResource(server, file.parentFile.file(file.name + ".sha256"), repositoryPath, bucket)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            1 * fileAccessTimeJournal.setLastAccessTime(cachedFile.parentFile, _)
            0 * fileAccessTimeJournal._
    
            when:
            def cachedClasspath2 = transformer.transform(classpath, BuildLogic)
    
            then:
            cachedClasspath2.asFiles == [cachedFile]
    
            and:
            1 * fileAccessTimeJournal.setLastAccessTime(cachedFile.parentFile, _)
            0 * fileAccessTimeJournal._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. platforms/software/reporting/build.gradle.kts

        from(implementationResources)
        into(layout.buildDirectory.file("generated-resources/report-resources/org/gradle/reporting"))
    }
    
    sourceSets.main {
        output.dir(reportResources.map { it.destinationDir.parentFile.parentFile.parentFile })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdaterTest.groovy

            1 * watcher.startWatching({ equalIgnoringOrder(it, [watchableHierarchy]) })
            0 * _
    
            when:
            addSnapshot(snapshotRegularFile(unwatchableContent))
            then:
            vfsHasSnapshotsAt(unwatchableContent)
            1 * watcher.startWatching({ equalIgnoringOrder(it, [unwatchableContent.parentFile]) })
            0 * _
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top