Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91aacb1c authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

mp3dec: Add test for mp3 file with error protection data

Bug: 170985202
Test: atest Mp3DecoderTest -- --enable-module-dynamic-download=true

Change-Id: I8a90db15a747f5abc7fc0713f6e19fbb485de92a
parent 7a203751
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -19,7 +19,7 @@
        <option name="cleanup" value="true" />
        <option name="cleanup" value="true" />
        <option name="push" value="Mp3DecoderTest->/data/local/tmp/Mp3DecoderTest" />
        <option name="push" value="Mp3DecoderTest->/data/local/tmp/Mp3DecoderTest" />
        <option name="push-file"
        <option name="push-file"
            key="https://storage.googleapis.com/android_media/frameworks/av/media/libstagefright/mp3dec/test/Mp3DecoderTest-1.1.zip?unzip=true"
            key="https://storage.googleapis.com/android_media/frameworks/av/media/libstagefright/mp3dec/test/Mp3DecoderTest-1.2.zip?unzip=true"
            value="/data/local/tmp/Mp3DecoderTestRes/" />
            value="/data/local/tmp/Mp3DecoderTestRes/" />
    </target_preparer>
    </target_preparer>


+1 −0
Original line number Original line Diff line number Diff line
@@ -186,6 +186,7 @@ INSTANTIATE_TEST_SUITE_P(Mp3DecoderTestAll, Mp3DecoderTest,
                         ::testing::Values(("bbb_44100hz_2ch_128kbps_mp3_30sec.mp3"),
                         ::testing::Values(("bbb_44100hz_2ch_128kbps_mp3_30sec.mp3"),
                                           ("bbb_44100hz_2ch_128kbps_mp3_5mins.mp3"),
                                           ("bbb_44100hz_2ch_128kbps_mp3_5mins.mp3"),
                                           ("bug_136053885.mp3"),
                                           ("bug_136053885.mp3"),
                                           ("bbb_2ch_44kHz_lame_crc.mp3"),
                                           ("bbb_mp3_stereo_192kbps_48000hz.mp3")));
                                           ("bbb_mp3_stereo_192kbps_48000hz.mp3")));


int main(int argc, char **argv) {
int main(int argc, char **argv) {