Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 130 for deleteMin (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      EXPECT_TRUE(stat.is_directory);
    }
    
    TEST_F(GCSFilesystemTest, DeleteDir) {
      tf_gcs_filesystem::Init(filesystem_, status_);
      ASSERT_TF_OK(status_);
      const std::string dir = GetURIForPath("DeleteDir");
      const std::string file = io::JoinPath(dir, "DeleteDirFile.csv");
      WriteString(file, "test");
      ASSERT_TF_OK(status_);
      tf_gcs_filesystem::DeleteDir(filesystem_, dir.c_str(), status_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 12:04:23 UTC 2020
    - 24.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top