Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for assertDoesNotExist (0.87 sec)

  1. 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)
  2. 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)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy

    task ant(dependsOn: target1)
    """
            TestFile target1File = testFile('build/target1.txt')
            TestFile target2File = testFile('build/target2.txt')
            target1File.assertDoesNotExist()
            target2File.assertDoesNotExist()
    
            inTestDirectory().withTasks('ant').run().assertTasksExecutedInOrder(':initialize', ':target2', ':target1', ':ant')
    
            target1File.assertExists()
            target2File.assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoCachingIntegrationTest.groovy

            executedAndNotSkipped ":test", ":jacocoTestReport", ":jacocoTestCoverageVerification"
            reportFile.assertIsFile()
    
            when:
            succeeds "clean"
            then:
            reportFile.assertDoesNotExist()
    
            when:
            withBuildCache().run "jacocoTestReport", "jacocoTestCoverageVerification"
            then:
            skipped ":test", ":jacocoTestReport", ":jacocoTestCoverageVerification"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesArchivesIntegrationTest.groovy

            succeeds("unpackLibsDirectory")
    
            then:
            def outputDir = dslDir.file("build/resources")
            outputDir.file("libs/first.txt").assertDoesNotExist()
            outputDir.file("libs/other.txt").assertDoesNotExist()
            outputDir.file("docs.txt").assertDoesNotExist()
            outputDir.file("first.txt").isFile()
            outputDir.file("other.txt").isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/testFixtures/groovy/org/gradle/buildinit/plugins/fixtures/ScriptDslFixture.groovy

        }
    
        void assertGradleFilesNotGenerated(TestFile parentFolder = rootDir) {
            getBuildFile(parentFolder).assertDoesNotExist()
            getSettingsFile(parentFolder).assertDoesNotExist()
            getVersionCatalogFile().assertDoesNotExist()
            assertWrapperFilesNotGenerated(parentFolder)
        }
    
        void assertWrapperFilesNotGenerated(TestFile parentFolder = rootDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 00:45:16 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLifecyclePluginIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
    
            and:
            buildDir.assertDoesNotExist()
    
            when:
            buildDir.mkdir()
            configurationCacheRun 'clean'
    
            then:
            configurationCache.assertStateLoaded()
    
            and:
            buildDir.assertDoesNotExist()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesFilesMiscIntegrationTest.groovy

            when:
            succeeds('cleanTempFiles')
    
            then:
            def srcDir = dslDir.file('src')
            srcDir.file("notes.txt.tmp").assertDoesNotExist()
            srcDir.file("README.md").isFile()
            srcDir.file("main/webapp/web.xml.tmp").assertDoesNotExist()
            srcDir.file("main/webapp/web.xml").isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("files/misc")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/CppApplicationInitIntegrationTest.groovy

            and:
            subprojectDir.file("src/main/cpp/${SAMPLE_APP_CLASS}").assertDoesNotExist()
            subprojectDir.file("src/main/headers/${SAMPLE_APP_HEADER}").assertDoesNotExist()
            subprojectDir.file("src/test/cpp/${SAMPLE_APP_TEST_CLASS}").assertDoesNotExist()
    
            when:
            run("build")
    
            then:
            executed(":app:test")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/CppLibraryInitIntegrationTest.groovy

            dslFixtureFor(scriptDsl).assertGradleFilesGenerated()
    
            and:
            subprojectDir.file("src/main/cpp/${SAMPLE_LIB_CLASS}").assertDoesNotExist()
            subprojectDir.file("src/main/public/hello.h").assertDoesNotExist()
            subprojectDir.file("src/test/cpp/${SAMPLE_LIB_TEST_CLASS}").assertDoesNotExist()
    
            when:
            run("build")
    
            then:
            executed(":lib:test")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top