Removed some system tests not applicatple to tier 1 platforms

Change-Id: I24ab04409593f4b046aec55a1e467e3bb4b08464
Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
This commit is contained in:
dakovaci
2012-06-28 16:38:44 +10:00
committed by Qt by Nokia
parent dde8dc46f0
commit f717e5f49a

View File

@@ -49,32 +49,32 @@ Ensure a valid m3u file referring to locations where indicated media is availabl
Ensure the device can ping destinations on the network (if applicable) Ensure the device can ping destinations on the network (if applicable)
Have an audio stream url available (e.g. http://202.6.74.107:8060/triplej.mp3 for example) Have an audio stream url available (e.g. http://202.6.74.107:8060/triplej.mp3 for example)
Ensure access to Internet available to device either via 3G and WiFi Ensure access to Internet available to device either via 3G and WiFi
SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
*/ */
initTestCase: function() initTestCase: function()
{ {
}, },
play_an_audio_file_data: { play_an_audio_file_data: {
// mp3:[".mp3", "filename", "mpeg audio layer 3"], mp3:[".mp3", "filename", "mpeg audio layer 3"],
// wav:[".wav", "filename", "waveform audio"], wav:[".wav", "filename", "waveform audio"],
ogg:[".ogg", "filename", "container format"], ogg:[".ogg", "filename", "container format"],
// virbis:[".oga", "filename", "audio compression format"], vorbis:[".oga", "filename", "audio compression format"],
// speex:[".spx", "filename", "speech audio format"], speex:[".spx", "filename", "speech audio format"],
// flac:[".flac", "filename", "audio file format"] flac:[".flac", "filename", "audio file format"]
}, },
play_an_audio_file: function(extension, filename, format) play_an_audio_file: function(extension, filename, format)
{ {
// Test meta data // Test meta data
testApplication = "Multimedia - Play Audio File"; testTitle = "Multimedia - Play Audio File";
testBinary = "BGMPTest01"; testBinary = "player";
testSource = "$QTDIR/qtmultimedia/examples/player";
testGoal = "Verify that various Audio files can be played."; testGoal = "Verify that various Audio files can be played.";
testPreconditions = "Audio files in " + extension + " format are available on device. Launch the native Music player to populate the playlist before opening BGMPTest."; testPreconditions = "Audio files in " + extension + " format are available on device. Launch the native Music player to populate the playlist before opening BGMPTest.";
testGroups = "BAT"; testGroups = "BAT, 5.0";
// Test steps // Test steps
prompt(twiki("---+++ " + testApplication + "<br><br> prompt(twiki("---+++ " + testTitle + "<br><br>
*Goal:* " + testGoal + "<br> *Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br> *Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br> *Tested Binary:* " + testBinary + "<br>
@@ -88,25 +88,26 @@ SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
}, },
basic_player_controls_for_audio_data: { basic_player_controls_for_audio_data: {
// mp3:[".mp3", "filename", "mpeg audio layer 3"], mp3:[".mp3", "filename", "mpeg audio layer 3"],
// wav:[".wav", "filename", "waveform audio"], wav:[".wav", "filename", "waveform audio"],
ogg:[".ogg", "filename", "container format"], ogg:[".ogg", "filename", "container format"],
// virbis:[".oga", "filename", "audio compression format"], vorbis:[".oga", "filename", "audio compression format"],
// speex:[".spx", "filename", "speech audio format"], speex:[".spx", "filename", "speech audio format"],
//flac:[".flac", "filename", "audio file format"] flac:[".flac", "filename", "audio file format"]
}, },
basic_player_controls_for_audio: function(extension, filename, format) basic_player_controls_for_audio: function(extension, filename, format)
{ {
// Test meta data // Test meta data
testApplication = "Multimedia - Audio Player Controls"; testTitle = "Multimedia - Audio Player Controls";
testBinary = "BGMPTest01"; testBinary = "player";
testSource = "$QTDIR/qtmultimedia/examples/player";
testGoal = "Verify basic API for controlling audio playback "; testGoal = "Verify basic API for controlling audio playback ";
testPreconditions = "a test "+extension+" file is available on device"; testPreconditions = "a test "+extension+" file is available on device";
testGroups = "BAT"; testGroups = "BAT, 5.0";
// Test steps // Test steps
prompt(twiki("---+++ " + testApplication + "<br><br> prompt(twiki("---+++ " + testTitle + "<br><br>
*Goal:* " + testGoal + "<br> *Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br> *Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br> *Tested Binary:* " + testBinary + "<br>
@@ -131,25 +132,26 @@ SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
}, },
hardware_volume_controls_for_audio_data: { hardware_volume_controls_for_audio_data: {
// mp3:[".mp3", "filename", "mpeg audio layer 3"], mp3:[".mp3", "filename", "mpeg audio layer 3"],
// wav:[".wav", "filename", "waveform audio"], wav:[".wav", "filename", "waveform audio"],
ogg:[".ogg", "filename", "container format"], ogg:[".ogg", "filename", "container format"],
// virbis:[".oga", "filename", "audio compression format"], vorbis:[".oga", "filename", "audio compression format"],
// speex:[".spx", "filename", "speech audio format"], speex:[".spx", "filename", "speech audio format"],
//flac:[".flac", "filename", "audio file format"] flac:[".flac", "filename", "audio file format"]
}, },
hardware_volume_controls_for_audio: function(extension, filename, format) hardware_volume_controls_for_audio: function(extension, filename, format)
{ {
// Test meta data // Test meta data
testApplication = "Multimedia - Audio Player Controls"; testTitle = "Multimedia - Audio Player Controls";
testBinary = "BGMPTest01"; testBinary = "player";
testSource = "$QTDIR/qtmultimedia/examples/player";
testGoal = "Verify hardware volume control of audio playback "; testGoal = "Verify hardware volume control of audio playback ";
testPreconditions = "a test "+extension+" file is available on device"; testPreconditions = "a test "+extension+" file is available on device";
testGroups = "BAT"; testGroups = "BAT, 5.0";
// Test steps // Test steps
prompt(twiki("---+++ " + testApplication + "<br><br> prompt(twiki("---+++ " + testTitle + "<br><br>
*Goal:* " + testGoal + "<br> *Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br> *Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br> *Tested Binary:* " + testBinary + "<br>
@@ -166,25 +168,26 @@ SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
basic_playlist_controls_for_audio_data: { basic_playlist_controls_for_audio_data: {
// mp3:[".mp3", "filename", "mpeg audio layer 3"], mp3:[".mp3", "filename", "mpeg audio layer 3"],
// wav:[".wav", "filename", "waveform audio"], wav:[".wav", "filename", "waveform audio"],
ogg:[".ogg", "filename", "container format"], ogg:[".ogg", "filename", "container format"],
// virbis:[".oga", "filename", "audio compression format"], vorbis:[".oga", "filename", "audio compression format"],
// speex:[".spx", "filename", "speech audio format"], speex:[".spx", "filename", "speech audio format"],
//flac:[".flac", "filename", "audio file format"] flac:[".flac", "filename", "audio file format"]
}, },
basic_playlist_controls_for_audio: function(extension, filename, format) basic_playlist_controls_for_audio: function(extension, filename, format)
{ {
// Test meta data // Test meta data
testApplication = "Multimedia - Audio Player Controls"; testTitle = "Multimedia - Audio Player Controls";
testBinary = "BGMPTest01"; testBinary = "player";
testSource = "$QTDIR/qtmultimedia/examples/player";
testGoal = "Verify basic API for controlling playlist playback "; testGoal = "Verify basic API for controlling playlist playback ";
testPreconditions = "a test "+extension+" file is available on device"; testPreconditions = "a test "+extension+" file is available on device";
testGroups = "BAT"; testGroups = "BAT, 5.0";
// Test steps // Test steps
prompt(twiki("---+++ " + testApplication + "<br><br> prompt(twiki("---+++ " + testTitle + "<br><br>
*Goal:* " + testGoal + "<br> *Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br> *Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br> *Tested Binary:* " + testBinary + "<br>
@@ -220,25 +223,26 @@ SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
}, },
seek_controls_for_audio_data: { seek_controls_for_audio_data: {
//mp3:[".mp3", "filename", "mpeg audio layer 3"], mp3:[".mp3", "filename", "mpeg audio layer 3"],
//wav:[".wav", "filename", "waveform audio"], wav:[".wav", "filename", "waveform audio"],
ogg:[".ogg", "filename", "container format"], ogg:[".ogg", "filename", "container format"],
//virbis:[".oga", "filename", "audio compression format"], virbis:[".oga", "filename", "audio compression format"],
//speex:[".spx", "filename", "speech audio format"], speex:[".spx", "filename", "speech audio format"],
//flac:[".flac", "filename", "audio file format"] flac:[".flac", "filename", "audio file format"]
}, },
seek_controls_for_audio: function(extension, filename, format) seek_controls_for_audio: function(extension, filename, format)
{ {
// Test meta data // Test meta data
testApplication = "Multimedia - Audio Seek Controls"; testTitle = "Multimedia - Audio Seek Controls";
testBinary = "AudioPlayer"; testBinary = "AudioPlayer";
testSource = "$QTDIR/qtmultimedia/examples/player";
testGoal = "Verify FastForward and Rewind functionality of the API"; testGoal = "Verify FastForward and Rewind functionality of the API";
testPreconditions = "a test "+extension+" file is available on device"; testPreconditions = "a test "+extension+" file is available on device";
testGroups = "BAT"; testGroups = "BAT, 5.0";
// Test steps // Test steps
prompt(twiki("---+++ " + testApplication + "<br><br> prompt(twiki("---+++ " + testTitle + "<br><br>
*Goal:* " + testGoal + "<br> *Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br> *Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br> *Tested Binary:* " + testBinary + "<br>
@@ -265,14 +269,15 @@ SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
//*Note* For this test you need a playlist of streaming media urls. Suggest: http://202.6.74.107:8060/triplej.mp3 ; http://www.abc.net.au/streaming/triplej.asx ; rtsp://media1.abc.net.au/broadcast/triplej.rm ; mms://media3.abc.net.au/triplej ; depending on your platform and backend support. //*Note* For this test you need a playlist of streaming media urls. Suggest: http://202.6.74.107:8060/triplej.mp3 ; http://www.abc.net.au/streaming/triplej.asx ; rtsp://media1.abc.net.au/broadcast/triplej.rm ; mms://media3.abc.net.au/triplej ; depending on your platform and backend support.
// Test meta data // Test meta data
testApplication = "Multimedia - Content Streaming"; testTitle = "Multimedia - Content Streaming";
testBinary = "player"; testBinary = "player";
testSource = "$QTDIR/qtmultimedia/examples/player";
testGoal = "Verify playback of streaming audio media"; testGoal = "Verify playback of streaming audio media";
testPreconditions = ""; testPreconditions = "";
testGroups = "BAT"; testGroups = "BAT, 5.0";
// Test steps // Test steps
prompt(twiki("---+++ " + testApplication + "<br><br> prompt(twiki("---+++ " + testTitle + "<br><br>
*Goal:* " + testGoal + "<br> *Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br> *Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br> *Tested Binary:* " + testBinary + "<br>
@@ -297,95 +302,27 @@ SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
")); "));
}, },
lock_screen_controls_for_audio: function()
{
// Test meta data
testApplication = "Multimedia - Background Audio";
testBinary = "BGPlayback";
testGoal = "Verify LockScreen controls for Background Audio Playback.";
testPreconditions = "";
testGroups = "BAT, 1.2";
// Test steps
prompt(twiki("---+++ " + testApplication + "<br><br>
*Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br>
| *Step* | *Verification* |
| Launch " + testBinary + " | Verify app launches normally |
| Swipe application off screen | Verify that audio is still playing |
| Hit hardware Home key | Verify that the screen has locked |
| Double tap or hit the hardware Home key | Verify that you are now presented with the lock screen |
| | Verify that player controls are present on the lock screen: Back, Play and Next |
| | Verify that the currently playing track is displayed as well as artist |
| Tap the Pause button | Verify that the track has paused |
| | Verify that the Pause control has changed in to a Play control |
| Tap the Play control | Verify that the track has continued playing from the previous position |
| Tap the Next control | Verify that the next track is now playing from the start |
| Tap the Previous control | Verify that the original track is playing once again |
| Tap Pause and then Next | Verify that the next tracks details are displayed, but that the track is still paused and remains so |
| Reopen the BGPlayback app | Verify that the same track is selected as in the previous step |
| Return to lock screen and continue background playback | Verify that audio is playing |
| Interrupt playback with a phone call to the device | Verify that the audio pauses and that the ringtone is played |
| Stop the phone call | Verify that the background audio is now paused |
| Tap Play | Verify that the audio continues playing from the previously paused position |
"));
},
headset_removal: function()
{
// Test meta data
testApplication = "Multimedia - Removal of headset";
testBinary = "Audio Player";
testGoal = "Verify correct handling of headset removal.";
testPreconditions = "";
testGroups = "BAT, 1.2";
// Test steps
prompt(twiki("---+++ " + testApplication + "<br><br>
*Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br>
| *Step* | *Verification* |
| Launch " + testBinary + " | Verify app launches normally |
| Select Play on the application UI | Verify that audio is audible |
| Insert headset in to device | Verify that audio is no longer heard through the speakers, but is routed to the headset |
| Remove headset | Verify that playback has paused |
| Select Play on the application UI | Verify that audio is hears once again through the speakers |
| Turn volume down and then insert headset | Verify that sound is once again routed through headset, and that new volume setting is preserved |
| Close application | Verify that the application closes without issues |
"));
},
play_sound_effects: function() play_sound_effects: function()
{ {
// Test meta data // Test meta data
testApplication = "Multimedia - SoundEffects Playback"; testTitle = "Multimedia - SoundEffects Playback";
testBinary = "BeatBox"; testBinary = "player";
testSource = "$QTDIR/qtmultimedia/examples/player";
testGoal = "Verify playback of sound effects."; testGoal = "Verify playback of sound effects.";
testPreconditions = ""; testPreconditions = "";
testGroups = "BAT, 1.2"; testGroups = "BAT, 1.2";
// Test steps // Test steps
prompt(twiki("---+++ " + testApplication + "<br><br> prompt(twiki("---+++ " + testTitle + "<br><br>
*Goal:* " + testGoal + "<br> *Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br> *Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br> *Tested Binary:* " + testBinary + "<br>
| *Step* | *Verification* | | *Step* | *Verification* |
| Launch " + testBinary + " | Verify app launches normally | | Launch " + testBinary + " | Verify app launches normally |
| Touch red rectangle | Verify that a sound effect is audible | | play soundeffect | Verify that a sound effect is audible |
| Touch blue rectangle | Verify that a sound effect is audible |
| Touch green rectangle | Verify that a sound effect is audible |
| Touch yellow rectangle | Verify that a sound effect is audible |
| Touch a combination of rectangles in quick succession | Verify that sound effects trigger on each touch |
| Close application | Verify that the application closes without issues | | Close application | Verify that the application closes without issues |
")); "));
}, },
@@ -394,14 +331,15 @@ SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
{ {
// Test meta data // Test meta data
testApplication = "Multimedia - SoundEffects Playback"; testTitle = "Multimedia - SoundEffects Playback";
testBinary = "BeatBox"; testBinary = "player";
testSource = "$QTDIR/qtmultimedia/examples/player";
testGoal = "Change volume of sound effects."; testGoal = "Change volume of sound effects.";
testPreconditions = ""; testPreconditions = "";
testGroups = "BAT, 1.2"; testGroups = "BAT, 1.2";
// Test steps // Test steps
prompt(twiki("---+++ " + testApplication + "<br><br> prompt(twiki("---+++ " + testTitle + "<br><br>
*Goal:* " + testGoal + "<br> *Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br> *Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br> *Tested Binary:* " + testBinary + "<br>
@@ -420,21 +358,22 @@ SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
{ {
// Test meta data // Test meta data
testApplication = "Multimedia - SoundEffects Playback"; testTitle = "Multimedia - SoundEffects Playback";
testBinary = "BeatBox"; testBinary = "player";
testSource = "$QTDIR/qtmultimedia/examples/player";
testGoal = "Verify playback of sound effects over audio track."; testGoal = "Verify playback of sound effects over audio track.";
testPreconditions = "BGMPTest01 application to provide background playback"; testPreconditions = "player application to provide background playback";
testGroups = "BAT, 1.2"; testGroups = "BAT, 1.2";
// Test steps // Test steps
prompt(twiki("---+++ " + testApplication + "<br><br> prompt(twiki("---+++ " + testTitle + "<br><br>
*Goal:* " + testGoal + "<br> *Goal:* " + testGoal + "<br>
*Pre-Requisites:* " + testPreconditions + "<br> *Pre-Requisites:* " + testPreconditions + "<br>
*Tested Binary:* " + testBinary + "<br> *Tested Binary:* " + testBinary + "<br>
| *Step* | *Verification* | | *Step* | *Verification* |
| Launch BGMPTest01, start playback of playlist | Audio should be heard from the device | | Launch player, start playback of playlist | Audio should be heard from the device |
| Swipe to background BGMPTest01 | Audio should still be heard from BGMPTest01 | | Swipe to background player | Audio should still be heard from player |
| Launch " + testBinary + " | Verify app launches normally | | Launch " + testBinary + " | Verify app launches normally |
| Touch red rectangle | Verify that a sound effect is audible together with the background track | | Touch red rectangle | Verify that a sound effect is audible together with the background track |
| Touch blue rectangle | Verify that a sound effect is audible together with the background track | | Touch blue rectangle | Verify that a sound effect is audible together with the background track |
@@ -442,7 +381,7 @@ SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
| Touch yellow rectangle | Verify that a sound effect is audible together with the background track | | Touch yellow rectangle | Verify that a sound effect is audible together with the background track |
| Touch a combination of rectangles in quick succession | Verify that sound effects trigger on each touch and that the background track can still be heard | | Touch a combination of rectangles in quick succession | Verify that sound effects trigger on each touch and that the background track can still be heard |
| Close application | Verify that the application closes without issues | | Close application | Verify that the application closes without issues |
| | Verify that BGMPTest01 is still playing audio tracks | | | Verify that player is still playing audio tracks |
")); "));
} }
} }