|
1 /* |
|
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Defines test steps for post-manufacture plugin management related interface in the Software Component Registry |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @internalComponent |
|
23 @test |
|
24 */ |
|
25 |
|
26 #ifndef PLUGINMANAGEMENTSTEPS_H |
|
27 #define PLUGINMANAGEMENTSTEPS_H |
|
28 |
|
29 #include "tscrstep.h" |
|
30 #include "tscraccessor_client.h" |
|
31 class CScrTestServer; |
|
32 |
|
33 _LIT(KScrAddSoftwareTypeStep, "SCRAddSoftwareType"); |
|
34 _LIT(KScrDeleteSoftwareTypeStep, "SCRDeleteSoftwareType"); |
|
35 |
|
36 class CScrAddSoftwareTypeStep : public CScrTestStep |
|
37 /** |
|
38 TEF test step which exercises the SCR AddSoftwareTypeL interface |
|
39 */ |
|
40 { |
|
41 public: |
|
42 CScrAddSoftwareTypeStep(CScrTestServer& aParent); |
|
43 |
|
44 protected: |
|
45 // From CScrTestStep |
|
46 void ImplTestStepPreambleL(); |
|
47 void ImplTestStepL(); |
|
48 void ImplTestStepPostambleL(); |
|
49 |
|
50 private: |
|
51 RScrAccessor iScrAccessor; |
|
52 }; |
|
53 |
|
54 class CScrDeleteSoftwareTypeStep : public CScrTestStep |
|
55 /** |
|
56 TEF test step which exercises the SCR DeleteSoftwareTypeL interface |
|
57 */ |
|
58 { |
|
59 public: |
|
60 CScrDeleteSoftwareTypeStep(CScrTestServer& aParent); |
|
61 |
|
62 protected: |
|
63 // From CScrTestStep |
|
64 void ImplTestStepPreambleL(); |
|
65 void ImplTestStepL(); |
|
66 void ImplTestStepPostambleL(); |
|
67 |
|
68 private: |
|
69 RScrAccessor iScrAccessor; |
|
70 }; |
|
71 |
|
72 #endif /* PLUGINMANAGEMENTSTEPS_H */ |