Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for assertDoesNotExist (0.22 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LeastRecentlyUsedCacheCleanupTest.groovy

            cleanupAction.clean(cleanableStore, progressMonitor)
    
            then:
            cacheEntries[0].assertExists()
            cacheEntries[1].assertExists()
            cacheEntries[2].assertExists()
            cacheEntries[3].assertDoesNotExist()
            1 * fileAccessTimeJournal.deleteLastAccessTime(cacheEntries[3])
        }
    
        def "finds no files to delete when files are new"() {
            given:
            long now = System.currentTimeMillis()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ReuseArchiveIntegrationTest.groovy

                }
            """
            when:
            succeeds("extract")
            then:
            file("build/extract/hello.txt").text == "hello"
            cachedFile.assertExists()
            otherFile.assertDoesNotExist()
    
            when:
            // write into the directory used by the extracted zip file
            cachedFile.text = "some incorrect pre-existing pre-expanded content"
            otherFile.touch()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocIntegrationTest.groovy

            and:
            succeeds scaladoc
    
            then:
            file("${docsPath}/Person.html").assertExists()
            file("${docsPath}/House.html").assertExists()
            file("${docsPath}/Other.html").assertDoesNotExist()
        }
    
        def "scaladoc is out of date when changing the java launcher"() {
            def jdk8 = AvailableJavaHomes.getJvmInstallationMetadata(AvailableJavaHomes.getJdk(VERSION_1_8))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/SwiftApplicationInitIntegrationTest.groovy

            and:
            subprojectDir.file("src/main/swift/${SAMPLE_APPLICATION_CLASS}").text.contains("hola()")
            subprojectDir.file("src/test/swift/${SAMPLE_APPLICATION_TEST_CLASS}").assertDoesNotExist()
            subprojectDir.file("src/test/swift/${LINUX_MAIN_DOT_SWIFT}").text.contains("HolaTests.allTests")
    
            when:
            run("build")
    
            then:
            executed(":app:test")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginMultiProjectTest.groovy

            file('child/config/checkstyle/checkstyle.xml') << simpleCheckStyleConfig()
    
            expect:
            fails(':child:checkstyleMain')
            checkStyleReportFile(file('child')).assertDoesNotExist()
        }
    
        def "configures checkstyle extension to read config from root project in a flat multi-project build"() {
            given:
            settingsFile << "include 'child:grand'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 13:39:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryCacheTest.groovy

        def initialisesCacheWhenCacheDirDoesNotExist() {
            given:
            def emptyDir = temporaryFolder.getTestDirectory().file("dir")
    
            expect:
            emptyDir.assertDoesNotExist()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLayoutIntegrationTest.groovy

                    'org/gradle/b/ClassB.class'
            )
        }
    
        @Test
        void canUseANonStandardBuildDir() {
            executer.withTasks('build').run()
    
            file('build').assertDoesNotExist()
    
            def results = new DefaultTestExecutionResult(file(), 'target')
            results.assertTestClassesExecuted('PersonTest')
            results.testClass('PersonTest').assertTestsExecuted('ok')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top