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

Unified Diff: Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp

Issue 1184673003: Fix unit test style in Source/platform/, part 2. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
Index: Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
diff --git a/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp b/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
index ececd1f99d5486fe1ea9d15ec211784e3b6f0acc..3cbe82889df3871e684974a31bf7b138d48b7f5f 100644
--- a/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
+++ b/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
@@ -3,15 +3,13 @@
// found in the LICENSE file.
#include "config.h"
-
#include "platform/image-decoders/bmp/BMPImageDecoder.h"
#include "platform/SharedBuffer.h"
#include "public/platform/WebUnitTestSupport.h"
-
#include <gtest/gtest.h>
-using namespace blink;
+namespace blink {
namespace {
@@ -28,7 +26,7 @@ PassOwnPtr<BMPImageDecoder> createDecoder()
return adoptPtr(new BMPImageDecoder(ImageSource::AlphaNotPremultiplied, ImageSource::GammaAndColorProfileApplied, ImageDecoder::noDecodedImageByteLimit));
}
-} // namespace
+} // anonymous namespace
TEST(BMPImageDecoderTest, isSizeAvailable)
{
@@ -75,3 +73,5 @@ TEST(BMPImageDecoderTest, emptyImage)
EXPECT_EQ(ImageFrame::FrameEmpty, frame->status());
EXPECT_TRUE(decoder->failed());
}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698