traceservices/tracefw/ulogger/unit_test/te-server/uloggerservertest3step.h
changeset 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 /**
       
     2 * Copyright (c) 2007-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 UloggerServerTest1Step.h
       
    22  @internalTechnology
       
    23 */
       
    24 #if (!defined __ULOGGERSERVERTEST3_STEP_H__)
       
    25 #define __ULOGGERSERVERTEST3_STEP_H__
       
    26 #include <testexecutestepbase.h>
       
    27 #include "te_uloggerservertestsuitestepbase.h"
       
    28 #include "uloggerwatcher.h"
       
    29 
       
    30 _LIT8(KUsbTestPlugin, "uloggerusbplugin");
       
    31 _LIT8(KFileTestPlugin, "uloggerfileplugin");
       
    32 _LIT8(KNullTestPlugin, "");
       
    33 _LIT8(KBadNameTestPlugin, "ulopggerbadnameplugin");
       
    34 
       
    35 
       
    36 using namespace Ulogger;
       
    37 
       
    38 class CUloggerServerTest3Step : public CTe_UloggerServerTestSuiteStepBase, public MDataWatcherObserver
       
    39 	{
       
    40 public:
       
    41 	CUloggerServerTest3Step();
       
    42 	~CUloggerServerTest3Step();
       
    43 	virtual TVerdict doTestStepPreambleL();
       
    44 	virtual TVerdict doTestStepL();
       
    45 	virtual TVerdict doTestStepPostambleL();
       
    46 	
       
    47 	void DataNotification(){}; //required by test
       
    48 	
       
    49 	//test methods
       
    50 	
       
    51 	TInt Test1L(); //CPluginAllocator::NewL 
       
    52 	TInt Test1_2L(); //CPluginAllocator::NewL - condition 2
       
    53 	TInt Test1_3L(); //CPluginAllocator::NewL - condition 3
       
    54 	TInt Test1_4L(); //CPluginAllocator::NewL - condition 4
       
    55 	TInt Test2L();  //CPluginAllocator::NewLC
       
    56 	
       
    57 // Please add/modify your class members here:
       
    58 private:
       
    59 	CActiveScheduler *iScheduler;
       
    60 	TInt iErrors;
       
    61 	};
       
    62 
       
    63 _LIT(KUloggerServerTest3Step,"UloggerServerTest3Step");
       
    64 
       
    65 #endif