commit | 975d52af754e6f05089fcd9f7066df05c290c3b7 | [log] [tgz] |
---|---|---|
author | Debashish Chatterjee <debashishc@google.com> | Fri Jul 01 15:36:56 2011 +0100 |
committer | Debashish Chatterjee <debashishc@google.com> | Fri Jul 01 15:36:56 2011 +0100 |
tree | 141c20ec26a620b2117bccccb366b417bff6927a | |
parent | 92d97071e56110e0df7f25e6ebc92ff4ebf74a88 [diff] |
Fixed VoicemailProviderTest. A recent change in voicemail content provider used the package manager queryBroadcastReceivers() to query the receiving packages of the broadcast intent. However, mock package manager used in the test env does not support this operation and throws an exception. The fix is to wrap this method within the content provider implementation and stub the wrapper method in the test. Change-Id: Ief4887f1379614466ea6471cf7b132ef873550ba