Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for deleteMin (0.36 sec)

  1. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

                file("${outputDir}/data/input.txt")
            }
    
            String getTaskPath() {
                ":${taskName}"
            }
    
            void removeInputs() {
                inputFile.parentFile.deleteDir()
            }
    
            void createInputs() {
                inputFile.text = "input"
            }
    
            void outputsHaveBeenRemoved() {
                assert !outputFile.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            when:
            run "sync"
    
            then:
            result.assertTaskSkipped(':sync')
    
            when:
            file("files/dir2").deleteDir()
            file("files/dir3/file3.txt") << ""
            run "sync"
    
            then:
            result.assertTaskNotSkipped(":sync")
            file("output").assertHasDescendants("file1.txt", "file3.txt")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top