eine neue Testfaelle
This commit is contained in:
parent
8e1d7f703c
commit
b318a315a6
7
test/plugindevelopment/MartinTestCases/Matrix3.jav
Normal file
7
test/plugindevelopment/MartinTestCases/Matrix3.jav
Normal file
@ -0,0 +1,7 @@
|
||||
import java.util.Vector;
|
||||
|
||||
class Matrix3 extends Vector<Vector<Integer>> {
|
||||
|
||||
op = (f) -> f.apply(this);
|
||||
|
||||
}
|
5
test/plugindevelopment/TypeInsertTests/Matrix3.jav
Normal file
5
test/plugindevelopment/TypeInsertTests/Matrix3.jav
Normal file
@ -0,0 +1,5 @@
|
||||
class Matrix3 extends Vector<Vector<Integer>> {
|
||||
|
||||
op = (f) -> f.apply(this);
|
||||
|
||||
}
|
20
test/plugindevelopment/TypeInsertTests/Matrix3.java
Normal file
20
test/plugindevelopment/TypeInsertTests/Matrix3.java
Normal 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);
|
||||
}
|
||||
}
|
6
test/plugindevelopment/TypeInsertTests/Matrix_lambda.jav
Normal file
6
test/plugindevelopment/TypeInsertTests/Matrix_lambda.jav
Normal file
@ -0,0 +1,6 @@
|
||||
import java.util.Vector;
|
||||
|
||||
class Matrix extends Vector<Vector<Integer>> {
|
||||
op = (f) -> f.apply(this);
|
||||
|
||||
}
|
20
test/plugindevelopment/TypeInsertTests/Matrix_lambda.java
Normal file
20
test/plugindevelopment/TypeInsertTests/Matrix_lambda.java
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user