Searched refs:ExampleClass (Results 1 – 5 of 5) sorted by relevance
| /external/robolectric/shadowapi/src/test/java/org/robolectric/util/ |
| D | ReflectionHelpersTest.java | 21 assertThat(ReflectionHelpers.hasConstructor(ExampleClass.class, String.class)).isTrue(); in hasConstructor() 22 assertThat(ReflectionHelpers.hasConstructor(ExampleClass.class, int.class)).isTrue(); in hasConstructor() 23 assertThat(ReflectionHelpers.hasConstructor(ExampleClass.class, int.class, int.class)) in hasConstructor() 25 assertThat(ReflectionHelpers.hasConstructor(ExampleClass.class, double.class)).isFalse(); in hasConstructor() 26 assertThat(ReflectionHelpers.hasConstructor(ExampleClass.class, Object.class)).isFalse(); in hasConstructor() 31 assertThat(ReflectionHelpers.hasMethod(ExampleClass.class, "setName", String.class)).isTrue(); in hasMethod() 32 assertThat(ReflectionHelpers.hasMethod(ExampleClass.class, "setName", Integer.class)).isFalse(); in hasMethod() 33 assertThat(ReflectionHelpers.hasMethod(ExampleClass.class, "setFoo", String.class)).isFalse(); in hasMethod() 34 assertThat(ReflectionHelpers.hasMethod(ExampleClass.class, "getName")).isTrue(); in hasMethod() 35 assertThat(ReflectionHelpers.hasMethod(ExampleClass.class, "getName", Integer.class)).isFalse(); in hasMethod() [all …]
|
| /external/moshi/examples/src/main/java/com/squareup/moshi/recipes/ |
| D | JsonString.kt | 31 data class ExampleClass( in <lambda>() class 65 val example: ExampleClass = moshi.adapter(ExampleClass::class.java).fromJson(json)!! in main()
|
| /external/sandboxed-api/sandboxed_api/tools/python_generator/testdata/ |
| D | tests.cc | 26 class ExampleClass { class 61 int function_using_class(const a::b::ExampleClass* ptr_to_class) { in function_using_class()
|
| /external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/ |
| D | ProxyBuilderTest.java | 81 public static class ExampleClass { class in ProxyBuilderTest 96 ExampleClass proxy = proxyFor(ExampleClass.class).build(); in testExampleOperation()
|
| /external/python/cpython3/Doc/library/ |
| D | unittest.mock.rst | 924 >>> class ExampleClass: 930 >>> a_mock = AsyncMock(ExampleClass) 935 >>> mock = Mock(ExampleClass)
|