Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 130 for deleteMin (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenParentPomResolveIntegrationTest.groovy

            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants('child-1.0.jar', 'parent_dep-1.2.jar', 'child_dep-1.7.jar')
    
            when:
            server.resetExpectations()
            file('libs').deleteDir()
    
            and:
            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants('child-1.0.jar', 'parent_dep-1.2.jar', 'child_dep-1.7.jar')
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIssuesIntegTest.groovy

            publishedModule.parsedModuleMetadata.variant("javadocElements") {
                assert files*.name == ['test-1.0-javadoc.jar']
            }
    
            when:
            file("build/repo").deleteDir()
            succeeds "publish", "-PjavadocEnabled=false"
            publishedModule = new MavenFileRepository(new TestFile(file("build/repo"))).module("org.gradle", "test")
    
            then:
            skipped(":javadocJar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:52 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                            testType = TestSuiteType.UNIT_TEST
                        }
                    }
                }
            '''
            // remove tests from transitive
            file("transitive/src/test").deleteDir()
    
            when:
            succeeds(':testAggregateTestReport')
    
            then:
            def aggregatedTestResults = new HtmlTestExecutionResult(testDirectory, 'build/reports/tests/unit-test/aggregated-results')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractSourceIncrementalCompilationIntegrationTest.groovy

            source("class B {}")
            toBeRemoved.file("C.${languageName}").text = "class C {}"
    
            outputs.snapshot { run language.compileTaskName }
    
            when:
            toBeRemoved.deleteDir()
            executer.withArgument "--info"
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses()
        }
    
        def "handles duplicate class across source directories"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            testClassLoader = new URLClassLoader(transformed.asURLArray, filtering)
            return testClassLoader.loadClass(cl.name)
        }
    
        void classesDir(TestFile dir) {
            dir.deleteDir()
            dir.createDir()
            dir.file("a.class").bytes = classOne()
        }
    
        void jar(TestFile file) {
            classpathBuilder.jar(file) {
                it.put("a.class", classOne())
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      if (TF_GetCode(status) == TF_OK) ClearFileCaches(gcs_file, path);
    }
    
    // Checks that the directory is empty (i.e no objects with this prefix exist).
    // Deletes the GCS directory marker if it exists.
    void DeleteDir(const TF_Filesystem* filesystem, const char* path,
                   TF_Status* status) {
      // A directory is considered empty either if there are no matching objects
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
  10. .teamcity/.mvn/wrapper/maven-wrapper.jar

    Installer(Downloader, PathAssembler); public java.io.File createDist(WrapperConfiguration) throws Exception; private java.util.List listDirs(java.io.File); private void setExecutablePermiss(java.io.File); private boolean isWindows(); private boolean deleteDir(java.io.File); public void unzip(java.io.File, java.io.File) throws java.io.IOException; public void copyInputStream(java.io.InputStream, java.io.OutputStream) throws java.io.IOException; } org/apache/maven/wrapper/Logger.class package org.apache.maven.wrapper;...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 49.5K bytes
    - Viewed (0)
Back to top