1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00

Need constructor to remove compile error

This commit is contained in:
Sebastien Marineau 2003-03-06 16:13:24 +00:00
parent 2ef508ee7f
commit ec260cc84a
2 changed files with 11 additions and 0 deletions

View file

@ -25,6 +25,11 @@ import org.eclipse.cdt.internal.core.parser.util.Name;
*/
public class DOMTests extends TestCase {
public DOMTests( String arg )
{
super( arg );
}
public TranslationUnit parse(String code) throws Exception {
DOMBuilder domBuilder = new DOMBuilder();
Parser parser = new Parser(code, domBuilder);

View file

@ -19,6 +19,12 @@ import org.eclipse.cdt.internal.core.parser.ParserSymbolTableException;
public class ParserSymbolTableTest extends TestCase {
public ParserSymbolTable table = null;
public ParserSymbolTableTest( String arg )
{
super( arg );
}
public ParserSymbolTable newTable(){
table = new ParserSymbolTable();
return table;