Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: tools/lexer_generator/automata_test.py

Issue 159853009: Experimental parser: split off dot processing (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/lexer_generator/action.py ('k') | tools/lexer_generator/automaton.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lexer_generator/automata_test.py
diff --git a/tools/lexer_generator/automata_test.py b/tools/lexer_generator/automata_test.py
index 63142f21fbf9ec19503b9d4856481d3e3f60bdf0..2d2c22e1ca776cb100c4750ac5260d1bcef1fc40 100644
--- a/tools/lexer_generator/automata_test.py
+++ b/tools/lexer_generator/automata_test.py
@@ -26,6 +26,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import unittest
+from dot_utilities import *
from automaton import Action
from regex_parser import RegexParser
from transition_keys import TransitionKey, KeyEncoding
@@ -81,7 +82,7 @@ class AutomataTestCase(unittest.TestCase):
def test_can_construct_dot(self):
for (regex, matches, not_matches) in self.__test_data:
for automaton in self.__build_automata(regex):
- automaton.to_dot()
+ automaton_to_dot(automaton)
def test_minimization(self):
encoding = self.__encoding
« no previous file with comments | « tools/lexer_generator/action.py ('k') | tools/lexer_generator/automaton.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698