- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for assertIsEmptyDir (0.2 sec)
-
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy
when: deleter.ensureEmptyDirectory(target, true) then: target.assertIsEmptyDir() linked.assertIsEmptyDir() Files.readSymbolicLink(target.toPath()) == linked.toPath() content.assertDoesNotExist() } @Requires(UnitTestPreconditions.Symlinks)
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/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy
For troubleshooting, visit https://help.gradle.org BUILD SUCCESSFUL""" and: // Directory is still empty testDirectory.assertIsEmptyDir() and: // Uses a directory under the user home for those things that happen to need a cache directory executer.gradleUserHomeDir.file(BuildScopeCacheDir.UNDEFINED_BUILD).assertIsDir()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 14K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
then: executedAndNotSkipped ":customTask" file("build/empty").assertIsEmptyDir() when: cleanBuildDir() withBuildCache().run "customTask" then: skipped ":customTask" file("build/empty").assertIsEmptyDir() } @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
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/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy
def customFile = file("customFile").touch() def myTaskDir = file("external/output").createDir() when: succeeds("myTask") then: dirInBuildDir.assertIsEmptyDir() customFile.assertDoesNotExist() buildFile.assertExists() // We should improve this eventually. We currently don't delete _all_ outputs from every task
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 23K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorTest.groovy
def javaHome = new File(temporaryFolder, "localGradle").tap { mkdirs() } def metadata = detector.getMetadata(testLocation(javaHome)) then: metadata tmpDir.assertIsEmptyDir() } def "can detect metadata of #displayName"() { given: def execHandleFactory = createExecHandleFactory(systemProperties) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 18:25:34 UTC 2024 - 22.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
*/ public TestFile assertContainsDescendants(String... descendants) { return assertContainsDescendants(Arrays.asList(descendants)); } public TestFile assertIsEmptyDir() { assertHasDescendants(); return this; } public Set<String> allDescendants() { Set<String> names = new TreeSet<>(); if (isDirectory()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0)