voice_engine/test/auto_test/standard/codec_before_streaming_test.cc
TEST_F(CodecBeforeStreamingTest, GetRecPayloadTypeFailsForInvalidCodecName) {
  strcpy(codec_instance_.plname, "SomeInvalidCodecName");

  // Should fail since the codec name is invalid.
  EXPECT_NE(0, voe_codec_->GetRecPayloadType(channel_, codec_instance_));
}
// TODO(phoglund): add test which verifies default pltypes for various codecs.
add test which verifies default pltypes for various codecs.
add test which verifies default pltypes for various codecs .
TEST_F(CodecBeforeStreamingTest, GetRecPayloadTypeFailsForInvalidCodecName) {
  strcpy(codec_instance_.plname, "SomeInvalidCodecName");
  EXPECT_NE(0, voe_codec_->GetRecPayloadType(channel_, codec_instance_));
}
TEST_F ( CodecBeforeStreamingTest , GetRecPayloadTypeFailsForInvalidCodecName ) { strcpy ( codec_instance_ . plname , " " ) ; EXPECT_NE ( 0 , voe_codec_ -> GetRecPayloadType ( channel_ , codec_instance_ ) ) ; }
TODO(phoglund): add test which verifies default pltypes for various codecs.
TODO ( phoglund ) : add test which verifies default pltypes for various codecs .
// Should fail since the codec name is invalid.