equal
deleted
inserted
replaced
1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-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". |
22 @internalComponent - Internal Symbian test code |
22 @internalComponent - Internal Symbian test code |
23 */ |
23 */ |
24 |
24 |
25 #include "T_CmdlnStep.h" |
25 #include "T_CmdlnStep.h" |
26 #include "testableapalssession.h" |
26 #include "testableapalssession.h" |
27 #include "T_SisFileInstaller.h" |
|
28 |
|
29 _LIT(KTEnvSlotsAppSisFile, "z:\\apparctest\\apparctestsisfiles\\T_EnvSlots.sis"); |
|
30 _LIT(KTEnvSlotsAppComponent, "T_EnvSlots"); |
|
31 |
27 |
32 /** |
28 /** |
33 @SYMTestCaseID T-CmdlnStep-testSecureCmdLinesL |
29 @SYMTestCaseID T-CmdlnStep-testSecureCmdLinesL |
34 |
30 |
35 @SYMPREQ 280 - File Handle Support |
31 @SYMPREQ 280 - File Handle Support |
640 /** |
636 /** |
641 @return - TVerdict code |
637 @return - TVerdict code |
642 Override of base class virtual |
638 Override of base class virtual |
643 */ |
639 */ |
644 { |
640 { |
645 CSisFileInstaller sisFileInstaller; |
|
646 INFO_PRINTF2(_L("Installing sis file from -> %S"), &KTEnvSlotsAppSisFile); |
|
647 sisFileInstaller.InstallSisAndWaitForAppListUpdateL(KTEnvSlotsAppSisFile); |
|
648 |
|
649 SetTestStepResult(EPass); |
641 SetTestStepResult(EPass); |
650 return TestStepResult(); |
642 return TestStepResult(); |
651 } |
643 } |
652 |
644 |
653 TVerdict CT_CmdlnStep::doTestStepPostambleL() |
645 TVerdict CT_CmdlnStep::doTestStepPostambleL() |
654 /** |
646 /** |
655 @return - TVerdict code |
647 @return - TVerdict code |
656 Override of base class virtual |
648 Override of base class virtual |
657 */ |
649 */ |
658 { |
650 { |
659 CSisFileInstaller sisFileInstaller; |
|
660 sisFileInstaller.UninstallSisL(KTEnvSlotsAppComponent); |
|
661 |
|
662 return TestStepResult(); |
651 return TestStepResult(); |
663 } |
652 } |
664 |
653 |
665 |
654 |
666 // need to also test CApaCommandLine - SetServerNotRequiredL/SetServerRequiredL/ServerRequired |
655 // need to also test CApaCommandLine - SetServerNotRequiredL/SetServerRequiredL/ServerRequired |