Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 928 for Outputs (0.14 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractSourceIncrementalCompilationIntegrationTest.groovy

            source "class A {}", "class B {}", "class C {}"
            outputs.snapshot { run language.compileTaskName }
    
            when:
            source "class B extends A {}"
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses('B')
    
            when:
            outputs.snapshot()
            source "class A { /* change */ }"
            run language.compileTaskName
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedPathSensitivityIntegrationTest.groovy

                task producer {
                    outputs.cacheIf { true }
                    outputs.file("build/outputs/producer.txt")
                    doLast {
                        file("build/outputs/producer.txt").text = "alma"
                    }
                }
    
                task consumer {
                    dependsOn producer
                    outputs.cacheIf { true }
                    inputs.file("build/outputs/producer.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyIncrementalCompilationIntegrationTest.groovy

    class A2{}
    """
            file('src/main/groovy/org/gradle/B.groovy') << 'package org.gradle; class B{}'
            outputs.snapshot { run "compileGroovy" }
    
            when:
            a.text = 'package org.gradle; class A1 {}'
            run "compileGroovy"
    
            then:
            outputs.recompiledClasses('A1')
            outputs.deletedClasses('A2')
        }
    
        def 'only recompile removed packages'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaClassChangeIncrementalCompilationIntegrationTest.groovy

            """
    
            outputs.snapshot { run language.compileTaskName }
    
            when:
            file("src/main/${languageName}/Person.${languageName}").text = """
                public record Person(String firstName, String lastName, int age) {}
            """
    
            then:
            succeeds language.compileTaskName
            outputs.recompiledClasses('Person')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

    """
            and:
            outputs.snapshot { run "mainExecutable" }
    
            when:
            otherHeaderFile << """
                // Some extra content
    """
            and:
            run "mainExecutable"
    
            then:
            executedAndNotSkipped compileTask
    
            and:
            outputs.recompiledFile sourceFile
            and:
            !output.contains("should not be used")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/AggregatingIncrementalAnnotationProcessingIntegrationTest.groovy

            def a = java "@Bean class A {}"
            java "@Bean class B {}"
            java "class Unrelated {}"
    
            outputs.snapshot { run "compileJava" }
    
            when:
            a.delete()
            run "compileJava"
    
            then:
            outputs.deletedClasses("A", "AHelper")
            outputs.recompiledFiles("ServiceRegistry", "ServiceRegistryResource.txt")
            serviceRegistryReferences("BHelper")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 29 15:12:07 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/OutputEventRendererTest.groovy

            then:
            outputs.stdOut.readLines() == ['message']
            outputs.stdErr == ''
        }
    
        def rendersErrorLogEventsToStdErr() {
            when:
            renderer.attachSystemOutAndErr()
            renderer.onOutput(event('message', LogLevel.ERROR))
    
            then:
            outputs.stdOut == ''
            outputs.stdErr.readLines() == ['message']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy

            run "compileJava"
            a.text = "@Helper class A { public void foo() {} }"
            outputs.snapshot { run "compileJava" }
    
            when:
            b.text = " class B { }"
            run "compileJava"
    
            then:
            outputs.deletedFiles("BHelper", "BHelperResource")
            outputs.recompiledFiles("B")
        }
    
        def "generated files are recompiled when annotated file is affected by a change"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/LoggingServiceRegistryTest.groovy

            then:
            outputs.stdOut == ''
            outputs.stdErr == ''
    
            when:
            loggingManager.levelInternal = LogLevel.WARN
            loggingManager.start()
            logger.warn("warning")
            logger.error("error")
    
            then:
            outputs.stdOut == TextUtil.toPlatformLineSeparators('warning\n')
            outputs.stdErr == TextUtil.toPlatformLineSeparators('error\n')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/unified_api_testutil.cc

                    absl::Span<AbstractTensorHandle*> outputs, bool use_function) {
      if (use_function) {
        const char* fn_name = "test_fn";
        core::RefCountPtr<AbstractFunction> scoped_func;
        // Returning null tensors from a tf.function is not supported, so we keep
        // track of indices in the model's outputs are nullptr in this set.
        // The FunctionDef only outputs the non-null tensors. We later pad the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top