Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for deleteMin (0.19 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/AbsolutePathFileCollectionFingerprinterTest.groovy

            def fileCollection = files(root)
            TestFile dir = root.createDir('dir')
    
            when:
            FileCollectionFingerprint fingerprint = fingerprinter.fingerprint(fileCollection)
            dir.deleteDir()
            dir.createFile()
            virtualFileSystem.invalidateAll()
            changes(fingerprint, fingerprinter.fingerprint(fileCollection), listener)
    
            then:
            1 * listener.changed(dir.path)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 20 16:00:23 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::DeleteDir(const std::string& dirname,
                                        TransactionToken* token) {
      if (ops_->delete_dir == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", dirname, " does not support DeleteDir()"));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy

            expect:
            toolingApi.gradleUserHomeDir.file("wrapper/dists/custom-dist").exists()
    
            when:
            toolingApi.gradleUserHomeDir.file("wrapper/dists/custom-dist").deleteDir()
            connector.disconnect()
    
            then:
            !toolingApi.gradleUserHomeDir.file("wrapper/dists/custom-dist").exists()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            outputContains("because the file system entry '$testFileName' has changed")
    
            when: "the file system entry used in configuration is deleted"
            assert accessedFile.deleteDir()
            configurationCacheRunLenient()
    
            then: "the cache entry is invalidated and the removal is reported"
            configurationCache.assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy

            then:
            result.output.contains("my app")
    
            // Don't follow links when cleaning up test files
            testDirectory.usingNativeTools().deleteDir()
        }
    
        @Requires(IntegTestPreconditions.NotEmbeddedExecutor)
        def "uses script basename as application name for use in log messages"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

            execute("taskWithInputs")
    
            then:
            executedUnlessNameOnly(":taskWithInputs", pathSensitivity)
    
            when:
            cleanWorkspace()
            file('foo').deleteDir()
            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

                }
            """
    
            when:
            run("myTask")
            then:
            executedAndNotSkipped(":myTask")
    
            when:
            file("build/dir1").deleteDir()
            run("myTask")
            then:
            executedAndNotSkipped(":myTask")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/4204")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

        }
    
        public TestFile deleteDir() {
            new TestFileHelper(this).delete(useNativeTools);
            return this;
        }
    
        /**
         * Attempts to delete this directory, ignoring failures to do so.
         *
         * @return this
         */
        public TestFile maybeDeleteDir() {
            try {
                deleteDir();
            } catch (RuntimeException e) {
                // Ignore
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

            file(reportsDir).exists()
    
            when:
            run "test"
    
            then:
            skipped(":test")
            file(reportsDir).exists()
    
            when:
            file(reportsDir).deleteDir()
            run "test"
    
            then:
            executedAndNotSkipped(":test")
            file(reportsDir).exists()
    
            where:
            type   | reportsDir
            "xml"  | "build/test-results"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  10. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy

            javaProject.redundantClassFile.assertIsFile()
            javaProject.assertJarHasDescendants(javaProject.mainClassFile.name, javaProject.redundantClassFile.name)
    
            when:
            file('.gradle').assertIsDir().deleteDir()
            forceDelete(javaProject.redundantSourceFile)
            succeeds JAR_TASK_NAME
    
            then:
            javaProject.assertBuildTasksExecuted(result)
            javaProject.mainClassFile.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)
Back to top