traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_functional/inc/te_advancedfiltering.h
changeset 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file te_advancedfiltering.h
       
    20  @internalTechnology
       
    21 */
       
    22 #if (!defined TE_ULOGGERADPAPITESTSTEP_H)
       
    23 #define TE_ULOGGERADPAPITESTSTEP_H
       
    24 #include <datawrapper.h>
       
    25 #include "te_ostv2integsuite_basewrapper.h"
       
    26 #include <e32base.h>
       
    27 #include <e32math.h>
       
    28 #include <uloggerclient.h>
       
    29 #include "te_dataparameters.h"
       
    30 #include "te_perftracetester.h"
       
    31 using namespace Ulogger; //CA:added so can use old ulogger api
       
    32 
       
    33 
       
    34 /*should put in a general filter test step class do derive the primary and secondary tests from*/
       
    35 /*pass the filter values, have get/setfilter(0) as members*/
       
    36 /*derive the relavent primary/secondary specifics*/
       
    37 
       
    38 class CTCMAdvancedGroupIDFilteringWrapper : public CTe_MCLSuiteBaseWrapper
       
    39 	{
       
    40 public:
       
    41 	~CTCMAdvancedGroupIDFilteringWrapper();
       
    42 	static CTCMAdvancedGroupIDFilteringWrapper* NewL();
       
    43 	static CTCMAdvancedGroupIDFilteringWrapper* NewLC();
       
    44 	TAny* GetObject();
       
    45 	TBool DoCommandL(	const TTEFFunction& aCommand,
       
    46 						const TTEFSectionName& aSection, 
       
    47 						const TInt aAsyncErrorIndex);
       
    48 	TVerdict TestGroupIdFiltering(RULogger& aLogger, const TBool aFilter, const TBool aFiltering);
       
    49 
       
    50 private:
       
    51 	CTCMAdvancedGroupIDFilteringWrapper();
       
    52 	void ConstructL();
       
    53 	};
       
    54 	
       
    55 class CTCMAdvancedComponentIDFilteringWrapper : public CTe_MCLSuiteBaseWrapper
       
    56 	{
       
    57 public:
       
    58 	~CTCMAdvancedComponentIDFilteringWrapper();
       
    59 	static CTCMAdvancedComponentIDFilteringWrapper* NewL();
       
    60 	static CTCMAdvancedComponentIDFilteringWrapper* NewLC();
       
    61 	TAny* GetObject();
       
    62 	TBool DoCommandL(	const TTEFFunction& aCommand,
       
    63 						const TTEFSectionName& aSection, 
       
    64 						const TInt aAsyncErrorIndex);
       
    65 	TVerdict TestComponentIdFiltering(RULogger& aLogger, const TBool aFilter, const TBool aFiltering);
       
    66 	
       
    67 // Please add/modify your class members here:
       
    68 private:
       
    69 	CTCMAdvancedComponentIDFilteringWrapper();
       
    70 	void ConstructL();
       
    71 	
       
    72 private:
       
    73     TUptTraceTester iTestTracer;
       
    74     TApiRunConfig iApiRunConfig;
       
    75 	};
       
    76 	
       
    77 
       
    78 _LIT(KTCMAdvancedGroupIDFilteringWrapper,"TCMAdvancedGroupIDFiltering");
       
    79 _LIT(KTCMAdvancedComponentIDFilteringWrapper,"TCMAdvancedComponentIDFiltering");
       
    80 
       
    81 #endif