Reformat the WebRTC code base
Running clang-format with chromium's style guide. The goal is n-fold: * providing consistency and readability (that's what code guidelines are for) * preventing noise with presubmit checks and git cl format * building on the previous point: making it easier to automatically fix format issues * you name it Please consider using git-hyper-blame to ignore this commit. Bug: webrtc:9340 Change-Id: I694567c4cdf8cee2860958cfe82bfaf25848bb87 Reviewed-on: https://webrtc-review.googlesource.com/81185 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23660}
This commit is contained in:
@ -54,8 +54,7 @@ class RentACodecTestF : public ::testing::Test {
|
||||
int expected_send_even_if_empty) {
|
||||
rtc::Buffer out;
|
||||
AudioEncoder::EncodedInfo encoded_info;
|
||||
encoded_info =
|
||||
encoder_->Encode(timestamp_, kZeroData, &out);
|
||||
encoded_info = encoder_->Encode(timestamp_, kZeroData, &out);
|
||||
timestamp_ += kDataLengthSamples;
|
||||
EXPECT_TRUE(encoded_info.redundant.empty());
|
||||
EXPECT_EQ(expected_out_length, encoded_info.encoded_bytes);
|
||||
@ -132,9 +131,8 @@ TEST(RentACodecTest, ExternalEncoder) {
|
||||
{
|
||||
::testing::InSequence s;
|
||||
info.encoded_timestamp = 0;
|
||||
EXPECT_CALL(
|
||||
*external_encoder,
|
||||
EncodeImpl(0, rtc::ArrayView<const int16_t>(audio), &encoded))
|
||||
EXPECT_CALL(*external_encoder,
|
||||
EncodeImpl(0, rtc::ArrayView<const int16_t>(audio), &encoded))
|
||||
.WillOnce(Return(info));
|
||||
EXPECT_CALL(marker, Mark("A"));
|
||||
EXPECT_CALL(marker, Mark("B"));
|
||||
|
||||
Reference in New Issue
Block a user