Lines Matching refs:patterns
31 model.regex_model->patterns.emplace_back(new RegexModel_::PatternT); in TEST()
32 model.regex_model->patterns.back()->pattern = "this is a test pattern"; in TEST()
33 model.regex_model->patterns.emplace_back(new RegexModel_::PatternT); in TEST()
34 model.regex_model->patterns.back()->pattern = "this is a second test pattern"; in TEST()
37 model.datetime_model->patterns.emplace_back(new DatetimeModelPatternT); in TEST()
38 model.datetime_model->patterns.back()->regexes.emplace_back( in TEST()
40 model.datetime_model->patterns.back()->regexes.back()->pattern = in TEST()
50 EXPECT_TRUE(model.regex_model->patterns[0]->pattern.empty()); in TEST()
51 EXPECT_TRUE(model.regex_model->patterns[1]->pattern.empty()); in TEST()
52 EXPECT_TRUE(model.datetime_model->patterns[0]->regexes[0]->pattern.empty()); in TEST()
67 compressed_model->regex_model()->patterns()->Get(0)->compressed_pattern(), in TEST()
71 compressed_model->regex_model()->patterns()->Get(1)->compressed_pattern(), in TEST()
75 ->patterns() in TEST()
90 EXPECT_EQ(model.regex_model->patterns[0]->pattern, "this is a test pattern"); in TEST()
91 EXPECT_EQ(model.regex_model->patterns[1]->pattern, in TEST()
93 EXPECT_EQ(model.datetime_model->patterns[0]->regexes[0]->pattern, in TEST()