Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for assertDoesNotExist (0.37 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelIncrementalIntegrationTest.groovy

            then:
            executedAndNotSkipped ":appVisualStudioSolution"
            executedAndNotSkipped getComponentTasks("main")
    
            when:
            copyFile(file("src/main/cpp/main.cpp"), file("src/main/cpp/foo.cpp").assertDoesNotExist())
            run "visualStudio"
    
            then:
            skipped ":appVisualStudioSolution"
            executedAndNotSkipped getComponentTasks("main")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 8.5K 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. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ArtifactViewArtifactSelectionIntegrationTest.groovy

                        }
                    }.files)
                    into(buildDir)
                }
            """
            when:
            succeeds("resolve")
            then:
            file("build/alternative").assertDoesNotExist()
            file("build/output").assertExists()
        }
    
        def "can depend on two configurations from the same project"() {
            file("producer/build.gradle") << """
                configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.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/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsLifecycleIntegrationTest.groovy

            oldNotRecentlyUsedGradleDist.assertAllDirsExist()
    
            currentCacheDir.assertExists()
            currentDist.assertExists()
    
            getGcFile(currentCacheDir).assertDoesNotExist()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 20 18:54:20 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. 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)
  7. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/CachedScalaCompileIntegrationTest.groovy

            // Local state is removed when loaded from cache
            classes.analysisFile.assertDoesNotExist()
    
            when:
            cleanBuildDir()
            withBuildCache().run compilationTask
    
            then:
            skipped compilationTask
            // Local state is removed when loaded from cache
            classes.analysisFile.assertDoesNotExist()
    
            when:
            // Make sure we notice when classes are recompiled
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalNativeCompilerTest.groovy

            1 * spec.setSourceFilesForPch(_)
            0 * spec._
            1 * delegateCompiler.execute(spec) >> WorkResults.didWork(false)
    
            and:
            result.didWork
            outputFile.assertDoesNotExist()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top