#include "phonenumbers/regexp_adapter.h"
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include "phonenumbers/base/memory/scoped_ptr.h"
#include "phonenumbers/stl_util.h"
#include "phonenumbers/stringutil.h"
#ifdef I18N_PHONENUMBERS_USE_RE2
#include "phonenumbers/regexp_adapter_re2.h"
#else
#include "phonenumbers/regexp_adapter_icu.h"
#endif
namespace i18n {
namespace phonenumbers {
vector;
struct RegExpTestContext { … };
class RegExpAdapterTest : public testing::Test { … };
TEST_F(RegExpAdapterTest, TestConsumeNoMatch) { … }
TEST_F(RegExpAdapterTest, TestConsumeWithNull) { … }
TEST_F(RegExpAdapterTest, TestConsumeRetainsMatches) { … }
TEST_F(RegExpAdapterTest, TestFindAndConsume) { … }
TEST_F(RegExpAdapterTest, TestPartialMatch) { … }
TEST_F(RegExpAdapterTest, TestFullMatch) { … }
TEST_F(RegExpAdapterTest, TestReplace) { … }
TEST_F(RegExpAdapterTest, TestReplaceWithGroup) { … }
TEST_F(RegExpAdapterTest, TestReplaceWithDollarSign) { … }
TEST_F(RegExpAdapterTest, TestGlobalReplace) { … }
TEST_F(RegExpAdapterTest, TestUtf8) { … }
}
}