summaryrefslogtreecommitdiffstats
path: root/printing/units_unittest.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-10 14:34:27 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-10 14:34:27 +0000
commit9a2d45a25bb846269726269ad934edba19d356af (patch)
treeadd54280368a85133b5aa0a5f4214c6c481a9f38 /printing/units_unittest.cc
parent78c12d3fd08e84d69bffee7dca23b6536e195a7f (diff)
downloadchromium_src-9a2d45a25bb846269726269ad934edba19d356af.zip
chromium_src-9a2d45a25bb846269726269ad934edba19d356af.tar.gz
chromium_src-9a2d45a25bb846269726269ad934edba19d356af.tar.bz2
printing: Replace "using namespace printing;" wrapping the tests around "namespace printing { ... }"
BUG=82078 TEST=printing_unittests R=thestig@chromium.org Review URL: http://codereview.chromium.org/6995006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/units_unittest.cc')
-rw-r--r--printing/units_unittest.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/printing/units_unittest.cc b/printing/units_unittest.cc
index 4b7f4bf..fe160b3 100644
--- a/printing/units_unittest.cc
+++ b/printing/units_unittest.cc
@@ -6,7 +6,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/gtest/include/gtest/gtest-spi.h"
-using namespace printing;
+namespace printing {
TEST(UnitsTest, Convertions) {
EXPECT_EQ(100, ConvertUnit(100, 100, 100));
@@ -59,3 +59,5 @@ TEST(UnitsTest, Convertions) {
EXPECT_EQ(8, ConvertPixelsToPoint(10));
EXPECT_EQ(0, ConvertPixelsToPoint(0));
}
+
+} // namespace printing