Searched refs:classesToMock (Results 1 – 2 of 2) sorted by relevance
/external/dexmaker/ |
D | bug-8108255.patch | 5 Class[] classesToMock = new Class[extraInterfaces.length + 1]; 6 classesToMock[0] = typeToMock; 7 System.arraycopy(extraInterfaces, 0, classesToMock, 1, extraInterfaces.length); 11 - classesToMock, invocationHandler); 12 + T mock = (T) Proxy.newProxyInstance(contextClassLoader, classesToMock,
|
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
D | DexmakerMockMaker.java | 47 Class[] classesToMock = new Class[extraInterfaces.length + 1]; in createMock() local 48 classesToMock[0] = typeToMock; in createMock() 49 System.arraycopy(extraInterfaces, 0, classesToMock, 1, extraInterfaces.length); in createMock() 52 …T mock = (T) Proxy.newProxyInstance(typeToMock.getClassLoader(), classesToMock, invocationHandler); in createMock()
|