appfw/apparchitecture/tef/T_Serv3Step.h
author William Roberts <williamr@symbian.org>
Fri, 23 Apr 2010 14:37:17 +0100
branchRCL_3
changeset 22 c82a39b81a38
parent 0 2e3d3ce01487
permissions -rw-r--r--
Rework addition of Symbian splash screen to reduce the source impact (uses SVG from Bug 2414) Notes: by using the OPTION SOURCEDIR parameter in the mifconv extension instructions, I can arrange to use the same source file name in sfimage, without having to export over the original Nokia file. This means that the name inside splashscreen.mbg is the same, which removes the need for the conditional compilation in SplashScreen.cpp, and gets rid of sf_splashscreen.mmp.

// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

/**
 @file
 @internalComponent - Internal Symbian test code
*/

#if (!defined __T_SERV3_STEP_H__)
#define __T_SERV3_STEP_H__

#include "apparctestserver.h"
#include "appfwk_test_utils.h"

//!  A CT_Serv3Step test class.
/*!
  This class tests wrapper to Application Architecture Server.
*/
class CT_Serv3Step :public CTestStep
	{
public:
	CT_Serv3Step();
	~CT_Serv3Step();
	virtual TVerdict doTestStepPreambleL();
	virtual TVerdict doTestStepPostambleL();
	virtual TVerdict doTestStepL();
private:
	void DoSyncFolderRecognizerTest1L(RApaLsSession& aLs);
	void DoSyncFolderRecognizerTest2L(RApaLsSession& aLs);
	void DoSyncFolderRecognizerTest3L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest1L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest2L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest3L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest4L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest5L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest6L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest7L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest8L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest9L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest10L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest11L(RApaLsSession& aLs);
	void DoSyncFolderRecognizerTest4L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest13L(RApaLsSession& aLs);
	void DoAsyncFolderRecognizerTest14L(RApaLsSession& aLs);
	TInt DoServComTestL();
	void testBooleanTruer(TBool aCondition, const TText8* aFile, TInt aLine);


private:
	void CreateDirL(RSmlTestUtils* aPtrUtils, TPtr aDirName);
	void DeleteDirL(RSmlTestUtils* aPtrUtils, TPtr aDirName);
	void DeleteFilesL(RSmlTestUtils* aPtrUtils, TPtr aDirName, TDesC& aSuffix, TInt aFileNumber);
	void CreateFilesL(RFs& aFS, RFile& aFile, TPtr aDirName, TDesC& aSuffix, TInt aFileNumber, const TDesC8& aFileContent, TTime aTime);
	CActiveScheduler* iActiveScheduler;
	};

//
//	CActiveTest2::ActiveTest class definition
//
class CActiveTest2 : public CActive
	{
	public:
		CActiveTest2();
		~CActiveTest2();
		void StartL();

	protected:
		void DoCancel();
		void RunL();
	};

_LIT(KT_Serv3Step,"T_Serv3");

#endif