Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NamedThingInterface (0.33 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NamedThingInterface.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.model;
    
    import org.gradle.api.Named;
    
    @Managed
    public interface NamedThingInterface extends Named {
        String getOther();
    
        void setOther(String string);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 796 bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNamedTest.groovy

            when:
            registry.registerWithInitializer("foo", NamedThingInterface, nodeInitializerRegistry)
    
            then:
            registry.realize("foo", NamedThingInterface).name == "foo"
    
            when:
            registry.registerWithInitializer("bar", NamedThingInterface, nodeInitializerRegistry)
    
            then:
            registry.realize("bar", NamedThingInterface).name == "bar"
        }
    
    
        @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNodeBackedModelMapTest.groovy

    import static org.gradle.model.internal.core.NodeInitializerContext.forType
    
    class ManagedNodeBackedModelMapTest extends NodeBackedModelMapSpec<NamedThingInterface, SpecialNamedThingInterface> {
    
        Class<NamedThingInterface> itemClass = NamedThingInterface
        Class<SpecialNamedThingInterface> specialItemClass = SpecialNamedThingInterface.class
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/SpecialNamedThingInterface.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.model;
    
    @Managed
    public interface SpecialNamedThingInterface extends NamedThingInterface, Special {
        String getSpecial();
    
        void setSpecial(String string);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 800 bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedModelMapTypesTest.groovy

    - type parameter of $ModelMap.name cannot be a wildcard.""")
        }
    
        def "can have map of map"() {
            def type = ModelTypes.modelMap(ModelTypes.modelMap(NamedThingInterface))
    
            expect:
            schemaStore.getSchema(type) instanceof ModelMapSchema
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

        static abstract class WritableMapProperty {
            abstract void setMap(ModelMap<NamedThingInterface> map)
            abstract ModelMap<NamedThingInterface> getMap()
        }
    
        @Managed
        static abstract class WritableSetProperty {
            abstract void setSet(ModelSet<NamedThingInterface> set)
            abstract ModelSet<NamedThingInterface> getSet()
        }
    
        def "map cannot be writable"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
Back to top