Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for deleteMin (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

                    Bar bar = new Bar();
                }
            """
        }
    
        void withWorkActionClassInExternalJar(File workActionJar) {
            file("buildSrc").deleteDir()
    
            def builder = artifactBuilder()
            fixture.workActionThatCreatesFiles.writeToFile builder.sourceFile("org/gradle/test/TestWorkAction.java")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

            when:
            runViaUnixStartScriptWithJavaHome(testJavaHome.absolutePath)
    
            then:
            outputContains('Hello World!')
    
            cleanup:
            testJavaHome.usingNativeTools().deleteDir() //remove symlink
        }
    
        @Requires(UnitTestPreconditions.UnixDerivative)
        def "java PID equals script PID"() {
            given:
            succeeds('installDist')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy

            """
        }
    
        private void buildTypedAttributesPlugin(String version = "1.0") {
            def pluginDir = new File(testDirectory, "typed-attributes-plugin-$version")
            pluginDir.deleteDir()
            pluginDir.mkdirs()
            def builder = new FileTreeBuilder(pluginDir)
            builder.call {
                'settings.gradle'('rootProject.name="com.acme.typed-attributes.gradle.plugin"')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 33.6K bytes
    - Viewed (0)
Back to top