Lines Matching refs:test_type
118 scoped_ptr<TestType> test_type(new TestType());
120 EXPECT_TRUE(TestType::Populate(*value, test_type.get()));
121 EXPECT_EQ("bling", test_type->string);
122 EXPECT_EQ(1.1, test_type->number);
123 EXPECT_EQ(4, test_type->integer);
124 EXPECT_EQ(true, test_type->boolean);
125 EXPECT_TRUE(value->Equals(test_type->ToValue().get()));
128 scoped_ptr<TestType> test_type(new TestType());
131 EXPECT_FALSE(TestType::Populate(*value, test_type.get()));
138 scoped_ptr<TestType> test_type(new TestType());
139 EXPECT_TRUE(TestType::Populate(*value, test_type.get()));
141 GetTestType::Results::Create(*test_type);