datacommsserver/esockserver/test/TE_RConnectionSuite/src/TE_RConnectionHelperSteps.cpp
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     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
       
    21 */
       
    22 
       
    23 #include "TE_RConnectionHelperSteps.h"
       
    24 //
       
    25 
       
    26 #include <e32base.h>
       
    27 #include <e32std.h>
       
    28 #include <c32comm.h>
       
    29 #include <e32hal.h>
       
    30 #include <comms-infras/nifif.h>
       
    31 #include <comms-infras/nifagt.h>
       
    32 #include <c32root.h>
       
    33 #include <comms-infras/esockloader.h>
       
    34 //
       
    35 
       
    36 TE_RConnectionForceCCoverWrite::TE_RConnectionForceCCoverWrite(TPtrC /*aName*/) : TE_RConnectionStep()
       
    37 {
       
    38 	// TODO CPC iTestStepName=aName;
       
    39 }
       
    40 
       
    41 TE_RConnectionForceCCoverWrite::~TE_RConnectionForceCCoverWrite()
       
    42 {
       
    43 }
       
    44 
       
    45 enum TVerdict TE_RConnectionForceCCoverWrite::doTestStepL(void)
       
    46 /*
       
    47  * It appears that CCover only writes to its data file every now and again, so force it here 
       
    48  * to write its data just before we shutdown and lose anything that has changed
       
    49  */
       
    50 {
       
    51 	#ifdef CCOVER
       
    52 		cov_write();
       
    53 	#endif
       
    54 
       
    55 	return TestStepResult();
       
    56 } // TE_RConnectionForceCCoverWrite
       
    57