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

Unified Diff: media/cast/framer/frame_buffer_unittest.cc

Issue 148663003: Cast: Refactor framer to Clang format (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « media/cast/framer/frame_buffer.cc ('k') | media/cast/framer/frame_id_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/framer/frame_buffer_unittest.cc
diff --git a/media/cast/framer/frame_buffer_unittest.cc b/media/cast/framer/frame_buffer_unittest.cc
index 96d3570f0836fa249e039e3a73a5bfb475fa1b86..a407dca2b698fcba11d82ff61133aa5835bb0f79 100644
--- a/media/cast/framer/frame_buffer_unittest.cc
+++ b/media/cast/framer/frame_buffer_unittest.cc
@@ -10,13 +10,8 @@ namespace cast {
class FrameBufferTest : public ::testing::Test {
protected:
- FrameBufferTest() {}
-
- virtual ~FrameBufferTest() {}
-
- virtual void SetUp() {
+ FrameBufferTest() {
payload_.assign(kMaxIpPacketSize, 0);
-
// Build a default one packet frame - populate webrtc header.
rtp_header_.is_key_frame = false;
rtp_header_.frame_id = 0;
@@ -26,9 +21,13 @@ class FrameBufferTest : public ::testing::Test {
rtp_header_.reference_frame_id = 0;
}
+ virtual ~FrameBufferTest() {}
+
FrameBuffer buffer_;
std::vector<uint8> payload_;
RtpCastHeader rtp_header_;
+
+ DISALLOW_COPY_AND_ASSIGN(FrameBufferTest);
};
TEST_F(FrameBufferTest, EmptyBuffer) {
« no previous file with comments | « media/cast/framer/frame_buffer.cc ('k') | media/cast/framer/frame_id_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698