Skip to content
Browse files

Added test for set of map

  • Loading branch information...
1 parent d6f61b7 commit af364a1b6d117ec03a86b988faadc00af8dc7896 @martin-seomoz martin-seomoz committed Apr 23, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 Serialize/test/JsonSerilizeTest.cpp
View
6 Serialize/test/JsonSerilizeTest.cpp
@@ -76,6 +76,12 @@ TEST(JsonSerialize, SetOfPOD)
std::string result = testAction<std::set<int> >(input);
ValidateSerializedStrings(input, result);
}
+TEST(JsonSerialize, SetOfMap)
+{
+ std::string input = "[ {\"a\": 1, \"b\": 2, \"c\": 3}, {\"a\": 2, \"b\": 2, \"c\": 2}, {\"a\": 2, \"b\":2, \"c\": 3}]";
+ std::string result = testAction<std::set<std::map<std::string, int> > >(input);
+ ValidateSerializedStrings(input, result);
+}
class EmptyJsonClass

0 comments on commit af364a1

Please sign in to comment.
Something went wrong with that request. Please try again.