Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for groovyProperty (0.28 sec)

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

            GroovyBean bean = new GroovyBean();
            bean.setGroovyProperty("value");
    
            assertThat(((Bean) bean).getProperty("groovyProperty"), equalTo((Object) "value"));
    
            bean.setProperty("groovyProperty", "new value");
    
            assertThat(((Bean) bean).getProperty("groovyProperty"), equalTo((Object) "new value"));
            assertThat(bean.getGroovyProperty(), equalTo((Object) "new 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)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensibleDynamicObjectTestHelper.groovy

    //    }
    
    //    void setProperty(String name, Object value) {
    //        super.setProperty(name, value)
    //    }
    }
    
    public class GroovyBean extends DynamicBean {
        String groovyProperty
    
        def groovyMethod(a, b) {
            "groovy:$a.$b".toString()
        }
    }
    
    class DynamicGroovyBean {
        
        private holder = null;
        
        Map called = [:]
        
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top