equal
deleted
inserted
replaced
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
28 #include <apaidpartner.h> |
28 #include <apaidpartner.h> |
29 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
29 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
30 #include "T_groupNametest.h" |
30 #include "T_groupNametest.h" |
31 #include "apparctestserver.h" |
31 #include "apparctestserver.h" |
32 #include <test/testexecutestepbase.h> |
32 #include <test/testexecutestepbase.h> |
|
33 #include "T_SisFileInstaller.h" |
|
34 |
|
35 _LIT(KGroupNameTestAppSisFile, "z:\\apparctest\\apparctestsisfiles\\t_groupname.sis"); |
|
36 _LIT(KGroupNameTestAppComponent, "T_groupname"); |
|
37 |
33 |
38 |
34 // CT_GroupNameStep |
39 // CT_GroupNameStep |
35 |
40 |
36 const TUid KUidTGroupName={0x10208185}; |
41 const TUid KUidTGroupName={0x10208185}; |
37 |
42 |
97 |
102 |
98 TEST(capability.iGroupName == KGroupname); |
103 TEST(capability.iGroupName == KGroupname); |
99 |
104 |
100 } |
105 } |
101 |
106 |
|
107 TVerdict CT_GroupNameStep::doTestStepPreambleL() |
|
108 { |
|
109 CSisFileInstaller sisFileInstaller; |
|
110 INFO_PRINTF2(_L("Installing sis file from -> %S"), &KGroupNameTestAppSisFile); |
|
111 sisFileInstaller.InstallSisAndWaitForAppListUpdateL(KGroupNameTestAppSisFile); |
|
112 |
|
113 SetTestStepResult(EPass); |
|
114 return TestStepResult(); |
|
115 } |
|
116 TVerdict CT_GroupNameStep::doTestStepPostambleL() |
|
117 { |
|
118 CSisFileInstaller sisFileInstaller; |
|
119 sisFileInstaller.UninstallSisL(KGroupNameTestAppComponent); |
|
120 |
|
121 return TestStepResult(); |
|
122 } |
|
123 |
102 /** |
124 /** |
103 @return - TVerdict code |
125 @return - TVerdict code |
104 Override of base class virtual |
126 Override of base class virtual |
105 */ |
127 */ |
106 TVerdict CT_GroupNameStep::doTestStepL() |
128 TVerdict CT_GroupNameStep::doTestStepL() |