Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 305 for realizes (0.18 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/TaskContainerIntegrationTest.groovy

                tasks.register("bar", Delete)
            """
    
            when:
            succeeds "help"
    
            then:
            // help task is realized and configured
            outputContains("configured :help")
    
            // are "built-in" tasks realized and configured?
            if (realizesBuiltInTasks) {
                outputContains("configured :tasks")
                outputContains("configured :projects")
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 07:46:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskContainerInternal.java

        DynamicObject getTasksAsDynamicObject();
    
        /**
         * Force the task graph to come into existence.
         */
        void realize();
    
        /**
         * Performs work to discover more tasks.
         *
         * This method differs from {@link #realize} in that it does not realize the whole subtree.
         */
        void discoverTasks();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 08 09:35:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/RuleSourceApplicationTest.groovy

            project.apply plugin: 'custom-rule-source'
    
            then:
            project.modelRegistry.realize("foo", String) == "bar"
        }
    
        def "can apply a rule source by type"() {
            when:
            def project = buildProject()
            project.apply type: CustomRuleSource
    
            then:
            project.modelRegistry.realize("foo", String) == "bar"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/InstanceBackedModelRegistrationTest.groovy

            then:
            !foo.promise.canBeViewedAs(ModelType.of(String))
            foo.promise.canBeViewedAs(ModelType.of(List))
    
            registry.realize(fooReference.path, fooReference.type).is(fooList)
            registry.realize(barReference.path, barReference.type).is(barList)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ElementSourceSpec.groovy

            and:
            source.iterator().collect() == iterationOrder("foo", "bar", "baz", "fizz", "fuzz", "bazz")
        }
    
        def "once realized, provided values appear like realized values"() {
            when:
            source.addPending(provider("foo"))
            source.add("bar")
            source.add("baz")
            source.addPending(provider("fizz"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 10:08:46 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/OtoolBinaryInfo.groovy

            def process = ['ar', '-t', binaryFile.getAbsolutePath()].execute(environments, null)
            return process.inputStream.readLines().drop(1)
        }
    
        List<String> listLinkedLibraries() {
            def process = ['otool', '-L', binaryFile.absolutePath].execute(environments, null)
            def lines = process.inputStream.readLines()
            return lines
        }
    
        List<Symbol> listSymbols() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/IterationOrderRetainingSetElementSourceTest.groovy

            source.contains("foo")
        }
    
        def "an element added as both a provider and a realized value is not duplicated"() {
            when:
            source.add("foo")
            source.addPending(provider("foo"))
    
            then:
            source.iterator().collect() == ["foo"]
        }
    
        def "an element added as both a provider and a realized value has the correct order"() {
            when:
            source.addPending(provider("foo"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 06:43:26 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ProviderApiDependenciesIntegrationTest.groovy

        id 'java'
    }
    
    def version = objects.property(String)
    
    configurations.testImplementation.dependencies.addLater(version.map { project.dependencies.create("com.example:artifact:\${it}") })
    
    tasks.all {} // force realize all tasks
    
    version.set('5.6')
    
    assert configurations.testRuntimeClasspath.allDependencies.size() == 1 
            """
            expect:
            succeeds("help")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. 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)
  10. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetector.java

                    return Collections.emptyMap();
                }
                List<String> lines = readLines(incrementalProcessorDeclaration);
                return parseIncrementalProcessors(lines);
            }
    
            private List<String> readLines(File file) throws IOException {
                return Files.asCharSource(file, Charsets.UTF_8).readLines(new MetadataLineProcessor());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top