commsconfig/commsdatabaseshim/ts_commdb/CommDbPreCopy.cpp
changeset 72 ae47d0499bee
parent 68 5da8188e392b
child 77 c9776eadbffd
equal deleted inserted replaced
68:5da8188e392b 72:ae47d0499bee
     1 // Copyright (c) 2004-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 // This contains copying cdbv3.dat to one temp dat file
       
    15 // 
       
    16 //
       
    17 
       
    18 // EPOC includes
       
    19 #include <e32base.h>
       
    20 #include <commdb.h>
       
    21 #include <d32comm.h>
       
    22 
       
    23 // Test system includes
       
    24 #include <networking/log.h>
       
    25 #include <networking/teststep.h>
       
    26 #include "Teststepcommdb.h"
       
    27 #include "TestSuiteCommdb.h"
       
    28 #include "CommDbPreCopy.h"
       
    29 
       
    30 //
       
    31 //
       
    32 // Test Pre Copy
       
    33 /* This New Class is added to move copyfile command from script file
       
    34    This test does a copy operation 	
       
    35 */
       
    36 CCommDbPreCopy::CCommDbPreCopy()
       
    37 	{
       
    38 	// store the name of this test case
       
    39 	iTestStepName = _L("PreCopyTest");
       
    40 	}
       
    41 
       
    42 CCommDbPreCopy::~CCommDbPreCopy()
       
    43 	{
       
    44 	}
       
    45 
       
    46 // Copy Test Main Code
       
    47 enum TVerdict CCommDbPreCopy::doTestStepL( void )
       
    48 	{
       
    49 	copyFileL(KCommDbName, KTempDb3);
       
    50 	return EPass;
       
    51 	}
       
    52 
       
    53