summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_message_utils_unittest.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-11 20:56:22 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-11 20:56:22 +0000
commit2a3aa7b56211437d70787ebe9da514d288957d5f (patch)
treeec5e0b87cf79507a409b81064c59d7a3ef2f74ba /ipc/ipc_message_utils_unittest.cc
parent307f7bdd33cf295aac89b436982d40d8ba63fc6a (diff)
downloadchromium_src-2a3aa7b56211437d70787ebe9da514d288957d5f.zip
chromium_src-2a3aa7b56211437d70787ebe9da514d288957d5f.tar.gz
chromium_src-2a3aa7b56211437d70787ebe9da514d288957d5f.tar.bz2
Move IPC tests into anonymous namespaces.
This reduces chances of (very confusing) name collisions between different tests. Review URL: https://codereview.chromium.org/11865015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_utils_unittest.cc')
-rw-r--r--ipc/ipc_message_utils_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipc/ipc_message_utils_unittest.cc b/ipc/ipc_message_utils_unittest.cc
index fe2c4e3..2a49b9a 100644
--- a/ipc/ipc_message_utils_unittest.cc
+++ b/ipc/ipc_message_utils_unittest.cc
@@ -7,7 +7,9 @@
#include "ipc/ipc_message_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace IPC {
+using namespace IPC;
+
+namespace {
// Tests nesting of messages as parameters to other messages.
TEST(IPCMessageUtilsTest, NestedMessages) {
@@ -66,4 +68,4 @@ TEST(IPCMessageUtilsTest, ParameterValidation) {
ASSERT_FALSE(ParamTraits<FilePath>::Read(&message, &iter, &badPath));
}
-} // namespace IPC
+} // namespace