Searched refs:classHandler (Results 1 – 9 of 9) sorted by relevance
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | RobolectricInternals.java | 10 private static ClassHandler classHandler; // initialized via magic by SdkEnvironment field in RobolectricInternals 20 classHandler.classInitializing(clazz); in classInitializing() 25 return classHandler.initializing(instance); in initializing() 30 return classHandler.methodInvoked(signature, isStatic, theClass); in methodInvoked() 34 return classHandler.getShadowCreator(caller); in getShadowCreator() 39 return classHandler.findShadowMethodHandle(theClass, name, methodType, isStatic); in findShadowMethodHandle() 44 return classHandler.stripStackTrace(exception); in cleanStackTrace() 49 return classHandler.intercept(signature, instance, params, theClass); in intercept()
|
D | Sandbox.java | 12 public ClassHandler classHandler; // todo not public field in Sandbox 46 public void configure(ClassHandler classHandler, Interceptors interceptors) { in configure() argument 47 this.classHandler = classHandler; in configure() 56 setStaticField(robolectricInternalsClass, "classHandler", classHandler); in configure()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | CoverageTest.java | 38 Handler classHandler = SerializableTestUtility.getHandler(className); in testSerialization() local 39 if (classHandler == null) { in testSerialization() 45 Object[] testObjects = classHandler.getTestObjects(); in testSerialization() 49 if (!classHandler.hasSameBehavior(serializedObjects[i], testObjects[i])) { in testSerialization()
|
D | SerializableWriter.java | 89 Handler classHandler = SerializableTestUtility.getHandler(className); in serialize() local 90 if (classHandler == null) { in serialize() 94 Object[] testObjects = classHandler.getTestObjects(); in serialize()
|
D | CompatibilityTest.java | 89 Handler classHandler = SerializableTestUtility.getHandler(holder.className); in testCompatibility() local 91 Object[] testObjects = classHandler.getTestObjects(); in testCompatibility() 93 if (!classHandler.hasSameBehavior(oldObjects[i], testObjects[i])) { in testCompatibility()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | CoverageTest.java | 41 Handler classHandler = SerializableTestUtility.getHandler(className); in testSerialization() local 42 if (classHandler == null) { in testSerialization() 48 Object[] testObjects = classHandler.getTestObjects(); in testSerialization() 52 if (!classHandler.hasSameBehavior(serializedObjects[i], testObjects[i])) { in testSerialization()
|
D | SerializableWriter.java | 92 Handler classHandler = SerializableTestUtility.getHandler(className); in serialize() local 93 if (classHandler == null) { in serialize() 97 Object[] testObjects = classHandler.getTestObjects(); in serialize()
|
D | CompatibilityTest.java | 92 Handler classHandler = SerializableTestUtility.getHandler(holder.className); in testCompatibility() local 94 Object[] testObjects = classHandler.getTestObjects(); in testCompatibility() 96 if (!classHandler.hasSameBehavior(oldObjects[i], testObjects[i])) { in testCompatibility()
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | SandboxClassLoaderTest.java | 88 private MyClassHandler classHandler = new MyClassHandler(transcript); field in SandboxClassLoaderTest 227 classHandler.valueToReturn = 456; in callingNormalMethodReturningIntegerShouldInvokeClassHandler() 240 classHandler.valueToReturn = 456; in callingMethodReturningDoubleShouldInvokeClassHandler() 285 classHandler.valueToReturn = true; in shouldHandleMethodsReturningBoolean() 299 classHandler.valueToReturn = new String[]{"miao, mieuw"}; in shouldHandleMethodsReturningArray() 393 classHandler.valueToReturn = true; in shouldAlsoInstrumentEqualsAndHashCodeAndToStringWhenDeclared() 399 classHandler.valueToReturn = 42; in shouldAlsoInstrumentEqualsAndHashCodeAndToStringWhenDeclared() 465 classHandler.valueToReturnFromIntercept = (byte) 10; in byte_shouldBeHandledAsReturnValueFromInterceptHandler() 472 classHandler.valueToReturnFromIntercept = new byte[]{10, 12, 14}; in byteArray_shouldBeHandledAsReturnValueFromInterceptHandler() 479 classHandler.valueToReturnFromIntercept = 20; in int_shouldBeHandledAsReturnValueFromInterceptHandler() [all …]
|