forked from JavaTX/JavaCompilerCore
Id hinzugefuegt
This commit is contained in:
parent
296ffbe297
commit
84df9bd354
5
test/bytecode/Id.jav
Normal file
5
test/bytecode/Id.jav
Normal file
@ -0,0 +1,5 @@
|
||||
class Id{
|
||||
|
||||
Fun1<Integer, Integer> method() { return (x)-> x; }
|
||||
|
||||
}
|
14
test/bytecode/IdTest.java
Normal file
14
test/bytecode/IdTest.java
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user