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

Side by Side Diff: remoting/protocol/connection_unittest.cc

Issue 2659823003: Disable ConnectionTest.Audio (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #define _USE_MATH_DEFINES // For VC++ to get M_PI. This has to be first. 5 #define _USE_MATH_DEFINES // For VC++ to get M_PI. This has to be first.
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 stats.host_stats.capture_delay + 612 stats.host_stats.capture_delay +
613 stats.host_stats.capture_overhead_delay + 613 stats.host_stats.capture_overhead_delay +
614 stats.host_stats.encode_delay + 614 stats.host_stats.encode_delay +
615 stats.host_stats.send_pending_delay, 615 stats.host_stats.send_pending_delay,
616 stats.client_stats.time_received); 616 stats.client_stats.time_received);
617 EXPECT_LE(stats.client_stats.time_received, stats.client_stats.time_decoded); 617 EXPECT_LE(stats.client_stats.time_received, stats.client_stats.time_decoded);
618 EXPECT_LE(stats.client_stats.time_decoded, stats.client_stats.time_rendered); 618 EXPECT_LE(stats.client_stats.time_decoded, stats.client_stats.time_rendered);
619 EXPECT_LE(stats.client_stats.time_rendered, finish_time); 619 EXPECT_LE(stats.client_stats.time_rendered, finish_time);
620 } 620 }
621 621
622 TEST_P(ConnectionTest, Audio) { 622 // Disabling due to failures after WebRTC roll http://crbug.com/685910
623 TEST_P(ConnectionTest, DISABLED_Audio) {
623 Connect(); 624 Connect();
624 625
625 std::unique_ptr<AudioStream> audio_stream = 626 std::unique_ptr<AudioStream> audio_stream =
626 host_connection_->StartAudioStream(base::MakeUnique<TestAudioSource>()); 627 host_connection_->StartAudioStream(base::MakeUnique<TestAudioSource>());
627 628
628 // Wait for 1 second worth of audio samples. 629 // Wait for 1 second worth of audio samples.
629 client_audio_player_.WaitForSamples(kAudioSampleRate * 2); 630 client_audio_player_.WaitForSamples(kAudioSampleRate * 2);
630 client_audio_player_.Verify(); 631 client_audio_player_.Verify();
631 } 632 }
632 633
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 auto capturer = base::MakeUnique<TestScreenCapturer>(); 670 auto capturer = base::MakeUnique<TestScreenCapturer>();
670 capturer->FailNthFrame(1); 671 capturer->FailNthFrame(1);
671 auto video_stream = host_connection_->StartVideoStream(std::move(capturer)); 672 auto video_stream = host_connection_->StartVideoStream(std::move(capturer));
672 673
673 WaitNextVideoFrame(); 674 WaitNextVideoFrame();
674 WaitNextVideoFrame(); 675 WaitNextVideoFrame();
675 } 676 }
676 677
677 } // namespace protocol 678 } // namespace protocol
678 } // namespace remoting 679 } // namespace remoting
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698