equal
deleted
inserted
replaced
|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 // |
|
17 // |
|
18 // This contains copying cdbv3.dat to one temp dat file |
|
19 |
|
20 // EPOC includes |
|
21 #include <e32base.h> |
|
22 #include <commdb.h> |
|
23 #include <d32comm.h> |
|
24 |
|
25 // Test system includes |
|
26 #include "Teststepcommdb.h" |
|
27 #include "CommDbPreCopy.h" |
|
28 |
|
29 //////////////////////////////////////////////////////////////////////////////////// |
|
30 //////////////////////////////////////////////////////////////////////////////////// |
|
31 // Test Pre Copy |
|
32 /* This New Class is added to move copyfile command from script file |
|
33 This test does a copy operation |
|
34 */ |
|
35 CCommDbPreCopy::CCommDbPreCopy() |
|
36 { |
|
37 // store the name of this test case |
|
38 SetTestStepName(_L("PreCopyTest")); |
|
39 } |
|
40 |
|
41 CCommDbPreCopy::~CCommDbPreCopy() |
|
42 { |
|
43 } |
|
44 |
|
45 // Copy Test Main Code |
|
46 enum TVerdict CCommDbPreCopy::doTestStepL( void ) |
|
47 { |
|
48 copyFileL(KCommDbName, KTempDb3); |
|
49 SetTestStepResult(EPass); return TestStepResult(); |
|
50 } |
|
51 |
|
52 |