Methods Summary |
---|
public void | audioPlayback(java.lang.String filePath)
try {
MediaPlayer mp = new MediaPlayer();
mp.setDataSource(filePath);
mp.prepare();
mp.start();
Thread.sleep(200000);
mp.stop();
mp.release();
} catch (Exception e) {
Log.v(TAG, e.toString());
assertTrue("MP3 Playback", false);
}
|
protected void | setUp()
getActivity();
super.setUp();
|
public void | testPowerLocalMP3Playback()
audioPlayback(MP3_POWERTEST);
|
public void | testPowerStreamAACPlayback()
audioPlayback(AAC_STREAM);
|
public void | testPowerStreamMP3Playback()
audioPlayback(MP3_STREAM);
|
public void | testPowerStreamOGGPlayback()
audioPlayback(OGG_STREAM);
|