JavaCompilerCore/test/bytecode/IdentityFieldTest.java

21 lines
464 B
Java
Raw Normal View History

2016-03-31 06:52:23 +00:00
package bytecode;
import org.junit.Test;
public class IdentityFieldTest extends SourceFileBytecodeTest{
@Override
protected void init() {
testName = "IdentityField";
rootDirectory = System.getProperty("user.dir")+"/test/bytecode/";
}
2016-03-31 06:52:23 +00:00
@Test
public void testConstruct() throws Exception{
ClassLoader classLoader = getClassLoader();
Class cls = classLoader.loadClass(testName);
Object obj = cls.newInstance();
assertTrue(true);
2016-03-31 06:52:23 +00:00
}
}