Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 123 for deleteMin (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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