JavaCompilerCore/test/bytecode/LambdaExpr2Test.java

41 lines
1.1 KiB
Java
Raw Normal View History

2015-09-29 16:18:06 +00:00
package bytecode;
import static org.junit.Assert.*;
import java.io.File;
import java.io.IOException;
import junit.framework.TestCase;
import org.junit.Ignore;
2015-09-29 16:18:06 +00:00
import org.junit.Test;
import plugindevelopment.TypeInsertTester;
import de.dhbwstuttgart.core.MyCompiler;
import de.dhbwstuttgart.core.MyCompilerAPI;
import de.dhbwstuttgart.logger.LoggerConfiguration;
import de.dhbwstuttgart.logger.Section;
import de.dhbwstuttgart.parser.JavaParser.yyException;
import de.dhbwstuttgart.typeinference.ByteCodeResult;
import de.dhbwstuttgart.typeinference.Menge;
import de.dhbwstuttgart.typeinference.TypeinferenceResultSet;
import de.dhbwstuttgart.typeinference.typedeployment.TypeInsertSet;
public class LambdaExpr2Test extends SourceFileBytecodeTest{
@Override
protected void init() {
testName = "LambdaExpr";
rootDirectory = System.getProperty("user.dir")+"/test/bytecode/";
}
2015-09-29 16:18:06 +00:00
@Test
public void testConstruct() throws Exception{
ClassLoader classLoader = getClassLoader();
2015-09-29 16:18:06 +00:00
Class cls = classLoader.loadClass(testName);
Object obj = cls.newInstance();
assertTrue(true);
}
2015-09-29 16:18:06 +00:00
}