Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 130 for deleteMin (0.16 sec)

  1. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy

            resources.maybeCopy('LoggingIntegrationTest/logging')
            TestFile loggingDir = testDirectory
            loggingDir.file("buildSrc/build/.gradle").deleteDir()
            loggingDir.file("nestedBuild/buildSrc/.gradle").deleteDir()
    
            String initScript = new File(loggingDir, 'init.gradle').absolutePath
            List<String> allArgs = logLevel.args + ['-I', initScript]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            make("A")
            succeeds("cacheable")
            make("B")
            // populate the cache
            withBuildCache().run("cacheable")
    
            when:
            gradleUserHome.deleteDir() // nuke the file snapshot cache
            resources.deleteDir().mkdirs()
            succeeds("clean")
            and:
            // Building with the resources seen in the opposite order
            // shouldn't make a difference
            make("B")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoReportRelocationIntegrationTest.groovy

            file("build/jacoco/test.exec").assertIsFile().renameTo(file("build/jacoco.exec"))
        }
    
        @Override
        protected void removeResults() {
            file("build/reports/jacoco").assertIsDir().deleteDir()
        }
    
        @Override
        protected extractResults() {
            file("build/reports/jacoco/test/html/index.html").text
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy

                this.invocationSettings = invocationSettings
                this.testId = testId.replaceAll(/[- ]/, '_')
            }
    
            @Override
            void beforeBuild(BuildContext context) {
                spoolDir().deleteDir()
            }
    
            @Override
            void afterBuild(BuildContext context, Throwable t) {
                def spoolDir = this.spoolDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 09:04:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/DirectoryBuildCacheFixture.groovy

        private TestBuildCache buildCache
    
        @Before
        void setupCacheDirectory() {
            // Make sure cache dir is empty for every test execution
            buildCache = new TestBuildCache(temporaryFolder.file("cache-dir").deleteDir().createDir())
            settingsFile << buildCache.localCacheConfiguration()
        }
    
        // Spock 2 executes @Before after the setup() methods
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DownloadableGradleDistribution.groovy

            def versionDir = this.versionDir
            fileAccessManager.access(distributionZip) {
                if (!markerFile.exists()) {
                    distributionZip.delete()
                    gradleHomeDir.deleteDir()
    
                    URL url = getDownloadURL();
                    System.out.println("downloading $url")
                    distributionZip.copyFrom(url)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/pod.go

    			if _, f := pmap[port.Name]; !f {
    				pmap[port.Name] = uint32(port.ContainerPort)
    			}
    		}
    	}
    	return pmap
    }
    
    // deleteIP returns true if the pod and ip are really deleted.
    func (pc *PodCache) deleteIP(ip string, podKey types.NamespacedName) bool {
    	pc.Lock()
    	defer pc.Unlock()
    	if pc.podsByIP[ip].Contains(podKey) {
    		sets.DeleteCleanupLast(pc.podsByIP, ip, podKey)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SimpleJavaContinuousIntegrationTest.groovy

                //the main src dir might be locked, only delete children
                file("src/main/java").listFiles().each {
                    assert !it.deleteDir().exists()
                }
            } else {
                assert !file("src/main/java").deleteDir().exists()
            }
    
    
            then:
            buildTriggeredAndSucceeded()
            executedAndNotSkipped(":compileJava")
            executed(":build")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/JabbaInstallationSupplierTest.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
    - 2.6K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaIncrementalCompilationWithCachingIntegrationTest.groovy

            source("class A {}")
            withBuildCache().run language.compileTaskName
            executer.stop()
            file("user-home/caches").deleteDir()
            def cachedBuild =  withBuildCache().run "clean", language.compileTaskName
            cachedBuild.groupedOutput.task(":compileJava").outcome == "FROM_CACHE"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top