Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1842)

Unified Diff: Source/wtf/ListHashSetTest.cpp

Issue 835953003: Fix template angle bracket syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/ListHashSet.h ('k') | Source/wtf/MessageQueue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/ListHashSetTest.cpp
diff --git a/Source/wtf/ListHashSetTest.cpp b/Source/wtf/ListHashSetTest.cpp
index a1f6a66f83604a86620a05f48b1d886315b6f1ba..a980de357a9d6c433171229777ef980a9a98bdc4 100644
--- a/Source/wtf/ListHashSetTest.cpp
+++ b/Source/wtf/ListHashSetTest.cpp
@@ -65,13 +65,13 @@ void removeFirstHelper()
TEST(ListHashSetTest, RemoveFirst)
{
- removeFirstHelper<ListHashSet<int> >();
- removeFirstHelper<ListHashSet<int, 1> >();
+ removeFirstHelper<ListHashSet<int>>();
+ removeFirstHelper<ListHashSet<int, 1>>();
}
TEST(LinkedHashSetTest, RemoveFirst)
{
- removeFirstHelper<LinkedHashSet<int> >();
+ removeFirstHelper<LinkedHashSet<int>>();
}
template<typename Set>
@@ -99,13 +99,13 @@ void appendOrMoveToLastNewItems()
TEST(ListHashSetTest, AppendOrMoveToLastNewItems)
{
- appendOrMoveToLastNewItems<ListHashSet<int> >();
- appendOrMoveToLastNewItems<ListHashSet<int, 1> >();
+ appendOrMoveToLastNewItems<ListHashSet<int>>();
+ appendOrMoveToLastNewItems<ListHashSet<int, 1>>();
}
TEST(LinkedHashSetTest, AppendOrMoveToLastNewItems)
{
- appendOrMoveToLastNewItems<LinkedHashSet<int> >();
+ appendOrMoveToLastNewItems<LinkedHashSet<int>>();
}
template<typename Set>
@@ -150,13 +150,13 @@ void appendOrMoveToLastWithDuplicates()
TEST(ListHashSetTest, AppendOrMoveToLastWithDuplicates)
{
- appendOrMoveToLastWithDuplicates<ListHashSet<int> >();
- appendOrMoveToLastWithDuplicates<ListHashSet<int, 1> >();
+ appendOrMoveToLastWithDuplicates<ListHashSet<int>>();
+ appendOrMoveToLastWithDuplicates<ListHashSet<int, 1>>();
}
TEST(LinkedHashSetTest, AppendOrMoveToLastWithDuplicates)
{
- appendOrMoveToLastWithDuplicates<LinkedHashSet<int> >();
+ appendOrMoveToLastWithDuplicates<LinkedHashSet<int>>();
}
template<typename Set>
@@ -184,13 +184,13 @@ void prependOrMoveToFirstNewItems()
TEST(ListHashSetTest, PrependOrMoveToFirstNewItems)
{
- prependOrMoveToFirstNewItems<ListHashSet<int> >();
- prependOrMoveToFirstNewItems<ListHashSet<int, 1> >();
+ prependOrMoveToFirstNewItems<ListHashSet<int>>();
+ prependOrMoveToFirstNewItems<ListHashSet<int, 1>>();
}
TEST(LinkedHashSetTest, PrependOrMoveToFirstNewItems)
{
- prependOrMoveToFirstNewItems<LinkedHashSet<int> >();
+ prependOrMoveToFirstNewItems<LinkedHashSet<int>>();
}
template<typename Set>
@@ -235,13 +235,13 @@ void prependOrMoveToLastWithDuplicates()
TEST(ListHashSetTest, PrependOrMoveToLastWithDuplicates)
{
- prependOrMoveToLastWithDuplicates<ListHashSet<int> >();
- prependOrMoveToLastWithDuplicates<ListHashSet<int, 1> >();
+ prependOrMoveToLastWithDuplicates<ListHashSet<int>>();
+ prependOrMoveToLastWithDuplicates<ListHashSet<int, 1>>();
}
TEST(LinkedHashSetTest, PrependOrMoveToLastWithDuplicates)
{
- prependOrMoveToLastWithDuplicates<LinkedHashSet<int> >();
+ prependOrMoveToLastWithDuplicates<LinkedHashSet<int>>();
}
class DummyRefCounted: public WTF::RefCounted<DummyRefCounted> {
@@ -295,13 +295,13 @@ void withRefPtr()
TEST(ListHashSetTest, WithRefPtr)
{
- withRefPtr<ListHashSet<RefPtr<DummyRefCounted> > >();
- withRefPtr<ListHashSet<RefPtr<DummyRefCounted>, 1> >();
+ withRefPtr<ListHashSet<RefPtr<DummyRefCounted>>>();
+ withRefPtr<ListHashSet<RefPtr<DummyRefCounted>, 1>>();
}
TEST(LinkedHashSetTest, WithRefPtr)
{
- withRefPtr<LinkedHashSet<RefPtr<DummyRefCounted> > >();
+ withRefPtr<LinkedHashSet<RefPtr<DummyRefCounted>>>();
}
template<typename Set, typename SetRef, typename Iterator>
@@ -386,13 +386,13 @@ void insertBeforeHelper(bool canModifyWhileIterating)
TEST(ListHashSetTest, InsertBefore)
{
- insertBeforeHelper<ListHashSet<int> >(true);
- insertBeforeHelper<ListHashSet<int, 1> >(true);
+ insertBeforeHelper<ListHashSet<int>>(true);
+ insertBeforeHelper<ListHashSet<int, 1>>(true);
}
TEST(LinkedHashSetTest, InsertBefore)
{
- insertBeforeHelper<LinkedHashSet<int> >(false);
+ insertBeforeHelper<LinkedHashSet<int>>(false);
}
template<typename Set>
@@ -444,13 +444,13 @@ void addReturnIterator(bool canModifyWhileIterating)
TEST(ListHashSetTest, AddReturnIterator)
{
- addReturnIterator<ListHashSet<int> >(true);
- addReturnIterator<ListHashSet<int, 1> >(true);
+ addReturnIterator<ListHashSet<int>>(true);
+ addReturnIterator<ListHashSet<int, 1>>(true);
}
TEST(LinkedHashSetTest, AddReturnIterator)
{
- addReturnIterator<LinkedHashSet<int> >(false);
+ addReturnIterator<LinkedHashSet<int>>(false);
}
template<typename Set>
@@ -492,13 +492,13 @@ void excerciseValuePeekInType()
TEST(ListHashSetTest, ExcerciseValuePeekInType)
{
- excerciseValuePeekInType<ListHashSet<RefPtr<DummyRefCounted> > >();
- excerciseValuePeekInType<ListHashSet<RefPtr<DummyRefCounted>, 1> >();
+ excerciseValuePeekInType<ListHashSet<RefPtr<DummyRefCounted>>>();
+ excerciseValuePeekInType<ListHashSet<RefPtr<DummyRefCounted>, 1>>();
}
TEST(LinkedHashSetTest, ExcerciseValuePeekInType)
{
- excerciseValuePeekInType<LinkedHashSet<RefPtr<DummyRefCounted> > >();
+ excerciseValuePeekInType<LinkedHashSet<RefPtr<DummyRefCounted>>>();
}
struct Simple {
@@ -563,13 +563,13 @@ void translatorTest()
TEST(ListHashSetTest, ComplexityTranslator)
{
- translatorTest<ListHashSet<Complicated, 256, ComplicatedHashFunctions> >();
- translatorTest<ListHashSet<Complicated, 1, ComplicatedHashFunctions> >();
+ translatorTest<ListHashSet<Complicated, 256, ComplicatedHashFunctions>>();
+ translatorTest<ListHashSet<Complicated, 1, ComplicatedHashFunctions>>();
}
TEST(LinkedHashSetTest, ComplexityTranslator)
{
- translatorTest<LinkedHashSet<Complicated, ComplicatedHashFunctions> >();
+ translatorTest<LinkedHashSet<Complicated, ComplicatedHashFunctions>>();
}
struct Dummy {
@@ -587,7 +587,7 @@ TEST(ListHashSetTest, WithOwnPtr)
{
bool deleted1 = false, deleted2 = false;
- typedef ListHashSet<OwnPtr<Dummy> > OwnPtrSet;
+ typedef ListHashSet<OwnPtr<Dummy>> OwnPtrSet;
OwnPtrSet set;
Dummy* ptr1 = new Dummy(deleted1);
@@ -710,12 +710,12 @@ void swapTestHelper()
TEST(ListHashSetTest, Swap)
{
- swapTestHelper<ListHashSet<int> >();
+ swapTestHelper<ListHashSet<int>>();
}
TEST(LinkedHashSetTest, Swap)
{
- swapTestHelper<LinkedHashSet<int> >();
+ swapTestHelper<LinkedHashSet<int>>();
}
} // namespace
« no previous file with comments | « Source/wtf/ListHashSet.h ('k') | Source/wtf/MessageQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698