localisation/apparchitecture/tef/t_abstractnonnativeappsstep.h
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
equal deleted inserted replaced
56:aa99f2208aad 57:b8d18c84f71c
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-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 the License "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".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 //
    14 //
    15 
    15 
    16 
       
    17 
       
    18 /**
    16 /**
    19  @file
    17  @file
    20  @internalComponent - Internal Symbian test code 
    18  @internalComponent - Internal Symbian test code 
    21 */
    19 */
    22 
    20 
    23  
    21  
    24 #ifndef T_ABSTRACT_NONNATIVEAPPS_STEP_H
    22 #ifndef T_ABSTRACT_NONNATIVEAPPS_STEP_H
    25 #define T_ABSTRACT_NONNATIVEAPPS_STEP_H
    23 #define T_ABSTRACT_NONNATIVEAPPS_STEP_H
    26 
    24 
    27 #include <testexecutestepbase.h>
    25 #include <test/testexecutestepbase.h>
    28 #include  <appfwk_test_utils.h>
    26 #include "appfwk_test_utils.h"
    29 #include "testableapalssession.h"
    27 #include "testableapalssession.h"
    30 
    28 
    31 const TInt KApplicationType = 0x102081A0;
    29 const TInt KApplicationType = 0x102081A0;
    32 _LIT(KLitNativeExecutable, "z:\\sys\\bin\\dummy.exe");
    30 _LIT(KLitNativeExecutable, "z:\\sys\\bin\\dummy.exe");
    33 _LIT(KLitUpdatedAppsList, "c:\\private\\10003a3f\\UpdatedAppsList.bin");
    31 _LIT(KLitUpdatedAppsList, "c:\\private\\10003a3f\\UpdatedAppsList.bin");
    52 		const TDesC& iRegistrationFile;
    50 		const TDesC& iRegistrationFile;
    53 		};
    51 		};
    54 
    52 
    55 protected:
    53 protected:
    56 	void doAbstractNonNativeAppsTestStepPreambleL();
    54 	void doAbstractNonNativeAppsTestStepPreambleL();
    57 	static void CleanupAndReset(RTestableApaLsSession& aSession, const TTestAppDetails& aApp);
    55 	static void CleanupAndResetL(RTestableApaLsSession& aSession, const TTestAppDetails& aApp);
    58 	static void CallRegisterL(RTestableApaLsSession& aSession, const TTestAppDetails& aApp);
    56 	static void CallRegisterL(RTestableApaLsSession& aSession, const TTestAppDetails& aApp);
    59 	static void CompleteRegisterL(RTestableApaLsSession& aSession, const TTestAppDetails& aApp);
    57 	static void CompleteRegisterL(RTestableApaLsSession& aSession, const TTestAppDetails& aApp);
    60 	static void CallDeregisterL(RTestableApaLsSession& aSession, const TTestAppDetails& aApp);
    58 	static void CallDeregisterL(RTestableApaLsSession& aSession, const TTestAppDetails& aApp);
    61 	static void CompleteDeregisterL(RTestableApaLsSession& aSession, const TTestAppDetails& aApp);
    59 	static void CompleteDeregisterL(RTestableApaLsSession& aSession, const TTestAppDetails& aApp);
    62 	TBool FilePresent(const TDesC& aFile);
    60 	TBool FilePresent(const TDesC& aFile);