localisation/apparchitecture/tef/t_servicebasestep.cpp
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
equal deleted inserted replaced
56:aa99f2208aad 57:b8d18c84f71c
     1 // Copyright (c) 2008-2009 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 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  @test
    18  @test
    21  @internalComponent - Internal Symbian test code  
    19  @internalComponent - Internal Symbian test code  
    22 */
    20 */
    23 
    21 
    24 #include "t_servicebasestep.h"
    22 #include "t_servicebasestep.h"
    25 #include <apaserverapp.h>
    23 #include <apaserverapp.h>
    26 #include <w32std.h>
    24 #include <w32std.h>
    27 #include <appfwk_test.h>
    25 #include "appfwk_test.h"
    28 #include "testableapalssession.h"
    26 #include "testableapalssession.h"
    29 #include "../tef/TNonNative/TNNApp1.h"
    27 #include "../tef/TNonNative/TNNApp1.h"
    30 
    28 
    31 TInt PanicTest(TAny* aOption);
    29 TInt PanicTest(TAny* aOption);
    32 
    30 
    85 	CleanupStack::PopAndDestroy(&appServiceFirst);
    83 	CleanupStack::PopAndDestroy(&appServiceFirst);
    86 	User::After(5 * 1000000); //Wait 5sec for Apparc update due to paging
    84 	User::After(5 * 1000000); //Wait 5sec for Apparc update due to paging
    87 	
    85 	
    88 	return result;
    86 	return result;
    89 	}
    87 	}
    90 	
       
    91 TInt RTstServiceApp::DoTestTransferWithUnconnectedSessionL(TUid aServiceUid, TBool aPassingFileByHandle, const TDesC& aFileNameWithoutDriveOrPath)
    88 TInt RTstServiceApp::DoTestTransferWithUnconnectedSessionL(TUid aServiceUid, TBool aPassingFileByHandle, const TDesC& aFileNameWithoutDriveOrPath)
    92 	{ // static
    89 	{ // static
    93 	//create the first session object
    90 	//create the first session object
    94 	RTstServiceApp appServiceFirst(aServiceUid);
    91 	RTstServiceApp appServiceFirst(aServiceUid);
    95 	CleanupClosePushL(appServiceFirst);
    92 	CleanupClosePushL(appServiceFirst);