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

Unified Diff: net/quic/quic_fec_group_test.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: net/quic/quic_fec_group_test.cc
diff --git a/net/quic/quic_fec_group_test.cc b/net/quic/quic_fec_group_test.cc
index da8d8a0f8627e4828280bb84a1b02f35ff52eddf..d2fd1c6115dfe49f063ec5413fec591ddd1cded5 100644
--- a/net/quic/quic_fec_group_test.cc
+++ b/net/quic/quic_fec_group_test.cc
@@ -20,21 +20,12 @@ namespace net {
namespace {
const char* kData[] = {
- "abc12345678",
- "987defg",
- "ghi12345",
- "987jlkmno",
- "mno4567890",
- "789pqrstuvw",
+ "abc12345678", "987defg", "ghi12345",
+ "987jlkmno", "mno4567890", "789pqrstuvw",
};
const bool kEntropyFlag[] = {
- false,
- true,
- true,
- false,
- true,
- true,
+ false, true, true, false, true, true,
};
} // namespace
@@ -79,7 +70,7 @@ class QuicFecGroupTest : public ::testing::Test {
ASSERT_TRUE(group.CanRevive() == (packet == num_packets - 1));
}
} else {
- // Update the FEC state for each non-lost packet.
+ // Update the FEC state for each non-lost packet.
for (size_t packet = 0; packet < num_packets; packet++) {
if (packet == lost_packet) {
continue;
@@ -104,9 +95,8 @@ class QuicFecGroupTest : public ::testing::Test {
char recovered[kMaxPacketSize];
ASSERT_TRUE(group.CanRevive());
size_t len = group.Revive(&header, recovered, arraysize(recovered));
- ASSERT_NE(0u, len)
- << "Failed to revive packet " << lost_packet << " out of "
- << num_packets;
+ ASSERT_NE(0u, len) << "Failed to revive packet " << lost_packet
+ << " out of " << num_packets;
EXPECT_EQ(lost_packet, header.packet_sequence_number)
<< "Failed to revive packet " << lost_packet << " out of "
<< num_packets;

Powered by Google App Engine
This is Rietveld 408576698