os/graphics/windowing/windowserver/test/tauto/TMemLeakMode.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 1996-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  @file
    18  @test
    19  @internalComponent - Internal Symbian test code
    20 */
    21 
    22 #include <e32std.h>
    23 #include <w32std.h>
    24 #include "../tlib/testbase.h"
    25 #include "AUTO.H"
    26 #include "TGraphicsHarness.h"
    27 
    28 // CTMemLeakCheckEnable
    29 
    30 class CTMemLeakCheckEnable : public CTWsGraphicsBase
    31 	{
    32 public:
    33 	CTMemLeakCheckEnable(CTestStep* aStep);
    34 	void ConstructL();
    35 protected:
    36 	virtual void RunTestCaseL(TInt aCurTestCase);
    37 private:
    38 	TBool iIsWsTestMode;
    39 	};
    40 
    41 class CTMemLeakCheckEnableStep : public CTGraphicsStep
    42 	{
    43 public:
    44 	CTMemLeakCheckEnableStep();
    45 	TestState DoTestL();
    46 protected:	
    47 	virtual CTGraphicsBase* CreateTestL();
    48 	};
    49 
    50 _LIT(KTMemLeakCheckEnableStep,"TMemLeakCheckEnable");
    51 
    52 // CTMemLeakCheckOneShot
    53 
    54 class CTMemLeakCheckOneShot : public CTWsGraphicsBase
    55 	{
    56 public:
    57 	CTMemLeakCheckOneShot(CTestStep* aStep);
    58 	void ConstructL();
    59 protected:
    60 	virtual void RunTestCaseL(TInt aCurTestCase);
    61 private:
    62 	TBool iIsWsTestMode;
    63 	};
    64 
    65 class CTMemLeakCheckOneShotStep : public CTGraphicsStep
    66 	{
    67 public:
    68 	CTMemLeakCheckOneShotStep();
    69 	TestState DoTestL();
    70 protected:	
    71 	virtual CTGraphicsBase* CreateTestL();
    72 	};
    73 
    74 _LIT(KTMemLeakCheckOneShotStep,"TMemLeakCheckOneShot");