0
|
1 |
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// @file char_mmf_audioplay_amr_notification.script
|
|
15 |
//
|
5
|
16 |
////This script is not running as the functionality is not supported.
|
0
|
17 |
|
|
18 |
PRINT
|
|
19 |
LOAD_SUITE char_mmf_audioplay.dll
|
|
20 |
|
|
21 |
# wait for ring.wav to finish playing
|
|
22 |
delay 1000
|
|
23 |
|
|
24 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-AMR-I-0078
|
|
25 |
//!@SYMTestCaseDesc Register the event for notification.
|
|
26 |
//!@SYMTestPriority 4
|
|
27 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio file. 3. Register the event for notification.
|
|
28 |
//!@SYMTestExpectedResults 1. RegisterAudioResourceNotification() should return KErrNone. 2. RegisterAudioResourceNotification() should register the
|
|
29 |
//! event for notification.
|
|
30 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-AMR-I-0078 \char\mmf\char_mmf_audioplay.ini
|
|
31 |
TEST_COMPLETE
|
|
32 |
|
|
33 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-AMR-I-0079
|
|
34 |
//!@SYMTestCaseDesc Register the event for notification while playing is in progress.
|
|
35 |
//!@SYMTestPriority 4
|
|
36 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Register the event for notification.
|
|
37 |
//!@SYMTestExpectedResults 1. RegisterAudioResourceNotification() should return KErrNone. 2. RegisterAudioResourceNotification() should register the
|
|
38 |
//! event for notification.
|
|
39 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-AMR-I-0079 \char\mmf\char_mmf_audioplay.ini
|
|
40 |
TEST_COMPLETE
|
|
41 |
|
|
42 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-AMR-I-0080
|
|
43 |
//!@SYMTestCaseDesc Register the event for notification before opening the audio clip.
|
|
44 |
//!@SYMTestPriority 4
|
|
45 |
//!@SYMTestActions 1. Create audio player utility. 2. Register the event for notification.
|
|
46 |
//!@SYMTestExpectedResults 1. RegisterAudioResourceNotification() should return KErrNotSupported.
|
|
47 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-AMR-I-0080 \char\mmf\char_mmf_audioplay.ini
|
|
48 |
TEST_COMPLETE
|
|
49 |
|
|
50 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-AMR-I-0082
|
|
51 |
//!@SYMTestCaseDesc Register the event for notification with an event Uid that is not supported.
|
|
52 |
//!@SYMTestPriority 4
|
|
53 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio file. 3. Register the event for notification.
|
|
54 |
//!@SYMTestExpectedResults 1. RegisterAudioResourceNotification() should return KErrNotSupported.
|
|
55 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-AMR-I-0082 \char\mmf\char_mmf_audioplay.ini
|
|
56 |
TEST_COMPLETE
|
|
57 |
|
|
58 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-AMR-I-0083
|
|
59 |
//!@SYMTestCaseDesc Register the event for notification with an event Uid that is already registered.
|
|
60 |
//!@SYMTestPriority 4
|
|
61 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio file. 3. Register the event for notification.
|
|
62 |
//!@SYMTestExpectedResults 1. RegisterAudioResourceNotification() should return KErrAlreadyExists.
|
|
63 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-AMR-I-0083 \char\mmf\char_mmf_audioplay.ini
|
|
64 |
TEST_COMPLETE
|
|
65 |
|
|
66 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-AMR-I-0084
|
|
67 |
//!@SYMTestCaseDesc Cancel the registered notification event.
|
|
68 |
//!@SYMTestPriority 4
|
|
69 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio file. 3. Register the event for notification. 4. Cancel the registered
|
|
70 |
//! notification event.
|
|
71 |
//!@SYMTestExpectedResults 1. CancelRegisterAudioResourceNotification() should return KErrNone. 2. CancelRegisterAudioResourceNotification() should
|
|
72 |
//! cancel the registered notification event.
|
|
73 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-AMR-I-0084 \char\mmf\char_mmf_audioplay.ini
|
|
74 |
TEST_COMPLETE
|
|
75 |
|
|
76 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-AMR-I-0085
|
|
77 |
//!@SYMTestCaseDesc Cancel the registered notification event while playing is in progress.
|
|
78 |
//!@SYMTestPriority 4
|
|
79 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio file. 3. Register the event for notification. 4. Play the audio file. 5.
|
|
80 |
//! Cancel the registered notification event.
|
|
81 |
//!@SYMTestExpectedResults 1. CancelRegisterAudioResourceNotification() should return KErrNone. 2. CancelRegisterAudioResourceNotification() should
|
|
82 |
//! cancel the registered notification event.
|
|
83 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-AMR-I-0085 \char\mmf\char_mmf_audioplay.ini
|
|
84 |
TEST_COMPLETE
|
|
85 |
|
|
86 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-AMR-I-0086
|
|
87 |
//!@SYMTestCaseDesc Cancel the registered notification event with an event Uid that is not matched.
|
|
88 |
//!@SYMTestPriority 4
|
|
89 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio file. 3. Register the event for notification. 4. Cancel the registered
|
|
90 |
//! notification event.
|
|
91 |
//!@SYMTestExpectedResults 1. CancelRegisterAudioResourceNotification() should return KErrNotSupported.
|
|
92 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-AMR-I-0086 \char\mmf\char_mmf_audioplay.ini
|
|
93 |
TEST_COMPLETE
|
|
94 |
|
|
95 |
//!@SYMTestCaseID MM-MMF-APLCLNT-CHRTZ-AMR-I-0087
|
|
96 |
//!@SYMTestCaseDesc Cancel the registered notification event with an event Uid of NULL.
|
|
97 |
//!@SYMTestPriority 4
|
|
98 |
//!@SYMTestActions 1. Create audio player utility. 2. Open an audio file. 3. Register the event for notification. 4. Cancel the registered
|
|
99 |
//! notification event.
|
|
100 |
//!@SYMTestExpectedResults 1. CancelRegisterAudioResourceNotification() should return KErrCancel.
|
|
101 |
RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-AMR-I-0087 \char\mmf\char_mmf_audioplay.ini
|
|
102 |
TEST_COMPLETE |