Chromium Code Reviews| Index: mojo/common/interface_ptr_set_unittest.cc |
| diff --git a/mojo/common/weak_interface_ptr_set_unittest.cc b/mojo/common/interface_ptr_set_unittest.cc |
| similarity index 94% |
| rename from mojo/common/weak_interface_ptr_set_unittest.cc |
| rename to mojo/common/interface_ptr_set_unittest.cc |
| index ca0433d2489971c8bd92b4df14d860803da900ca..a01209915949dcebfb4458b445c5ad8931155cf3 100644 |
| --- a/mojo/common/weak_interface_ptr_set_unittest.cc |
| +++ b/mojo/common/interface_ptr_set_unittest.cc |
| @@ -2,7 +2,7 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "mojo/common/weak_interface_ptr_set.h" |
| +#include "mojo/common/interface_ptr_set.h" |
| #include "base/message_loop/message_loop.h" |
| #include "mojo/common/message_pump_mojo.h" |
| @@ -32,8 +32,8 @@ class DummyImpl : public tests::Dummy { |
| DISALLOW_COPY_AND_ASSIGN(DummyImpl); |
| }; |
| -// Tests all of the functionality of WeakInterfacePtrSet. |
| -TEST(WeakInterfacePtr, FullLifeCycleTest) { |
| +// Tests all of the functionality of InterfacePtrSet. |
| +TEST(InterfacePtrSet, FullLifeCycleTest) { |
|
viettrungluu
2015/07/20 16:48:55
nit (which I should have caught previously): For s
rudominer
2015/07/20 16:56:37
DONE (in ps3)
|
| base::MessageLoop loop(MessagePumpMojo::Create()); |
| // Create 10 InterfacePtrs. |
| @@ -47,7 +47,7 @@ TEST(WeakInterfacePtr, FullLifeCycleTest) { |
| } |
| // Move all 10 InterfacePtrs into the set. |
| - WeakInterfacePtrSet<tests::Dummy> intrfc_ptr_set; |
| + InterfacePtrSet<tests::Dummy> intrfc_ptr_set; |
| EXPECT_EQ(0u, intrfc_ptr_set.size()); |
| for (InterfacePtr<tests::Dummy>& ptr : intrfc_ptrs) { |
| intrfc_ptr_set.AddInterfacePtr(ptr.Pass()); |