|
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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @test |
|
19 @internalComponent - Internal Symbian test code |
|
20 */ |
|
21 |
|
22 #ifndef __TSS_STARTANDCANCEL_H__ |
|
23 #define __TSS_STARTANDCANCEL_H__ |
|
24 |
|
25 |
|
26 |
|
27 #include "tss_step_base.h" |
|
28 #include "testandcanceler.h" |
|
29 |
|
30 //APPFWK-SSS-0007 |
|
31 |
|
32 _LIT(KCTestCaseStartAndCancel, "StartAndCancel"); |
|
33 |
|
34 const TInt KSsTestTimeToCancel = 10000; // 10 ms |
|
35 |
|
36 class CSsTestStepStartAndCancel : public CSsStepBase |
|
37 { |
|
38 |
|
39 public: |
|
40 CSsTestStepStartAndCancel(); |
|
41 ~CSsTestStepStartAndCancel(); |
|
42 |
|
43 TVerdict doTestStepPreambleL(); |
|
44 TVerdict doTestStepPostambleL(); |
|
45 |
|
46 public: |
|
47 void DoTestStartProcessAndCancelL(); |
|
48 void DoTestStartAppAndCancelL(); |
|
49 void DoTestMultiStartAndDeleteL(); |
|
50 |
|
51 // From MSsTestAsyncNotifier |
|
52 void SsTestNotify( TInt aNotify ); |
|
53 |
|
54 public: |
|
55 // From CTestStep |
|
56 TVerdict doTestStepL(); |
|
57 |
|
58 private: |
|
59 CActiveScheduler* iActiveScheduler; |
|
60 |
|
61 }; |
|
62 |
|
63 #endif // __TSS_STARTANDCANCEL_H__ |