Id hinzugefuegt

This commit is contained in:
Martin Plümicke 2015-09-23 10:48:55 +02:00
parent 296ffbe297
commit 84df9bd354
2 changed files with 19 additions and 0 deletions

5
test/bytecode/Id.jav Normal file
View File

@ -0,0 +1,5 @@
class Id{
Fun1<Integer, Integer> method() { return (x)-> x; }
}

14
test/bytecode/IdTest.java Normal file
View File

@ -0,0 +1,14 @@
package bytecode;
import org.junit.Test;
public class IdTest {
public final static String rootDirectory = System.getProperty("user.dir")+"/test/bytecode/";
public final static String testFile = "Id.jav";
public final static String outputFile = "Id.class";
@Test
public void test() {
SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory+outputFile);
}
}