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

Unified Diff: grit/node/misc_unittest.py

Issue 69463002: Properly substitute variables that reference paths outside SRCDIR. (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 | « grit/node/misc.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/node/misc_unittest.py
===================================================================
--- grit/node/misc_unittest.py (revision 137)
+++ grit/node/misc_unittest.py (working copy)
@@ -46,6 +46,12 @@
self.assertEqual({},
id_dict.get('out/Release/obj/gen/devtools/devtools.grd', None))
+ src_dir, id_dict = misc._ReadFirstIdsFromFile(
+ test_resource_ids,
+ {
+ 'SHARED_INTERMEDIATE_DIR': '/outside/src_dir',
+ })
+ self.assertEqual({}, id_dict.get('devtools.grd', None))
class IfNodeUnittest(unittest.TestCase):
def testIffyness(self):
« no previous file with comments | « grit/node/misc.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698