Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 79 for deleteMin (0.21 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            Files.move(inDir.toPath(), copy.toPath(), StandardCopyOption.ATOMIC_MOVE)
            inDir.deleteDir()
            inDir.createLink(copy)
    
            run("work")
    
            /*
             * This documents the current behavior, which is optimizing
             * for performance at the expense of not detecting some corner
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy

            runCacheableBuild(pushToCacheEvents)
            then:
            !cacheableTaskResult(pushToCacheEvents).fromCache
            !cacheableTaskResult(pushToCacheEvents).upToDate
    
            when:
            file("build").deleteDir()
            and:
            def pullFromCacheResults = ProgressEvents.create()
            runCacheableBuild(pullFromCacheResults)
            then:
            cacheableTaskResult(pullFromCacheResults).fromCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/IntellijInstallationSupplierTest.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)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CrossVersionIntegrationSpec.groovy

        private MavenFileRepository mavenRepo
        private TestFile gradleUserHomeDir
    
        boolean retryWithCleanProjectDir() {
            temporaryFolder.testDirectory.listFiles().each {
                it.deleteDir()
            }
            true
        }
    
        def cleanup() {
            executers.each { it.cleanup() }
        }
    
        void requireOwnGradleUserHomeDir() {
            gradleUserHomeDir = file("user-home")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy

            0 * logger._
        }
    
        def "filters always and warns once about an installation that does not exist"() {
            given:
            def jdk8 = temporaryFolder.createDir("non-existent")
            jdk8.deleteDir()
            def logOutput = "Directory '${jdk8}' (testSource) used for java installations does not exist"
            when:
            def registry = createRegistry([jdk8])
            def installations = registry.listInstallations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

            // delete .gradle dir to simulate this
            when:
            file('.gradle').assertIsDir().deleteDir()
            outputAFile.makeOlder()
            outputBFile.makeOlder()
            succeeds "b"
    
            then:
            result.assertTasksNotSkipped(":a", ":b")
    
            when:
            file('build/b').deleteDir()
            succeeds "b"
    
            then:
            result.assertTasksNotSkipped(":b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) flush(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top