Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for noneRecompiled (0.64 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaClassChangeCliIncrementalCompilationIntegrationTest.groovy

            source "class B extends A {}"
    
            outputs.snapshot { run language.compileTaskName }
    
            when:
            assert a.delete()
            then:
            fails language.compileTaskName
            outputs.noneRecompiled()
            outputs.deletedClasses 'A', 'B'
        }
    
        /**
         * Test scenario from {@link BaseIncrementalCompilationAfterFailureIntegrationTest#incremental compilation works after a compile failure()}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CompilationOutputsFixture.groovy

            includeExtensions.empty || includeExtensions.any {
                FileUtils.hasExtensionIgnoresCase(file.name, it)
            }
        }
    
        //asserts none of the files changed/added since last snapshot
        void noneRecompiled() {
            recompiledFiles([])
        }
    
        //asserts file changed/added since last snapshot
        void recompiledFile(File file) {
            recompiledFiles([file])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top