Lines Matching full:handler_
143 return handler_->AppendReservedMessagesForLocale(
149 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error));
155 handler_->dictionary_.clear();
158 scoped_ptr<ExtensionMessageBundle> handler_;
168 EXPECT_TRUE(handler_.get() != NULL);
169 EXPECT_EQ(0U + ReservedMessagesCount(), handler_->size());
170 CheckReservedMessages(handler_.get());
177 EXPECT_TRUE(handler_.get() != NULL);
178 EXPECT_EQ(3U + ReservedMessagesCount(), handler_->size());
180 EXPECT_EQ("message1 A B", handler_->GetL10nMessage("n1"));
181 EXPECT_EQ("message2 C", handler_->GetL10nMessage("n2"));
182 EXPECT_EQ("message3", handler_->GetL10nMessage("n3"));
183 CheckReservedMessages(handler_.get());
201 EXPECT_TRUE(handler_.get() != NULL);
202 EXPECT_EQ(3U + ReservedMessagesCount(), handler_->size());
204 EXPECT_EQ("message1 B A", handler_->GetL10nMessage("n1"));
205 EXPECT_EQ("message2 C", handler_->GetL10nMessage("n2"));
206 EXPECT_EQ("message3_app_dict", handler_->GetL10nMessage("n3"));
207 CheckReservedMessages(handler_.get());
217 EXPECT_TRUE(handler_.get() == NULL);
222 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error));
223 EXPECT_TRUE(handler_.get() == NULL);
227 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error));
228 EXPECT_TRUE(handler_.get() == NULL);
232 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error));
233 EXPECT_TRUE(handler_.get() == NULL);
237 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error));
238 EXPECT_TRUE(handler_.get() == NULL);
242 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error));
243 EXPECT_TRUE(handler_.get() == NULL);
247 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error));
248 EXPECT_TRUE(handler_.get() == NULL);
252 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error));
253 EXPECT_TRUE(handler_.get() == NULL);
265 EXPECT_TRUE(handler_.get() == NULL);
274 ASSERT_TRUE(handler_.get() != NULL);
279 handler_->GetL10nMessage(ExtensionMessageBundle::kUILocaleKey));
280 EXPECT_EQ("ltr", handler_->GetL10nMessage(
282 EXPECT_EQ("rtl", handler_->GetL10nMessage(
284 EXPECT_EQ("left", handler_->GetL10nMessage(
286 EXPECT_EQ("right", handler_->GetL10nMessage(
293 ASSERT_TRUE(handler_.get() != NULL);
298 handler_->GetL10nMessage(ExtensionMessageBundle::kUILocaleKey));
299 EXPECT_EQ("rtl", handler_->GetL10nMessage(
301 EXPECT_EQ("ltr", handler_->GetL10nMessage(
303 EXPECT_EQ("right", handler_->GetL10nMessage(
305 EXPECT_EQ("left", handler_->GetL10nMessage(