aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest_stress_test.cc
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-07-13 19:25:02 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-07-13 19:25:02 +0000
commit89080477aee9bd91536c9fb47bc31c62ea7d75bb (patch)
tree982a302a1017c97c3cf11da4341492509a08dc2f /test/gtest_stress_test.cc
parent600105ee3ac48a01143486e5536a5b8fff5b5b25 (diff)
downloadgoogletest-89080477aee9bd91536c9fb47bc31c62ea7d75bb.tar.gz
googletest-89080477aee9bd91536c9fb47bc31c62ea7d75bb.tar.bz2
googletest-89080477aee9bd91536c9fb47bc31c62ea7d75bb.zip
Adds color support for TERM=linux (by Alexander Demin); renames List to Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev).
Diffstat (limited to 'test/gtest_stress_test.cc')
-rw-r--r--test/gtest_stress_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gtest_stress_test.cc b/test/gtest_stress_test.cc
index 3e021318..57ea75a9 100644
--- a/test/gtest_stress_test.cc
+++ b/test/gtest_stress_test.cc
@@ -45,10 +45,10 @@
namespace testing {
namespace {
-using internal::List;
using internal::String;
using internal::TestProperty;
using internal::TestPropertyKeyIs;
+using internal::Vector;
// How many threads to create?
const int kThreadCount = 50;
@@ -65,7 +65,7 @@ String IdToString(int id) {
return id_message.GetString();
}
-void ExpectKeyAndValueWereRecordedForId(const List<TestProperty>& properties,
+void ExpectKeyAndValueWereRecordedForId(const Vector<TestProperty>& properties,
int id,
const char* suffix) {
TestPropertyKeyIs matches_key(IdToKey(id, suffix).c_str());