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

Unified Diff: grit/format/policy_templates/writers/adm_writer_unittest.py

Issue 692033002: Set the MAXLEN/maxLength attribute for strings in ADM[X] templates. (Closed) Base URL: https://chromium.googlesource.com/external/grit-i18n.git@master
Patch Set: fixed upload Created 6 years, 2 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
Index: grit/format/policy_templates/writers/adm_writer_unittest.py
diff --git a/grit/format/policy_templates/writers/adm_writer_unittest.py b/grit/format/policy_templates/writers/adm_writer_unittest.py
index 82374bb099df12076784370c1c9603c6f718ffb0..2481874fe3e813f9acc31e4a20dce9c0fb39f500 100644
--- a/grit/format/policy_templates/writers/adm_writer_unittest.py
+++ b/grit/format/policy_templates/writers/adm_writer_unittest.py
@@ -250,6 +250,7 @@ With a newline.""",
PART !!StringPolicy_Part EDITTEXT
VALUENAME "StringPolicy"
+ MAXLEN 1000000
END PART
END POLICY
@@ -266,6 +267,7 @@ With a newline.""",
PART !!StringPolicy_Part EDITTEXT
VALUENAME "StringPolicy"
+ MAXLEN 1000000
END PART
END POLICY
@@ -734,6 +736,7 @@ ListPolicy_Part="Label of list policy."
PART !!DictionaryPolicy_Part EDITTEXT
VALUENAME "DictionaryPolicy"
+ MAXLEN 1000000
END PART
END POLICY
@@ -750,6 +753,7 @@ ListPolicy_Part="Label of list policy."
PART !!DictionaryPolicy_Part EDITTEXT
VALUENAME "DictionaryPolicy"
+ MAXLEN 1000000
END PART
END POLICY
@@ -942,6 +946,7 @@ With a newline."""
PART !!Policy2_Part EDITTEXT
VALUENAME "Policy2"
+ MAXLEN 1000000
END PART
END POLICY
« no previous file with comments | « grit/format/policy_templates/writers/adm_writer.py ('k') | grit/format/policy_templates/writers/admx_writer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698