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

Unified Diff: util/mac/checked_mach_address_range_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/file/string_file_writer_test.cc ('k') | util/mac/launchd_test.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mac/checked_mach_address_range_test.cc
diff --git a/util/mac/checked_mach_address_range_test.cc b/util/mac/checked_mach_address_range_test.cc
index 392121dcc741c894a66b7d5cb9d64dc1989458e0..b0f36c3de3b5cebb61a93172b8244101fdf74210 100644
--- a/util/mac/checked_mach_address_range_test.cc
+++ b/util/mac/checked_mach_address_range_test.cc
@@ -24,10 +24,10 @@
#include "gtest/gtest.h"
#include "util/mac/process_reader.h"
+namespace crashpad {
+namespace test {
namespace {
-using namespace crashpad;
-
#if defined(ARCH_CPU_64_BITS)
const bool kValid64Invalid32 = true;
#else
@@ -254,3 +254,5 @@ TEST(CheckedMachAddressRange, ContainsRange) {
}
} // namespace
+} // namespace test
+} // namespace crashpad
« no previous file with comments | « util/file/string_file_writer_test.cc ('k') | util/mac/launchd_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698