Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for CHelloWorldApp (0.13 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CHelloWorldApp.groovy

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    
    class CHelloWorldApp extends IncrementalHelloWorldApp {
    
        @Override
        SourceFile getMainSource() {
            sourceFile("c", "main.c", """
                // Simple hello world app
                #include <stdio.h>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetDependenciesIntegrationTest.groovy

    import org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache
    import org.gradle.nativeplatform.fixtures.AbstractInstalledToolChainIntegrationSpec
    import org.gradle.nativeplatform.fixtures.app.CHelloWorldApp
    import org.gradle.nativeplatform.fixtures.app.CppCallingCHelloWorldApp
    // TODO: Test incremental
    // TODO: Test dependency on functional source set
    // TODO: Test dependency on source set that is not HeaderExportingSourceSet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/GeneratedSourcesIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.AbstractInstalledToolChainIntegrationSpec
    import org.gradle.nativeplatform.fixtures.RequiresInstalledToolChain
    import org.gradle.nativeplatform.fixtures.app.CHelloWorldApp
    import org.gradle.nativeplatform.fixtures.app.CppHelloWorldApp
    import org.gradle.nativeplatform.fixtures.app.MixedLanguageHelloWorldApp
    import org.gradle.nativeplatform.fixtures.app.WindowsResourceHelloWorldApp
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageParallelIntegrationTest.groovy

    import org.gradle.language.AbstractNativeSoftwareModelParallelIntegrationTest
    import org.gradle.nativeplatform.fixtures.app.CHelloWorldApp
    import org.gradle.nativeplatform.fixtures.app.HelloWorldApp
    
    
    class CLanguageParallelIntegrationTest extends AbstractNativeSoftwareModelParallelIntegrationTest {
        HelloWorldApp app = new CHelloWorldApp()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 996 bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIncrementalBuildIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.app.CHelloWorldApp
    import org.gradle.nativeplatform.fixtures.app.IncrementalHelloWorldApp
    
    class CLanguageIncrementalBuildIntegrationTest extends AbstractNativeLanguageIncrementalBuildIntegrationTest {
        @Override
        IncrementalHelloWorldApp getHelloWorldApp() {
            new CHelloWorldApp()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIncrementalCompileIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.app.CHelloWorldApp
    import org.gradle.nativeplatform.fixtures.app.IncrementalHelloWorldApp
    import spock.lang.Issue
    
    class CLanguageIncrementalCompileIntegrationTest extends AbstractNativeLanguageIncrementalCompileWithDiscoveredInputsIntegrationTest {
        @Override
        IncrementalHelloWorldApp getHelloWorldApp() {
            return new CHelloWorldApp()
        }
    
        @Issue("GRADLE-3109")
    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/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/VisualCppToolChainDiscoveryIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.ToolChainRequirement
    import org.gradle.nativeplatform.fixtures.app.CHelloWorldApp
    
    @RequiresInstalledToolChain(ToolChainRequirement.VISUALCPP)
    class VisualCppToolChainDiscoveryIntegrationTest extends AbstractInstalledToolChainIntegrationSpec {
        def helloWorldApp = new CHelloWorldApp()
    
        def setup() {
            buildFile << """
    apply plugin: 'c'
    
    model {
        toolChains {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/CommonToolChainIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.app.CHelloWorldApp
    import spock.lang.Issue
    
    class CommonToolChainIntegrationTest extends AbstractInstalledToolChainIntegrationSpec {
        @Issue("https://github.com/gradle/gradle-native/issues/139")
        @ToBeFixedForConfigurationCache
        def "can rely on working directory to be project directory"() {
            def app = new CHelloWorldApp()
    
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainCrossCompilationIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.app.CHelloWorldApp
    
    import static org.gradle.nativeplatform.fixtures.ToolChainRequirement.GCC_COMPATIBLE
    
    @RequiresInstalledToolChain(GCC_COMPATIBLE)
    class GccToolChainCrossCompilationIntegrationTest extends AbstractInstalledToolChainIntegrationSpec {
        def helloWorldApp = new CHelloWorldApp()
    
        def setup() {
            buildFile << """
    apply plugin: 'c'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainDiscoveryIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.NativePlatformsTestFixture
    import org.gradle.nativeplatform.fixtures.RequiresInstalledToolChain
    import org.gradle.nativeplatform.fixtures.app.CHelloWorldApp
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    import org.hamcrest.CoreMatchers
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top