JavaTXCompilerInJavaTX/test/bytecode/stackmaptable/IfStatementTest.java

25 lines
565 B
Java
Raw Normal View History

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