Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 320 for realizes (0.17 sec)

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

                    }
                }
                toBeRealized.get()
    
                task verify {
                    doLast {
                        assert otherContainer.findByName("realized") != null
                        assert otherContainer.findByName("toBeRealized") != null
                    }
                }
            """
    
            expect:
            succeeds "verify"
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectCollection.java

            } else {
                handleAttemptToAddItemWithNonUniqueName(toAdd);
                return false;
            }
        }
    
        @Override
        protected void realized(ProviderInternal<? extends T> provider) {
            super.realized(provider);
            index.removePending(provider);
        }
    
        @Override
        public boolean addAll(Collection<? extends T> c) {
            assertMutable("addAll(Collection<T>)");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/imports.kt

    }
    
    
    // MODULE: main
    // MODULE_KIND: CodeFragment
    // CONTEXT_MODULE: context
    
    // FILE: fragment.kt
    // CODE_FRAGMENT_KIND: EXPRESSION
    // CODE_FRAGMENT_IMPORT: java.io.File
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 310 bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNodeBackedModelMapTest.groovy

        }
    
        def "can put existing unmanaged instance"() {
            when:
            mutate {
                put("foo", "bar")
            }
    
            then:
            registry.realize("map.foo", String) == "bar"
        }
    
        @Managed
        abstract static class Invalid<T> implements SpecialNamedThingInterface {}
    
        def "cannot create invalid subtype"() {
            when:
            mutate {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        } else {
          assertEquals(expectedLines.get(0), source.readFirstLine());
        }
      }
    
      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.isEmpty(), source.isEmpty());
      }
    
      public void testLength() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/GradleProjectBuilderOptions.java

    import org.gradle.api.NonNullApi;
    
    @NonNullApi
    public class GradleProjectBuilderOptions {
    
        /**
         * Determines whether a builder for the {@link org.gradle.tooling.model.GradleProject} model should realize tasks.
         * <p>
         * This method has to be invoked during builder execution time to provide an effective value.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 03 17:25:26 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/test/groovy/org/gradle/language/base/plugins/ComponentModelBasePluginTest.groovy

            dsl {
                apply plugin: ComponentModelBasePlugin
                model {
                    baseComponent(type) {
                    }
                }
            }
    
            then:
            type.isInstance(realize("baseComponent"))
    
            where:
            type                 | _
            GeneralComponentSpec | _
            ApplicationSpec      | _
            LibrarySpec          | _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/PendingSourceSpec.groovy

                it.add(Providers.of("v5").withSideEffect(sideEffect5))
                it
            }
            source.addPendingCollection(provider5)
    
            then:
            0 * _ // no side effects until elements are realized
    
            when:
            source.removePending(provider2)
            source.removePendingCollection(provider4)
    
            then:
            0 * _ // can remove pending without running side effects
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 12:24:17 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerPluginClasspathInjectionEndUserIntegrationTest.groovy

                        buildFile = new File(testProjectDir, 'build.gradle')
                        def pluginClasspath = getClass().classLoader.getResource("plugin-classpath.txt")
                          .readLines()
                          .collect { it.replace('\\\\', '\\\\\\\\') } // escape backslashes in Windows paths
                          .collect { "'\$it'" }
                          .join(", ")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cunit/CUnitTest.groovy

                components {
                    main(NativeLibrarySpec)
                }
            }
            project.evaluate()
    
            when:
            CUnitTestSuiteSpec testSuite = project.modelRegistry.realize("testSuites", modelMap(TestSuiteSpec)).mainTest
            def sources = testSuite.sources.values()
            def binaries = testSuite.binaries.values()
    
            then:
            sources.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top