34e632b872
Reduce ausgetauscht bei ArgPara und Returntype modified: ../../src/de/dhbwstuttgart/typeinference/typeAlgo/TYPEStmt.java modified: ../../src/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java isUndefinedPair korrigiert. modified: ../../test/bytecode/LambdaTest.java modified: ../../test/bytecode/javFiles/Plus.jav modified: ../../test/bytecode/javFiles/RelOps.jav
24 lines
486 B
Java
24 lines
486 B
Java
package bytecode;
|
|
|
|
import java.io.File;
|
|
|
|
import org.junit.Test;
|
|
|
|
import de.dhbwstuttgart.core.JavaTXCompiler;
|
|
|
|
public class LambdaTest {
|
|
private static String path;
|
|
private static File fileToTest;
|
|
private static JavaTXCompiler compiler;
|
|
|
|
@Test
|
|
public void generateBC() throws Exception {
|
|
path = System.getProperty("user.dir")+"/test/bytecode/javFiles/Lambda.jav";
|
|
fileToTest = new File(path);
|
|
compiler = new JavaTXCompiler(fileToTest);
|
|
compiler.generateBytecode();
|
|
}
|
|
|
|
|
|
}
|