diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-11 20:56:22 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-11 20:56:22 +0000 |
commit | 2a3aa7b56211437d70787ebe9da514d288957d5f (patch) | |
tree | ec5e0b87cf79507a409b81064c59d7a3ef2f74ba /ipc/ipc_fuzzing_tests.cc | |
parent | 307f7bdd33cf295aac89b436982d40d8ba63fc6a (diff) | |
download | chromium_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_fuzzing_tests.cc')
-rw-r--r-- | ipc/ipc_fuzzing_tests.cc | 8 |
1 files changed, 6 insertions, 2 deletions
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 @@ IPC_MESSAGE_CONTROL2(MsgDoMutex, std::wstring, int) // 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 @@ TEST_F(IPCFuzzingTest, MsgMapExMacro) { EXPECT_EQ(0, server.unhandled_msgs()); #endif } + +} // namespace |