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

Unified Diff: grit/format/resource_map_unittest.py

Issue 1312723006: GritResourceMap: output sorted by keys Base URL: https://chromium.googlesource.com/external/grit-i18n.git@master
Patch Set: Fixed unittests, added comment 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
« grit/format/resource_map.py ('K') | « grit/format/resource_map.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/format/resource_map_unittest.py
diff --git a/grit/format/resource_map_unittest.py b/grit/format/resource_map_unittest.py
index 55de504b9442aefb48900e86961eea25b05371d9..923f0c65eaeafc7a385ed94398586806349fe101 100644
--- a/grit/format/resource_map_unittest.py
+++ b/grit/format/resource_map_unittest.py
@@ -73,8 +73,8 @@ extern const size_t kTheRcHeaderSize;''', output)
const GritResourceMap kTheRcHeader[] = {
{"IDC_KLONKMENU", IDC_KLONKMENU},
{"IDS_FIRSTPRESENT", IDS_FIRSTPRESENT},
- {"IDS_MISSING", IDS_MISSING},
{"IDS_LANGUAGESPECIFIC", IDS_LANGUAGESPECIFIC},
+ {"IDS_MISSING", IDS_MISSING},
{"IDS_THIRDPRESENT", IDS_THIRDPRESENT},
};
const size_t kTheRcHeaderSize = arraysize(kTheRcHeader);''', output)
@@ -85,10 +85,10 @@ const size_t kTheRcHeaderSize = arraysize(kTheRcHeader);''', output)
#include "base/basictypes.h"
#include "the_rc_header.h"
const GritResourceMap kTheRcHeader[] = {
- {"grit/testdata/klonk.rc", IDC_KLONKMENU},
{"abc", IDS_FIRSTPRESENT},
{"def", IDS_MISSING},
{"ghi", IDS_LANGUAGESPECIFIC},
+ {"grit/testdata/klonk.rc", IDC_KLONKMENU},
{"jkl", IDS_LANGUAGESPECIFIC},
{"mno", IDS_THIRDPRESENT},
};
@@ -211,8 +211,8 @@ const size_t kTheRcHeaderSize = arraysize(kTheRcHeader);''', output)
#include "base/basictypes.h"
#include "the_rc_header.h"
const GritResourceMap kTheRcHeader[] = {
- {"grit/testdata/klonk.rc", IDC_KLONKMENU},
{"abc", IDS_FIRSTPRESENT},
+ {"grit/testdata/klonk.rc", IDC_KLONKMENU},
{"mno", IDS_THIRDPRESENT},
};
const size_t kTheRcHeaderSize = arraysize(kTheRcHeader);''', output)
@@ -269,8 +269,8 @@ extern const size_t kTheRcHeaderSize;''', output)
#include "base/basictypes.h"
#include "the_rc_header.h"
const GritResourceMap kTheRcHeader[] = {
- {"IDS_PRODUCT_NAME", IDS_PRODUCT_NAME},
{"IDS_DEFAULT_TAB_TITLE_TITLE_CASE", IDS_DEFAULT_TAB_TITLE_TITLE_CASE},
+ {"IDS_PRODUCT_NAME", IDS_PRODUCT_NAME},
};
const size_t kTheRcHeaderSize = arraysize(kTheRcHeader);''', output)
« grit/format/resource_map.py ('K') | « grit/format/resource_map.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698