summaryrefslogtreecommitdiff
path: root/Tools/TestWebKitAPI/Tests
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-10-18 10:55:06 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-18 10:55:06 +0200
commitee4c86d1990a9e26277a6948e7027ad8d525ebfa (patch)
tree1e2d3408cd097606571f40ab63353c27bcb7dd5c /Tools/TestWebKitAPI/Tests
parentd882bec96d0d30aeeda2141bfadfca7f038ee862 (diff)
downloadqtwebkit-ee4c86d1990a9e26277a6948e7027ad8d525ebfa.tar.gz
Imported WebKit commit 795dcd25a9649fccaf1c9b685f6e2ffedaf7e620 (http://svn.webkit.org/repository/webkit/trunk@131718)
New snapshot that includes the return of -fkeep-memory at link time to reduce memory pressure as well as modularized documentation
Diffstat (limited to 'Tools/TestWebKitAPI/Tests')
-rw-r--r--Tools/TestWebKitAPI/Tests/WTF/Vector.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/Tools/TestWebKitAPI/Tests/WTF/Vector.cpp b/Tools/TestWebKitAPI/Tests/WTF/Vector.cpp
index 46a35922f..9ffb0b2e8 100644
--- a/Tools/TestWebKitAPI/Tests/WTF/Vector.cpp
+++ b/Tools/TestWebKitAPI/Tests/WTF/Vector.cpp
@@ -76,29 +76,4 @@ TEST(WTF_Vector, ReverseIterator)
EXPECT_TRUE(end == it);
}
-TEST(WTF_Vector, ReversedProxy)
-{
- Vector<int> intVector;
- intVector.append(10);
- intVector.append(11);
- intVector.append(12);
- intVector.append(13);
-
- Vector<int>::reverse_iterator it = intVector.reversed().begin();
- Vector<int>::reverse_iterator end = intVector.reversed().end();
-
- EXPECT_TRUE(end != it);
-
- EXPECT_EQ(13, *it);
- ++it;
- EXPECT_EQ(12, *it);
- ++it;
- EXPECT_EQ(11, *it);
- ++it;
- EXPECT_EQ(10, *it);
- ++it;
-
- EXPECT_TRUE(end == it);
-}
-
} // namespace TestWebKitAPI