1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepController.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,91 @@
1.4 +// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// TestStepActrlController.h
1.18 +// This file contains Test step implementations for
1.19 +// controller methods.
1.20 +//
1.21 +
1.22 +
1.23 +#if (!defined __TESTSTEP_CONTROLLER_H__)
1.24 +#define __TESTSTEP_CONTROLLER_H__
1.25 +
1.26 +#include <e32std.h>
1.27 +#include <e32base.h>
1.28 +#include "TS_MMF_ACTRL_TestStep.h"
1.29 +
1.30 +/**
1.31 + *
1.32 + * CTestStepResetController
1.33 + * This class tests resetting the controller
1.34 + *
1.35 + * @lib "TSU_MMF_ACTRL_01.lib"
1.36 + *
1.37 + */
1.38 +class CTestStepResetController : public CTestStepActrl
1.39 + {
1.40 +public:
1.41 + CTestStepResetController();
1.42 + ~CTestStepResetController();
1.43 + virtual TVerdict DoTestStepL( void );
1.44 + };
1.45 +
1.46 +/**
1.47 + *
1.48 + * CTestStepRemoveDataSink
1.49 + * This class tests removing a data sink
1.50 + *
1.51 + * @lib "TSU_MMF_ACTRL_01.lib"
1.52 + *
1.53 + */
1.54 +class CTestStepRemoveDataSink : public CTestStepActrl
1.55 + {
1.56 +public:
1.57 + CTestStepRemoveDataSink();
1.58 + ~CTestStepRemoveDataSink();
1.59 + virtual TVerdict DoTestStepL( void );
1.60 + };
1.61 +
1.62 +/**
1.63 + *
1.64 + * CTestStepRemoveDataSource
1.65 + * This class tests removing a data source
1.66 + *
1.67 + * @lib "TSU_MMF_ACTRL_01.lib"
1.68 + *
1.69 + */
1.70 +class CTestStepRemoveDataSource : public CTestStepActrl
1.71 + {
1.72 +public:
1.73 + CTestStepRemoveDataSource();
1.74 + ~CTestStepRemoveDataSource();
1.75 + virtual TVerdict DoTestStepL( void );
1.76 + };
1.77 +
1.78 +/**
1.79 + *
1.80 + * CTestStepMemoryAllocation
1.81 + * This class tests memory allocation on the plugin
1.82 + *
1.83 + * @lib "TSU_MMF_ACTRL_01.lib"
1.84 + *
1.85 + */
1.86 +class CTestStepMemoryAllocation : public CTestStepActrl
1.87 + {
1.88 +public:
1.89 + CTestStepMemoryAllocation();
1.90 + ~CTestStepMemoryAllocation();
1.91 + virtual TVerdict DoTestStepL( void );
1.92 + };
1.93 +
1.94 +#endif // ( __TESTSTEP_CONTROLLER_H__)