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
CrOS-Libchrome-Original-Commit: 2a3aa7b56211437d70787ebe9da514d288957d5f
diff --git a/ipc/ipc_fuzzing_tests.cc b/ipc/ipc_fuzzing_tests.cc
index 82ac37f..f501449 100644
--- a/ipc/ipc_fuzzing_tests.cc
+++ b/ipc/ipc_fuzzing_tests.cc
@@ -16,7 +16,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/multiprocess_func_list.h"
-// IPC messages for testing ---------------------------------------------------
+// IPC messages for testing ----------------------------------------------------
#define IPC_MESSAGE_IMPL
#include "ipc/ipc_message_macros.h"
@@ -35,7 +35,9 @@
// Used to generate an ID for a message that should not exist.
IPC_MESSAGE_CONTROL0(MsgUnhandled)
-// ----------------------------------------------------------------------------
+// -----------------------------------------------------------------------------
+
+namespace {
TEST(IPCMessageIntegrity, ReadBeyondBufferStr) {
//This was BUG 984408.
@@ -418,3 +420,5 @@
EXPECT_EQ(0, server.unhandled_msgs());
#endif
}
+
+} // namespace