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_ver2.h" |
30 #include "T_groupNametest_ver2.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(KGroupNameVer2AppSisFile, "z:\\apparctest\\apparctestsisfiles\\T_groupname_ver2.sis"); |
|
36 _LIT(KGroupNameVer2AppComponent, "T_groupname_ver2"); |
33 |
37 |
34 // CT_GroupNameStep_ver2 |
38 // CT_GroupNameStep_ver2 |
35 |
39 |
36 |
40 |
37 const TUid KUidTGroupName={0x10208184}; |
41 const TUid KUidTGroupName={0x10208184}; |
85 |
89 |
86 TEST(info.iCaption == KCaption); |
90 TEST(info.iCaption == KCaption); |
87 TEST(info.iShortCaption == KShortCaption); |
91 TEST(info.iShortCaption == KShortCaption); |
88 } |
92 } |
89 |
93 |
|
94 TVerdict CT_GroupNameStep_ver2::doTestStepPreambleL() |
|
95 { |
|
96 CSisFileInstaller sisFileInstaller; |
|
97 INFO_PRINTF2(_L("Installing sis file from -> %S"), &KGroupNameVer2AppSisFile); |
|
98 sisFileInstaller.InstallSisAndWaitForAppListUpdateL(KGroupNameVer2AppSisFile); |
|
99 |
|
100 SetTestStepResult(EPass); |
|
101 return TestStepResult(); |
|
102 } |
|
103 |
|
104 TVerdict CT_GroupNameStep_ver2::doTestStepPostambleL() |
|
105 { |
|
106 CSisFileInstaller sisFileInstaller; |
|
107 sisFileInstaller.UninstallSisL(KGroupNameVer2AppComponent); |
|
108 |
|
109 return TestStepResult(); |
|
110 } |
|
111 |
|
112 |
90 /** |
113 /** |
91 @return - TVerdict code |
114 @return - TVerdict code |
92 Override of base class virtual |
115 Override of base class virtual |
93 */ |
116 */ |
94 TVerdict CT_GroupNameStep_ver2::doTestStepL() |
117 TVerdict CT_GroupNameStep_ver2::doTestStepL() |