equal
deleted
inserted
replaced
1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2008-2009 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". |
23 #include <apaserverapp.h> |
23 #include <apaserverapp.h> |
24 #include <w32std.h> |
24 #include <w32std.h> |
25 #include "appfwk_test.h" |
25 #include "appfwk_test.h" |
26 #include "testableapalssession.h" |
26 #include "testableapalssession.h" |
27 #include "../tef/TNonNative/TNNApp1.h" |
27 #include "../tef/TNonNative/TNNApp1.h" |
28 #include "T_SisFileInstaller.h" |
|
29 |
|
30 _LIT(KTNNA1AppSisFile, "z:\\apparctest\\apparctestsisfiles\\TNNApp1.sis"); |
|
31 _LIT(KTNNA1AppComponent, "TNNApp1"); |
|
32 |
28 |
33 TInt PanicTest(TAny* aOption); |
29 TInt PanicTest(TAny* aOption); |
34 |
30 |
35 // RTstServiceApp |
31 // RTstServiceApp |
36 |
32 |
465 SetTestStepName(KT_ServiceBaseStep); |
461 SetTestStepName(KT_ServiceBaseStep); |
466 } |
462 } |
467 |
463 |
468 TVerdict CT_ServiceBaseStep::doTestStepPreambleL() |
464 TVerdict CT_ServiceBaseStep::doTestStepPreambleL() |
469 { |
465 { |
470 CSisFileInstaller sisFileInstaller; |
|
471 INFO_PRINTF2(_L("Installing sis file from -> %S"), &KTNNA1AppSisFile); |
|
472 sisFileInstaller.InstallSisAndWaitForAppListUpdateL(KTNNA1AppSisFile); |
|
473 |
|
474 SetTestStepResult(EPass); |
466 SetTestStepResult(EPass); |
475 return TestStepResult(); |
467 return TestStepResult(); |
476 } |
468 } |
477 |
469 |
478 TVerdict CT_ServiceBaseStep::doTestStepPostambleL() |
470 TVerdict CT_ServiceBaseStep::doTestStepPostambleL() |
479 { |
471 { |
480 CSisFileInstaller sisFileInstaller; |
|
481 sisFileInstaller.UninstallSisL(KTNNA1AppComponent); |
|
482 |
|
483 return TestStepResult(); |
472 return TestStepResult(); |
484 } |
473 } |
485 |
474 |
486 TVerdict CT_ServiceBaseStep::doTestStepL() |
475 TVerdict CT_ServiceBaseStep::doTestStepL() |
487 { |
476 { |