Commit a9d2b751 authored by Philipp A. Hartmann's avatar Philipp A. Hartmann
parent c1c9ba7c
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
using namespace rapidjson; using namespace rapidjson;
TEST(Value, default_constructor) { TEST(Value, DefaultConstructor) {
Value x; Value x;
EXPECT_EQ(kNullType, x.GetType()); EXPECT_EQ(kNullType, x.GetType());
EXPECT_TRUE(x.IsNull()); EXPECT_TRUE(x.IsNull());
...@@ -38,7 +38,7 @@ TEST(Value, default_constructor) { ...@@ -38,7 +38,7 @@ TEST(Value, default_constructor) {
// Value y = x; // Value y = x;
//} //}
TEST(Value, assignment_operator) { TEST(Value, AssignmentOperator) {
Value x(1234); Value x(1234);
Value y; Value y;
y = x; y = x;
...@@ -81,7 +81,7 @@ void TestUnequal(const A& a, const B& b) { ...@@ -81,7 +81,7 @@ void TestUnequal(const A& a, const B& b) {
EXPECT_TRUE (b != a); EXPECT_TRUE (b != a);
} }
TEST(Value, equalto_operator) { TEST(Value, EqualtoOperator) {
Value::AllocatorType allocator; Value::AllocatorType allocator;
Value x(kObjectType); Value x(kObjectType);
x.AddMember("hello", "world", allocator) x.AddMember("hello", "world", allocator)
......
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