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

Unified Diff: util/numeric/in_range_cast_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/numeric/checked_range_test.cc ('k') | util/numeric/int128_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/numeric/in_range_cast_test.cc
diff --git a/util/numeric/in_range_cast_test.cc b/util/numeric/in_range_cast_test.cc
index 340c862c218299e5c62a5c39516fe40d42115b2e..52eeedf5d2a942a5204011c63b20593695ae92a6 100644
--- a/util/numeric/in_range_cast_test.cc
+++ b/util/numeric/in_range_cast_test.cc
@@ -20,10 +20,10 @@
#include "gtest/gtest.h"
+namespace crashpad {
+namespace test {
namespace {
-using namespace crashpad;
-
const int32_t kInt32Min = std::numeric_limits<int32_t>::min();
const int64_t kInt64Min = std::numeric_limits<int64_t>::min();
@@ -115,3 +115,5 @@ TEST(InRangeCast, Int64) {
}
} // namespace
+} // namespace test
+} // namespace crashpad
« no previous file with comments | « util/numeric/checked_range_test.cc ('k') | util/numeric/int128_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698