- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 127 for deleteMin (0.22 sec)
-
platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/GroovyJavaJointCompileSourceOrderIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 4.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedRelocationIntegrationTest.groovy
when: def movedLocation = temporaryFolder.file("moved-location") originalLocation.renameTo(movedLocation) movedLocation.file("build").deleteDir() movedLocation.file(".gradle").deleteDir() executer.usingProjectDirectory(movedLocation) withBuildCache().run "jar", "customTask" then: // Built-in tasks are loaded from cache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy
runCacheableBuild(pushToCacheEvents) then: writingOperations(pushToCacheEvents).size() == maybeIncludeLocalBuildOperations(1) when: file("build").deleteDir() and: def pullFromCacheResults = ProgressEvents.create() runCacheableBuild(pullFromCacheResults) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/RetryConditions.groovy
if (!FILES_TO_PRESERVE.contains(it.name)) { it.deleteDir() } } } else if (specification.hasProperty("testDirectory")) { specification.testDirectory.listFiles().each { if (!FILES_TO_PRESERVE.contains(it.name)) { it.deleteDir() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testKit/testKitFunctionalTestSpockBuildCache/groovy/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy
.withArguments( '--build-cache', 'cacheableTask') .build() then: result.task(":cacheableTask").outcome == SUCCESS when: new File(testProjectDir, 'build').deleteDir() result = runner() .withArguments( '--build-cache', 'cacheableTask') .build() then: result.task(":cacheableTask").outcome == FROM_CACHE }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/GradleConfigurabilityIntegrationSpec.groovy
def "handles java home that is a symlink"() { given: def javaHome = Jvm.current().javaHome def javaLink = file("javaLink") javaLink.createLink(javaHome) file("tmp").createDir().deleteDir() String linkPath = TextUtil.escapeString(javaLink.absolutePath) file("gradle.properties") << "org.gradle.java.home=$linkPath" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy
localCache.listCacheFailedFiles().size() == 1 and: !localCache.hasCacheEntry(cacheKey) when: file("build").deleteDir() then: succeeds("customTask") } def "corrupted cache artifact metadata provides useful error message"() { when: buildFile << """ @CacheableTask
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy
def visitedDirectories = [] def fileVisitor = [visitFile: { visitedFiles << it }, visitDir: { visitedDirectories << it }] as FileVisitor when: fileTree.visit(fileVisitor) rootDir.deleteDir() then: visitedFiles.size() == 3 visitedFiles.each { assert !it.isDirectory() && it.getSize() == 5 && it.getLastModified() >= minimumTimestamp }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersKotlinIntegrationTest.groovy
result.assertTaskSkipped ':runWork' outputContains ':runWork UP-TO-DATE' and: outputDoesNotContain expectedOutput when: 'the outputs are deleted' file('build').deleteDir() and: 'task runs for the 3rd time' runWork() then: 'it is skipped because FROM-CACHE' result.assertTaskSkipped ':runWork' outputContains ':runWork FROM-CACHE'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:02 UTC 2024 - 7.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractTaskRelocationIntegrationTest.groovy
abstract protected void setupProjectInOriginalLocation() abstract protected void moveFilesAround() @SuppressWarnings("GrMethodMayBeStatic") protected void removeResults() { file("build").deleteDir() } abstract protected def extractResults() protected void assertResultsEqual(def originalResult, def movedResult) { assert movedResult == originalResult }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0)