Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 113 for assertDoesNotExist (0.58 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  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. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

                .withConfiguration('debug')
                .succeeds(MSBuildExecutor.MSBuildAction.CLEAN)
    
            then:
            file("exe/build").assertDoesNotExist()
            file("lib/build").assertDoesNotExist()
        }
    
        @ToBeFixedForConfigurationCache
        def "create visual studio solution where multiple components have same name"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top