installationservices/swcomponentregistry/test/tscr/inc/appmanagersteps.h
changeset 24 84a16765cd86
child 50 c6e8afe0ba85
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/installationservices/swcomponentregistry/test/tscr/inc/appmanagersteps.h	Fri Mar 19 09:33:35 2010 +0200
@@ -0,0 +1,113 @@
+/*
+* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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: 
+* Defines test steps for application manager related interface in the Software Component Registry
+*
+*/
+
+
+/**
+ @file 
+ @internalComponent
+ @test
+*/
+
+#ifndef APPMANAGERSTEPS_H
+#define APPMANAGERSTEPS_H
+
+#include "tscrstep.h"
+class CScrTestServer;
+
+_LIT(KScrIsMediaPresentStep, "SCRIsMediaPresent");
+_LIT(KScrIsComponentOrphaned, "SCRIsComponentOrphaned");
+_LIT(KScrCompareVersions, "SCRCompareVersions");
+_LIT(KScrIsComponentOnReadOnlyDrive, "SCRIsComponentOnReadOnlyDrive");
+_LIT(KScrComponentPresence, "ScrComponentPresence");
+
+class CScrIsMediaPresentStep : public CScrTestStep
+/**
+ 	TEF test step which exercises the SCR IsMediaPresent interface
+ */
+	{
+public:
+	CScrIsMediaPresentStep(CScrTestServer& aParent);
+	
+protected:
+	// From CScrTestStep
+	void ImplTestStepPreambleL();
+	void ImplTestStepL();
+	void ImplTestStepPostambleL();		
+	};
+
+class CScrIsComponentOrphanedStep : public CScrTestStep
+/**
+ 	TEF test step which exercises the SCR IsComponentOrphanedL interface
+ */
+	{
+public:
+	CScrIsComponentOrphanedStep(CScrTestServer& aParent);
+	
+protected:
+	// From CScrTestStep
+	void ImplTestStepPreambleL();
+	void ImplTestStepL();
+	void ImplTestStepPostambleL();		
+	};
+
+class CScrCompareVersionsStep : public CScrTestStep
+/**
+ 	TEF test step which exercises the SCR CompareVersionsL interface
+ */
+	{
+public:
+	CScrCompareVersionsStep(CScrTestServer& aParent);
+	
+protected:
+	// From CScrTestStep
+	void ImplTestStepPreambleL();
+	void ImplTestStepL();
+	void ImplTestStepPostambleL();		
+	};
+
+class CScrIsComponentOnReadOnlyDriveStep : public CScrTestStep
+/**
+ 	TEF test step which exercises the SCR IsComponentOnReadOnlyDriveL interface
+ */
+	{
+public:
+	CScrIsComponentOnReadOnlyDriveStep(CScrTestServer& aParent);
+	
+protected:
+	// From CScrTestStep
+	void ImplTestStepPreambleL();
+	void ImplTestStepL();
+	void ImplTestStepPostambleL();		
+	};
+
+class CScrComponentPresenceStep : public CScrTestStep
+/**
+ 	TEF test step which exercises the SCR IsComponentPresentL interface
+ */
+	{
+public:
+	CScrComponentPresenceStep(CScrTestServer& aParent);
+	
+protected:
+	// From CScrTestStep
+	void ImplTestStepPreambleL();
+	void ImplTestStepL();
+	void ImplTestStepPostambleL();		
+	};
+
+#endif /* APPMANAGERSTEPS_H */