Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for assertDoesNotExist (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy

            succeeds("runInWorker")
    
            and:
            assertWorkerExecuted("runInWorker")
    
            and:
            file("bar/foo").text == "foo"
            file("baz/foo").text == "foo"
            file("foo").assertDoesNotExist()
    
            where:
            isolationMode << ISOLATION_MODES
        }
    
        def "workers with injected FileSystemOperations service always resolve files from the project directory using #isolationMode isolation"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

            succeeds "compileDebug"
            result.assertTasksExecuted(":compileDebugSwift", ":compileDebug")
            objectFiles(lib)*.assertExists()
            sharedLibrary("build/lib/main/debug/${lib.moduleName}").assertDoesNotExist()
        }
    
        def "build logic can change source layout convention"() {
            given:
            def lib = new SwiftLib()
            settingsFile << "rootProject.name = '${lib.projectName}'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/BinaryNativePlatformIntegrationTest.groovy

                binaryInfo(objectFileFor(file("src/main/cpp/main.cpp"), "build/objs/main/arm/mainCpp")).arch.name == "arm"
            } else {
                executable("build/exe/main/arm/main").assertDoesNotExist()
            }
        }
    
        @RequiresInstalledToolChain(SUPPORTS_32)
        @ToBeFixedForConfigurationCache
        def "can configure binary for multiple target operating systems"() {
            String currentOs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  8. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVcsIntegrationTest.groovy

            depCheckout.file('.git').assertExists()
    
            def depDeeperCheckout = checkoutDir('deeperDep', depCommit.id.name, "git-repo:${repo.url.toASCIIString()}", depCheckout)
            depDeeperCheckout.assertDoesNotExist()
    
            def deeperCheckout = checkoutDir('deeperDep', deeperCommit.id.name, "git-repo:${deeperRepo.url.toASCIIString()}")
            deeperCheckout.file('.git').assertExists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

    Directory '$sub' does not contain a Gradle build.
    """
    
            and:
            sub.file(".gradle").assertIsDir()
            executer.gradleUserHomeDir.file(BuildScopeCacheDir.UNDEFINED_BUILD).assertDoesNotExist()
        }
    
        def "shows help message when run in users home directory"() {
            given:
            useTestDirectoryThatIsNotEmbeddedInAnotherBuild()
    
            // the default, if running from user home dir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

            succeeds "compileDebug"
            result.assertTasksExecuted(tasks.debug.compile, ":compileDebug")
            objectFiles(lib.sources)*.assertExists()
            sharedLibrary("build/lib/main/debug/hello").assertDoesNotExist()
        }
    
        @ToBeFixedForConfigurationCache
        def "build logic can change source layout convention"() {
            def lib = new CppLib()
            settingsFile << "rootProject.name = 'hello'"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
Back to top