forked from JavaTX/JavaCompilerCore
2a5c727400
modified: javFiles/Lambda.jav new file: javFiles/applyLambda.jav An das JavaTXExamples angepasst
24 lines
555 B
Java
24 lines
555 B
Java
package bytecode;
|
|
|
|
import java.io.File;
|
|
|
|
import org.junit.Test;
|
|
|
|
import de.dhbwstuttgart.core.JavaTXCompiler;
|
|
|
|
public class applyLambdaTest {
|
|
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/applyLambda.jav";
|
|
fileToTest = new File(path);
|
|
compiler = new JavaTXCompiler(fileToTest);
|
|
compiler.generateBytecode(System.getProperty("user.dir")+"/testBytecode/generatedBC/");
|
|
}
|
|
|
|
|
|
}
|