os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/uloggerservertest0step.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /**
     2 * Copyright (c) 2002-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 UloggerServerTest0Step.h
    22  @internalTechnology
    23 */
    24 #if (!defined __ULOGGERSERVERTEST0_STEP_H__)
    25 #define __ULOGGERSERVERTEST0_STEP_H__
    26 #include <test/testexecutestepbase.h>
    27 #include "te_uloggerservertestsuitestepbase.h"
    28 #include "uloggerwatcher.h"
    29 
    30 using namespace Ulogger;
    31 
    32 class CUloggerServerTest0Step : public CTe_UloggerServerTestSuiteStepBase, public MDataWatcherObserver
    33 	{
    34 public:
    35 	CUloggerServerTest0Step();
    36 	~CUloggerServerTest0Step();
    37 	virtual TVerdict doTestStepPreambleL();
    38 	virtual TVerdict doTestStepL();
    39 	virtual TVerdict doTestStepPostambleL();
    40 	
    41 	void DataNotification(){}; //required by test
    42 	
    43 	//test methods
    44 	TInt Test1L(); //CULoggerWatcher::NewL
    45 	TInt Test2L();  //CULoggerWatcher::NewLC
    46 	TInt Test3L();  //CULoggerWatcher::StartWatching
    47 	TInt Test4L(); //CULoggerWatcher::StopWatching
    48 	TInt Test5L();//CULoggerWatcher::RunL
    49 	
    50 	
    51 // Please add/modify your class members here:
    52 private:
    53 	CActiveScheduler *iScheduler;
    54 	TInt iErrors;
    55 	};
    56 
    57 _LIT(KUloggerServerTest0Step,"UloggerServerTest0Step");
    58 
    59 #endif