Re-enable NetEQ DecoderDatabase test for Android
The test was failing because iLBC is not enabled on Android. Now, the test is using PCM16B instead. BUG=3343 R=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/16519004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6143 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
		| @@ -68,11 +68,11 @@ TEST(DecoderDatabase, GetRtpPayloadType) { | |||||||
|             db.GetRtpPayloadType(kDecoderISAC));  // iSAC is not registered. |             db.GetRtpPayloadType(kDecoderISAC));  // iSAC is not registered. | ||||||
| } | } | ||||||
|  |  | ||||||
| TEST(DecoderDatabase, DISABLED_ON_ANDROID(GetDecoder)) { | TEST(DecoderDatabase, GetDecoder) { | ||||||
|   DecoderDatabase db; |   DecoderDatabase db; | ||||||
|   const uint8_t kPayloadType = 0; |   const uint8_t kPayloadType = 0; | ||||||
|   EXPECT_EQ(DecoderDatabase::kOK, |   EXPECT_EQ(DecoderDatabase::kOK, | ||||||
|             db.RegisterPayload(kPayloadType, kDecoderILBC)); |             db.RegisterPayload(kPayloadType, kDecoderPCM16B)); | ||||||
|   AudioDecoder* dec = db.GetDecoder(kPayloadType); |   AudioDecoder* dec = db.GetDecoder(kPayloadType); | ||||||
|   ASSERT_TRUE(dec != NULL); |   ASSERT_TRUE(dec != NULL); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 henrik.lundin@webrtc.org
					henrik.lundin@webrtc.org