Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 113 for assertDoesNotExist (0.44 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

                    destinationDirectory = buildDir
                    archiveFileName = 'test.tar'
                }
                """
            when:
            run "tar"
    
            then:
            file('build/test.tar').assertDoesNotExist()
        }
    
        def canCopyFromATar() {
            given:
            createTar('test.tar') {
                subdir1 {
                    file 'file1.txt'
                }
                subdir2 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativePlatformSamplesIntegrationTest.groovy

            releaseX86.exec().out == "Hello world!\n"
    
            debugX64.arch.name == "x86-64"
            releaseX64.arch.name == "x86-64"
    
            // Itanium not built
            debugIA64.assertDoesNotExist()
            releaseIA64.assertDoesNotExist()
        }
    
        @ToBeFixedForConfigurationCache
        def "tool chains"() {
            given:
            sample toolChains
    
            when:
            run "installMainExecutable"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiBuildExecutionCrossVersionSpec.groovy

                connection.newBuild()
                    .forTasks(clean)
                    .run()
            }
    
            then:
            file('build/libs/test.jar').assertDoesNotExist()
        }
    
        def "receives progress while the build is executing"() {
            file('build.gradle') << '''
    System.out.println 'this is stdout'
    System.err.println 'this is stderr'
    '''
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoKotlinJvmPluginAggregationTest.groovy

            when:
            succeeds(":testCodeCoverageReport")
    
            then:
            file("transitive/build/jacoco/test.exec").assertDoesNotExist()
            file("transitive/build/libs/transitive-1.0.jar").assertExists()
            file("direct/build/jacoco/test.exec").assertExists()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/AbstractSourceDependencyIntegrationTest.groovy

            checkout.file('.git').assertExists()
        }
    
        void assertRepoNotCheckedOut() {
            def checkout = checkoutDir(repo.name, commit.id.name, repo.id)
            checkout.assertDoesNotExist()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

            // start as new process so journal is not restored from in-memory cache
            executer.withTasks("showBuildscript").start().waitForFinish()
    
            then:
            buildscriptClasses.assertDoesNotExist()
    
            when:
            createBuildFileThatPrintsClasspathURLs("""
                classpath name: 'a', version: '1'
            """)
            succeeds("showBuildscript")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy

            IvyDescriptor ivy = new IvyDescriptor(file('generated-ivy.xml'))
            ivy.expectArtifact(moduleName).hasAttributes("jar", "jar", ["compile", "runtime"])
            module.ivyFile.assertDoesNotExist()
        }
    
        def "produces sensible error when withXML fails"() {
            when:
            buildFile << """
                publishing {
                    publications {
                        ivy {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top