Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for publicType (0.15 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            Bean bean = newInstance(Bean.class);
            assertTrue(bean instanceof GeneratedSubclass);
            assertEquals(Bean.class, ((GeneratedSubclass) bean).publicType());
            assertEquals(Bean.class, GeneratedSubclasses.unpackType(bean));
            assertEquals(Bean.class, GeneratedSubclasses.unpack(bean.getClass()));
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            def copy = managedFactory().fromState(property.publicType(), state)
            !copy.is(property)
            !copy.present
            copy.getOrNull() == null
    
            property.set(someValue())
            copy.getOrNull() == null
    
            def state2 = property.unpackState()
            def copy2 = managedFactory().fromState(property.publicType(), state2)
            !copy2.is(property)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

        }
    
        protected void addToContainer(T element) {
            container.add(element)
        }
    
        Class<? extends DomainObjectCollection<T>> getContainerPublicType() {
            return new DslObject(container).publicType.concreteClass
        }
    
        def setup() {
            // Verify some assumptions
            assert !type.isAssignableFrom(otherType) && !otherType.isAssignableFrom(type)
            assert type.isInstance(a)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
Back to top