- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 130 for deleteMin (0.2 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
} public TestFile deleteDir() { new TestFileHelper(this).delete(useNativeTools); return this; } /** * Attempts to delete this directory, ignoring failures to do so. * * @return this */ public TestFile maybeDeleteDir() { try { deleteDir(); } catch (RuntimeException e) { // Ignore
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 16.6K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy
javaProject.redundantClassFile.assertIsFile() javaProject.assertJarHasDescendants(javaProject.mainClassFile.name, javaProject.redundantClassFile.name) when: file('.gradle').assertIsDir().deleteDir() forceDelete(javaProject.redundantSourceFile) succeeds JAR_TASK_NAME then: javaProject.assertBuildTasksExecuted(result) javaProject.mainClassFile.assertIsFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 19.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenParentPomResolveIntegrationTest.groovy
run 'retrieve' then: file('libs').assertHasDescendants('child-1.0.jar', 'parent_dep-1.2.jar', 'child_dep-1.7.jar') when: server.resetExpectations() file('libs').deleteDir() and: run 'retrieve' then: file('libs').assertHasDescendants('child-1.0.jar', 'parent_dep-1.2.jar', 'child_dep-1.7.jar') } @ToBeFixedForConfigurationCache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 14.5K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIssuesIntegTest.groovy
publishedModule.parsedModuleMetadata.variant("javadocElements") { assert files*.name == ['test-1.0-javadoc.jar'] } when: file("build/repo").deleteDir() succeeds "publish", "-PjavadocEnabled=false" publishedModule = new MavenFileRepository(new TestFile(file("build/repo"))).module("org.gradle", "test") then: skipped(":javadocJar")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 19:31:52 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy
testType = TestSuiteType.UNIT_TEST } } } ''' // remove tests from transitive file("transitive/src/test").deleteDir() when: succeeds(':testAggregateTestReport') then: def aggregatedTestResults = new HtmlTestExecutionResult(testDirectory, 'build/reports/tests/unit-test/aggregated-results')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 22.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractSourceIncrementalCompilationIntegrationTest.groovy
source("class B {}") toBeRemoved.file("C.${languageName}").text = "class C {}" outputs.snapshot { run language.compileTaskName } when: toBeRemoved.deleteDir() executer.withArgument "--info" run language.compileTaskName then: outputs.recompiledClasses() } def "handles duplicate class across source directories"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 16.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy
testClassLoader = new URLClassLoader(transformed.asURLArray, filtering) return testClassLoader.loadClass(cl.name) } void classesDir(TestFile dir) { dir.deleteDir() dir.createDir() dir.file("a.class").bytes = classOne() } void jar(TestFile file) { classpathBuilder.jar(file) { it.put("a.class", classOne()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
if (TF_GetCode(status) == TF_OK) ClearFileCaches(gcs_file, path); } // Checks that the directory is empty (i.e no objects with this prefix exist). // Deletes the GCS directory marker if it exists. void DeleteDir(const TF_Filesystem* filesystem, const char* path, TF_Status* status) { // A directory is considered empty either if there are no matching objects
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 06:55:53 UTC 2023 - 46.9K bytes - Viewed (0) -
platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy
testType = TestSuiteType.UNIT_TEST } } } """ // remove tests from transitive file("transitive/src/test").deleteDir() when: succeeds(":testCodeCoverageReport") then: file("transitive/build/jacoco/test.exec").assertDoesNotExist() file("direct/build/jacoco/test.exec").assertExists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 26.3K bytes - Viewed (0)