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

Unified Diff: util/test/mac/mach_multiprocess.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/executable_path_test.cc ('k') | util/test/mac/mach_multiprocess_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/test/mac/mach_multiprocess.cc
diff --git a/util/test/mac/mach_multiprocess.cc b/util/test/mac/mach_multiprocess.cc
index f8603afa43e47332a7c497b9efa6de8020e3cd30..568e31479c2abdefa85470b03d0cbbbb9e0421c4 100644
--- a/util/test/mac/mach_multiprocess.cc
+++ b/util/test/mac/mach_multiprocess.cc
@@ -48,8 +48,6 @@ struct ReceiveHelloMessage : public SendHelloMessage {
namespace crashpad {
namespace test {
-using namespace testing;
-
namespace internal {
struct MachMultiprocessInfo {
@@ -271,7 +269,7 @@ void MachMultiprocess::MultiprocessChild() {
// verify it using the task port it has access to via ChildTask().
CheckedReadFDAtEOF(ReadPipeFD());
- if (Test::HasFailure()) {
+ if (testing::Test::HasFailure()) {
// Trigger the ScopedForbidReturn destructor.
return;
}
« no previous file with comments | « util/test/executable_path_test.cc ('k') | util/test/mac/mach_multiprocess_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698