aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-06-19 17:40:29 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-06-19 17:40:29 +0000
commit0fb9b9a46a55df07edab41517b12ac30cfcedbbc (patch)
tree14e15402d559e0b9ed04ec6d5533ecfea0ce09c5 /unittests
parent90540ad7992d0ce490eb862543a58d040d7a2316 (diff)
downloadexternal_llvm-0fb9b9a46a55df07edab41517b12ac30cfcedbbc.zip
external_llvm-0fb9b9a46a55df07edab41517b12ac30cfcedbbc.tar.gz
external_llvm-0fb9b9a46a55df07edab41517b12ac30cfcedbbc.tar.bz2
Remove some superfluous SCOPED_TRACEs from this unit test.
GoogleTest already prints errors with all the information about which test case contained the error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ADT/StringMapTest.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/unittests/ADT/StringMapTest.cpp b/unittests/ADT/StringMapTest.cpp
index 2ae5820..66e0493 100644
--- a/unittests/ADT/StringMapTest.cpp
+++ b/unittests/ADT/StringMapTest.cpp
@@ -75,7 +75,6 @@ const std::string StringMapTest::testKeyStr(testKey);
// Empty map tests.
TEST_F(StringMapTest, EmptyMapTest) {
- SCOPED_TRACE("EmptyMapTest");
assertEmptyMap();
}
@@ -102,14 +101,12 @@ TEST_F(StringMapTest, ConstEmptyMapTest) {
// A map with a single entry.
TEST_F(StringMapTest, SingleEntryMapTest) {
- SCOPED_TRACE("SingleEntryMapTest");
testMap[testKey] = testValue;
assertSingleItemMap();
}
// Test clear() method.
TEST_F(StringMapTest, ClearTest) {
- SCOPED_TRACE("ClearTest");
testMap[testKey] = testValue;
testMap.clear();
assertEmptyMap();
@@ -117,7 +114,6 @@ TEST_F(StringMapTest, ClearTest) {
// Test erase(iterator) method.
TEST_F(StringMapTest, EraseIteratorTest) {
- SCOPED_TRACE("EraseIteratorTest");
testMap[testKey] = testValue;
testMap.erase(testMap.begin());
assertEmptyMap();
@@ -125,7 +121,6 @@ TEST_F(StringMapTest, EraseIteratorTest) {
// Test erase(value) method.
TEST_F(StringMapTest, EraseValueTest) {
- SCOPED_TRACE("EraseValueTest");
testMap[testKey] = testValue;
testMap.erase(testKey);
assertEmptyMap();
@@ -133,7 +128,6 @@ TEST_F(StringMapTest, EraseValueTest) {
// Test inserting two values and erasing one.
TEST_F(StringMapTest, InsertAndEraseTest) {
- SCOPED_TRACE("InsertAndEraseTest");
testMap[testKey] = testValue;
testMap["otherKey"] = 2;
testMap.erase("otherKey");