Refactor template parameters and add ISchemaValidator

This commit is contained in:
Milo Yip
2015-05-08 18:39:26 +08:00
parent a5eabe8d0c
commit 24f060f7cb
2 changed files with 141 additions and 97 deletions

View File

@@ -32,6 +32,12 @@ static const char kJson[] = "{\n"
" \"m~n\" : 8\n"
"}";
TEST(Pointer, DefaultConstructor) {
Pointer p;
EXPECT_TRUE(p.IsValid());
EXPECT_EQ(0u, p.GetTokenCount());
}
TEST(Pointer, Parse) {
{
Pointer p("");