valuetest: avoid underscores in GoogleTest tests
See https://code.google.com/p/googletest/wiki/FAQ#Why_should_not_test_case_names_and_test_names_contain_underscore
This commit is contained in:
parent
c1c9ba7c59
commit
a9d2b75179
@ -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) {
|
|||||||
// 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) {
|
|||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user