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;
|
|
|
|
|
2015-10-15 20:16:18 +00:00
|
|
|
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 LambdaExpr2 {
|
|
|
|
|
|
|
|
public final static String rootDirectory = System.getProperty("user.dir")+"/test/bytecode/";
|
|
|
|
public final static String testFile = "LambdaExpr2.jav";
|
|
|
|
public final static String outputFile = "LambdaExpr2.class";
|
|
|
|
|
|
|
|
@Test
|
2015-10-15 20:16:18 +00:00
|
|
|
@Ignore
|
2015-09-29 16:18:06 +00:00
|
|
|
public void test() {
|
|
|
|
SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory+outputFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|