- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for assertDoesNotExist (0.4 sec)
-
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) -
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) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy
then: dir.assertDoesNotExist() didWork } def "deletes file"() { given: TestFile dir = tmpDir.getTestDirectory() TestFile file = dir.file("someFile") file.createFile() when: boolean didWork = deleter.deleteRecursively(file) then: file.assertDoesNotExist() didWork }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 12:40:48 UTC 2024 - 14.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsContinuousIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileCompatibilityIntegrationTest.groovy
withInstallations(jdk).fails(":compileJava") then: failure.assertHasErrorOutput("Parent.java:3: error: sealed classes are not supported in -source 11") javaClassFile("Parent.class").assertDoesNotExist() } def "source compatibility matching the compiler version allows accessing Java language features"() { def jdk = AvailableJavaHomes.getJdk(JavaVersion.VERSION_17) buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 21.7K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy
assert throwable.message.contains("Test of distribution url ${url} failed. Please check the values set with --gradle-distribution-url and --gradle-version.") file("gradle/wrapper/gradle-wrapper.properties").assertDoesNotExist() } def "wrapper task succeeds if http distribution url from command-line is valid"() { given: def path = "/distributions/8.0-rc-5" def file = file(path) << "some content"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:38 UTC 2024 - 10.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
file("build/output/missing").assertDoesNotExist() when: cleanBuildDir() withBuildCache().run "customTask" then: skipped ":customTask" file("build/output.txt").text == "data" file("build/output").assertIsDir() file("build/output/missing").assertDoesNotExist() where: type << ["file", "dir"] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 30.6K bytes - Viewed (0)