voice_engine/test/auto_test/standard/hardware_before_streaming_test.cc
TEST_F(HardwareBeforeStreamingTest,
       SetAudioDeviceLayerFailsSinceTheVoiceEngineHasBeenInitialized) {
  EXPECT_NE(0, voe_hardware_->SetAudioDeviceLayer(kAudioPlatformDefault));
  EXPECT_EQ(VE_ALREADY_INITED, voe_base_->LastError());
}
// Tests that apply to both mobile and desktop:
Tests that apply to both mobile and desktop.
Tests that apply to both mobile and desktop .
TEST_F(HardwareBeforeStreamingTest,
       SetAudioDeviceLayerFailsSinceTheVoiceEngineHasBeenInitialized) {
  EXPECT_NE(0, voe_hardware_->SetAudioDeviceLayer(kAudioPlatformDefault));
  EXPECT_EQ(VE_ALREADY_INITED, voe_base_->LastError());
}
TEST_F ( HardwareBeforeStreamingTest , SetAudioDeviceLayerFailsSinceTheVoiceEngineHasBeenInitialized ) { EXPECT_NE ( 0 , voe_hardware_ -> SetAudioDeviceLayer ( kAudioPlatformDefault ) ) ; EXPECT_EQ ( VE_ALREADY_INITED , voe_base_ -> LastError ( ) ) ; }
Tests that apply to both mobile and desktop:
Tests that apply to both mobile and desktop :