equal
deleted
inserted
replaced
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2007-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". |
26 |
26 |
27 #include "T_DataTypeMappingWithSid1.h" |
27 #include "T_DataTypeMappingWithSid1.h" |
28 #include "tstapp.h" |
28 #include "tstapp.h" |
29 #include "testableapalssession.h" |
29 #include "testableapalssession.h" |
30 #include "appfwk_test.h" |
30 #include "appfwk_test.h" |
|
31 #include "T_SisFileInstaller.h" |
|
32 |
|
33 _LIT(KTestTrustedPriorityApp2SisFile, "z:\\apparctest\\apparctestsisfiles\\TestTrustedPriorityApp2.sis"); |
|
34 _LIT(KTestTrustedPriorityApp2Component, "TestTrustedPriorityApp2"); |
|
35 |
|
36 _LIT(KTestUntrustedPriorityApp2SisFile, "z:\\apparctest\\apparctestsisfiles\\TestUnTrustedPriorityApp2.sis"); |
|
37 _LIT(KTestUntrustedPriorityApp2Component, "TestUnTrustedPriorityApp2"); |
|
38 |
31 |
39 |
32 /** |
40 /** |
33 @SYMTestCaseID APPFWK-APPARC-0036 |
41 @SYMTestCaseID APPFWK-APPARC-0036 |
34 |
42 |
35 @SYMPREQ Policing server apis |
43 @SYMPREQ Policing server apis |
113 |
121 |
114 CT_DataTypeMappingWithSid1::~CT_DataTypeMappingWithSid1() |
122 CT_DataTypeMappingWithSid1::~CT_DataTypeMappingWithSid1() |
115 { |
123 { |
116 } |
124 } |
117 |
125 |
|
126 TVerdict CT_DataTypeMappingWithSid1::doTestStepPreambleL() |
|
127 { |
|
128 CSisFileInstaller sisFileInstaller; |
|
129 INFO_PRINTF2(_L("Installing sis file from -> %S"), &KTestUntrustedPriorityApp2SisFile); |
|
130 sisFileInstaller.InstallSisL(KTestUntrustedPriorityApp2SisFile); |
|
131 INFO_PRINTF2(_L("Installing sis file from -> %S"), &KTestTrustedPriorityApp2SisFile); |
|
132 sisFileInstaller.InstallSisAndWaitForAppListUpdateL(KTestTrustedPriorityApp2SisFile); |
|
133 |
|
134 SetTestStepResult(EPass); |
|
135 return TestStepResult(); |
|
136 } |
|
137 |
|
138 TVerdict CT_DataTypeMappingWithSid1::doTestStepPostambleL() |
|
139 { |
|
140 return TestStepResult(); |
|
141 } |
|
142 |
|
143 |
118 TVerdict CT_DataTypeMappingWithSid1::doTestStepL() |
144 TVerdict CT_DataTypeMappingWithSid1::doTestStepL() |
119 { |
145 { |
120 INFO_PRINTF1(_L("APPFWK-APPARC-0036: DataTypeMappingWithSid1 - Started")); |
146 INFO_PRINTF1(_L("APPFWK-APPARC-0036: DataTypeMappingWithSid1 - Started")); |
121 |
147 |
122 RTestableApaLsSession apaLsSession; |
148 RTestableApaLsSession apaLsSession; |