Tests angefügt

This commit is contained in:
JanUlrich 2014-07-16 18:39:06 +02:00
parent 45d176aed2
commit 42c47fbe86
4 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,9 @@
class Test{
m;
<CT> CT methode(){
return m;
}
}

View 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);
}
}

View File

@ -0,0 +1,9 @@
class Test{
<A extends AE, AE extends CT> A m;
<CT> CT methode(){
return m;
}
}

View 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);
}
}