localisation/apparchitecture/tef/t_abstractnonnativeappsstep.cpp
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
equal deleted inserted replaced
56:aa99f2208aad 57:b8d18c84f71c
     1 // Copyright (c) 2005-2009 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 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 #include "t_abstractnonnativeappsstep.h"
    21 #include "t_abstractnonnativeappsstep.h"
    24 
    22 
    25 #include <apgicnfl.h>
    23 #include <apgicnfl.h>
       
    24 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    25 #include <apgicnflpartner.h>
       
    26 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS
    26 
    27 
    27 CT_AbstractNonNativeAppsTestStep::CT_AbstractNonNativeAppsTestStep()
    28 CT_AbstractNonNativeAppsTestStep::CT_AbstractNonNativeAppsTestStep()
    28 	{
    29 	{
    29 	}
    30 	}
    30 
    31 
    38 	TEST(error==KErrNone);
    39 	TEST(error==KErrNone);
    39 	error = iUtils.Connect();
    40 	error = iUtils.Connect();
    40 	TEST(error==KErrNone);
    41 	TEST(error==KErrNone);
    41 	}
    42 	}
    42 
    43 
    43 void CT_AbstractNonNativeAppsTestStep::CleanupAndReset(RTestableApaLsSession& aSession, const TTestAppDetails& aApp)
    44 void CT_AbstractNonNativeAppsTestStep::CleanupAndResetL(RTestableApaLsSession& aSession, const TTestAppDetails& aApp)
    44 	{
    45 	{
    45 	// make sure we're starting from a clean sheet
    46 	// make sure we're starting from a clean sheet
    46 	CompleteDeregisterL(aSession, aApp);
    47 	CompleteDeregisterL(aSession, aApp);
    47 	aSession.DeregisterNonNativeApplicationTypeL(TUid::Uid(KApplicationType));
    48 	aSession.DeregisterNonNativeApplicationTypeL(TUid::Uid(KApplicationType));
    48 	aSession.RegisterNonNativeApplicationTypeL(TUid::Uid(KApplicationType), KLitNativeExecutable);
    49 	aSession.RegisterNonNativeApplicationTypeL(TUid::Uid(KApplicationType), KLitNativeExecutable);