Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for assertDoesNotExist (1.25 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleSwiftProjectIntegrationTest.groovy

                library.linkage = [Linkage.STATIC]
            """
    
            lib.writeToProject(testDirectory)
            succeeds("xcode")
    
            when:
            debugBinary.assertDoesNotExist()
            def resultDebug = xcodebuild
                .withProject(rootXcodeProject)
                .withScheme('App')
                .succeeds()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 31.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsContinuousIntegrationTest.groovy

            succeeds("foo")
            file('build/foo/foo').text == 'bar'
            getGcFile(currentCacheDir).assertDoesNotExist()
    
            when:
            file('foo').text = 'baz'
    
            then:
            buildTriggeredAndSucceeded()
            file('build/foo/foo').text == 'baz'
            getGcFile(currentCacheDir).assertDoesNotExist()
    
            when:
            sendEOT()
    
            then:
            waitForNotRunning()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleCppProjectIntegrationTest.groovy

            buildFile << """
                apply plugin: 'cpp-application'
            """
    
            app.writeToProject(testDirectory)
            succeeds("xcode")
    
            when:
            debugBinary.assertDoesNotExist()
            def resultDebug = xcodebuild
                .withProject(rootXcodeProject)
                .withScheme('App')
                .succeeds()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 27.7K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

            executable.exec().out == "hello"
            objectFileFor(newSource).assertExists()
    
            and: "Previous object files are removed"
            objectFileFor(sourceFile).assertDoesNotExist()
            otherSourceFiles.each {
                objectFileFor(it).assertDoesNotExist()
            }
        }
    
        @ToBeFixedForConfigurationCache
        def "incremental compile is not effected by other compile tasks"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  5. build-logic/packaging/src/test/kotlin/gradlebuild/instrumentation/InstrumentationMetadataPluginTest.kt

            val upgradedProperties = File(projectRoot, "distribution/build/instrumentation/upgraded-properties.json")
            instrumentedSuperTypes.assertDoesNotExist()
            upgradedProperties.assertDoesNotExist()
        }
    
        @Test
        fun `should not fail if metadata is not changed`() {
            // Given
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:55:53 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileCompatibilityIntegrationTest.groovy

            withInstallations(jdk).fails(":compileJava")
    
            then:
            failure.assertHasErrorOutput("Parent.java:3: error: sealed classes are not supported in -source 11")
            javaClassFile("Parent.class").assertDoesNotExist()
        }
    
        def "source compatibility matching the compiler version allows accessing Java language features"() {
            def jdk = AvailableJavaHomes.getJdk(JavaVersion.VERSION_17)
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSingleProjectIntegrationTest.groovy

                    linkage = [Linkage.STATIC, Linkage.SHARED]
                }
            """
    
            and:
            succeeds "visualStudio"
    
            when:
            debugBinaryLib.assertDoesNotExist()
            debugBinaryDll.assertDoesNotExist()
            def resultDebug = msbuild
                .withSolution(solutionFile("lib.sln"))
                .withConfiguration('Debug')
                .succeeds()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

            assert throwable.message.contains("Test of distribution url ${url} failed. Please check the values set with --gradle-distribution-url and --gradle-version.")
            file("gradle/wrapper/gradle-wrapper.properties").assertDoesNotExist()
        }
    
        def "wrapper task succeeds if http distribution url from command-line is valid"() {
            given:
            def path = "/distributions/8.0-rc-5"
            def file = file(path) << "some content"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

            file("build/output/missing").assertDoesNotExist()
    
            when:
            cleanBuildDir()
            withBuildCache().run "customTask"
            then:
            skipped ":customTask"
            file("build/output.txt").text == "data"
            file("build/output").assertIsDir()
            file("build/output/missing").assertDoesNotExist()
    
            where:
            type << ["file", "dir"]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

                .withConfiguration('debug')
                .succeeds(MSBuildExecutor.MSBuildAction.CLEAN)
    
            then:
            file("exe/build").assertDoesNotExist()
            file("lib/build").assertDoesNotExist()
        }
    
        @ToBeFixedForConfigurationCache
        def "create visual studio solution where multiple components have same name"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top