提交 de74af60 编写于 作者: A ascrutae

remove code

上级 cd358e57
package com.a.eye.skywalking.sniffer.mock.plugin;
import com.a.eye.skywalking.api.plugin.interceptor.enhance.ClassEnhancePluginDefine;
public class InstrumentationAssert {
private ClassEnhancePluginDefine instrumentationClass;
private String enhanceClass;
public InstrumentationAssert(Class instrumentationClass) {
try {
this.instrumentationClass = (ClassEnhancePluginDefine) instrumentationClass.newInstance();
} catch (Exception e) {
e.printStackTrace();
}
}
public InstrumentationAssert enhanceClass(String enhanceClass) {
this.enhanceClass = enhanceClass;
return this;
}
public InstrumentationAssert constructor() {
return this;
}
public void withParamType(Class... paramType) {
}
}
package com.a.eye.skywalking.sniffer.mock.plugin;
import org.junit.Test;
import static net.bytebuddy.matcher.ElementMatchers.named;
public class InstrumentationAssertTest {
@Test
public void testAssert() {
new InstrumentationAssert(Object.class).enhanceClass("")
.constructor().withParamType(Class.class, Object.class);
/*.and(assertMethod("").withParamType())*/
// new InstrumentationAssert(Object.class).enhanceClass("").allMethod()
// .and(assertConstructor().withParamType(Class.class, Object.class));
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册