Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for assertIncludesLibraries (0.47 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIntegrationTest.groovy

            executable("build/exe/main/main").assertExists()
    
            def install = installation("build/install/main")
            install.assertInstalled()
            install.assertIncludesLibraries("hello")
            install.exec().out == helloWorldApp.englishOutput
        }
    
        @Requires(UnitTestPreconditions.CanInstallExecutable)
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            def installation = installation("app/build/install/main/debug")
            installation.exec().out == app.expectedOutput
            installation.assertIncludesLibraries("Greeter")
        }
    
        def "can compile and link against a library specifying target machines"() {
            createDirs("app", "greeter")
            settingsFile << "include 'app', 'greeter'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/NativeInstallationFixture.groovy

            this
        }
    
        NativeInstallationFixture assertNotInstalled() {
            installDir.assertDoesNotExist()
            this
        }
    
        NativeInstallationFixture assertIncludesLibraries(String... names) {
            def expected = names.collect { os.getSharedLibraryName(it) } as Set
            assert libraryFiles.collect { it.name } as Set == expected as Set
            this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithStaticLinkagePublishingIntegrationTest.groovy

            debugInstall.assertIncludesLibraries()
    
            when:
            executer.inDirectory(consumer)
            run("installRelease")
    
            then:
            def releaseInstall = installation(consumer.file("build/install/main/release"))
            releaseInstall.exec().out == app.withFeatureEnabled().expectedOutput
            releaseInstall.assertIncludesLibraries()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryBinariesIntegrationTest.groovy

            sharedLibrary("build/libs/helloShared/shared/helloShared").assertExistsAndDelete()
            installation("build/install/main")
                .assertIncludesLibraries("helloShared")
                .exec().out == "Hello staticHello shared"
        }
    
        @ToBeFixedForConfigurationCache
        def "executable can use a combination of libraries from the same and other projects"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithBothLinkagePublishingIntegrationTest.groovy

            then:
            def debugInstall = installation(consumer.file("build/install/main/debug"))
            debugInstall.exec().out == app.withFeatureDisabled().expectedOutput
            debugInstall.assertIncludesLibraries("greeting")
            def debugLib = sharedLibrary(producer.file("build/lib/main/debug/shared/greeting"))
            sharedLibrary(consumer.file("build/install/main/debug/lib/greeting")).file.assertIsCopyOf(debugLib.file)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

            sharedLibrary("hello/build/lib/main/debug/hello").assertExists()
            def installation = installation("app/build/install/main/debug")
            installation.exec().out == app.expectedOutput
            installation.assertIncludesLibraries("hello")
        }
    
        @ToBeFixedForConfigurationCache
        def "can compile and link against a library when specifying multiple target machines"() {
            createDirs("app", "hello")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

            then:
            def debugInstall = installation(consumer.file("build/install/main/debug"))
            debugInstall.exec().out == app.withFeatureDisabled().expectedOutput
            debugInstall.assertIncludesLibraries("greeting")
            def debugLib = sharedLibrary(producer.file("build/lib/main/debug/greeting"))
            sharedLibrary(consumer.file("build/install/main/debug/lib/greeting")).file.assertIsCopyOf(debugLib.file)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top