Commit 24f060f7 authored by Milo Yip's avatar Milo Yip

Refactor template parameters and add ISchemaValidator

parent a5eabe8d
This diff is collapsed.
...@@ -32,6 +32,12 @@ static const char kJson[] = "{\n" ...@@ -32,6 +32,12 @@ static const char kJson[] = "{\n"
" \"m~n\" : 8\n" " \"m~n\" : 8\n"
"}"; "}";
TEST(Pointer, DefaultConstructor) {
Pointer p;
EXPECT_TRUE(p.IsValid());
EXPECT_EQ(0u, p.GetTokenCount());
}
TEST(Pointer, Parse) { TEST(Pointer, Parse) {
{ {
Pointer p(""); Pointer p("");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment