Update of /cvsroot/pydev/org.python.pydev.parser/tests/org/python/pydev/parser/fastparser
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27412/tests/org/python/pydev/parser/fastparser
Added Files:
FastDefinitionsParserTest.java
Log Message:
Starting the creation of a fast way to get tokens that represent definitions -- to make the process of creating context insensitive info faster
-- it's currently too slow because it relies on having the full parse to get only a part of the actually needed info.
--- NEW FILE: FastDefinitionsParserTest.java ---
package org.python.pydev.parser.fastparser;
import junit.framework.TestCase;
public class FastDefinitionsParserTest extends TestCase {
protected void setUp() throws Exception {
super.setUp();
}
protected void tearDown() throws Exception {
super.tearDown();
}
public static void main(String[] args) {
try {
FastDefinitionsParserTest test = new FastDefinitionsParserTest();
test.setUp();
test.testDefinitionsParser();
test.tearDown();
junit.textui.TestRunner.run(FastDefinitionsParserTest.class);
} catch (Throwable e) {
e.printStackTrace();
}
}
public void testDefinitionsParser() {
FastDefinitionsParser.parse("class Bar:pass");
}
}
|