eine neue Testfaelle

This commit is contained in:
Martin Plümicke 2015-01-02 12:46:29 +01:00
parent 8e1d7f703c
commit b318a315a6
5 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,7 @@
import java.util.Vector;
class Matrix3 extends Vector<Vector<Integer>> {
op = (f) -> f.apply(this);
}

View File

@ -0,0 +1,5 @@
class Matrix3 extends Vector<Vector<Integer>> {
op = (f) -> f.apply(this);
}

View File

@ -0,0 +1,20 @@
package plugindevelopment.TypeInsertTests;
import java.util.Vector;
import org.junit.Test;
import de.dhbwstuttgart.logger.Logger;
import de.dhbwstuttgart.logger.LoggerConfiguration;
import de.dhbwstuttgart.logger.Section;
public class Matrix3 {
private static final String TEST_FILE = "Matrix3.jav";
@Test
public void run(){
Vector<String> mustContain = new Vector<String>();
mustContain.add("TestIfStmt var");
MultipleTypesInsertTester.testSingleInsert(this.TEST_FILE, mustContain);
}
}

View File

@ -0,0 +1,6 @@
import java.util.Vector;
class Matrix extends Vector<Vector<Integer>> {
op = (f) -> f.apply(this);
}

View File

@ -0,0 +1,20 @@
package plugindevelopment.TypeInsertTests;
import java.util.Vector;
import org.junit.Test;
import de.dhbwstuttgart.logger.Logger;
import de.dhbwstuttgart.logger.LoggerConfiguration;
import de.dhbwstuttgart.logger.Section;
public class Matrix_lambda {
private static final String TEST_FILE = "Matrix_lambda.jav";
@Test
public void run(){
Vector<String> mustContain = new Vector<String>();
mustContain.add("TestIfStmt var");
MultipleTypesInsertTester.testSingleInsert(this.TEST_FILE, mustContain);
}
}