Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for otherHeaderFile (0.24 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/objectivec/ObjectiveCLanguageIncrementalCompileIntegrationTest.groovy

        def "recompiles only source file that imported changed header file"() {
            given:
            sourceFile << """
                #import "${otherHeaderFile.name}"
    """
            and:
            outputs.snapshot { run "mainExecutable" }
    
            when:
            otherHeaderFile << """
                // Some extra content
    """
            and:
            run "mainExecutable"
    
            then:
            executedAndNotSkipped compileTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

        def "recompiles only source file that includes changed header file"() {
            given:
            sourceFile << """
                #include "${otherHeaderFile.name}"
    """
            and:
            outputs.snapshot { run "mainExecutable" }
    
            when:
            otherHeaderFile << """
                // Some extra content
    """
            and:
            run "mainExecutable"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIncrementalCompileIntegrationTest.groovy

        def "recompiles source file that includes header file on first line"() {
            given:
            sourceFile << """#include "${otherHeaderFile.name}"
    """
            and:
            outputs.snapshot { run "mainExecutable" }
    
            when:
            otherHeaderFile << """
                // Some extra content
    """
            and:
            run "mainExecutable"
    
            then:
            executedAndNotSkipped compileTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top