JavaCompilerCore/test/bytecode/IfElseStatementTest.java

22 lines
469 B
Java

package bytecode;
import org.junit.Test;
public class IfElseStatementTest extends SourceFileBytecodeTest{
@Override
protected void init() {
testName = "IfElseStatement";
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);
}
}