First public contribution.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
21 #if (!defined __RIGHTS_MANAGER_STEP_H__)
22 #define __RIGHTS_MANAGER_STEP_H__
23 #include <test/testexecutestepbase.h>
27 // Constants used to name test cases
28 _LIT(KCAFRightsManagerStep,"CAFRightsManagerStep");
29 _LIT(KCAFRightsManagerListStep,"CAFRightsManagerListStep");
35 * Used to test CManager::CreateRightsManager()
36 * The INI file specifies the file to delete and the expected return code.
37 * For instance this can be used to try and delete a file that does not exist or a file
38 * that is read-only or has rights that don't allow it to be deleted
39 * INI file paramerters
42 * result - the expected return code
44 * @internalComponent Exposure internally
46 class CCAFRightsManagerStep : public CCAFStep
49 CCAFRightsManagerStep(CCAFServer& aParent);
50 ~CCAFRightsManagerStep();
51 virtual TVerdict doTestStepL();
59 * Used to test CManager::Listxxxx() functions
60 * The INI file specifies the file to delete and the expected return code.
61 * For instance this can be used to try and delete a file that does not exist or a file
62 * that is read-only or has rights that don't allow it to be deleted
63 * INI file paramerters
66 * result - the expected return code
68 * @internalComponent Exposure internally
70 class CCAFRightsManagerListStep : public CCAFStep
73 CCAFRightsManagerListStep(CCAFServer& aParent);
74 ~CCAFRightsManagerListStep();
75 virtual TVerdict doTestStepL();