Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for getComponentUnderTestDsl (0.26 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppStaticLibraryLinkageProjectIntegrationTest.groovy

                library.linkage = [Linkage.STATIC]
            """
        }
    
        @Override
        String getVisualStudioProjectName() {
            return "${rootProjectName}Lib"
        }
    
        @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)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestDependenciesIntegrationTest.groovy

                void EXPORT_FUNC lib_func();
    """
            file("lib/src/main/cpp/lib.cpp") << """
                #include <lib.h>
                void lib_func() { }
    """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "unitTest"
        }
    
        @Override
        protected String getAssembleDevBinaryTask() {
            return ":installTest"
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationDependenciesIntegrationTest.groovy

        private static String getApplicationSource() {
            return """
                int main() {
                    return 0;
                }
            """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "application"
        }
    
        @Override
        protected List<String> getAssembleDebugTasks() {
            return tasks.debug.allToAssembleWithInstall - tasks.debug.assemble
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/AbstractSwiftXCTestIntegrationTest.groovy

            return tasks.test.allToInstall + [":xcTest"]
        }
    
        @Override
        protected String getTestComponentDsl() {
            return "xctest"
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return null
        }
    
        @Override
        protected String[] getTasksToBuildAndRunUnitTest(String architecture) {
            return tasksToBuildAndRunUnitTest
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithLibraryIntegrationTest.groovy

            def debugTasks = tasks.withArchitecture(architecture).debug
            return [debugTasks.link]
        }
    
        @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
    - 2.2K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithoutComponentIntegrationTest.groovy

            failure.assertHasDescription("Execution failed for task ':runTest'.")
            failure.assertHasCause("There were failing tests. See the results at:")
        }
    
        @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
    - 2.3K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationDependenciesIntegrationTest.groovy

            return """
                class Lib {
                }
            """
        }
    
        private static String getApplicationSource() {
            return ""
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "application"
        }
    
        @Override
        protected List<String> getAssembleDebugTasks() {
            return [":compileDebugSwift", ":linkDebug", ":installDebug"]
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/AbstractNativeDependenciesIntegrationTest.groovy

        /**
         * Creates a build with the component under test in the root project and a library in the 'lib' project.
         */
        protected abstract void makeComponentWithLibrary()
    
        protected abstract String getComponentUnderTestDsl()
    
        protected abstract String getAssembleDevBinaryTask()
    
        protected abstract List<String> getAssembleDevBinaryTasks()
    
        protected abstract List<String> getLibDebugTasks()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithApplicationIntegrationTest.groovy

                void test_func() { }
            """
        }
    
        @Override
        protected void assertTestCasesRan() {
            // Ok
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "application"
        }
    
        @Override
        protected String[] getTasksToBuildAndRunUnitTest(String architecture) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftBothLibraryLinkageIntegrationTest.groovy

            sharedLibrary("build/lib/main/debug/shared/${componentUnderTest.moduleName}").assertExists()
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "library"
        }
    
        def "creates shared library binary by default when both linkage specified"() {
            def library = new SwiftLib()
            makeSingleProject()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top