Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for assertDoesNotExist (0.36 sec)

  1. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy

            then:
            dslDir.file('build/toArchive/my-report.pdf').isFile()
            dslDir.file('build/toArchive/metrics/scatterPlot.pdf').assertDoesNotExist()
            dslDir.file('build/toArchive/scatterPlot.pdf').assertDoesNotExist()
            dslDir.file('build/toArchive/numbers.csv').assertDoesNotExist()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("files/copy")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.7K 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy

            dslDir.file("build/my-test-results/test").directory
            dslDir.file("build/test-results/test").assertDoesNotExist()
    
            and: "the reports are in the custom directory"
            dslDir.file("my-reports").directory
            getStandardTestReportDir(dslDir, "", "").assertDoesNotExist()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("testing/testReport")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            then:
            dir.assertDoesNotExist()
            didWork
        }
    
        def "deletes file"() {
            given:
            TestFile dir = tmpDir.getTestDirectory()
            TestFile file = dir.file("someFile")
            file.createFile()
    
            when:
            boolean didWork = deleter.deleteRecursively(file)
    
            then:
            file.assertDoesNotExist()
            didWork
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top