forked from JavaTX/JavaCompilerCore
23 lines
474 B
Java
23 lines
474 B
Java
package bytecode;
|
|
|
|
import org.junit.Ignore;
|
|
import org.junit.Test;
|
|
|
|
public class ForTest extends SourceFileBytecodeTest{
|
|
@Override
|
|
protected void init() {
|
|
testName = "ForTest";
|
|
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);
|
|
}
|
|
}
|