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

Unified Diff: util/misc/uuid_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/misc/scoped_forbid_return_test.cc ('k') | util/numeric/checked_range_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/misc/uuid_test.cc
diff --git a/util/misc/uuid_test.cc b/util/misc/uuid_test.cc
index 5d515cc6dc0fcbde463039ebe1f2776778407531..2bd4ceb0cc4f1ff9a4d4c5834a7bcca831304d6e 100644
--- a/util/misc/uuid_test.cc
+++ b/util/misc/uuid_test.cc
@@ -21,10 +21,10 @@
#include "base/basictypes.h"
#include "gtest/gtest.h"
+namespace crashpad {
+namespace test {
namespace {
-using namespace crashpad;
-
TEST(UUID, UUID) {
UUID uuid_zero;
EXPECT_EQ(0u, uuid_zero.data_1);
@@ -153,3 +153,5 @@ TEST(UUID, UUID) {
}
} // namespace
+} // namespace test
+} // namespace crashpad
« no previous file with comments | « util/misc/scoped_forbid_return_test.cc ('k') | util/numeric/checked_range_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698