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

Unified Diff: util/file/string_file_writer_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 | « snapshot/system_snapshot_mac_test.cc ('k') | util/mac/checked_mach_address_range_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/file/string_file_writer_test.cc
diff --git a/util/file/string_file_writer_test.cc b/util/file/string_file_writer_test.cc
index b55c778e90e9ecbfc1e71b708791343aa18ccdad..d6ea2e496a1e3be4c2ce6e14e60da3d0e11adf83 100644
--- a/util/file/string_file_writer_test.cc
+++ b/util/file/string_file_writer_test.cc
@@ -19,10 +19,10 @@
#include "gtest/gtest.h"
+namespace crashpad {
+namespace test {
namespace {
-using namespace crashpad;
-
TEST(StringFileWriter, EmptyFile) {
StringFileWriter writer;
EXPECT_TRUE(writer.string().empty());
@@ -376,3 +376,5 @@ TEST(StringFileWriter, SeekInvalid) {
}
} // namespace
+} // namespace test
+} // namespace crashpad
« no previous file with comments | « snapshot/system_snapshot_mac_test.cc ('k') | util/mac/checked_mach_address_range_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698