forked from JavaTX/JavaCompilerCore
Tests anfügen
This commit is contained in:
parent
0922b9e899
commit
fed7519f84
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user