Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 959 for lib4 (0.16 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/NativeBinarySpecTest.groovy

            when:
            binary.lib(lib1)
            def sourceSet = Stub(DependentSourceSet) {
                getLibs() >> [sourceLib]
            }
            binary.inputs.add sourceSet
            binary.lib(lib2)
    
            and:
            1 * resolver.resolve({ NativeBinaryResolveResult result ->
                result.allResolutions*.input == [lib1, lib2, sourceLib]
            }) >> { NativeBinaryResolveResult result ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/swiftpm/plugins/SwiftPackageManagerExportPluginTest.groovy

            products.name == ["lib1", "lib2"]
            products.target.name == ["Lib1", "Lib2"]
            products.target.publicHeaderDir == [null, null]
            products.every { it instanceof DefaultLibraryProduct }
        }
    
        def "adds a library product for each linkage of a Swift library"() {
            given:
            def lib1Project = ProjectBuilder.builder().withName("lib1").withParent(project).build()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy

        def "can fetch GradleProject model for empty projects"() {
            settingsFile << """
                rootProject.name = 'root'
    
                include(":lib1")
                include(":lib1:lib11")
            """
    
            when: "fetching without Isolated Projects"
            def expectedProjectModel = fetchModel(GradleProject)
    
            then:
            fixture.assertNoConfigurationCache()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/os/OperatingSystemTest.groovy

            os.getLinkLibraryName("a.lib") == "a.lib"
        }
    
        def "windows transforms static library names"() {
            def os = new OperatingSystem.Windows()
    
            expect:
            os.staticLibrarySuffix == ".lib"
            os.getStaticLibraryName("a.lib") == "a.lib"
            os.getStaticLibraryName("a.LIB") == "a.LIB"
            os.getStaticLibraryName("a") == "a.lib"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/DefaultVersionCatalogBuilderTest.groovy

                inCatalog('libs')
                forDependency('org', 'foo')
                versionRef('nope')
                existing('v1', 'v2')
            })
        }
    
        def "has all defined aliases"() {
            builder.library("foo-lib1", "org", "foo").version("lib-version")
            builder.library("foo-lib2", "org", "foo").version("lib-version2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 17 22:25:43 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

            sharedLibrary("lib1/build/lib/main/debug/lib1").assertExists()
            sharedLibrary("lib2/build/lib/main/debug/lib2").assertExists()
            executable("build/exe/main/debug/app").assertExists()
            installation("build/install/main/debug").exec().out == app.expectedOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactDeclarationIntegrationTest.groovy

            resolve.expectGraph {
                root(":b", "test:b:") {
                    project(":a", "test:a:") {
                        artifact(name: "lib1")
                        artifact(name: "not-a-lib", extension: "zip", type: "not-a-lib", fileName: "lib2.zip")
                    }
                }
            }
        }
    
        def "can define outgoing variants and artifacts for configuration"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetCompileDependenciesIntegrationTest.groovy

                sources {
                    cpp {
                        lib library: 'lib1', linkage: 'api'
                    }
                    otherCpp(CppSourceSet) {
                        lib library: 'lib2', linkage: 'api'
                    }
                }
            }
        }
    }
    """
    
            when:
            succeeds "mainExecutable"
    
            then:
            executable("build/exe/main/main").exec().out == "12\n"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerSwiftBuildExportIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache(because = "Task.getProject() during execution")
        def "honors customizations to Swift module name"() {
            given:
            createDirs("lib1", "lib2")
            settingsFile << "include 'lib1', 'lib2'"
            buildFile << """
                plugins {
                    id 'swiftpm-export'
                    id 'swift-application'
                }
                subprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerDependencyMappingIntegrationTest.groovy

                    implementation "test:lib2:2.0.0"
                }
    """
            file("src/main/swift/Lib.swift") << """
                import Lib1
                import Lib2
                class Lib {
                    init() {
                        Lib1.thing()
                        Lib2.thing()
                    }
                }
            """
    
            when:
            run("generateSwiftPmManifest")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.4K bytes
    - Viewed (0)
Back to top