networkingtestandutils/networkingintegrationtest/inc/TestUtils.h
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 /**
       
     2 * Copyright (c) 2003-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 /**
       
    21  @file TestUtils.h
       
    22  @internalComponent
       
    23 */
       
    24 
       
    25 class CTestUtils
       
    26 /**
       
    27 This contains CTestUtils 
       
    28 Test suites utility fuuctions
       
    29 
       
    30 @internalComponent
       
    31 */
       
    32 {
       
    33 public:
       
    34 
       
    35 	IMPORT_C  static CTestUtils * NewL(CLog * aLogSystem );
       
    36 
       
    37 	/** public interface to run test utils. */
       
    38 	IMPORT_C  void RunUtils( const TDesC& Text  );
       
    39 
       
    40 private:
       
    41 	/** second phase constructor */
       
    42 	void Construct(CLog * aLogSystem );
       
    43 
       
    44 	void RunUtilsL( const TDesC& Text  );
       
    45 
       
    46 	void ChangeDirL (const TDesC& aDirname ); 
       
    47 	void MakedirL (const TDesC&) ;
       
    48 	void CopyFileL (const TDesC& anOld,const TDesC& aNew); 
       
    49 	void DeleteFileL (const TDesC& aFile); 
       
    50 	void MakeReadWriteL(const TDesC& aFile);
       
    51 
       
    52 	/** pointer to Logging object which handles File and Console logging */
       
    53 	CLog * iLogSystem;
       
    54 
       
    55 
       
    56 };