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

Unified Diff: util/test/multiprocess_exec_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/multiprocess_exec.cc ('k') | util/test/multiprocess_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/test/multiprocess_exec_test.cc
diff --git a/util/test/multiprocess_exec_test.cc b/util/test/multiprocess_exec_test.cc
index 2f30b9b038450dce53a7b8c3931c060e6500dc65..d70f0d06a36454dc593eb030519fde903d17bcf9 100644
--- a/util/test/multiprocess_exec_test.cc
+++ b/util/test/multiprocess_exec_test.cc
@@ -21,11 +21,10 @@
#include "util/file/fd_io.h"
#include "util/test/executable_path.h"
+namespace crashpad {
+namespace test {
namespace {
-using namespace crashpad;
-using namespace crashpad::test;
-
class TestMultiprocessExec final : public MultiprocessExec {
public:
TestMultiprocessExec() : MultiprocessExec() {}
@@ -54,3 +53,5 @@ TEST(MultiprocessExec, MultiprocessExec) {
}
} // namespace
+} // namespace test
+} // namespace crashpad
« no previous file with comments | « util/test/multiprocess_exec.cc ('k') | util/test/multiprocess_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698