Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for getComponentUnderTestDsl (0.33 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestWithSharedLibraryLinkageIntegrationTest.groovy

        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'xctest'
                apply plugin: 'swift-library'
            """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "library"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestWithApplicationIntegrationTest.groovy

        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'xctest'
                apply plugin: 'swift-application'
            """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "application"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestWithBothLibraryLinkageIntegrationTest.groovy

                apply plugin: 'xctest'
                apply plugin: 'swift-library'
                library.linkage = [Linkage.SHARED, Linkage.STATIC]
            """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "library"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestWithoutComponentIntegrationTest.groovy

            }
        }
    
        @Override
        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'xctest'
            """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/XCTestDependenciesIntegrationTest.groovy

                }
    """
            file("lib/src/main/swift/Util.swift") << """
                public class Util {
                    public init() { }
                }
    """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "xctest"
        }
    
        @Override
        protected String getAssembleDevBinaryTask() {
            return tasks.test.install
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/AbstractCppUnitTestComponentIntegrationTest.groovy

            expect:
            succeeds "check"
    
            and:
            outputContains("'${componentName}' component in project ':' does not target this operating system.")
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return 'unitTest'
        }
    
        @Override
        protected String getTaskNameToAssembleDevelopmentBinary() {
            return 'test'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppBothLibraryLinkageIntegrationTest.groovy

            """
        }
    
        @Override
        protected String getDevelopmentBinaryCompileTask() {
            return ":compileDebugSharedCpp"
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "library"
        }
    
        @Override
        protected SourceElement getComponentUnderTest() {
            return new CppLib()
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/AbstractNativeLanguageComponentIntegrationTest.groovy

        }
    
        protected String getDefaultArchitecture() {
            DefaultNativePlatform.currentArchitecture.name
        }
    
        protected abstract void makeSingleProject()
    
        protected abstract String getComponentUnderTestDsl()
    
        protected abstract SourceElement getComponentUnderTest()
    
        protected abstract String getTaskNameToAssembleDevelopmentBinary()
    
        protected String getCurrentHostOperatingSystemFamilyDsl() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftSharedLibraryLinkageIntegrationTest.groovy

            sharedLibrary("build/lib/main/debug/${componentUnderTest.moduleName}").assertExists()
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "library"
        }
    
        def "can create shared library binary when explicitly request a shared linkage"() {
            def library = new SwiftLib()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppSharedLibraryLinkageProjectIntegrationTest.groovy

        @Override
        void makeSingleProject() {
            buildFile << """
                apply plugin: "cpp-library"
            """
        }
    
        @Override
        String getComponentUnderTestDsl() {
            return "library"
        }
    
        @Override
        CppSourceElement getComponentUnderTest() {
            return new CppLib()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top