Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 111 for assertDoesNotExist (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy

            succeeds 'compileScala'
    
            then:
            skipped(':compileJava')
            executedAndNotSkipped(':compileScala')
            new TestFile(testDirectory, 'generated.txt').assertDoesNotExist()
        }
    
        def "processes annotation for Java class if annotation processor is available on processor path"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

            return artifacts
        }
    
        List<VariantMetadataSpec> getVariants() {
            return variants
        }
    
        void assertNotPublished() {
            pomFile.assertDoesNotExist()
            moduleMetadata.file.assertDoesNotExist()
        }
    
        void assertPublished() {
            assert pomFile.assertExists()
            assert parsedPom.groupId == groupId
            assert parsedPom.artifactId == artifactId
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top