Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for deleteMin (0.12 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy

            when:
            configurationCacheRun("report")
    
            then:
            fixture.assertStateLoaded()
            outputContains(output2)
    
            when:
            dir.deleteDir() // directory does not exist
            configurationCacheRun("report")
    
            then:
            fixture.assertStateStored() // TODO - it would be good to reuse a previous entry here
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K 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/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)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

                    abstract Property<Integer> getInputCount()
    
                    @TaskAction
                    void doTask() {
                        File outputFile = getOutputDir().get().asFile
                        outputFile.deleteDir()
                        outputFile.mkdirs()
                        for (int i = 0; i < getInputCount().get(); i++) {
                            new File(outputFile, i.toString()).mkdirs()
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            action.execute(executer)
            executer
        }
    
        def createZip(String name, Closure cl) {
            TestFile zipRoot = file("${name}.root")
            zipRoot.deleteDir()
            TestFile zip = file(name)
            zipRoot.create(cl)
            zipRoot.zipTo(zip)
            return zip
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            output.count("components: [lib1.jar, lib1.jar]") == 2
    
            output.count("Transformed") == 1
            isTransformed("lib1.jar", "lib1.jar")
    
            when:
            projectDir1.deleteDir()
            executer.inDirectory(projectDir2)
            succeeds ":util:resolve", ":app:resolve"
    
            then:
            output.count("files: [lib1.jar.txt, lib1.jar]") == 2
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
Back to top