From 20b16323195f17f3455d0ccd5704c3494708fa97 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Wed, 25 Feb 2015 11:33:06 +0100 Subject: [PATCH] =?UTF-8?q?Testf=C3=A4lle=20ausgebessert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/plugindevelopment/TypeInsertTests/LambdaTest1.java | 3 ++- test/plugindevelopment/TypeInsertTests/LambdaTest17.jav | 3 ++- test/plugindevelopment/TypeInsertTests/LambdaTest23.java | 2 +- test/plugindevelopment/TypeInsertTests/LambdaTest3.jav | 8 +++++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/test/plugindevelopment/TypeInsertTests/LambdaTest1.java b/test/plugindevelopment/TypeInsertTests/LambdaTest1.java index f9d3f0c2..740c8df4 100644 --- a/test/plugindevelopment/TypeInsertTests/LambdaTest1.java +++ b/test/plugindevelopment/TypeInsertTests/LambdaTest1.java @@ -12,7 +12,8 @@ public class LambdaTest1 { public void run(){ Vector mustContain = new Vector(); - mustContain.add("Fun0>> op"); + mustContain.add("Fun0<"); + mustContain.add("java.lang.String>>> op"); MultipleTypesInsertTester.test(this.TEST_FILE, mustContain); } diff --git a/test/plugindevelopment/TypeInsertTests/LambdaTest17.jav b/test/plugindevelopment/TypeInsertTests/LambdaTest17.jav index 7a42eb93..a211b625 100644 --- a/test/plugindevelopment/TypeInsertTests/LambdaTest17.jav +++ b/test/plugindevelopment/TypeInsertTests/LambdaTest17.jav @@ -1,8 +1,9 @@ class ConstructorTest1{} class ConstructorTest2{ -var; + void method(){ + var; var = new ConstructorTest1(); } diff --git a/test/plugindevelopment/TypeInsertTests/LambdaTest23.java b/test/plugindevelopment/TypeInsertTests/LambdaTest23.java index e406551f..f97260c9 100644 --- a/test/plugindevelopment/TypeInsertTests/LambdaTest23.java +++ b/test/plugindevelopment/TypeInsertTests/LambdaTest23.java @@ -10,7 +10,7 @@ public class LambdaTest23 { @Test public void run(){ Vector mustContain = new Vector(); - mustContain.add("Matrix ret"); + mustContain.add("java.util.Vector v1;"); MultipleTypesInsertTester.testSingleInsert(this.TEST_FILE, mustContain); } } diff --git a/test/plugindevelopment/TypeInsertTests/LambdaTest3.jav b/test/plugindevelopment/TypeInsertTests/LambdaTest3.jav index 64a50f56..1e47f863 100644 --- a/test/plugindevelopment/TypeInsertTests/LambdaTest3.jav +++ b/test/plugindevelopment/TypeInsertTests/LambdaTest3.jav @@ -1,5 +1,7 @@ class LambdaTest{ -var; -Fun0 op = () -> {return var;}; - + void methode(){ + var; + Fun0 op; + op = () -> {return var;}; + } } \ No newline at end of file