Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,674 for factory (0.13 sec)

  1. src/main/java/org/codelibs/core/xml/SchemaUtil.java

         *
         * @param factory
         *            {@link SchemaFactory}。{@literal null}であってはいけません
         * @param schema
         *            スキーマファイル。{@literal null}であってはいけません
         * @return {@link Schema}
         */
        public static Schema newSchema(final SchemaFactory factory, final File schema) {
            assertArgumentNotNull("factory", factory);
            assertArgumentNotNull("schema", schema);
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultImmutableModuleIdentifierFactoryTest.groovy

        def factory = new DefaultImmutableModuleIdentifierFactory()
    
        def "creates module"() {
            when:
            def m = factory.module('foo', 'bar')
    
            then:
            m.group == 'foo'
            m.name == 'bar'
        }
    
        def "caches module ids"() {
            when:
            def m1 = factory.module('foo', 'bar')
            def m2 = factory.module('foo', 'bar')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            }
            def action2 = {
                thread.block()
                instant.completed2
            }
    
            when:
            async {
                factory.create("1").execute(action1)
                factory.create("2").execute(action2)
                factory.stop()
                instant.stopped
            }
    
            then:
            instant.stopped > instant.completed1
            instant.stopped > instant.completed2
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/Unions.java

    import java.util.Set;
    import java.util.stream.Collectors;
    
    class Unions {
        private final ExcludeFactory factory;
    
        public Unions(ExcludeFactory factory) {
            this.factory = factory;
        }
    
        /**
         * Tries to compute an union of 2 specs.
         * The result MUST be a simplification, otherwise this method returns null.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/id/ConfigurationCacheableIdFactoryTest.groovy

        def "creating ids after loading is not allowed"() {
            def factory = new ConfigurationCacheableIdFactory()
    
            when:
            factory.idRecreated()
            factory.idRecreated()
            then:
            noExceptionThrown()
    
            when:
            factory.createId()
            then:
            def e = thrown(IllegalStateException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 23 15:27:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionValueNotationParserFactorySpec.groovy

            given:
            OptionValueNotationParserFactory factory = new OptionValueNotationParserFactory()
            when:
            def parser = factory.toComposite(String.class);
            then:
            parser.parseNotation("somestring") == "somestring"
        }
    
        def "creates notationparser for handling handles enums"(){
            given:
            OptionValueNotationParserFactory factory = new OptionValueNotationParserFactory()
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 08 09:28:44 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/CustomPluginObjectFactoryIntegrationTest.groovy

                }
    
                class NestedExtension {
                    ObjectFactory factory
    
                    @javax.inject.Inject
                    NestedExtension(ObjectFactory of) {
                        factory = of
                    }
    
                    String name
    
                    Person getRiker() {
                       factory.newInstance(Person, 'Riker')
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 13 21:29:11 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DistributionFactoryTest.groovy

            expect:
            factory.getDefaultDistribution(tmpDir.testDirectory.createDir("child"), true).displayName == "Gradle distribution '$zipFileUri'"
        }
    
        def usesTheCurrentVersionAsTheDefaultDistributionWhenNoWrapperPropertiesFilePresent() {
            def uri = new DistributionLocator().getDistributionFor(GradleVersion.current()).toASCIIString()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/internal/PluginDependencyResolutionServices.java

        private final Factory<DependencyResolutionServices> factory;
        private DependencyResolutionServices dependencyResolutionServices;
    
        public PluginDependencyResolutionServices(Factory<DependencyResolutionServices> factory) {
            this.factory = factory;
        }
    
        private DependencyResolutionServices getDependencyResolutionServices() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/metadata/ExternalResourceMetaDataCompareTest.groovy

            when:
            compare(null, factory)
    
            then:
            !unchanged
            0 * factory.create()
        }
    
        def "always unchanged with incomplete local metadata"() {
            given:
            configureMetadata(local, etag, lastModified, contentLength)
    
            when:
            compare(local, factory)
    
            then:
            !unchanged
            0 * factory.create()
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top