JavaCompilerCore/test/bytecode/IdTest.java
2016-10-07 14:12:18 +02:00

22 lines
444 B
Java

package bytecode;
import org.junit.Test;
public class IdTest extends SourceFileBytecodeTest{
@Override
protected void init() {
testName = "Id";
rootDirectory = System.getProperty("user.dir")+"/test/bytecode/";
}
@Test
public void testConstruct() throws Exception{
ClassLoader classLoader = getClassLoader();
Class cls = classLoader.loadClass(testName);
Object obj = cls.newInstance();
assertTrue(true);
}
}