Test angefügt
This commit is contained in:
parent
2511d95a9f
commit
1a655943ed
13
test/plugindevelopment/TypeInsertTests/Recursive.jav
Normal file
13
test/plugindevelopment/TypeInsertTests/Recursive.jav
Normal file
@ -0,0 +1,13 @@
|
||||
class Recursive{
|
||||
|
||||
var = "test";
|
||||
|
||||
methode1(a){
|
||||
return methode2(a);
|
||||
}
|
||||
|
||||
String methode2(b){
|
||||
return methode1(var);
|
||||
}
|
||||
|
||||
}
|
18
test/plugindevelopment/TypeInsertTests/ReursiveTest.java
Normal file
18
test/plugindevelopment/TypeInsertTests/ReursiveTest.java
Normal file
@ -0,0 +1,18 @@
|
||||
package plugindevelopment.TypeInsertTests;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class ReursiveTest {
|
||||
|
||||
private static final String TEST_FILE = "Recursive.jav";
|
||||
|
||||
@Test
|
||||
public void run(){
|
||||
Vector<String> mustContain = new Vector<String>();
|
||||
//mustContain.add("A a");
|
||||
MultipleTypesInsertTester.test(this.TEST_FILE, mustContain);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user