forked from JavaTX/JavaCompilerCore
Neuer Testfall angefügt
This commit is contained in:
parent
26f35cfeb6
commit
4e394ae12c
8
test/plugindevelopment/TypeInsertTests/LambdaTest25.jav
Normal file
8
test/plugindevelopment/TypeInsertTests/LambdaTest25.jav
Normal file
@ -0,0 +1,8 @@
|
||||
import java.util.Vector;
|
||||
|
||||
class ImportGeneric {
|
||||
|
||||
m (Vector<Integer> x) {
|
||||
return x.elementAt(1);
|
||||
}
|
||||
}
|
16
test/plugindevelopment/TypeInsertTests/LambdaTest25.java
Normal file
16
test/plugindevelopment/TypeInsertTests/LambdaTest25.java
Normal file
@ -0,0 +1,16 @@
|
||||
package plugindevelopment.TypeInsertTests;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class LambdaTest25 {
|
||||
private static final String TEST_FILE = "LambdaTest25.jav";
|
||||
|
||||
@Test
|
||||
public void run(){
|
||||
Vector<String> mustContain = new Vector<String>();
|
||||
mustContain.add("Integer m");
|
||||
MultipleTypesInsertTester.testSingleInsert(this.TEST_FILE, mustContain);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user