Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 113 for assertDoesNotExist (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeMultipleSwiftProjectIntegrationTest.groovy

                .withScheme('Hello')
                .succeeds(XcodebuildExecutor.XcodeAction.CLEAN)
    
            then:
            exe("app/build/exe/main/debug/App").assertDoesNotExist()
            sharedLib("hello/build/lib/main/debug/Hello").assertDoesNotExist()
            sharedLib("log/build/lib/main/debug/Log").assertExists()
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

    model {
        components {
            main(NativeExecutableSpec)
        }
    }
    """
    
            when:
            succeeds "mainExecutable"
    
            then:
            executable("build/binaries/mainExecutable/main").assertDoesNotExist()
        }
    
        @ToBeFixedForConfigurationCache
        def "assemble task constructs all buildable binaries"() {
            given:
            new CHelloWorldApp().writeSources(file("src/main"))
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top