os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/uloggerservertest1step.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/uloggerservertest1step.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,82 @@
     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 UloggerServerTest1Step.h
    1.25 + @internalTechnology
    1.26 +*/
    1.27 +#if (!defined __ULOGGERSERVERTEST1_STEP_H__)
    1.28 +#define __ULOGGERSERVERTEST1_STEP_H__
    1.29 +#include <test/testexecutestepbase.h>
    1.30 +#include "te_uloggerservertestsuitestepbase.h"
    1.31 +
    1.32 +
    1.33 +class CUloggerServerTest1Step : public CTe_UloggerServerTestSuiteStepBase
    1.34 +	{
    1.35 +public:
    1.36 +	CUloggerServerTest1Step();
    1.37 +	~CUloggerServerTest1Step();
    1.38 +	virtual TVerdict doTestStepPreambleL();
    1.39 +	virtual TVerdict doTestStepL();
    1.40 +	virtual TVerdict doTestStepPostambleL();
    1.41 +
    1.42 +	//test methods
    1.43 +	TInt Test1L();//CULoggerServer::NewLC
    1.44 +	TInt Test2L();//CULoggerServer::IncrementSessions
    1.45 +	TInt Test3L();//CULoggerServer::Stop
    1.46 +	TInt Test4L();//CULoggerServer::GetPrimaryFilters
    1.47 +	TInt Test5L();//CULoggerServer::GetSecondaryFilters
    1.48 +	TInt Test6L();//CULoggerServer::RemovePrimaryFilterfromConfig
    1.49 +	TInt Test6AL();//CULoggerServer::RemoveSecondaryFilterfromConfig
    1.50 +	TInt Test7L();//CULoggerServer::EnablePrimaryFilter
    1.51 +	TInt Test8L();//CULoggerServer::SetSecondaryFilter
    1.52 +	TInt Test9L();//CULoggerServer::Start
    1.53 +	TInt Test10L();//CULoggerServer::AddOutputPlugin
    1.54 +	TInt Test11L();//CULoggerServer::RemoveOutputPlugin
    1.55 +	TInt Test12L();//CULoggerServer::SetActiveOutputMedia
    1.56 +	TInt Test13L();//CULoggerServer::SetOutputPluginSettings
    1.57 +	TInt Test14L();//CULoggerServer::GetActiveOutput
    1.58 +	TInt Test15L();//CULoggerServer::GetInstalledPlugins
    1.59 +	TInt Test16L();//CULoggerServer::GetOutputPluginSettingsL
    1.60 +	TInt Test17L();//CULoggerServer::GetOutputChannelL
    1.61 +	TInt Test18L();//CULoggerServer::SetBufferSizeL
    1.62 +	TInt Test19L();//CULoggerServer::SetDataNotificationSizeL
    1.63 +	TInt Test20L();//CULoggerServer::GetBufferSize
    1.64 +	TInt Test21L();// CULoggerServer::GetDataNotificationSize
    1.65 +	TInt Test22L();//CULoggerServer::SetGlobalSecondaryFilters
    1.66 +	TInt Test23L();//CULoggerServer::ReadBufferL
    1.67 +	TInt Test24L();//CULoggerServer::DataNotification
    1.68 +	TInt Test25L();//CULoggerServer::Set buffer mode
    1.69 +	TInt Test26L();//CULoggerServer::UnconfigureCurrentChannel
    1.70 +	TInt Test27L();//CULoggerServer::DoPostProcessing
    1.71 +	TInt Test28L();//CULoggerServer::RemoveOutputPluginSettingsL
    1.72 +	TInt Test29L();//CULoggerServer::GetInstalledControlPlugins
    1.73 +	TInt Test30L();//CULoggerServer::SetActiveControlMedia + DeActivateControlMedia
    1.74 +	TInt Test31L();//CULoggerServer::ProcessCommandL ver1
    1.75 +	
    1.76 +// Please add/modify your class members here:
    1.77 +private:
    1.78 +	CActiveScheduler *iScheduler;
    1.79 +	TInt iErrors;
    1.80 +	TInt iMediaCount; //this variable will be used as an counter for "mediaX"
    1.81 +	};
    1.82 +
    1.83 +_LIT(KUloggerServerTest1Step,"UloggerServerTest1Step");
    1.84 +
    1.85 +#endif