JavaCompilerCore/test/bytecode/stackmaptable/IfStatementTest.java
2016-04-26 15:52:22 +02:00

25 lines
565 B
Java

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);
}
}