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

Unified Diff: util/test/mac/mach_multiprocess_test.cc

Issue 635883002: Don’t use using directives (“using namespace”) in tests (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 2 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 | « util/test/mac/mach_multiprocess.cc ('k') | util/test/multiprocess.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/test/mac/mach_multiprocess_test.cc
diff --git a/util/test/mac/mach_multiprocess_test.cc b/util/test/mac/mach_multiprocess_test.cc
index 39295f65fe1c93a2229a341f17387325402d2fa0..388831fd4139d4493612ec15724796fa6bbd4de7 100644
--- a/util/test/mac/mach_multiprocess_test.cc
+++ b/util/test/mac/mach_multiprocess_test.cc
@@ -19,11 +19,10 @@
#include "base/basictypes.h"
#include "gtest/gtest.h"
+namespace crashpad {
+namespace test {
namespace {
-using namespace crashpad;
-using namespace crashpad::test;
-
class TestMachMultiprocess final : public MachMultiprocess {
public:
TestMachMultiprocess() : MachMultiprocess() {}
@@ -46,3 +45,5 @@ TEST(MachMultiprocess, MachMultiprocess) {
}
} // namespace
+} // namespace test
+} // namespace crashpad
« no previous file with comments | « util/test/mac/mach_multiprocess.cc ('k') | util/test/multiprocess.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698