Tests anfügen

This commit is contained in:
JanUlrich 2015-02-06 15:41:24 +01:00
parent 0922b9e899
commit fed7519f84
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,10 @@
class OverloadingInMethod2{
<T11702297201, C extends T11702297201> Integer m () {
Fun1<Fun1, ? super C> op;
op = (m) -> (f) -> f.apply(m);
return 1;
}
}

View File

@ -0,0 +1,19 @@
package plugindevelopment.TypeInsertTests;
import java.util.Vector;
import org.junit.Test;
public class OverloadingInMethod2Simple {
private static final String TEST_FILE = "OverloadingInMethod2Simple.jav";
@Test
public void run(){
Vector<String> mustContain = new Vector<String>();
//mustContain.add("Fun0<Fun1<java.lang.String, Fun2<AH, LambdaTest, java.lang.String>>> op");
MultipleTypesInsertTester.test(this.TEST_FILE, mustContain);
}
}