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

Unified Diff: grit/tool/android2grd_unittest.py

Issue 1291173002: Remove support for product attributes in Android xml files. (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk
Patch Set: fixed >80 line Created 5 years, 4 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 | « grit/tool/android2grd.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/tool/android2grd_unittest.py
diff --git a/grit/tool/android2grd_unittest.py b/grit/tool/android2grd_unittest.py
index b40bf60002f6e0ba76bdfe912dac6ce673dcbb80..511861633891c35634a501da4b35ea0dbe68bb66 100644
--- a/grit/tool/android2grd_unittest.py
+++ b/grit/tool/android2grd_unittest.py
@@ -113,14 +113,6 @@ class Android2GrdUnittest(unittest.TestCase):
self.assertTrue(msg.IsTranslateable())
self.assertEqual(msg.attrs["desc"], "A string with placeholder.")
- def testProductAttribute(self):
- grd = self.__ParseAndroidXml([])
- messages = grd.GetChildrenOfType(message.MessageNode)
- msg = filter(lambda x: x.GetTextualIds()[0] ==
- "IDS_SIMPLE_product_nosdcard",
- messages)
- self.assertTrue(msg)
-
def testTranslatableAttribute(self):
grd = self.__ParseAndroidXml([])
messages = grd.GetChildrenOfType(message.MessageNode)
« no previous file with comments | « grit/tool/android2grd.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698