Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for deleteMin (0.22 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractProjectRelocationIntegrationTest.groovy

            // Do nothing
        }
    
        @SuppressWarnings("GrMethodMayBeStatic")
        protected void removeResults(TestFile projectDir) {
            projectDir.file("build").deleteDir()
        }
    
        @SuppressWarnings("GrMethodMayBeStatic")
        protected void assertResultsEqual(def originalResult, def relocatedResult) {
            assert relocatedResult == originalResult
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/SdkmanInstallationSupplierTest.groovy

            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies no installations for non-existing directory"() {
            given:
            assert candidates.deleteDir()
    
            when:
            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies single installations for single candidate"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AsdfInstallationSupplierTest.groovy

            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies no installations for non-existing directory"() {
            given:
            assert candidates.deleteDir()
    
            when:
            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies single installations for single candidate"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy

        }
    
        void deleteCacheEntry(String cacheKey) {
            def entry = getTestFileCacheEntry(cacheKey)
            if (entry.file.exists()) {
                entry.file.deleteDir()
            }
        }
    
        boolean hasCacheEntry(String cacheKey) {
            return getTestFileCacheEntry(cacheKey).file.exists()
        }
    
        TestCacheEntry getCacheEntry(String cacheKey) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy

            when:
            withBuildCache().run "cacheable", "--info"
            then:
            outputContains "Stored cache entry for task ':cacheable' with cache key"
    
            file("build").deleteDir()
    
            when:
            withBuildCache().run "cacheable", "--info"
            then:
            outputContains "Loaded cache entry for task ':cacheable' with cache key"
        }
    
        def defineCacheableTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ParallelDownloadsPerformanceTest.groovy

                    }
    
                    private void cleanupCache(File userHomeDir) {
                        ['modules-2', 'external-resources'].each {
                            new File("$userHomeDir/caches/$it").deleteDir()
                        }
                    }
                }
            }
        }
    
        def "resolves dependencies from external repository"() {
            startServer()
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationCachePerformanceTest.groovy

            return new BuildMutator() {
                @Override
                void beforeBuild(BuildContext context) {
                    if (action == storing) {
                        stateDirectory.deleteDir()
                    }
                }
    
                @Override
                void afterBuild(BuildContext context, Throwable error) {
                    if (context.iteration > 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy

        }
    
        boolean stackTraceContains(Class<?> type) {
            output.contains("\tat ${type.name}.")
        }
    
        private TestFile cleanBuildDir() {
            file("build").assertIsDir().deleteDir()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. platforms/jvm/toolchains-jvm/src/crossVersionTest/groovy/org/gradle/jvm/toolchain/internal/install/ProvisionedJdkReuseCrossVersionIntegrationTest.groovy

            Jvm differentVersion = AvailableJavaHomes.differentVersion
    
            jdkRepository = new JdkRepository(differentVersion, "not_current_jdk.zip")
            uri = jdkRepository.start()
    
            userHome.deleteDir()
            settingsFile << applyToolchainResolverPlugin("CustomToolchainResolver", singleUrlResolverCode(uri))
            buildFile << """
                plugins {
                    id 'application'
                    id 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

            if (GradleContextualExecuter.isConfigCache()) {
                def build = testDirectory.file("build")
                assert build.listFiles().size() == 1 && build.file("reports").exists()
                build.deleteDir()
            }
    
            when: "clean is executed again without any changes"
            succeeds "clean"
            then: "clean is still marked UP-TO-DATE"
            result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top