commsconfig/commsdatabaseshim/TE_commdb/te_connpref/src/TE_ConnPrefHelperSteps.cpp
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 /** |
|
19 * |
|
20 * Contains the implementation of the helper steps (initialisation and waiting |
|
21 * for esock to die) |
|
22 * |
|
23 */ |
|
24 |
|
25 #include "TE_ConnPrefHelperSteps.h" |
|
26 //////////////////////////////////////////////////////////////////////////////// |
|
27 |
|
28 #include <e32base.h> |
|
29 #include <e32std.h> |
|
30 //////////////////////////////////////////////////////////////////////////////// |
|
31 |
|
32 CTE_ConnPrefForceCCoverWrite::CTE_ConnPrefForceCCoverWrite(TPtrC aName) : CTE_ConnPrefStep() |
|
33 { |
|
34 SetTestStepName(aName); |
|
35 } |
|
36 |
|
37 CTE_ConnPrefForceCCoverWrite::~CTE_ConnPrefForceCCoverWrite() |
|
38 { |
|
39 } |
|
40 |
|
41 enum TVerdict CTE_ConnPrefForceCCoverWrite::doTestStepL(void) |
|
42 /* |
|
43 * It appears that CCover only writes to its data file every now and again, so force it here |
|
44 * to write its data just before we shutdown and lose anything that has changed |
|
45 */ |
|
46 { |
|
47 #ifdef CCOVER |
|
48 cov_write(); |
|
49 #endif |
|
50 |
|
51 return TestStepResult(); |
|
52 } // TS_ConnPrefHelperSteps |