Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 113 for assertDoesNotExist (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/GradleUserHomeCleanupFixture.groovy

                distDir.assertExists()
                customDistDir.assertExists()
            }
    
            void assertAllDirsDoNotExist() {
                cacheDir.assertDoesNotExist()
                distDir.assertDoesNotExist()
                customDistDir.assertDoesNotExist()
            }
        }
    
        static enum DistType {
            RELEASED() {
                @Override
                String version(String baseVersion) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/NativeBinaryFixture.groovy

        void assertHasChangedSince(Snapshot snapshot) {
            file.assertContentsHaveChangedSince(snapshot)
        }
    
        void assertExists() {
            file.assertIsFile()
        }
    
        void assertDoesNotExist() {
            file.assertDoesNotExist()
        }
    
        // Does nothing when tool chain does not generate a separate debug file
        void assertDebugFileExists() {
            if (toolChain.visualCpp) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishChangingUrlIntegTest.groovy

            """
    
            when:
            succeeds "publish"
    
            then:
            executed(":publishIvyPublicationToTestRepoRepository")
    
            and:
            repo1Module.ivyFile.assertDoesNotExist()
            repo1Module.jarFile.assertDoesNotExist()
            repo2Module.ivyFile.assertExists()
            repo2Module.jarFile.assertExists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioFileCustomizationIntegrationTest.groovy

            // Ensure that clean handles custom file locations
            when:
            run "cleanVisualStudio"
    
            then:
            projectFile.projectFile.assertDoesNotExist()
            filtersFile.file.assertDoesNotExist()
            mainSolution.file.assertDoesNotExist()
        }
    
        @ToBeFixedForConfigurationCache
        def "can add xml configuration to generated project files"() {
            when:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/initialization/layout/ProjectCacheDirIntegrationTest.groovy

            when:
            succeeds("help")
    
            then:
            oldButRecentlyUsedCacheDir.assertExists()
            oldCacheDir.assertDoesNotExist()
            currentCacheDir.assertExists()
            getGcFile(currentCacheDir).assertExists()
        }
    
        def "do not create default path if project-cache-dir has been specified"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 16 23:00:16 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/initialization/layout/ProjectCacheDirTest.groovy

                operation.run(context)
            }
            6 * context.progress(_)
            ancientVersionWithoutMarkerFile.assertExists()
            oldestCacheDir.assertDoesNotExist()
            oldButRecentlyUsedCacheDir.assertExists()
            oldCacheDir.assertDoesNotExist()
            currentCacheDir.assertExists()
            newerCacheDir.assertExists()
        }
    
        @Override
        TestFile getCachesDir() {
            return cacheDir
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaSourceIncrementalCompilationIntegrationTest.groovy

            generatedInnerClassHeaderFile.assertExists()
    
            when:
            sourceFile.delete()
            succeeds language.compileTaskName
    
            then:
            generatedHeaderFile.assertDoesNotExist()
            generatedInnerClassHeaderFile.assertDoesNotExist()
            file("build/generated/sources/headers/java/main/Bar.h").assertExists()
        }
    
        def "reports source type that does not support detection of source root"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top