Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for notIncluded (0.13 sec)

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

        }
    
        @ToBeFixedForConfigurationCache
        def "source is always recompiled if it imported header via complex macro"() {
            given:
            def notIncluded = file("src/main/headers/notIncluded.h")
            notIncluded.text = """#pragma message("should not be used")"""
            sourceFile << """
                #define _MY_HEADER(X) #X
                #define MY_HEADER _MY_HEADER(${otherHeaderFile.name})
    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 "source is not recompiled when preprocessor removed header is changed"() {
            given:
            def notIncluded = file("src/main/headers/notIncluded.h")
            notIncluded.text = """#pragma message("should not be used")"""
            sourceFile << """
                #if 0
                #include "${notIncluded.name}"
                #else
                #include "${otherHeaderFile.name}"
                #endif
    """
            and:
    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/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy

        def testCanSelectFilesUsingPatterns() {
            File included1 = new File(testDir, 'subDir/included1')
            File included2 = new File(testDir, 'subDir2/included2')
            File excluded1 = new File(testDir, 'subDir/notincluded')
            File ignored1 = new File(testDir, 'ignored')
            [included1, included2, excluded1, ignored1].each { File file ->
                file.parentFile.mkdirs()
                file.text = 'some text'
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationFixture.groovy

                }
            }
        }
    
        def getRecordedOps() {
            new JsonSlurper().parse(jsonFile())
        }
    
        void notIncluded(Class<?> type) {
            assert !recordedOps.any { it.detailsType == type.name }
        }
    
        String registerListener() {
            listenerClass() + """
            registrar.register(listener)
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 20 11:47:00 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/execution/DefaultTaskSelectorTest.groovy

            !filter.isSatisfiedBy(excluded)
            filter.isSatisfiedBy(notExcluded)
        }
    
        def "exclude filter configures only the default project when exact match on task name found when subprojects included"() {
            def excluded = Stub(Task)
            _ * excluded.name >> "b"
            _ * excluded.project >> projectModel1
            def notExcluded = Stub(Task)
            _ * notExcluded.name >> "c"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy

            def headerFile = file("app/src/main/not_included/hello.h") << """
                const char* get_hello();
                #define PREFIX get_hello()
            """
    
            def sourceFile = file("app/src/main/cpp/hello.cpp")
            sourceFile.text = """
                #include <iostream>
                #include "../not_included/hello.h"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 40.4K bytes
    - Viewed (0)
Back to top