Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for noneRecompiled (3.01 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy

            when:
            libObjects.snapshot()
            appObjects.snapshot()
    
            run installApp
    
            then:
            allSkipped()
    
            and:
            libObjects.noneRecompiled()
            appObjects.noneRecompiled()
        }
    
        @ToBeFixedForConfigurationCache
        def "considers only those headers that are reachable from source files as inputs"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskConstantChangesIncrementalCompilationIntegrationTest.groovy

            impl.snapshot { run language.compileTaskName }
    
            when:
            source api: ["class B { /* change */ }"]
            run "impl:${language.compileTaskName}"
    
            then:
            impl.noneRecompiled()
        }
    
        def "detects that changed class still has the same constants so no recompile is necessary"() {
            source api: ["class A { public static final int FOO = 123;}"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskIncrementalCompilationIntegrationTest.groovy

            when:
            impl.snapshot()
            source api: ["class A { /* change */ }"]
            run "impl:${language.compileTaskName}"
    
            then:
            impl.noneRecompiled() //because after earlier change to B, class A is no longer a dependency
        }
    
        def "doesn't recompile if external dependency has ABI incompatible change but not on class we use"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:55:46 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

            runAndFail language.compileTaskName
    
            then:
            outputs.noneRecompiled()
            outputs.hasFiles(file("A.class"), file("B.class"))
    
            when:
            a.text = "class A {}"
            run language.compileTaskName
    
            then:
            outputs.noneRecompiled()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskClassChangesIncrementalCompilationIntegrationTest.groovy

            when:
            file("api/src/main/${language.name}/A.${language.name}").delete()
            run "app:${language.compileTaskName}", "-x", "impl:${language.compileTaskName}"
    
            then:
            impl.noneRecompiled()
            app.recompiledClasses("C")
        }
    
        def "deletion of jar without dependents does not recompile any classes"() {
            source api: ["class A {}"], impl: ["class SomeImpl {}"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyJavaJointIncrementalCompilationIntegrationTest.groovy

            outputs.snapshot { run "compileGroovy" }
    
            when: 'first build'
            applyGroovyFileSet(firstChange)
            runAndFail "compileGroovy", "--info"
    
            then:
            outputs.noneRecompiled()
    
            when: 'second build'
            outputs.snapshot { applyGroovyFileSet(secondChange) }
            run "compileGroovy", "--info"
    
            then:
            upToDateOrMessage(secondBuildMessage)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskConstantChangesIncrementalJavaCompilationIntegrationTest.groovy

            impl.recompiledClasses( 'X', 'Y')
    
            when:
            impl.snapshot()
            // No change, so we expect no recompilation
            run "impl:${language.compileTaskName}"
    
            then:
            impl.noneRecompiled()
        }
    
        def "change in an upstream class with non-private constant causes rebuild if constant is referenced in method body (#constantType)"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileWithDiscoveredInputsIntegrationTest.groovy

                        }
                    }
                }
            }
        }
    """
            and:
            run "mainExecutable"
    
            then:
            skipped compileTask
    
            and:
            outputs.noneRecompiled()
    
            where:
            testCase                       | headerDirs
            "extra header dir after"       | '"src/main/headers", "src/additional-headers"'
    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/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaSourceIncrementalCompilationIntegrationTest.groovy

            outputs.snapshot { succeeds language.compileTaskName }
    
            when:
            resource.text = 'bar'
    
            then:
            succeeds language.compileTaskName
            outputs.noneRecompiled()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/objectivec/ObjectiveCLanguageIncrementalCompileIntegrationTest.groovy

                        }
                    }
                }
            }
        }
    """
            and:
            run "mainExecutable"
    
            then:
            skipped compileTask
            outputs.noneRecompiled()
    
            where:
            testCase                       | headerDirs
            "extra header dir after"       | '"src/main/headers", "src/additional-headers"'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top