aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest-param-test_test.cc
diff options
context:
space:
mode:
authorvladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2011-11-04 17:56:23 +0000
committervladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2011-11-04 17:56:23 +0000
commit8965a6a0d2165f32e6413594bba6367f271f51e7 (patch)
treeab0e0f5e0fd23697673ec2e0edca67079375dd2c /test/gtest-param-test_test.cc
parent829402edcffe712ed4c79412ca020525cd8295ad (diff)
downloadgoogletest-8965a6a0d2165f32e6413594bba6367f271f51e7.tar.gz
googletest-8965a6a0d2165f32e6413594bba6367f271f51e7.tar.bz2
googletest-8965a6a0d2165f32e6413594bba6367f271f51e7.zip
Improves conformance to the Google C++ Style Guide (by Greg Miller).
Diffstat (limited to 'test/gtest-param-test_test.cc')
-rw-r--r--test/gtest-param-test_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/gtest-param-test_test.cc b/test/gtest-param-test_test.cc
index 94a53d9f..cf618665 100644
--- a/test/gtest-param-test_test.cc
+++ b/test/gtest-param-test_test.cc
@@ -606,6 +606,7 @@ class TestGenerationEnvironment : public ::testing::Environment {
<< "has not been run as expected.";
}
}
+
private:
TestGenerationEnvironment() : fixture_constructor_count_(0), set_up_count_(0),
tear_down_count_(0), test_body_count_(0) {}
@@ -674,6 +675,7 @@ class TestGenerationTest : public TestWithParam<int> {
EXPECT_TRUE(collected_parameters_ == expected_values);
}
+
protected:
int current_parameter_;
static vector<int> collected_parameters_;