os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/uloggerservertest3step.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/uloggerservertest3step.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,65 @@
     1.4 +/**
     1.5 +* Copyright (c) 2007-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 UloggerServerTest1Step.h
    1.25 + @internalTechnology
    1.26 +*/
    1.27 +#if (!defined __ULOGGERSERVERTEST3_STEP_H__)
    1.28 +#define __ULOGGERSERVERTEST3_STEP_H__
    1.29 +#include <test/testexecutestepbase.h>
    1.30 +#include "te_uloggerservertestsuitestepbase.h"
    1.31 +#include "uloggerwatcher.h"
    1.32 +
    1.33 +_LIT8(KUsbTestPlugin, "uloggerusbplugin");
    1.34 +_LIT8(KFileTestPlugin, "uloggerfileplugin");
    1.35 +_LIT8(KNullTestPlugin, "");
    1.36 +_LIT8(KBadNameTestPlugin, "ulopggerbadnameplugin");
    1.37 +
    1.38 +
    1.39 +using namespace Ulogger;
    1.40 +
    1.41 +class CUloggerServerTest3Step : public CTe_UloggerServerTestSuiteStepBase, public MDataWatcherObserver
    1.42 +	{
    1.43 +public:
    1.44 +	CUloggerServerTest3Step();
    1.45 +	~CUloggerServerTest3Step();
    1.46 +	virtual TVerdict doTestStepPreambleL();
    1.47 +	virtual TVerdict doTestStepL();
    1.48 +	virtual TVerdict doTestStepPostambleL();
    1.49 +	
    1.50 +	void DataNotification(){}; //required by test
    1.51 +	
    1.52 +	//test methods
    1.53 +	
    1.54 +	TInt Test1L(); //CPluginAllocator::NewL 
    1.55 +	TInt Test1_2L(); //CPluginAllocator::NewL - condition 2
    1.56 +	TInt Test1_3L(); //CPluginAllocator::NewL - condition 3
    1.57 +	TInt Test1_4L(); //CPluginAllocator::NewL - condition 4
    1.58 +	TInt Test2L();  //CPluginAllocator::NewLC
    1.59 +	
    1.60 +// Please add/modify your class members here:
    1.61 +private:
    1.62 +	CActiveScheduler *iScheduler;
    1.63 +	TInt iErrors;
    1.64 +	};
    1.65 +
    1.66 +_LIT(KUloggerServerTest3Step,"UloggerServerTest3Step");
    1.67 +
    1.68 +#endif