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

Unified Diff: tools/grit/grit/node/io_unittest.py

Issue 7269003: Change grit to depend on test data in the main repository. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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/grit/grit/grit_runner_unittest.py ('k') | tools/grit/grit/node/misc_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/node/io_unittest.py
diff --git a/tools/grit/grit/node/io_unittest.py b/tools/grit/grit/node/io_unittest.py
index f8e83a8f0c978fbbb5c8c8529db5f7b631f30ae5..af819e5cced44bec05cdc661396da2c74530e1e0 100644
--- a/tools/grit/grit/node/io_unittest.py
+++ b/tools/grit/grit/node/io_unittest.py
@@ -45,7 +45,7 @@ class FileNodeUnittest(unittest.TestCase):
grd = grd_reader.Parse(StringIO.StringIO('''<?xml version="1.0" encoding="UTF-8"?>
<grit latest_public_release="2" source_lang_id="en-US" current_release="3" base_dir=".">
<translations>
- <file path="fr.xtb" lang="fr" />
+ <file path="generated_resources_fr.xtb" lang="fr" />
</translations>
<release seq="3">
<messages>
@@ -53,7 +53,7 @@ class FileNodeUnittest(unittest.TestCase):
<message name="ID_HELLO_USER">Hello <ph name="USERNAME">%s<ex>Joi</ex></ph></message>
</messages>
</release>
- </grit>'''), util.PathFromRoot('grit/test/data'))
+ </grit>'''), util.PathFromRoot('grit/testdata'))
grd.RunGatherers(recursive=True)
self.failUnless(True)
@@ -62,7 +62,7 @@ class FileNodeUnittest(unittest.TestCase):
<grit latest_public_release="2" source_lang_id="en-US" current_release="3" base_dir=".">
<translations>
<if expr="lang == 'fr'">
- <file path="fr.xtb" lang="fr" />
+ <file path="generated_resources_fr.xtb" lang="fr" />
</if>
</translations>
<release seq="3">
@@ -71,7 +71,7 @@ class FileNodeUnittest(unittest.TestCase):
<message name="ID_HELLO_USER">Hello <ph name="USERNAME">%s<ex>Joi</ex></ph></message>
</messages>
</release>
- </grit>'''), util.PathFromRoot('grit/test/data'))
+ </grit>'''), util.PathFromRoot('grit/testdata'))
grd.SetOutputContext('en', {})
grd.RunGatherers(recursive=True)
« no previous file with comments | « tools/grit/grit/grit_runner_unittest.py ('k') | tools/grit/grit/node/misc_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698