JavaPatternMatching/test/bytecode/FieldDeclarationTest.java

21 lines
470 B
Java
Raw Normal View History

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