First public contribution.
1 // Copyright (c) 2008-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef T_TESTMWSINIFILE_H_
17 #define T_TESTMWSINIFILE_H_
19 #include "graphics/wsplugin.h"
20 #include "t_testserviceplugin.h"
21 #include "PARSEINIDATA.H"
24 This is an implementation of MWsFader, in the form of a CWsPlugin.
25 The window server will use this to create test fader if the ini file specifies it.
27 class CTestMWsIniFile : public CWsPlugin
30 enum { EImplUid = 0x10285C5F };
33 static CTestMWsIniFile* CreateL();
35 void ConstructL(MWsGraphicDrawerEnvironment& aEnv,const TDesC8& aData);
36 const TDesC& PluginName() const;
39 void RunMWsIniFileTestsL();
40 void FindScreenVariableL(TInt aScreen, const TDesC& aIntSection, const TDesC& aStringSection);
41 void FindCustomSectionVariableL(const TDesC& aSection, const TDesC& aIntSection, const TDesC& aStringSection);
42 void FindDefaultVariableL(const TDesC& aIntSection, const TDesC& aStringSection);
43 void FindDefaultMissingVariableL(const TDesC& aMissingVariable);
44 void FindScreenMissingVariableL(TInt aScreen, const TDesC& aMissingVariable);
45 void FindCustomSectionMissingVariableL(const TDesC& aSection, const TDesC& aMissingVariable);
46 void FindDefaultVarOppositeMethodL(const TDesC& aAttribute, const TDesC& aType);
47 void FindScreenVarOppositeMethodL(TInt aScreen, const TDesC& aAttribute, const TDesC& aType);
48 void FindCustomSectionVarOppositeMethodL(const TDesC& aSection, const TDesC& aAttribute, const TDesC& aType);
49 void FindNEScreenVariableL(TInt aScreen, const TDesC& aIntSection, const TDesC& aStringSection);
50 void FindNESectionVariableL(const TDesC& aSection, const TDesC& aIntSection, const TDesC& aStringSection);
55 MWsIniFile* iWsIniFile;
60 #endif /*T_TESTMWSINIFILE_H_*/