- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for readOnlyProperty (0.14 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensibleDynamicObjectTest.java
Bean bean = new Bean(); bean.doSetReadOnlyProperty("value"); assertThat(bean.getProperty("readOnlyProperty"), equalTo((Object) "value")); } @Test public void cannotSetReadOnlyClassProperty() { Bean bean = new Bean(); try { bean.setProperty("readOnlyProperty", "value"); fail(); } catch (GroovyRuntimeException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 33.7K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
PropertyDoc readOnlyProperty = propertyDoc('readOnlyProperty', readable: true, writeable: false) PropertyDoc writeOnlyProperty = propertyDoc('writeOnlyProperty', readable: false, writeable: true) _ * classDoc.classProperties >> [readWriteProperty, readOnlyProperty, writeOnlyProperty] _ * classDoc.classMethods >> []
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 40.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy
then: properties*.name == ["value"] } @Managed static interface ReadOnlyProperty { SingleStringValueProperty getSingleStringValueProperty() } @Managed static interface WritableProperty extends ReadOnlyProperty { void setSingleStringValueProperty(SingleStringValueProperty value) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 29.9K bytes - Viewed (0)