Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(652)

Unified Diff: cpp/test/phonenumbers/phonenumberutil_test.cc

Issue 9162043: CPP: Make r570 compile in Chromium. (Closed) Base URL: https://libphonenumber.googlecode.com/svn/trunk
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cpp/test/phonenumbers/phonenumbermatcher_test.cc ('k') | cpp/test/phonenumbers/shortnumberutil_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cpp/test/phonenumbers/phonenumberutil_test.cc
diff --git a/cpp/test/phonenumbers/phonenumberutil_test.cc b/cpp/test/phonenumbers/phonenumberutil_test.cc
index c8115a31aac0d8f00df7b88fac7b8f6dce39034d..f170a7b0fcd95658c866d383bf82c8f7fb43cebd 100644
--- a/cpp/test/phonenumbers/phonenumberutil_test.cc
+++ b/cpp/test/phonenumbers/phonenumberutil_test.cc
@@ -30,6 +30,7 @@
#include <gtest/gtest.h>
+#include "phonenumbers/default_logger.h"
#include "phonenumbers/phonemetadata.pb.h"
#include "phonenumbers/phonenumber.h"
#include "phonenumbers/phonenumber.pb.h"
@@ -50,6 +51,7 @@ static const int kInvalidCountryCode = 2;
class PhoneNumberUtilTest : public testing::Test {
protected:
PhoneNumberUtilTest() : phone_util_(*PhoneNumberUtil::GetInstance()) {
+ PhoneNumberUtil::GetInstance()->SetLogger(new StdoutLogger());
}
// Wrapper functions for private functions that we want to test.
« no previous file with comments | « cpp/test/phonenumbers/phonenumbermatcher_test.cc ('k') | cpp/test/phonenumbers/shortnumberutil_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b