- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 116 for deleteMin (0.1 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy
lockFileReaderWriter = new LockFileReaderWriter(resolver, context, lockFile, listener) } def 'writes a unique lock file'() { when: lockDir.deleteDir() lockFileReaderWriter.writeUniqueLockfile([a: ['foo', 'bar'], b: ['foo'], c: []]) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 9.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
""" when: withBuildCache().run "customTask" then: result.assertTaskNotSkipped(":customTask") when: file("buildSrc/build").deleteDir() file("buildSrc/.gradle").deleteDir() cleanBuildDir() withBuildCache().run "customTask" then: result.groupedOutput.task(":customTask").outcome == "FROM-CACHE" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 30.6K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesFilesMiscIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 4.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy
when: withBuildCache().run "cacheable", "--info" then: outputContains "Stored cache entry for task ':cacheable' with cache key" file("build").deleteDir() when: withBuildCache().run "cacheable", "--info" then: outputContains "Loaded cache entry for task ':cacheable' with cache key" } def defineCacheableTask() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 20 17:51:57 UTC 2024 - 5.7K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ParallelDownloadsPerformanceTest.groovy
} private void cleanupCache(File userHomeDir) { ['modules-2', 'external-resources'].each { new File("$userHomeDir/caches/$it").deleteDir() } } } } } def "resolves dependencies from external repository"() { startServer() given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SupportedBuildJvmIntegrationTest.groovy
// start one JVM with jdk to remove executer.withJavaHome(jdkToRemove) succeeds("help") when: // remove the JDK jdkToRemove.deleteDir() // don't ask for the removed JDK now executer.withJavaHome(installedJdk) then: // try to start another build succeeds("help") } @Requires(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.9K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationCachePerformanceTest.groovy
return new BuildMutator() { @Override void beforeBuild(BuildContext context) { if (action == storing) { stateDirectory.deleteDir() } } @Override void afterBuild(BuildContext context, Throwable error) { if (context.iteration > 1) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 14:54:56 UTC 2024 - 4.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy
} boolean stackTraceContains(Class<?> type) { output.contains("\tat ${type.name}.") } private TestFile cleanBuildDir() { file("build").assertIsDir().deleteDir() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:22 UTC 2024 - 6.6K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/crossVersionTest/groovy/org/gradle/jvm/toolchain/internal/install/ProvisionedJdkReuseCrossVersionIntegrationTest.groovy
Jvm differentVersion = AvailableJavaHomes.differentVersion jdkRepository = new JdkRepository(differentVersion, "not_current_jdk.zip") uri = jdkRepository.start() userHome.deleteDir() settingsFile << applyToolchainResolverPlugin("CustomToolchainResolver", singleUrlResolverCode(uri)) buildFile << """ plugins { id 'application' id 'java'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 16:09:27 UTC 2024 - 4.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy
if (GradleContextualExecuter.isConfigCache()) { def build = testDirectory.file("build") assert build.listFiles().size() == 1 && build.file("reports").exists() build.deleteDir() } when: "clean is executed again without any changes" succeeds "clean" then: "clean is still marked UP-TO-DATE" result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 5.8K bytes - Viewed (0)