use of com.navercorp.pinpoint.profiler.instrument.ASMClass in project pinpoint by naver.
the class MethodInterfaceTest method isInterceptable.
@Test
public void isInterceptable() throws Exception {
ClassNode classNode = TestClassLoader.get("com.navercorp.test.pinpoint.jdk8.interfaces.MethodInterface");
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
EngineComponent engineComponent = mock(EngineComponent.class);
ASMClass clazz = new ASMClass(engineComponent, pluginContext, classLoader, null, classNode);
assertTrue(clazz.isInterceptable());
}
use of com.navercorp.pinpoint.profiler.instrument.ASMClass in project pinpoint by pinpoint-apm.
the class MethodInterfaceTest method isInterceptable.
@Test
public void isInterceptable() throws Exception {
ClassNode classNode = TestClassLoader.get("com.navercorp.test.pinpoint.jdk8.interfaces.MethodInterface");
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
EngineComponent engineComponent = mock(EngineComponent.class);
ASMClass clazz = new ASMClass(engineComponent, pluginContext, classLoader, null, classNode);
assertTrue(clazz.isInterceptable());
}
Aggregations