Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 123 for deleteMin (0.15 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalInputsIntegrationTest.groovy

        def "incremental task is informed that all input files are 'out-of-date' when all output files have been removed"() {
            given:
            previousExecution()
    
            when:
            file("outputs").deleteDir()
    
            then:
            executesNonIncrementally()
        }
    
        def "incremental task is informed that all input files are 'out-of-date' when Task.upToDate() is false"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 23 12:52:29 UTC 2022
    - 27.8K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/initialization/loadercache/ClassLoadersCachingIntegrationTest.groovy

            createJarWithProperties("lib/foo.jar")
            buildFile << """
                buildscript { dependencies { classpath files("lib") }}
            """
    
            when:
            run()
            assert file("lib").deleteDir()
            run()
    
            then:
            notCached
    
            when:
            run()
    
            then:
            isCached()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 19 20:09:56 UTC 2022
    - 10.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. 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)
  9. 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)
  10. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/groovy/build.gradle

    
    // tag::adhoc-destroyable-task[]
    tasks.register('removeTempDir') {
        def tempDir = layout.projectDirectory.dir('tmpDir')
        destroyables.register(tempDir)
        doLast {
            tempDir.asFile.deleteDir()
        }
    }
    // end::adhoc-destroyable-task[]
    
    tasks.named('build') {
        dependsOn processTemplates, 'processTemplatesAdHoc', 'processTemplatesAdHocSkipWhenEmpty', 'processTemplatesWithExtraInputs'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top