Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 113 for assertDoesNotExist (0.25 sec)

  1. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/BinDistributionIntegrationSpec.groovy

            given:
            TestFile contentsDir = unpackDistribution()
    
            expect:
            checkMinimalContents(contentsDir)
            contentsDir.file('src').assertDoesNotExist()
            contentsDir.file('samples').assertDoesNotExist()
            contentsDir.file('docs').assertDoesNotExist()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy

            when:
            result = runWithMostRecentFinalRelease(JAR_TASK_NAME)
    
            then:
            javaProject.assertBuildTasksExecuted(result)
            javaProject.mainClassFile.assertDoesNotExist()
            javaProject.redundantClassFile.assertDoesNotExist()
            javaProject.assertJarHasDescendants(javaProject.mainClassFile.name, javaProject.redundantClassFile.name)
            javaProject.mainClassFileAlternate.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)
  3. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

            result.assertTaskNotExecuted(':application:testCodeCoverageReport')
    
            file("direct/build/jacoco/test.exec").assertDoesNotExist()
            file("transitive/build/jacoco/test.exec").assertDoesNotExist()
            file("application/build/jacoco/test.exec").assertDoesNotExist()
    
            // despite --continue flag, :application:testCodeCoverageReport will not execute due to catastrophic failures
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 26.3K bytes
    - Viewed (0)
  4. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningPublicationsIntegrationSpec.groovy

            and:
            pom().assertExists()
            pomSignature().assertDoesNotExist()
            module().assertExists()
            moduleSignature().assertDoesNotExist()
            m2RepoFile(jarFileName).assertExists()
            m2RepoFile("${jarFileName}.asc").assertDoesNotExist()
    
            when:
            succeeds "cleanRepo", "publishIvyPublicationToIvyRepository", "-Psign=skip"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/testFixtures/groovy/org/gradle/buildinit/plugins/fixtures/WrapperTestFixture.groovy

        }
    
        public void notGenerated() {
            projectDirectory.file(GRADLEW_BASH_SCRIPT).assertDoesNotExist()
            projectDirectory.file(GRADLEW_BATCH_SCRIPT).assertDoesNotExist()
            projectDirectory.file(GRADLEW_WRAPPER_JAR).assertDoesNotExist()
            projectDirectory.file(GRADLEW_PROPERTY_FILE).assertDoesNotExist()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/git/internal/SourceDependencyCleanupIntegrationTest.groovy

            then:
            // unused VCS working directories are still deleted
            checkoutDir("dep", commits["1.0"].id.name, repo.id).assertDoesNotExist()
            checkoutDir("dep", commits["2.0"].id.name, repo.id).assertDoesNotExist()
            checkoutDir("dep", commits["3.0"].id.name, repo.id).assertDoesNotExist()
        }
    
        private void markUnused(String version) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

            // FIXME Loading from cache destroys the overlap directory, but the task should not be loaded from cache
            fileTaskOutput.assertDoesNotExist()
            localStateDirTaskOutput.assertExists()
            // Task was loaded from cache, so local state was removed
            localStateDirTaskState.assertDoesNotExist()
            // fileTask can be from the cache, but the dirTask cannot due to a cache miss
            result.assertTaskSkipped(localStateDirTask)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/cache/internal/GradleUserHomeCleanupServiceTest.groovy

            def currentDist = createDistributionChecksumDir(currentVersion).parentFile
    
            when:
            cleanupService.cleanup()
    
            then:
            oldCacheDir.assertDoesNotExist()
            oldDist.assertDoesNotExist()
            currentCacheDir.assertExists()
            currentDist.assertExists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:46:34 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

            // start as new process so journal is not restored from in-memory cache
            executer.withTasks('help').start().waitForFinish()
    
            then:
            resource.assertDoesNotExist()
            files[0].assertDoesNotExist()
            files[1].assertDoesNotExist()
    
            and: // deletes empty parent directories
            findFiles(cacheDir, 'resources-*/*').isEmpty()
            findFiles(cacheDir, 'files-*/*').isEmpty()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalBuildIntegrationTest.groovy

            result.assertTasksSkipped(":assemble", getAssembleLibTasks(":greeter"))
    
            executable("app/build/exe/main/debug/App").assertDoesNotExist()
            file("app/build/exe/main/debug").assertDoesNotExist()
            file("app/build/obj/main/debug").assertDoesNotExist()
            installation("app/build/install/main/debug").assertNotInstalled()
    
            outputs.noneRecompiled()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top