Testfälle ausgebessert

This commit is contained in:
JanUlrich 2015-02-25 11:33:06 +01:00
parent 16dd89376c
commit 20b1632319
4 changed files with 10 additions and 6 deletions

View File

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

View File

@ -1,8 +1,9 @@
class ConstructorTest1{}
class ConstructorTest2{
var;
void method(){
var;
var = new ConstructorTest1();
}

View File

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

View File

@ -1,5 +1,7 @@
class LambdaTest{
var;
Fun0<String> op = () -> {return var;};
void methode(){
var;
Fun0<String> op;
op = () -> {return var;};
}
}