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,67 +49,68 @@ 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>
| *Step* | *Verification* | | *Step* | *Verification* |
| Launch " + testBinary + " | App launches normally | | Launch " + testBinary + " | App launches normally |
| Verify that the playlist has populated the application | | | Verify that the playlist has populated the application | |
| Select the desired "+filename+extension+" and press play | Verify that the " + format + " file is audible on device | | Select the desired "+filename+extension+" and press play | Verify that the " + format + " file is audible on device |
")); "));
}, },
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";
testGoal = "Verify basic API for controlling audio playback "; testSource = "$QTDIR/qtmultimedia/examples/player";
testPreconditions = "a test "+extension+" file is available on device"; testGoal = "Verify basic API for controlling audio playback ";
testGroups = "BAT"; testPreconditions = "a test "+extension+" file is available on device";
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>
| *Step* | *Verification* | | *Step* | *Verification* |
| Launch " + testBinary + " | App launches normally | | Launch " + testBinary + " | App launches normally |
@@ -130,29 +131,30 @@ 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";
testGoal = "Verify hardware volume control of audio playback "; testSource = "$QTDIR/qtmultimedia/examples/player";
testPreconditions = "a test "+extension+" file is available on device"; testGoal = "Verify hardware volume control of audio playback ";
testGroups = "BAT"; testPreconditions = "a test "+extension+" file is available on device";
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>
| *Step* | *Verification* | | *Step* | *Verification* |
| Launch " + testBinary + " | App launches normally | | Launch " + testBinary + " | App launches normally |
@@ -166,28 +168,29 @@ 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";
testGoal = "Verify basic API for controlling playlist playback "; testSource = "$QTDIR/qtmultimedia/examples/player";
testPreconditions = "a test "+extension+" file is available on device"; testGoal = "Verify basic API for controlling playlist playback ";
testGroups = "BAT"; testPreconditions = "a test "+extension+" file is available on device";
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>
| *Step* | *Verification* | | *Step* | *Verification* |
| Launch " + testBinary + " | App launches normally | | Launch " + testBinary + " | App launches normally |
@@ -220,28 +223,29 @@ 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";
testGoal = "Verify FastForward and Rewind functionality of the API"; testSource = "$QTDIR/qtmultimedia/examples/player";
testPreconditions = "a test "+extension+" file is available on device"; testGoal = "Verify FastForward and Rewind functionality of the API";
testGroups = "BAT"; testPreconditions = "a test "+extension+" file is available on device";
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>
| *Step* | *Verification* | | *Step* | *Verification* |
| Launch " + testBinary + " | App launches normally | | Launch " + testBinary + " | App launches normally |
@@ -264,101 +268,37 @@ 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";
testGoal = "Verify playback of streaming audio media"; testSource = "$QTDIR/qtmultimedia/examples/player";
testPreconditions = ""; testGoal = "Verify playback of streaming audio media";
testGroups = "BAT"; testPreconditions = "";
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>
| *Step* | *Verification* | | *Step* | *Verification* |
| Launch " + testBinary + " | App launches normally | | Launch " + testBinary + " | App launches normally |
| In player application, Select or Tap [Open] | | | In player application, Select or Tap [Open] | |
| In [Open File] navigate and highlight test (streaming) playlist file | | | In [Open File] navigate and highlight test (streaming) playlist file | |
| Select or Tap on selected file to return to player UI | Verify selected file has populated playlist | | Select or Tap on selected file to return to player UI | Verify selected file has populated playlist |
| Highlight file in playlist by selecting or clicking it | | | Highlight file in playlist by selecting or clicking it | |
| Select [Play] | Verify that stream is playing on device | | Select [Play] | Verify that stream is playing on device |
| Select [Pause] | Verify that stream is paused on device | | Select [Pause] | Verify that stream is paused on device |
| | Verify that the [Pause] button has changed to a [Play] button | | | Verify that the [Pause] button has changed to a [Play] button |
| Select [Play] again | Verify that stream is playing on device | | Select [Play] again | Verify that stream is playing on device |
| Select [Stop] | | | Select [Stop] | |
| Open local mp3 file in to play list and select it to play | Verify that the mp3 plays while the stream name is still present in the playlist | | Open local mp3 file in to play list and select it to play | Verify that the mp3 plays while the stream name is still present in the playlist |
| Re-select the stream in the playlist | Verify that the stream starts playing again | | Re-select the stream in the playlist | Verify that the stream starts playing again |
| Select [Next File] | Verify that the player started playing the next file in the playlist | | Select [Next File] | Verify that the player started playing the next file in the playlist |
| Select [Previous File] | Verify that the original stream is playing again | | Select [Previous File] | Verify that the original stream is playing again |
| During stream playback, have headphones connected to device | Verify that the sound is now playing through the headphones | | During stream playback, have headphones connected to device | Verify that the sound is now playing through the headphones |
| Invoke a system notification on the device (such as an incoming SMS) | Verify that the device correctly transmits the audible system notification through the devices speakers and then returns to playing the stream through the headphones | | Invoke a system notification on the device (such as an incoming SMS) | Verify that the device correctly transmits the audible system notification through the devices speakers and then returns to playing the stream through the headphones |
"));
},
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 |
")); "));
}, },
@@ -367,25 +307,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."; 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>
@@ -419,30 +357,31 @@ SIM cards from Vodafone and Testra (Australia) needed for 3G streaming testing
play_sound_effects_over_compressed_audio: function() play_sound_effects_over_compressed_audio: function()
{ {
// Test meta data // Test meta data
testApplication = "Multimedia - SoundEffects Playback"; testTitle = "Multimedia - SoundEffects Playback";
testBinary = "BeatBox"; testBinary = "player";
testGoal = "Verify playback of sound effects over audio track."; testSource = "$QTDIR/qtmultimedia/examples/player";
testPreconditions = "BGMPTest01 application to provide background playback"; testGoal = "Verify playback of sound effects over audio track.";
testGroups = "BAT, 1.2"; testPreconditions = "player application to provide background playback";
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 |
| Touch green rectangle | Verify that a sound effect is audible together with the background track | | Touch green 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 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 |
")); "));
} }
} }