forked from JavaTX/JavaCompilerCore
GenTypeTest anfügen
This commit is contained in:
parent
1369161f12
commit
a549843f05
4
test/plugindevelopment/TypeInsertTests/GenTypeTest.jav
Normal file
4
test/plugindevelopment/TypeInsertTests/GenTypeTest.jav
Normal file
@ -0,0 +1,4 @@
|
||||
class Test<A>{
|
||||
A a;
|
||||
b = a;
|
||||
}
|
19
test/plugindevelopment/TypeInsertTests/GenTypeTest.java
Normal file
19
test/plugindevelopment/TypeInsertTests/GenTypeTest.java
Normal file
@ -0,0 +1,19 @@
|
||||
package plugindevelopment.TypeInsertTests;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class GenTypeTest {
|
||||
|
||||
private static final String TEST_FILE = "GenTypeTest.jav";
|
||||
|
||||
@Test
|
||||
public void run(){
|
||||
Vector<String> mustContain = new Vector<String>();
|
||||
|
||||
mustContain.add("A b");
|
||||
MultipleTypesInsertTester.test(this.TEST_FILE, mustContain);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user