Enabled the volume tests we believe are nonflaky and the vie_auto_test extended tests.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/422002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1797 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org
2012-02-29 14:34:06 +00:00
parent 52493bd559
commit 2d124f3d88
2 changed files with 8 additions and 7 deletions

View File

@@ -44,7 +44,9 @@ TEST_F(VolumeTest, ManualSetVolumeWorks) {
#if !defined(MAC_IPHONE)
TEST_F(VolumeTest, DefaultMicrophoneVolumeIsAtMost255) {
// NOTE(phoglund): This test is flaky because of how the OS works, and is hence
// disabled by default.
TEST_F(VolumeTest, DISABLED_DefaultMicrophoneVolumeIsAtMost255) {
unsigned int volume = 1000;
EXPECT_EQ(0, voe_volume_control_->GetMicVolume(volume));
EXPECT_LE(volume, 255u);
@@ -121,7 +123,9 @@ TEST_F(VolumeTest, ManualInputMutingMutesMicrophone) {
Sleep(2000);
}
TEST_F(VolumeTest, SystemInputMutingIsNotEnabledByDefault) {
// NOTE(phoglund): This test is flaky because of how the OS works, and is hence
// disabled by default.
TEST_F(VolumeTest, DISABLED_SystemInputMutingIsNotEnabledByDefault) {
bool is_muted = true;
EXPECT_EQ(0, voe_volume_control_->GetSystemInputMute(is_muted));
EXPECT_FALSE(is_muted);