os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/uloggerservertest0step.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/uloggerservertest0step.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,59 @@
     1.4 +/**
     1.5 +* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +
    1.22 +
    1.23 +/**
    1.24 + @file UloggerServerTest0Step.h
    1.25 + @internalTechnology
    1.26 +*/
    1.27 +#if (!defined __ULOGGERSERVERTEST0_STEP_H__)
    1.28 +#define __ULOGGERSERVERTEST0_STEP_H__
    1.29 +#include <test/testexecutestepbase.h>
    1.30 +#include "te_uloggerservertestsuitestepbase.h"
    1.31 +#include "uloggerwatcher.h"
    1.32 +
    1.33 +using namespace Ulogger;
    1.34 +
    1.35 +class CUloggerServerTest0Step : public CTe_UloggerServerTestSuiteStepBase, public MDataWatcherObserver
    1.36 +	{
    1.37 +public:
    1.38 +	CUloggerServerTest0Step();
    1.39 +	~CUloggerServerTest0Step();
    1.40 +	virtual TVerdict doTestStepPreambleL();
    1.41 +	virtual TVerdict doTestStepL();
    1.42 +	virtual TVerdict doTestStepPostambleL();
    1.43 +	
    1.44 +	void DataNotification(){}; //required by test
    1.45 +	
    1.46 +	//test methods
    1.47 +	TInt Test1L(); //CULoggerWatcher::NewL
    1.48 +	TInt Test2L();  //CULoggerWatcher::NewLC
    1.49 +	TInt Test3L();  //CULoggerWatcher::StartWatching
    1.50 +	TInt Test4L(); //CULoggerWatcher::StopWatching
    1.51 +	TInt Test5L();//CULoggerWatcher::RunL
    1.52 +	
    1.53 +	
    1.54 +// Please add/modify your class members here:
    1.55 +private:
    1.56 +	CActiveScheduler *iScheduler;
    1.57 +	TInt iErrors;
    1.58 +	};
    1.59 +
    1.60 +_LIT(KUloggerServerTest0Step,"UloggerServerTest0Step");
    1.61 +
    1.62 +#endif