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

Unified Diff: tools/grit/grit/tool/transl2tc_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/testdata/versions.html ('k') | tools/grit/grit/xtb_reader_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/tool/transl2tc_unittest.py
diff --git a/tools/grit/grit/tool/transl2tc_unittest.py b/tools/grit/grit/tool/transl2tc_unittest.py
index cc65020850610d4d49f799fa465b4ad6e7221ede..0635735c8acc9af26cf57e2f04f7924b56365279 100644
--- a/tools/grit/grit/tool/transl2tc_unittest.py
+++ b/tools/grit/grit/tool/transl2tc_unittest.py
@@ -49,7 +49,7 @@ how are you?
'''.strip())
def testExtractTranslations(self):
- path = util.PathFromRoot('grit/test/data')
+ path = util.PathFromRoot('grit/testdata')
current_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=".">
<release seq="3">
@@ -86,9 +86,9 @@ how are you?
</grit>'''), path)
current_grd.RunGatherers(recursive=True)
- source_rc_path = util.PathFromRoot('grit/test/data/source.rc')
+ source_rc_path = util.PathFromRoot('grit/testdata/source.rc')
source_rc = file(source_rc_path).read()
- transl_rc_path = util.PathFromRoot('grit/test/data/transl.rc')
+ transl_rc_path = util.PathFromRoot('grit/testdata/transl.rc')
transl_rc = file(transl_rc_path).read()
tool = transl2tc.TranslationToTc()
« no previous file with comments | « tools/grit/grit/testdata/versions.html ('k') | tools/grit/grit/xtb_reader_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698