Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 61 for assertDoesNotExist (0.2 sec)

  1. 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)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenPomPackagingResolveIntegrationTest.groovy

            and:
            run 'retrieve'
    
            then:
            file('libs').assertDoesNotExist()
    
            when:
            server.resetExpectations()
            run 'retrieve'
    
            then: // Uses cached artifacts
            file('libs').assertDoesNotExist()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/UndefinedBuildExecutionIntegrationTest.groovy

            executer.usingProjectDirectory(file("buildSrc"))
            then:
            succeeds("jar")
            file("buildSrc/.gradle").assertIsDir()
            executer.gradleUserHomeDir.file(BuildScopeCacheDir.UNDEFINED_BUILD).assertDoesNotExist()
        }
    
        def "treats empty buildSrc as undefined build"() {
            given:
            file("buildSrc").createDir()
    
            expect:
            executer.usingProjectDirectory(file("buildSrc"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/MultiProjectDependencyIntegrationTest.groovy

        def jarsNotBuilt(String... projects) {
            projects.each {
                file("${it}/build/libs/${it}.jar").assertDoesNotExist()
            }
        }
    
        def depsCopied(String project, Collection<String> deps) {
            def depsDir = file("${project}/deps")
            if (deps.isEmpty()) {
                depsDir.assertDoesNotExist()
            } else {
                String[] depJars = deps.collect {
                    "${it}.jar"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/NativeInstallationFixture.groovy

            libDir.assertIsDir()
            libDir.file(os.getExecutableName(script.name)).assertIsFile()
            this
        }
    
        NativeInstallationFixture assertNotInstalled() {
            installDir.assertDoesNotExist()
            this
        }
    
        NativeInstallationFixture assertIncludesLibraries(String... names) {
            def expected = names.collect { os.getSharedLibraryName(it) } as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocModularizedJavaIntegrationTest.groovy

            when:
            succeeds("javadoc")
            then:
            file("test/build/docs/javadoc/test/test/Test.html").assertExists()
            file("test/build/docs/javadoc/test/test/internal/TestInternal.html").assertDoesNotExist()
        }
    
        @Issue("https://github.com/gradle/gradle/issues/21399")
        def "can build javadoc from modularized java with -module-source-path specified"() {
    
            testBuildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftStaticLibraryLinkageIntegrationTest.groovy

            expect:
            succeeds "compileDebug"
            result.assertTasksExecuted(":compileDebugSwift", ":compileDebug")
            objectFiles(lib)*.assertExists()
            staticLibrary("build/lib/main/debug/Foo").assertDoesNotExist()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerExportIntegrationTest.groovy

    """
    
            when:
            run("generateSwiftPmManifest")
    
            then:
            file("generated/thing.swift").assertIsFile()
            file("Package.swift").assertDoesNotExist()
        }
    
        @ToBeFixedForConfigurationCache(because = "Task.getProject() during execution")
        def "can exclude certain products from the generated file"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/AbstractSymlinkDeleterTest.groovy

            then:
            link.exists()
    
            when:
            boolean didWork = delete(FOLLOW_SYMLINKS, link)
    
            then:
            !link.exists()
            keepTxt.assertDoesNotExist()
            didWork
    
            cleanup:
            link.delete()
        }
    
        def "does not follow symlink to a file when followSymlinks is #followSymlinks"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. 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)
Back to top