forked from JavaTX/JavaCompilerCore
Tests angefügt
This commit is contained in:
parent
d6c75463ca
commit
585ca78de8
14
test/plugindevelopment/TypeInsertTests/LambdaTest23.jav
Normal file
14
test/plugindevelopment/TypeInsertTests/LambdaTest23.jav
Normal file
@ -0,0 +1,14 @@
|
||||
import java.util.Vector;
|
||||
|
||||
class Matrix extends Vector<Vector<Integer>> {
|
||||
|
||||
Matrix mul(m){
|
||||
ret;
|
||||
ret = new Matrix();
|
||||
i;
|
||||
i = this.size();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
}
|
16
test/plugindevelopment/TypeInsertTests/LambdaTest23.java
Normal file
16
test/plugindevelopment/TypeInsertTests/LambdaTest23.java
Normal file
@ -0,0 +1,16 @@
|
||||
package plugindevelopment.TypeInsertTests;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class LambdaTest23 {
|
||||
private static final String TEST_FILE = "LambdaTest23.jav";
|
||||
|
||||
@Test
|
||||
public void run(){
|
||||
Vector<String> mustContain = new Vector<String>();
|
||||
mustContain.add("Matrix ret");
|
||||
MultipleTypesInsertTester.testSingleInsert(this.TEST_FILE, mustContain);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user