installationservices/swi/test/tuiscriptadaptors/tswisstep.h
branchRCL_3
changeset 19 7ca52d38f8c3
parent 0 ba25891c3a9e
child 34 741e5bba2bd1
child 42 d17dc5398051
equal deleted inserted replaced
18:3ba40be8e484 19:7ca52d38f8c3
     1 /*
     1 /*
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   367 _LIT(KQuerySidViaApparcPlugin, "QuerySidViaApparcPlugin");
   367 _LIT(KQuerySidViaApparcPlugin, "QuerySidViaApparcPlugin");
   368 
   368 
   369 _LIT(KSwisListUninstallPkgsStep, "ListUninstallPkgsStep");
   369 _LIT(KSwisListUninstallPkgsStep, "ListUninstallPkgsStep");
   370 _LIT(KSwisRemoveUninstallPkgsStep, "RemoveUninstallPkgsStep");
   370 _LIT(KSwisRemoveUninstallPkgsStep, "RemoveUninstallPkgsStep");
   371 _LIT(KSwisGetPackageDetails, "GetPackageDetails");
   371 _LIT(KSwisGetPackageDetails, "GetPackageDetails");
       
   372 _LIT(KSwisGetPublishedUidArrayStep, "GetPublishedUidArrayStep");
   372 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   373 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   373 _LIT(KCheckSCRFieldStep, "CheckSCRFieldStep");
   374 _LIT(KCheckSCRFieldStep, "CheckSCRFieldStep");
   374 _LIT(KCheckSCRCompPropertyStep, "CheckSCRCompPropertyStep");
   375 _LIT(KCheckSCRCompPropertyStep, "CheckSCRCompPropertyStep");
   375 #endif
   376 #endif
   376 
   377 
   488 #ifndef SWI_TEXTSHELL_ROM
   489 #ifndef SWI_TEXTSHELL_ROM
   489 	CAppSidChecker *iSwiSidChecker;
   490 	CAppSidChecker *iSwiSidChecker;
   490 #endif
   491 #endif
   491 	};
   492 	};
   492 	
   493 	
       
   494 /**
       
   495  * Check Published Uid test step class
       
   496  * @test
       
   497  * @internalComponent
       
   498  */
       
   499 const TInt KTestMaxUidCount=20; //One more than the maximum number of Uids that the array, publishing the Uids, holds
       
   500 class CSwisCheckPublishUidStep : public CSwisTestStep
       
   501     {
       
   502 public:
       
   503     CSwisCheckPublishUidStep();
       
   504     virtual TVerdict doTestStepPreambleL();
       
   505     virtual TVerdict doTestStepPostambleL();
       
   506     virtual TVerdict doTestStepL();
       
   507 
       
   508 private:
       
   509 	void GenerateIndexedAttributeNameL(TDes& aInitialAttributeName, TInt aIndex);
       
   510 	
       
   511 private:
       
   512 TUid iExpectedUidList[KTestMaxUidCount];    //An array whose first element holds the number of uids in the subsequent indices of the array, followed by the the list of uids that are being published.
       
   513 TBool iJustDefineProperty;
       
   514 	};
       
   515 
   493 #endif // __TSWISSTEP_H__
   516 #endif // __TSWISSTEP_H__