1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // |
14 // |
15 |
15 |
16 |
|
17 |
|
18 /** |
16 /** |
19 @file |
17 @file |
20 @internalComponent - Internal Symbian test code |
18 @internalComponent - Internal Symbian test code |
21 */ |
19 */ |
22 |
20 |
23 #if (!defined __T_SERV3_STEP_H__) |
21 #if (!defined __T_SERV3_STEP_H__) |
24 #define __T_SERV3_STEP_H__ |
22 #define __T_SERV3_STEP_H__ |
25 |
23 |
26 #include "ApparcTestServer.h" |
24 #include "apparctestserver.h" |
27 #include "appfwk_test_utils.h" |
25 #include "appfwk_test_utils.h" |
28 |
26 |
29 //! A CT_Serv3Step test class. |
27 //! A CT_Serv3Step test class. |
30 /*! |
28 /*! |
31 This class tests wrapper to Application Architecture Server. |
29 This class tests wrapper to Application Architecture Server. |
56 void DoSyncFolderRecognizerTest4L(RApaLsSession& aLs); |
54 void DoSyncFolderRecognizerTest4L(RApaLsSession& aLs); |
57 void DoAsyncFolderRecognizerTest13L(RApaLsSession& aLs); |
55 void DoAsyncFolderRecognizerTest13L(RApaLsSession& aLs); |
58 void DoAsyncFolderRecognizerTest14L(RApaLsSession& aLs); |
56 void DoAsyncFolderRecognizerTest14L(RApaLsSession& aLs); |
59 TInt DoServComTestL(); |
57 TInt DoServComTestL(); |
60 void testBooleanTruer(TBool aCondition, const TText8* aFile, TInt aLine); |
58 void testBooleanTruer(TBool aCondition, const TText8* aFile, TInt aLine); |
61 |
59 |
|
60 |
62 private: |
61 private: |
63 void CreateDirL(RSmlTestUtils* aPtrUtils, TPtr aDirName); |
62 void CreateDirL(RSmlTestUtils* aPtrUtils, TPtr aDirName); |
64 void DeleteDirL(RSmlTestUtils* aPtrUtils, TPtr aDirName); |
63 void DeleteDirL(RSmlTestUtils* aPtrUtils, TPtr aDirName); |
65 void DeleteFilesL(RSmlTestUtils* aPtrUtils, TPtr aDirName, TDesC& aSuffix, TInt aFileNumber); |
64 void DeleteFilesL(RSmlTestUtils* aPtrUtils, TPtr aDirName, TDesC& aSuffix, TInt aFileNumber); |
66 void CreateFilesL(RFs& aFS, RFile& aFile, TPtr aDirName, TDesC& aSuffix, TInt aFileNumber, const TDesC8& aFileContent, TTime aTime); |
65 void CreateFilesL(RFs& aFS, RFile& aFile, TPtr aDirName, TDesC& aSuffix, TInt aFileNumber, const TDesC8& aFileContent, TTime aTime); |
67 CActiveScheduler* iActiveScheduler; |
66 CActiveScheduler* iActiveScheduler; |
68 }; |
67 }; |
69 |
68 |
70 ////////////////////////////////////////////////////////////////////////////// |
69 // |
71 // CActiveTest2::ActiveTest class definition |
70 // CActiveTest2::ActiveTest class definition |
72 // |
71 // |
73 class CActiveTest2 : public CActive |
72 class CActiveTest2 : public CActive |
74 { |
73 { |
75 public: |
74 public: |