Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for SourceElement (0.19 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/CppUnitTestComponentWithBothLibraryLinkageIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.test.cpp
    
    import org.gradle.nativeplatform.fixtures.app.CppLibWithSimpleUnitTest
    import org.gradle.nativeplatform.fixtures.app.SourceElement
    
    class CppUnitTestComponentWithBothLibraryLinkageIntegrationTest extends AbstractCppUnitTestComponentWithTestedComponentIntegrationTest {
        @Override
        protected void makeSingleProject() {
            buildFile << """
    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/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppMultiply.groovy

        final SourceFileElement source = ofFile(new SourceFile("cpp", "multiply.cpp", """
    #include "multiply.h"
    
    int Multiply::multiply(int a, int b) {
        return a * b;
    }
    """))
    
        final SourceElement privateHeaders = header
        final SourceElement publicHeaders = empty()
    
        @Override
        int multiply(int a, int b) {
            return a * b
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithLibraries.groovy

        final greeter = new SwiftGreeterUsesLogger()
        final main = new SwiftAlternateMain(greeter)
    
        SourceElement getLogLibrary() {
            return logger
        }
    
        @Override
        String getExpectedOutput() {
            return main.expectedOutput
        }
    
        SourceElement getLibrary() {
            return greeter
        }
    
        SwiftSourceElement getApplication() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalBuildIntegrationTest.groovy

        private List<String> expectedIntermediateDescendants(SourceElement sourceElement) {
            List<String> result = new ArrayList<String>()
    
            String sourceSetName = sourceElement.getSourceSetName()
            String intermediateFilesDirPath = "build/obj/main/debug"
            File intermediateFilesDir = file(intermediateFilesDirPath)
            for (SourceFile sourceFile : sourceElement.getFiles()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppSourceFileElement.java

        public abstract SourceFileElement getHeader();
    
        public abstract SourceFileElement getSource();
    
        @Override
        public SourceElement getPublicHeaders() {
            return getHeader();
        }
    
        @Override
        public SourceElement getSources() {
            return getSource();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppBothLibraryLinkageIntegrationTest.groovy

     */
    
    package org.gradle.language.cpp
    
    import org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache
    import org.gradle.nativeplatform.fixtures.app.CppLib
    import org.gradle.nativeplatform.fixtures.app.SourceElement
    
    class CppBothLibraryLinkageIntegrationTest extends AbstractCppIntegrationTest {
        @Override
        protected List<String> getTasksToAssembleDevelopmentBinary(String variant) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppStaticLibraryLinkageIntegrationTest.groovy

     */
    
    package org.gradle.language.cpp
    
    import org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache
    import org.gradle.nativeplatform.fixtures.app.CppLib
    import org.gradle.nativeplatform.fixtures.app.SourceElement
    
    class CppStaticLibraryLinkageIntegrationTest extends AbstractCppIntegrationTest {
        @Override
        protected String getComponentUnderTestDsl() {
            return "library"
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftSharedLibraryLinkageIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.language.swift
    
    
    import org.gradle.nativeplatform.fixtures.app.SourceElement
    import org.gradle.nativeplatform.fixtures.app.SwiftLib
    
    class SwiftSharedLibraryLinkageIntegrationTest extends AbstractSwiftIntegrationTest {
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/CppUnitTestComponentWithoutComponentIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.app.SourceElement
    
    class CppUnitTestComponentWithoutComponentIntegrationTest extends AbstractCppUnitTestComponentIntegrationTest {
        @Override
        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'cpp-unit-test'
            """
        }
    
        @Override
        protected SourceElement getComponentUnderTest() {
            return new CppSimpleUnitTest()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/AbstractInstalledToolChainIntegrationSpec.groovy

        }
    
        List<NativeBinaryFixture> objectFiles(def sourceElement, String rootObjectFilesDir = "build/obj/${sourceElement.sourceSetName}/debug") {
            List<NativeBinaryFixture> result = new ArrayList<NativeBinaryFixture>()
    
            String sourceSetName = sourceElement.getSourceSetName()
            for (SourceFile sourceFile : sourceElement.getFiles()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top