29 #include <gtest/gtest.h>
43 object_match_3.
add(object_match_1);
44 object_match_3.
add(object_match_2);
58 TEST(MatchTest, SetExpression)
75 TEST(MatchTest, SetExpressionVector)
80 to_add.push_back(
"A.B.C.D");
81 to_add.push_back(
"E.F.G");
103 ObjectMatch object_match(
"this.is.a.perfect.match");
107 TEST(MatchTest, SimpleMismatch)
109 ObjectMatch object_match(
"this.is.a.perfect.match");
113 TEST(MatchTest, MultipleExpressionsMatch)
117 expressions.push_back(
"A.B.C.D");
118 expressions.push_back(
"E.F.G");
125 TEST(MatchTest, MultipleExpressionsMismatch)
129 expressions.push_back(
"A.B.C.D");
130 expressions.push_back(
"E.F.G");
149 TEST(MatchTest, WildCardMismatch)
157 TEST(MatchTest, TokensEmptyNoMatch)