Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for assertExists (0.22 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCacheUnusedVersionCleanupIntegrationTest.groovy

            when:
            method.maybeExpectDeprecationWarning(executer)
            succeeds("help")
    
            then:
            transforms3Dir.assertExists()
            transforms4Dir.assertExists()
            currentTransformsDir.assertExists()
            currentModulesDir.assertExists()
    
            where:
            method << CleanupMethod.values()
        }
    
        TestFile getModulesGcFile() {
            return currentModulesDir.file("gc.properties")
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-22 12:09
    - 3.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/cache/internal/GradleUserHomeCleanupServiceIntegrationTest.groovy

            then:
            oldButRecentlyUsedGradleDist.assertAllDirsExist()
            oldNotRecentlyUsedGradleDist.assertAllDirsDoNotExist()
    
            currentCacheDir.assertExists()
            currentDist.assertExists()
    
            getGcFile(currentCacheDir).assertExists()
    
            where:
            type              | daysToTriggerCleanup
            DistType.RELEASED | NOT_USED_WITHIN_DEFAULT_MAX_DAYS_FOR_RELEASED_DISTS
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-02-10 15:48
    - 12.5K bytes
    - Viewed (0)
  3. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

            file("transitive/build/jacoco/test.exec").assertExists()
            file("transitive/build/jacoco/integTest.exec").assertExists()
            file("direct/build/jacoco/test.exec").assertExists()
            file("direct/build/jacoco/integTest.exec").assertDoesNotExist()
            file("application/build/jacoco/test.exec").assertExists()
            file("application/build/jacoco/integTest.exec").assertExists()
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-14 16:03
    - 26.3K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

            sharedLibrary("lib1/build/lib/main/release/lib1").assertExists()
            sharedLibrary("lib2/build/lib/main/release/lib2").assertExists()
            sharedLibrary("lib3/build/lib/main/release/lib3").assertExists()
    
            sharedLibrary("lib1/build/lib/main/release/lib1").strippedRuntimeFile.assertExists()
            sharedLibrary("lib2/build/lib/main/release/lib2").strippedRuntimeFile.assertExists()
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-16 20:20
    - 19.8K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

            sharedLibrary("deck/build/lib/main/debug/deck").assertExists()
            sharedLibrary("card/build/lib/main/debug/card").assertExists()
            sharedLibrary("shuffle/build/lib/main/debug/shuffle").assertExists()
            executable("app/build/exe/main/debug/app").assertExists()
            def installation = installation("app/build/install/main/debug")
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-02-07 19:11
    - 42.5K bytes
    - Viewed (0)
  6. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningPublicationsIntegrationSpec.groovy

            and:
            pom().assertExists()
            pomSignature().assertExists()
            m2RepoFile(jarFileName).assertExists()
            m2RepoFile("${jarFileName}.asc").assertExists()
            m2RepoFile("$artifactId-${version}-sources.jar").assertExists()
            m2RepoFile("$artifactId-${version}-sources.jar.asc").assertExists()
            m2RepoFile("$artifactId-${version}.module").assertExists()
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-01-09 01:09
    - 26.9K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/cache/internal/GradleUserHomeCleanupServiceTest.groovy

            usedGradleVersions.getUsedGradleVersions() >> ([ GradleVersion.version('2.3.4') ] as SortedSet)
    
            and:
            oldCacheDir.assertExists()
            oldDist.assertExists()
            currentCacheDir.assertExists()
            currentDist.assertExists()
        }
    
        def "skips cleanup of version-specific caches and distributions if gc.properties has recently been changed"() {
            given:
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-05 22:46
    - 9.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

            then:
            fileTaskOutput.assertExists()
            dirTaskOutput.assertExists()
            // Only one task can be cached
            assertTaskOutputCached(fileTask)
            assertTaskOutputNotCached(dirTask)
    
            when:
            cleanBuildDir()
            withBuildCache().run(fileTask, dirTask)
            then:
            fileTaskOutput.assertExists()
            dirTaskOutput.assertExists()
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-15 20:54
    - 30K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            sharedLibrary("hello/build/lib/main/debug/Hello").assertExists()
            sharedLibrary("log/out/lib/main/debug/Log").assertExists()
            executable("app/build/exe/main/debug/App").assertExists()
            installation("app/build/install/main/debug").exec().out == app.expectedOutput
            sharedLibrary("app/build/install/main/debug/lib/Hello").file.assertExists()
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-08 12:43
    - 40.2K bytes
    - Viewed (1)
  10. subprojects/core/src/test/groovy/org/gradle/cache/internal/WrapperDistributionCleanupActionTest.groovy

            3 * progressMonitor.incrementSkipped(1)
            1 * progressMonitor.incrementDeleted()
            unusedDist.parentFile.assertDoesNotExist()
            stillUsedDist.assertExists()
            currentDist.assertExists()
            unusedFutureDist.assertExists()
        }
    
        def "deletes custom distributions for unused versions"() {
            given:
            def versionToCleanUp = GradleVersion.version("2.3.4")
    Registered: 2024-06-12 18:38
    - Last Modified: 2021-04-10 06:35
    - 8.9K bytes
    - Viewed (0)
Back to top