Searched refs:formatter_ (Results 1 – 2 of 2) sorted by relevance
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | asyoutypeformatter_test.cc | 43 return formatter_->current_metadata_; in GetCurrentMetadata() 47 return formatter_->GetExtractedNationalPrefix(); in GetExtractedNationalPrefix() 55 scoped_ptr<AsYouTypeFormatter> formatter_; member in i18n::phonenumbers::AsYouTypeFormatterTest 74 formatter_.reset(phone_util_.GetAsYouTypeFormatter(RegionCode::US())); in TEST_F() 80 formatter_.reset(phone_util_.GetAsYouTypeFormatter(RegionCode::GetUnknown())); in TEST_F() 81 EXPECT_EQ("+", formatter_->InputDigit('+', &result_)); in TEST_F() 82 EXPECT_EQ("+4", formatter_->InputDigit('4', &result_)); in TEST_F() 83 EXPECT_EQ("+48 ", formatter_->InputDigit('8', &result_)); in TEST_F() 84 EXPECT_EQ("+48 8", formatter_->InputDigit('8', &result_)); in TEST_F() 85 EXPECT_EQ("+48 88", formatter_->InputDigit('8', &result_)); in TEST_F() [all …]
|
/third_party/boost/libs/algorithm/string/test/ |
D | find_format_test.cpp | 29 checked_formatter(const Formatter& formatter) : formatter_(formatter) {} in checked_formatter() 33 return formatter_(s); in operator ()() 36 Formatter formatter_; member
|