sl@0: /* sl@0: * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: sl@0: #if (!defined __RIGHTS_MANAGER_STEP_H__) sl@0: #define __RIGHTS_MANAGER_STEP_H__ sl@0: #include sl@0: sl@0: #include "cafstep.h" sl@0: sl@0: // Constants used to name test cases sl@0: _LIT(KCAFRightsManagerStep,"CAFRightsManagerStep"); sl@0: _LIT(KCAFRightsManagerListStep,"CAFRightsManagerListStep"); sl@0: sl@0: class CCAFServer; sl@0: sl@0: sl@0: /* sl@0: * Used to test CManager::CreateRightsManager() sl@0: * The INI file specifies the file to delete and the expected return code. sl@0: * For instance this can be used to try and delete a file that does not exist or a file sl@0: * that is read-only or has rights that don't allow it to be deleted sl@0: * INI file paramerters sl@0: * sl@0: * sl@0: * result - the expected return code sl@0: * sl@0: * @internalComponent Exposure internally sl@0: */ sl@0: class CCAFRightsManagerStep : public CCAFStep sl@0: { sl@0: public: sl@0: CCAFRightsManagerStep(CCAFServer& aParent); sl@0: ~CCAFRightsManagerStep(); sl@0: virtual TVerdict doTestStepL(); sl@0: private: sl@0: CCAFServer& iParent; sl@0: }; sl@0: sl@0: sl@0: sl@0: /* sl@0: * Used to test CManager::Listxxxx() functions sl@0: * The INI file specifies the file to delete and the expected return code. sl@0: * For instance this can be used to try and delete a file that does not exist or a file sl@0: * that is read-only or has rights that don't allow it to be deleted sl@0: * INI file paramerters sl@0: * sl@0: * sl@0: * result - the expected return code sl@0: * sl@0: * @internalComponent Exposure internally sl@0: */ sl@0: class CCAFRightsManagerListStep : public CCAFStep sl@0: { sl@0: public: sl@0: CCAFRightsManagerListStep(CCAFServer& aParent); sl@0: ~CCAFRightsManagerListStep(); sl@0: virtual TVerdict doTestStepL(); sl@0: private: sl@0: CCAFServer& iParent; sl@0: }; sl@0: sl@0: #endif sl@0: