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:
parent
2ef508ee7f
commit
ec260cc84a
2 changed files with 11 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue