appfw/apparchitecture/tef/t_largestackstep.cpp
branchRCL_3
changeset 62 924385140d98
parent 0 2e3d3ce01487
child 63 c2c61fdca848
equal deleted inserted replaced
58:0818dd463d41 62:924385140d98
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-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".
    27 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
    27 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
    28 #include <apgicnflpartner.h>
    28 #include <apgicnflpartner.h>
    29 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS
    29 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS
    30 #include "../apserv/apsclsv.h"
    30 #include "../apserv/apsclsv.h"
    31 #include "t_largestackstep.h"
    31 #include "t_largestackstep.h"
       
    32 #include "T_SisFileInstaller.h"
       
    33 
       
    34 _LIT(KLargeStackAppSisFile, "z:\\apparctest\\apparctestsisfiles\\tlargestackapp.sis");
       
    35 _LIT(KLargeStackAppComponent, "tlargestackapp");
    32 
    36 
    33 const TUid KLargeStackAppUid = {0x10282B27};
    37 const TUid KLargeStackAppUid = {0x10282B27};
    34 
    38 
    35 TInt RTestApaLsSession::TestExeRecognizerL(const CApaCommandLine& aCommandLine)
    39 TInt RTestApaLsSession::TestExeRecognizerL(const CApaCommandLine& aCommandLine)
    36 	{
    40 	{
    92 
    96 
    93 	// Cleanup
    97 	// Cleanup
    94 	CleanupStack::PopAndDestroy(commandline);
    98 	CleanupStack::PopAndDestroy(commandline);
    95 	}
    99 	}
    96 
   100 
       
   101 TVerdict CT_LargeStackStep::doTestStepPreambleL()
       
   102 /**
       
   103    @return - TVerdict code
       
   104    Override of base class virtual
       
   105  */
       
   106     {
       
   107     CSisFileInstaller sisFileInstaller;
       
   108     INFO_PRINTF2(_L("Installing sis file from -> %S"), &KLargeStackAppSisFile);
       
   109     sisFileInstaller.InstallSisAndWaitForAppListUpdateL(KLargeStackAppSisFile); 
       
   110     
       
   111     SetTestStepResult(EPass);
       
   112     return TestStepResult();
       
   113     }
       
   114 
       
   115 TVerdict CT_LargeStackStep::doTestStepPostambleL()
       
   116 /**
       
   117    @return - TVerdict code
       
   118    Override of base class virtual
       
   119  */
       
   120     {
       
   121     CSisFileInstaller sisFileInstaller;
       
   122     sisFileInstaller.UninstallSisL(KLargeStackAppComponent); 
       
   123     
       
   124     return TestStepResult();
       
   125     }
       
   126 
       
   127 
    97 TVerdict CT_LargeStackStep::doTestStepL()
   128 TVerdict CT_LargeStackStep::doTestStepL()
    98 	{
   129 	{
    99 	INFO_PRINTF1(_L("Test T_LargeStack Started"));
   130 	INFO_PRINTF1(_L("Test T_LargeStack Started"));
   100 	
   131 	
   101 	__UHEAP_MARK;
   132 	__UHEAP_MARK;