Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for assertDoesNotExist (0.24 sec)

  1. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

            assert throwable.message.contains("Test of distribution url ${url} failed. Please check the values set with --gradle-distribution-url and --gradle-version.")
            file("gradle/wrapper/gradle-wrapper.properties").assertDoesNotExist()
        }
    
        def "wrapper task succeeds if http distribution url from command-line is valid"() {
            given:
            def path = "/distributions/8.0-rc-5"
            def file = file(path) << "some content"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/SwiftLibraryInitIntegrationTest.groovy

            dslFixtureFor(scriptDsl).assertGradleFilesGenerated()
    
            and:
            subprojectDir.file("src/main/swift/${SAMPLE_LIBRARY_CLASS}").assertDoesNotExist()
            subprojectDir.file("src/test/swift/${SAMPLE_LIBRARY_TEST_CLASS}").assertDoesNotExist()
            subprojectDir.file("src/test/swift/${LINUX_MAIN_DOT_SWIFT}").text.contains("HolaTests.allTests")
    
            when:
            run("build")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

            file("build/output/missing").assertDoesNotExist()
    
            when:
            cleanBuildDir()
            withBuildCache().run "customTask"
            then:
            skipped ":customTask"
            file("build/output.txt").text == "data"
            file("build/output").assertIsDir()
            file("build/output/missing").assertDoesNotExist()
    
            where:
            type << ["file", "dir"]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesByGradleFileWatchingIntegrationTest.groovy

            when:
            sourceFile.delete()
            waitForChangesToBePickedUp()
            withWatchFs().run ":consumer"
            then:
            executedAndNotSkipped(":sourceTask", ":consumer")
            outputFile.assertDoesNotExist()
        }
    
        def "detects when stale outputs are removed"() {
            buildFile << """
                apply plugin: 'base'
    
                task producer {
                    def inputTxt = file("input.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/cache/internal/UnusedVersionsCacheCleanupTest.groovy

                versionDir(parentCacheVersion.append(version)).assertExists()
            }
            for (version in expectedDeletedVersions) {
                versionDir(parentCacheVersion.append(version)).assertDoesNotExist()
            }
    
            where:
            mapping                              | gradleVersions        | parentVersion | existingCacheVersions || expectedDeletedVersions
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:40:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsCompositeBuildTest.groovy

            oldNotRecentlyUsedGradleDist.assertAllDirsExist()
    
            currentCacheDir.assertExists()
            currentDist.assertExists()
    
            getGcFile(currentCacheDir).assertDoesNotExist()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesCodeQualityIntegrationTest.groovy

            when:
            executer
                .inDirectory(projectDir)
                .withTasks('check')
                .run()
    
            then:
            buildDir.file('reports/checkstyle/main.xml').assertDoesNotExist()
            buildDir.file('reports/checkstyle/main.html').assertIsFile()
            buildDir.file('reports/codenarc/main.html').assertIsFile()
            buildDir.file('reports/codenarc/test.html').assertIsFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/AllDistributionIntegrationSpec.groovy

            contentsDir.file('src/wrapper-main/org/gradle/wrapper/GradleWrapperMain.java').assertIsFile()
    
            // Samples
            contentsDir.file('samples').assertDoesNotExist()
    
            assertDocsExist(contentsDir, version)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/UndefinedBuildExecutionIntegrationTest.groovy

            executer.usingProjectDirectory(file("buildSrc"))
            then:
            succeeds("jar")
            file("buildSrc/.gradle").assertIsDir()
            executer.gradleUserHomeDir.file(BuildScopeCacheDir.UNDEFINED_BUILD).assertDoesNotExist()
        }
    
        def "treats empty buildSrc as undefined build"() {
            given:
            file("buildSrc").createDir()
    
            expect:
            executer.usingProjectDirectory(file("buildSrc"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. testing/integ-test/src/integTest/groovy/org/gradle/integtests/MultiProjectDependencyIntegrationTest.groovy

        def jarsNotBuilt(String... projects) {
            projects.each {
                file("${it}/build/libs/${it}.jar").assertDoesNotExist()
            }
        }
    
        def depsCopied(String project, Collection<String> deps) {
            def depsDir = file("${project}/deps")
            if (deps.isEmpty()) {
                depsDir.assertDoesNotExist()
            } else {
                String[] depJars = deps.collect {
                    "${it}.jar"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top