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

Unified Diff: util/posix/symbolic_constants_posix_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/posix/process_util_test.cc ('k') | util/stdlib/string_number_conversion_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/posix/symbolic_constants_posix_test.cc
diff --git a/util/posix/symbolic_constants_posix_test.cc b/util/posix/symbolic_constants_posix_test.cc
index a03e8beb116e4ef1ec9c7081c5be7176ba89a870..c80d00d9e522b9e1870c132794a44185f1d37174 100644
--- a/util/posix/symbolic_constants_posix_test.cc
+++ b/util/posix/symbolic_constants_posix_test.cc
@@ -23,10 +23,10 @@
#define NUL_TEST_DATA(string) { string, arraysize(string) - 1 }
+namespace crashpad {
+namespace test {
namespace {
-using namespace crashpad;
-
const struct {
int signal;
const char* full_name;
@@ -252,3 +252,5 @@ TEST(SymbolicConstantsPOSIX, StringToSignal) {
}
} // namespace
+} // namespace test
+} // namespace crashpad
« no previous file with comments | « util/posix/process_util_test.cc ('k') | util/stdlib/string_number_conversion_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698