Home | History | Annotate | Download | only in bytebuddy

Lines Matching defs:mocks

70  * Important behavioral changes when using inline-mocks:
73 * the mocked type. Mockito voluntarily never mocks package-visible methods within <code>java.*</code> packages.</li>
76 * <li>Mockito can no longer mock <code>native</code> methods. Inline mocks require byte code manipulation of a
82 * Note that inline mocks require a Java agent to be attached. Mockito will attempt an attachment of a Java agent upon
83 * loading the mock maker for creating inline mocks. Such runtime attachment is only possible when using a JVM that
105 "Byte Buddy requires retransformation for creating inline mocks. This feature is unavailable on the current VM.",
168 private final WeakConcurrentMap<Object, MockMethodInterceptor> mocks = new WeakConcurrentMap.WithInlinedExpunction<Object, MockMethodInterceptor>();
177 bytecodeGenerator = new TypeCachingBytecodeGenerator(new InlineBytecodeGenerator(INSTRUMENTATION, mocks), true);
188 mocks.put(instance, mockMethodInterceptor);
225 "You are seeing this disclaimer because Mockito is configured to create inlined mocks.",
226 "You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.",
236 "You are seeing this disclaimer because Mockito is configured to create inlined mocks.",
237 "You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.",
252 "You are seeing this disclaimer because Mockito is configured to create inlined mocks.",
253 "You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.",
273 MockMethodInterceptor interceptor = mocks.get(mock);
284 mocks.put(mock, mockMethodInterceptor);