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

Unified Diff: tools/json_schema_compiler/test/idl_schemas_unittest.cc

Issue 11826020: IDL schema compiler: Fixed pseudo-random order (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Incorporate upstream changes. Created 7 years, 11 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/json_schema_compiler/test/idl_basics.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/test/idl_schemas_unittest.cc
diff --git a/tools/json_schema_compiler/test/idl_schemas_unittest.cc b/tools/json_schema_compiler/test/idl_schemas_unittest.cc
index 5186be9908dc05ba64cb1974d613a8e34c8c9b02..233c8d2168dfff78000c5cdeef1bb4262ca15832 100644
--- a/tools/json_schema_compiler/test/idl_schemas_unittest.cc
+++ b/tools/json_schema_compiler/test/idl_schemas_unittest.cc
@@ -46,6 +46,10 @@ TEST(IdlCompiler, Basics) {
DictionaryValue* tmp = new DictionaryValue();
tmp->SetInteger("x", 17);
tmp->SetString("y", "hello");
+ tmp->SetString("z", "zstring");
+ tmp->SetString("a", "astring");
+ tmp->SetString("b", "bstring");
+ tmp->SetString("c", "cstring");
list.Append(tmp);
scoped_ptr<Function3::Params> f3_params = Function3::Params::Create(list);
EXPECT_EQ(17, f3_params->arg.x);
@@ -101,6 +105,10 @@ TEST(IdlCompiler, OptionalArguments) {
DictionaryValue* tmp = new DictionaryValue();
tmp->SetInteger("x", 17);
tmp->SetString("y", "hello");
+ tmp->SetString("z", "zstring");
+ tmp->SetString("a", "astring");
+ tmp->SetString("b", "bstring");
+ tmp->SetString("c", "cstring");
list.Append(tmp);
f9_params = Function9::Params::Create(list);
ASSERT_TRUE(f9_params->arg.get() != NULL);
« no previous file with comments | « tools/json_schema_compiler/test/idl_basics.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698