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

Unified Diff: ipc/ipc_fuzzing_tests.cc

Issue 11865015: Move IPC tests into anonymous namespaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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 | « ipc/ipc_channel_unittest.cc ('k') | ipc/ipc_message_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_fuzzing_tests.cc
diff --git a/ipc/ipc_fuzzing_tests.cc b/ipc/ipc_fuzzing_tests.cc
index 82ac37f60325fccae9e46c3b45798a009a28ee96..f5014491f804d06721d648630d1a903ecc765ee0 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
« no previous file with comments | « ipc/ipc_channel_unittest.cc ('k') | ipc/ipc_message_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698