- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for setProp3 (0.35 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy
double] } @Managed static interface MultipleProps { String getProp1(); void setProp1(String string); String getProp2(); void setProp2(String string); String getProp3(); void setProp3(String string); } def "multiple properties"() { when: def properties = extract(MultipleProps).properties
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 29.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 23:46:06 UTC 2023 - 11.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy
def bean = create(InterfacePrimitiveBean) expect: !bean.prop1 bean.setProp1(true) bean.prop1 bean.prop2 == 0 bean.setProp2(12) bean.prop2 == 12 } def canConstructInstanceOfInterfaceWithFileCollectionGetter() { def projectDir = tmpDir.testDirectory
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 16.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy
} def "plugin can create instance of interface with mutable properties"() { buildFile """ interface Thing { String getProp() void setProp(String value) } def t = objects.newInstance(Thing) assert t.prop == null t.prop = "value" assert t.prop == "value" """ expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Apr 07 02:25:12 UTC 2024 - 25.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy
def v = isolated.coerce(cl) cl.isInstance(v) v.name == "value1" } interface BeanInterface { String getProp1() void setProp1(String value) } def "creates isolated managed interface"() { def instantiator = instantiatorFactory().inject() def original = instantiator.newInstance(BeanInterface)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 17K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 38.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy
listenerManager.getBroadcaster(BuildListener).buildFinished(Stub(BuildResult)) } interface Params extends BuildServiceParameters { String getProp() void setProp(String value) } static abstract class ServiceImpl implements BuildService<Params> { static List<ServiceImpl> instances = [] String getProp() { return getParameters().prop
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 16.4K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
response.use { assertEquals(200, response.code) assertEquals(Protocol.HTTP_2, response.protocol) } // Only logs to the test logger above // Will fail if "adb shell setprop log.tag.okhttp.Http2 DEBUG" is called assertEquals(setOf(OkHttpTest::class.java.name), testHandler.calls.keys) } fun testCachedRequest() { enableTls()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 27K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy
snapshotter.snapshot(other) != snapshotter.snapshot(isolated) } interface BeanInterface { String getProp1() void setProp1(String value) } def "creates snapshot for managed interface"() { def instantiator = TestUtil.instantiatorFactory().inject() def value = instantiator.newInstance(BeanInterface)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 29.5K bytes - Viewed (0)