Home
last modified time | relevance | path

Searched refs:RegExpTestContext (Results 1 – 1 of 1) sorted by relevance

/third_party/libphonenumber/cpp/test/phonenumbers/
Dregexp_adapter_test.cc42 struct RegExpTestContext { struct
43 explicit RegExpTestContext(const string& name, in RegExpTestContext() function
68 new RegExpTestContext("RE2", new RE2RegExpFactory())); in RegExpAdapterTest()
71 new RegExpTestContext("ICU Regex", new ICURegExpFactory())); in RegExpAdapterTest()
77 static string ErrorMessage(const RegExpTestContext& context) { in ErrorMessage()
81 typedef vector<const RegExpTestContext*>::const_iterator TestContextIterator;
82 vector<const RegExpTestContext*> contexts_;
86 for (vector<const RegExpTestContext*>::const_iterator it = contexts_.begin(); in TEST_F()
89 const RegExpTestContext& context = **it; in TEST_F()
113 const RegExpTestContext& context = **it; in TEST_F()
[all …]