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

Unified Diff: util/test/executable_path_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/synchronization/semaphore_test.cc ('k') | util/test/mac/mach_multiprocess.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/test/executable_path_test.cc
diff --git a/util/test/executable_path_test.cc b/util/test/executable_path_test.cc
index b99d3d9104d7bceb902f8e488adeab1d5557a4a2..3682a4b3d7cea127e69e5f76f5aeaadd60c13c9e 100644
--- a/util/test/executable_path_test.cc
+++ b/util/test/executable_path_test.cc
@@ -17,10 +17,10 @@
#include "base/files/file_path.h"
#include "gtest/gtest.h"
+namespace crashpad {
+namespace test {
namespace {
-using namespace crashpad::test;
-
TEST(ExecutablePath, ExecutablePath) {
base::FilePath executable_path = ExecutablePath();
base::FilePath executable_name = executable_path.BaseName();
@@ -28,3 +28,5 @@ TEST(ExecutablePath, ExecutablePath) {
}
} // namespace
+} // namespace test
+} // namespace crashpad
« no previous file with comments | « util/synchronization/semaphore_test.cc ('k') | util/test/mac/mach_multiprocess.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698