0
|
1 |
@file char_mmf_audioplay_none.script
|
|
2 |
// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
// All rights reserved.
|
|
4 |
// This component and the accompanying materials are made available
|
|
5 |
// under the terms of "Eclipse Public License v1.0"
|
|
6 |
// which accompanies this distribution, and is available
|
|
7 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
//
|
|
9 |
// Initial Contributors:
|
|
10 |
// Nokia Corporation - initial contribution.
|
|
11 |
//
|
|
12 |
// Contributors:
|
|
13 |
//
|
|
14 |
// Description:
|
|
15 |
//
|
|
16 |
|
|
17 |
PRINT
|
|
18 |
LOAD_SUITE char_mmf_audioplay.dll
|
|
19 |
|
|
20 |
# wait for ring.wav to finish playing
|
|
21 |
delay 1000
|
|
22 |
|
5
|
23 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0003 //This test is not running as the functionality is not supported.
|
0
|
24 |
//!@SYMTestCaseDesc Open an audio file with no controller to support the audio file format.
|
|
25 |
//!@SYMTestPriority 4
|
|
26 |
//!@SYMTestActions 1. Create audio player utility 2. Open an audio file with no controller to support the audio file format.
|
|
27 |
//!@SYMTestExpectedResults The MapcInitComplete() callback function should pass KErrNotSupported.
|
|
28 |
//RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0003 \char\mmf\char_mmf_audioplay.ini
|
|
29 |
//TEST_COMPLETE
|
|
30 |
|
|
31 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0004
|
|
32 |
//!@SYMTestCaseDesc Open an audio file providing the incorrect path i.e. no such file exists in that path.
|
|
33 |
//!@SYMTestPriority 4
|
|
34 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio file with give incorrect path of the file as an argument to the API.
|
|
35 |
//!@SYMTestExpectedResults The MapcInitComplete() callback function should pass KErrNotFound.
|
|
36 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0004 \char\mmf\char_mmf_audioplay.ini
|
|
37 |
TEST_COMPLETE
|
|
38 |
|
|
39 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0007
|
|
40 |
//!@SYMTestCaseDesc Open an audio clip from a descriptor with no controller to support the audio file format.
|
|
41 |
//!@SYMTestPriority 4
|
|
42 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio clip from a descriptor with no controller to support the audio file for
|
|
43 |
//!mat.
|
|
44 |
//!@SYMTestExpectedResults The MapcInitComplete() callback function should pass KErrNotSupported.
|
|
45 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0007 \char\mmf\char_mmf_audioplay.ini
|
|
46 |
TEST_COMPLETE
|
|
47 |
|
|
48 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0022
|
|
49 |
//!@SYMTestCaseDesc Get the current playback volume before opening the audio clip.
|
|
50 |
//!@SYMTestPriority 4
|
|
51 |
//!@SYMTestActions 1. Create audio player utility. 2. Get the current playback volume.
|
|
52 |
//!@SYMTestExpectedResults GetVolume() panics with KERN-EXEC 3.
|
|
53 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0022 \char\mmf\char_mmf_audioplay.ini
|
|
54 |
TEST_COMPLETE
|
|
55 |
|
|
56 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0027
|
|
57 |
//!@SYMTestCaseDesc Set the current playback volume to zero before opening the audio clip.
|
|
58 |
//!@SYMTestPriority 4
|
|
59 |
//!@SYMTestActions 1. Create audio player utility. 2. Set the current playback volume to zero.
|
|
60 |
//!@SYMTestExpectedResults SetVolume() panics with KERN-EXEC 3.
|
|
61 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0027 \char\mmf\char_mmf_audioplay.ini
|
|
62 |
TEST_COMPLETE
|
|
63 |
|
|
64 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0036
|
|
65 |
//!@SYMTestCaseDesc Set the number of times the audio clip is to be repeated to zero before opening the audio clip.
|
|
66 |
//!@SYMTestPriority 4
|
|
67 |
//!@SYMTestActions 1. Create audio player utility. 2. Set the number fo times the audio clip is to be repeated to zero.
|
|
68 |
//!@SYMTestExpectedResults SetRepeats() sets the numebr of times to repeat the audio clip to zero.
|
|
69 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0036 \char\mmf\char_mmf_audioplay.ini
|
|
70 |
TEST_COMPLETE
|
|
71 |
|
|
72 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0037
|
|
73 |
//!@SYMTestCaseDesc Set the number of times the audio clip is to be repeated to KMdaRepeatForever before opening the audio clip.
|
|
74 |
//!@SYMTestPriority 4
|
|
75 |
//!@SYMTestActions 1. Create audio player utility. 2. Set the number fo times the audio clip is to be repeated to KMdaRepeatForever.
|
|
76 |
//!@SYMTestExpectedResults SetRepeats() sets the numebr of times to repeat the audio clip to KMdaRepeatForever.
|
|
77 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0037 \char\mmf\char_mmf_audioplay.ini
|
|
78 |
TEST_COMPLETE
|
|
79 |
|
|
80 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0040
|
|
81 |
//!@SYMTestCaseDesc Set the priority for playback before opening the audio clip.
|
|
82 |
//!@SYMTestPriority 4
|
|
83 |
//!@SYMTestActions 1. Create audio player utility. 2. Set the priority for playback.
|
|
84 |
//!@SYMTestExpectedResults SetPriority() returns KErrNotReady.
|
|
85 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0040 \char\mmf\char_mmf_audioplay.ini
|
|
86 |
TEST_COMPLETE
|
|
87 |
|
|
88 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0061
|
|
89 |
//!@SYMTestCaseDesc Clear the current playback window before opening the audio clip.
|
|
90 |
//!@SYMTestPriority 4
|
|
91 |
//!@SYMTestActions 1. Create audio player utility. 2. Clear the current playback window.
|
|
92 |
//!@SYMTestExpectedResults 1. ClearPlayWindow() should return KErrNone. 2. This is a no operation.
|
|
93 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0061 \char\mmf\char_mmf_audioplay.ini
|
|
94 |
TEST_COMPLETE
|
|
95 |
|
|
96 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0071
|
|
97 |
//!@SYMTestCaseDesc Set the current playback balance before opening the clip.
|
|
98 |
//!@SYMTestPriority 4
|
|
99 |
//!@SYMTestActions 1. Create audio player utility. 2. Set the current playback balance.
|
|
100 |
//!@SYMTestExpectedResults SetBalance() should return KErrNotReady.
|
|
101 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0071 \char\mmf\char_mmf_audioplay.ini
|
|
102 |
TEST_COMPLETE
|
|
103 |
|
|
104 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0074
|
|
105 |
//!@SYMTestCaseDesc Get the current playback balance before opening the clip.
|
|
106 |
//!@SYMTestPriority 4
|
|
107 |
//!@SYMTestActions 1. Create audio player utility. 2. Get the current playback balance.
|
|
108 |
//!@SYMTestExpectedResults GetBalance() should return KErrNotReady.
|
|
109 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0074 \char\mmf\char_mmf_audioplay.ini
|
|
110 |
TEST_COMPLETE
|
|
111 |
|
|
112 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0077
|
|
113 |
//!@SYMTestCaseDesc Get the bit rate of the audio clip before opening the clip.
|
|
114 |
//!@SYMTestPriority 4
|
|
115 |
//!@SYMTestActions 1. Create audio player utility. 2. Get the bit rate of the audio clip.
|
|
116 |
//!@SYMTestExpectedResults GetBitRate() should return KErrNotReady.
|
|
117 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0077 \char\mmf\char_mmf_audioplay.ini
|
|
118 |
TEST_COMPLETE
|
|
119 |
|
|
120 |
// KNOWN Failures
|
|
121 |
//URL Support is not available
|
|
122 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-NONE-I-0009
|
|
123 |
//!@SYMTestCaseDesc Open an audio clip file from a URL.
|
|
124 |
//!@SYMTestPriority 4
|
|
125 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio clip from a URL.
|
|
126 |
//!@SYMTestExpectedResults The MapcInitComplete() callback function should pass KErrNone.
|
|
127 |
//RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-NONE-I-0009 \char\mmf\char_mmf_audioplay.ini
|
|
128 |
//TEST_COMPLETE
|