remove code

This commit is contained in:
ascrutae 2017-02-28 11:00:20 +08:00
parent cd358e5766
commit de74af602b
2 changed files with 0 additions and 53 deletions

View File

@ -1,31 +0,0 @@
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) {
}
}

View File

@ -1,22 +0,0 @@
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));
}
}