forked from JavaTX/JavaCompilerCore
Testfälle ausgebessert
This commit is contained in:
parent
16dd89376c
commit
20b1632319
@ -12,7 +12,8 @@ public class LambdaTest1 {
|
||||
public void run(){
|
||||
Vector<String> mustContain = new Vector<String>();
|
||||
|
||||
mustContain.add("Fun0<Fun1<java.lang.String, Fun2<AH, LambdaTest, java.lang.String>>> op");
|
||||
mustContain.add("Fun0<");
|
||||
mustContain.add("java.lang.String>>> op");
|
||||
MultipleTypesInsertTester.test(this.TEST_FILE, mustContain);
|
||||
}
|
||||
|
||||
|
@ -1,8 +1,9 @@
|
||||
class ConstructorTest1{}
|
||||
|
||||
class ConstructorTest2{
|
||||
var;
|
||||
|
||||
void method(){
|
||||
var;
|
||||
var = new ConstructorTest1();
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ public class LambdaTest23 {
|
||||
@Test
|
||||
public void run(){
|
||||
Vector<String> mustContain = new Vector<String>();
|
||||
mustContain.add("Matrix ret");
|
||||
mustContain.add("java.util.Vector<java.lang.Integer> v1;");
|
||||
MultipleTypesInsertTester.testSingleInsert(this.TEST_FILE, mustContain);
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
class LambdaTest{
|
||||
var;
|
||||
Fun0<String> op = () -> {return var;};
|
||||
|
||||
void methode(){
|
||||
var;
|
||||
Fun0<String> op;
|
||||
op = () -> {return var;};
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user