localisation/apparchitecture/tef/T_Serv3Step.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 // Copyright (c) 2005-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 the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent - Internal Symbian test code
       
    21 */
       
    22 
       
    23 #if (!defined __T_SERV3_STEP_H__)
       
    24 #define __T_SERV3_STEP_H__
       
    25 
       
    26 #include "ApparcTestServer.h"
       
    27 #include "appfwk_test_utils.h"
       
    28 
       
    29 //!  A CT_Serv3Step test class.
       
    30 /*!
       
    31   This class tests wrapper to Application Architecture Server.
       
    32 */
       
    33 class CT_Serv3Step :public CTestStep
       
    34 	{
       
    35 public:
       
    36 	CT_Serv3Step();
       
    37 	~CT_Serv3Step();
       
    38 	virtual TVerdict doTestStepPreambleL();
       
    39 	virtual TVerdict doTestStepPostambleL();
       
    40 	virtual TVerdict doTestStepL();
       
    41 private:
       
    42 	void DoSyncFolderRecognizerTest1L(RApaLsSession& aLs);
       
    43 	void DoSyncFolderRecognizerTest2L(RApaLsSession& aLs);
       
    44 	void DoSyncFolderRecognizerTest3L(RApaLsSession& aLs);
       
    45 	void DoAsyncFolderRecognizerTest1L(RApaLsSession& aLs);
       
    46 	void DoAsyncFolderRecognizerTest2L(RApaLsSession& aLs);
       
    47 	void DoAsyncFolderRecognizerTest3L(RApaLsSession& aLs);
       
    48 	void DoAsyncFolderRecognizerTest4L(RApaLsSession& aLs);
       
    49 	void DoAsyncFolderRecognizerTest5L(RApaLsSession& aLs);
       
    50 	void DoAsyncFolderRecognizerTest6L(RApaLsSession& aLs);
       
    51 	void DoAsyncFolderRecognizerTest7L(RApaLsSession& aLs);
       
    52 	void DoAsyncFolderRecognizerTest8L(RApaLsSession& aLs);
       
    53 	void DoAsyncFolderRecognizerTest9L(RApaLsSession& aLs);
       
    54 	void DoAsyncFolderRecognizerTest10L(RApaLsSession& aLs);
       
    55 	void DoAsyncFolderRecognizerTest11L(RApaLsSession& aLs);
       
    56 	void DoSyncFolderRecognizerTest4L(RApaLsSession& aLs);
       
    57 	void DoAsyncFolderRecognizerTest13L(RApaLsSession& aLs);
       
    58 	void DoAsyncFolderRecognizerTest14L(RApaLsSession& aLs);
       
    59 	TInt DoServComTestL();
       
    60 	void testBooleanTruer(TBool aCondition, const TText8* aFile, TInt aLine);
       
    61 	
       
    62 private:
       
    63 	void CreateDirL(RSmlTestUtils* aPtrUtils, TPtr aDirName);
       
    64 	void DeleteDirL(RSmlTestUtils* aPtrUtils, TPtr aDirName);
       
    65 	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);
       
    67 	CActiveScheduler* iActiveScheduler;
       
    68 	};
       
    69 
       
    70 //////////////////////////////////////////////////////////////////////////////
       
    71 //	CActiveTest2::ActiveTest class definition
       
    72 //
       
    73 class CActiveTest2 : public CActive
       
    74 	{
       
    75 	public:
       
    76 		CActiveTest2();
       
    77 		~CActiveTest2();
       
    78 		void StartL();
       
    79 
       
    80 	protected:
       
    81 		void DoCancel();
       
    82 		void RunL();
       
    83 	};
       
    84 
       
    85 _LIT(KT_Serv3Step,"T_Serv3");
       
    86 
       
    87 #endif