forked from JavaTX/JavaCompilerCore
Tests angefügt
This commit is contained in:
parent
45d176aed2
commit
42c47fbe86
9
test/plugindevelopment/TypeInsertTests/LambdaTest11.jav
Normal file
9
test/plugindevelopment/TypeInsertTests/LambdaTest11.jav
Normal file
@ -0,0 +1,9 @@
|
||||
class Test{
|
||||
|
||||
m;
|
||||
|
||||
<CT> CT methode(){
|
||||
return m;
|
||||
}
|
||||
|
||||
}
|
16
test/plugindevelopment/TypeInsertTests/LambdaTest11.java
Normal file
16
test/plugindevelopment/TypeInsertTests/LambdaTest11.java
Normal file
@ -0,0 +1,16 @@
|
||||
package plugindevelopment.TypeInsertTests;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class LambdaTest11 {
|
||||
private static final String TEST_FILE = "LambdaTest11.jav";
|
||||
|
||||
@Test
|
||||
public void run(){
|
||||
Vector<String> mustContain = new Vector<String>();
|
||||
//mustContain.add("A a");
|
||||
MultipleTypesInsertTester.test(this.TEST_FILE, mustContain);
|
||||
}
|
||||
}
|
9
test/plugindevelopment/TypeInsertTests/LambdaTest12.jav
Normal file
9
test/plugindevelopment/TypeInsertTests/LambdaTest12.jav
Normal file
@ -0,0 +1,9 @@
|
||||
class Test{
|
||||
|
||||
<A extends AE, AE extends CT> A m;
|
||||
|
||||
<CT> CT methode(){
|
||||
return m;
|
||||
}
|
||||
|
||||
}
|
16
test/plugindevelopment/TypeInsertTests/LambdaTest12.java
Normal file
16
test/plugindevelopment/TypeInsertTests/LambdaTest12.java
Normal file
@ -0,0 +1,16 @@
|
||||
package plugindevelopment.TypeInsertTests;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class LambdaTest12 {
|
||||
private static final String TEST_FILE = "LambdaTest12.jav";
|
||||
|
||||
@Test
|
||||
public void run(){
|
||||
Vector<String> mustContain = new Vector<String>();
|
||||
//mustContain.add("A a");
|
||||
MultipleTypesInsertTester.test(this.TEST_FILE, mustContain);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user