Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for deleteMin (0.16 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. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocCachingIntegrationTest.groovy

            then:
            taskIsNotCached()
            remoteProjectDir.file("build/docs/javadoc/index.html").assertExists()
    
            // Remove the project completely
            remoteProjectDir.deleteDir()
    
            when:
            // Move the dependencies around by using a new Gradle user home
            executer.requireOwnGradleUserHomeDir()
            withBuildCache().run "javadoc"
            then:
            taskIsCached()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCacheIntegrationTest.groovy

            result.taskPaths(SKIPPED).empty
            result.taskPaths(UP_TO_DATE).empty
            result.taskPaths(FAILED).empty
            result.taskPaths(FROM_CACHE).empty
    
            when:
            file("build").deleteDir()
            result = runner('cacheable').build()
            then:
            file("build/output").text == "done"
            result.tasks.collect { it.path } == [':cacheable']
            result.taskPaths(SUCCESS).empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ProjectRegistrySpec.groovy

            NODE_INITIALIZER_REGISTRY = new DefaultNodeInitializerRegistry(SCHEMA_STORE, STRUCT_BINDINGS_STORE)
    
            // Class rule does not always clean this up, so clean it up now
            SERVICES_TEST_DIRECTORY.testDirectory.deleteDir()
        }
    
        ModelRegistry registry = createModelRegistry()
        ModelSchemaStore schemaStore = SCHEMA_STORE
        ManagedProxyFactory proxyFactory = MANAGED_PROXY_FACTORY
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. 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)
Back to top