Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 109 for assertDoesNotExist (0.37 sec)

  1. 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)
  2. 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)
  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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryDependenciesIntegrationTest.groovy

            installation("build/install/main").exec().out == app.englishOutput
    
            and:
            notExecuted ":greetingsSharedLibrary"
            sharedLibrary("build/binaries/greetingsSharedLibrary/greetings").assertDoesNotExist()
        }
    
        @ToBeFixedForConfigurationCache
        def "can have component graph with both static and shared variants of same library"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top