- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for assertDoesNotExist (0.19 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedVersionCleanupIntegrationTest.groovy
given: gcFile.lastModified = daysAgo(2) when: succeeds("help") then: oldModulesDir.assertDoesNotExist() oldMetadataDir.assertDoesNotExist() currentModulesDir.assertExists() currentModulesMetadataDir.assertExists() } def "cleans up unused versions of caches on cleanup always"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:06:23 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultArtifactCacheLockingAccessCoordinatorTest.groovy
then: file1.assertExists() file2.assertDoesNotExist() file3.assertDoesNotExist() } def "deletes old versions of cache dir"() { given: def oldCacheDir = cacheDir.getParentFile().createDir("modules-1") when: cacheLockingManager.close() then: oldCacheDir.assertDoesNotExist() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:57 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCacheUnusedVersionCleanupIntegrationTest.groovy
given: modulesGcFile.lastModified = daysAgo(2) when: succeeds("help") then: transforms3Dir.assertDoesNotExist() transforms4Dir.assertDoesNotExist() currentTransformsDir.assertExists() currentModulesDir.assertExists() } def "retains used versions of transforms-X when current modules requires cleanup"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:09:31 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy
when: result = runWithMostRecentFinalRelease(JAR_TASK_NAME) then: javaProject.assertBuildTasksExecuted(result) javaProject.mainClassFile.assertDoesNotExist() javaProject.redundantClassFile.assertDoesNotExist() javaProject.assertJarHasDescendants(javaProject.mainClassFile.name, javaProject.redundantClassFile.name) javaProject.mainClassFileAlternate.assertIsFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 19.2K bytes - Viewed (0) -
testing/distributions-integ-tests/src/integTest/groovy/org/gradle/BinDistributionIntegrationSpec.groovy
given: TestFile contentsDir = unpackDistribution() expect: checkMinimalContents(contentsDir) contentsDir.file('src').assertDoesNotExist() contentsDir.file('samples').assertDoesNotExist() contentsDir.file('docs').assertDoesNotExist() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningPublicationsIntegrationSpec.groovy
and: pom().assertExists() pomSignature().assertDoesNotExist() module().assertExists() moduleSignature().assertDoesNotExist() m2RepoFile(jarFileName).assertExists() m2RepoFile("${jarFileName}.asc").assertDoesNotExist() when: succeeds "cleanRepo", "publishIvyPublicationToIvyRepository", "-Psign=skip" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 26.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy
// FIXME Loading from cache destroys the overlap directory, but the task should not be loaded from cache fileTaskOutput.assertDoesNotExist() localStateDirTaskOutput.assertExists() // Task was loaded from cache, so local state was removed localStateDirTaskState.assertDoesNotExist() // fileTask can be from the cache, but the dirTask cannot due to a cache miss result.assertTaskSkipped(localStateDirTask)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 20:54:14 UTC 2024 - 30K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/GradleUserHomeCleanupServiceTest.groovy
def currentDist = createDistributionChecksumDir(currentVersion).parentFile when: cleanupService.cleanup() then: oldCacheDir.assertDoesNotExist() oldDist.assertDoesNotExist() currentCacheDir.assertExists() currentDist.assertExists() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 22:46:34 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy
// start as new process so journal is not restored from in-memory cache executer.withTasks('help').start().waitForFinish() then: resource.assertDoesNotExist() files[0].assertDoesNotExist() files[1].assertDoesNotExist() and: // deletes empty parent directories findFiles(cacheDir, 'resources-*/*').isEmpty() findFiles(cacheDir, 'files-*/*').isEmpty() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:06:23 UTC 2024 - 16.7K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy
task ant(dependsOn: target1) """ TestFile target1File = testFile('build/target1.txt') TestFile target2File = testFile('build/target2.txt') target1File.assertDoesNotExist() target2File.assertDoesNotExist() inTestDirectory().withTasks('ant').run().assertTasksExecutedInOrder(':initialize', ':target2', ':target1', ':ant') target1File.assertExists() target2File.assertExists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.6K bytes - Viewed (0)