|
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_PROCSTARTWITHFANDF_H__ |
|
23 #define __TSS_PROCSTARTWITHFANDF_H__ |
|
24 |
|
25 #include "tss_step_base.h" |
|
26 #include "ssmtestapps.h" |
|
27 #include "testandstopper.h" |
|
28 #include "ssmtestprocgoodsession.h" |
|
29 |
|
30 _LIT(KCTestCaseProcStartWithFAndF, "ProcStartWithFAndF"); |
|
31 |
|
32 class CSsTestStepProcStartWithFAndF : public CSsStepBase |
|
33 { |
|
34 public: |
|
35 CSsTestStepProcStartWithFAndF(); |
|
36 ~CSsTestStepProcStartWithFAndF(); |
|
37 |
|
38 TVerdict doTestStepPreambleL(); |
|
39 TVerdict doTestStepPostambleL(); |
|
40 |
|
41 public: |
|
42 // From CTestStep |
|
43 TVerdict doTestStepL(); |
|
44 void DoTestFAndFWithLessTimeOutAndNoRetriesL(); |
|
45 void DoTestFAndFWithLessTimeOutAndWithRetriesL(); |
|
46 void DoTestFAndFWithMoreTimeOutAndNoRetriesL(); |
|
47 void DoTestFAndFWithMoreTimeOutAndWithRetriesL(); |
|
48 void DoTestFAndFWithRetriesForFailureAppL(); |
|
49 void DoTestFAndFWithRetriesForSuccessfullAppL(); |
|
50 void DoTestFAndFNoRetriesAndNoTimeOutL(); |
|
51 void DoTestFAndFWithLessTimeOutAndMoreRetriesL(); |
|
52 |
|
53 private: |
|
54 void DoTestAndStopperL(TInt aRetries, TInt aTimeOut, const TDesC& aFileName); |
|
55 |
|
56 private: |
|
57 CActiveScheduler* iActiveScheduler; |
|
58 }; |
|
59 |
|
60 #endif //__TSS_PROCSTARTWITHFANDF_H__ |