Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 111 for assertDoesNotExist (0.4 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  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. 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)
  9. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy

        }
    
        def "analyze good code"() {
            goodCode()
    
            expect:
            succeeds('check')
            file("build/reports/checkstyle/main.sarif").assertDoesNotExist()
            file("build/reports/checkstyle/test.sarif").assertDoesNotExist()
            file("build/reports/checkstyle/main.xml").assertContents(containsClass("org.gradle.Class1"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  10. 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)
Back to top