forked from JavaTX/JavaCompilerCore
Merge branch 'bytecode' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecode
This commit is contained in:
commit
f23a341d72
Binary file not shown.
5
test/plugindevelopment/TypeInsertTests/LambdaTest2_3.jav
Normal file
5
test/plugindevelopment/TypeInsertTests/LambdaTest2_3.jav
Normal file
@ -0,0 +1,5 @@
|
||||
class LambdaTest{
|
||||
|
||||
op = (m) -> (f) -> {f.apply(this,m); return this;};
|
||||
|
||||
}
|
23
test/plugindevelopment/TypeInsertTests/LambdaTest2_3.java
Normal file
23
test/plugindevelopment/TypeInsertTests/LambdaTest2_3.java
Normal file
@ -0,0 +1,23 @@
|
||||
package plugindevelopment.TypeInsertTests;
|
||||
|
||||
import de.dhbwstuttgart.typeinference.Menge;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import de.dhbwstuttgart.logger.Logger;
|
||||
import de.dhbwstuttgart.logger.LoggerConfiguration;
|
||||
import de.dhbwstuttgart.logger.Section;
|
||||
|
||||
public class LambdaTest2_3 {
|
||||
|
||||
private static final String TEST_FILE = "LambdaTest2_3.jav";
|
||||
|
||||
@Test
|
||||
public void run(){
|
||||
Menge<String> mustContain = new Menge<String>();
|
||||
//mustContain.add("S m");
|
||||
MultipleTypesInsertTester.test(this.TEST_FILE, mustContain,
|
||||
new LoggerConfiguration().setOutput(Section.ASSUMPTIONS, System.out));
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user