messagingappbase/smsmtm/clientmtm/test/Unittef/src/csmsheaderbodySqlmigration.cpp
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
child 79 2981cb3aa489
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // file  csmsheaderbodySqlmigration.cpp
       
    15 // This contains Ut for Sms header migration.
       
    16 // 
       
    17 
       
    18 #include <ctefunitserver.h>
       
    19 #include "csmsheaderbodySqlstorerestore.h"
       
    20 
       
    21 
       
    22 _LIT(KServerName, "t_sms_header_and_body_Sql_migration");
       
    23 
       
    24 GLDEF_C const TTestName ServerName()
       
    25 	{
       
    26 	TTestName serverName(KServerName);
       
    27 	return serverName;
       
    28 	}
       
    29 
       
    30 GLDEF_C CTestSuite* CreateTestSuiteL()
       
    31 	{	
       
    32 	START_SUITE;
       
    33  	ADD_TEST_SUITE(CTestHeaderStoreReStore);
       
    34  	END_SUITE;
       
    35 	}
       
    36 
       
    37 GLDEF_C CTestStep* CreateTEFTestStep(const TDesC& /*aStepName*/, CTEFUnitServer& /*aServer*/)
       
    38 	{
       
    39 	// Initialise test step object to NULL if no TEF steps are assigned
       
    40 	CTestStep* testStep = NULL;
       
    41 	/*
       
    42 	if(aStepName == KSampleStep1)
       
    43 		{
       
    44 		testStep = new CSampleStep1(aServer);
       
    45 		}
       
    46 	*/
       
    47 	return testStep;
       
    48 	}
       
    49