diff -r 000000000000 -r dfb7c4ff071f commsconfig/commsdatabaseshim/ts_commdb/CommDbPreCopy.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commsconfig/commsdatabaseshim/ts_commdb/CommDbPreCopy.cpp Thu Dec 17 09:22:25 2009 +0200 @@ -0,0 +1,53 @@ +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// This contains copying cdbv3.dat to one temp dat file +// +// + +// EPOC includes +#include +#include +#include + +// Test system includes +#include +#include +#include "Teststepcommdb.h" +#include "TestSuiteCommdb.h" +#include "CommDbPreCopy.h" + +// +// +// Test Pre Copy +/* This New Class is added to move copyfile command from script file + This test does a copy operation +*/ +CCommDbPreCopy::CCommDbPreCopy() + { + // store the name of this test case + iTestStepName = _L("PreCopyTest"); + } + +CCommDbPreCopy::~CCommDbPreCopy() + { + } + +// Copy Test Main Code +enum TVerdict CCommDbPreCopy::doTestStepL( void ) + { + copyFileL(KCommDbName, KTempDb3); + return EPass; + } + +