Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canSetWriteOnlyClassProperty (0.17 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensibleDynamicObjectTest.java

                assertThat(e.getMessage(), equalTo("Cannot set the value of read-only property 'readOnlyProperty' for <bean> of type " + Bean.class.getName() + "."));
            }
        }
    
        @Test
        public void canSetWriteOnlyClassProperty() {
            Bean bean = new Bean();
            bean.setProperty("writeOnlyProperty", "value");
            assertThat(bean.doGetWriteOnlyProperty(), equalTo("value"));
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 33.7K bytes
    - Viewed (0)
Back to top