equal
deleted
inserted
replaced
1 // Copyright (c) 2002-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 // Contains the implementation of the helper steps (initialisation and waiting |
|
15 // for esock to die) |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file TS_ConnPrefHelperSteps.cpp |
|
21 */ |
|
22 |
|
23 #include "TS_ConnPrefHelperSteps.h" |
|
24 // |
|
25 |
|
26 #include <e32base.h> |
|
27 #include <e32std.h> |
|
28 // |
|
29 |
|
30 CTS_ConnPrefForceCCoverWrite::CTS_ConnPrefForceCCoverWrite(TPtrC aName) : CTS_ConnPrefStep() |
|
31 { |
|
32 iTestStepName=aName; |
|
33 } |
|
34 |
|
35 CTS_ConnPrefForceCCoverWrite::~CTS_ConnPrefForceCCoverWrite() |
|
36 { |
|
37 } |
|
38 |
|
39 enum TVerdict CTS_ConnPrefForceCCoverWrite::doTestStepL(void) |
|
40 /* |
|
41 * It appears that CCover only writes to its data file every now and again, so force it here |
|
42 * to write its data just before we shutdown and lose anything that has changed |
|
43 */ |
|
44 { |
|
45 #ifdef CCOVER |
|
46 cov_write(); |
|
47 #endif |
|
48 |
|
49 return iTestStepResult; |
|
50 } // TS_ConnPrefHelperSteps |
|