--- a/uiaccelerator_plat/alf_client_server_api/inc/alf/alfappui.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiaccelerator_plat/alf_client_server_api/inc/alf/alfappui.h Tue May 11 17:03:00 2010 +0300
@@ -54,7 +54,7 @@
*
* @since S60 v3.2
*/
-NONSHARABLE_CLASS(CAlfAppUi) : public CAknAppUi, public MAlfSrvSettingsObserver
+NONSHARABLE_CLASS(CAlfAppUi) : public CBase, public MAlfSrvSettingsObserver
{
public: // new methods
@@ -121,7 +121,7 @@
* 2nd phase constructor. Called by the framework after
* the 1st phase construction.
*/
- IMPORT_C void ConstructL();
+ IMPORT_C virtual void ConstructL();
/**
* From CAknAppUi.
@@ -129,7 +129,7 @@
*
* @param aEvent Occurred event.
*/
- IMPORT_C void HandleSystemEventL(const TWsEvent& aEvent);
+ IMPORT_C virtual void HandleSystemEventL(const TWsEvent& aEvent);
/**
* From CAknAppUi.
@@ -137,7 +137,7 @@
*
* @param aEvent Occurred event.
*/
- IMPORT_C void HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination);
+ IMPORT_C virtual void HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination);
/**
* From CAknAppUi.
@@ -145,7 +145,7 @@
*
* @return ETrue. Meaning the framework will synchronize the application to the starter
*/
- IMPORT_C TBool FrameworkCallsRendezvous() const;
+ IMPORT_C virtual TBool FrameworkCallsRendezvous() const;
/**
* From CAknAppUi.
@@ -153,7 +153,7 @@
*
* @param aType Changed resource.
*/
- IMPORT_C void HandleResourceChangeL( TInt aType );
+ IMPORT_C virtual void HandleResourceChangeL( TInt aType );
/**
* From CAknAppUi.
@@ -161,7 +161,7 @@
*
* @param aCommand The command
*/
- IMPORT_C void HandleCommandL(TInt aCommand);
+ IMPORT_C virtual void HandleCommandL(TInt aCommand);
void MAlfSrvUintSettingChangedL( TAlfSrvSetting aSetting, TUint aNewValue );
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/conf/tctestplatclientserverblocksappui.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,44 @@
+[Test]
+title TestServerCAlfAppUiL
+run testscripter c:\testframework\ui_testplatclientserverblocksappui.cfg 1
+[Endtest]
+
+//[Test]
+//title TestServerContainerL
+//run testscripter c:\testframework\ui_testplatclientserverblocksappui.cfg 2
+//[Endtest]
+
+//[Test]
+//title TestServerConstructL
+//run testscripter c:\testframework\ui_testplatclientserverblocksappui.cfg 3
+//[Endtest]
+
+//[Test]
+//title TestServerAppendDisplayOnSharedWindowL
+//run testscripter c:\testframework\ui_testplatclientserverblocksappui.cfg 4
+//[Endtest]
+
+[Test]
+title TestServerHandleSystemEventL
+run testscripter c:\testframework\ui_testplatclientserverblocksappui.cfg 5
+[Endtest]
+
+//[Test]
+//title TestServerHandleWsEventL
+//run testscripter c:\testframework\ui_testplatclientserverblocksappui.cfg 6
+//[Endtest]
+
+[Test]
+title TestServerFrameworkCallsRendezvousL
+run testscripter c:\testframework\ui_testplatclientserverblocksappui.cfg 7
+[Endtest]
+
+//[Test]
+//title TestServerHandleResourceChangeL
+//run testscripter c:\testframework\ui_testplatclientserverblocksappui.cfg 8
+//[Endtest]
+
+[Test]
+title TestServerHandleCommandL
+run testscripter c:\testframework\ui_testplatclientserverblocksappui.cfg 9
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/conf/tctestplatclientserverblocksclientbase.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,39 @@
+[Test]
+title TestServerRAlfClientBaseL
+run testscripter c:\testframework\ui_testplatclientserverblocksclientbase.cfg 1
+[Endtest]
+
+//[Test]
+//title TestServerOpenL
+//run testscripter c:\testframework\ui_testplatclientserverblocksclientbase.cfg 2
+//[Endtest]
+
+//[Test]
+//title TestServerServiceUidL
+//run testscripter c:\testframework\ui_testplatclientserverblocksclientbase.cfg 3
+//[Endtest]
+
+[Test]
+title TestServerGrantAccessToPrivateFileL
+run testscripter c:\testframework\ui_testplatclientserverblocksclientbase.cfg 4
+[Endtest]
+
+[Test]
+title TestServerGrantAccessToPrivateRFileL
+run testscripter c:\testframework\ui_testplatclientserverblocksclientbase.cfg 5
+[Endtest]
+
+[Test]
+title TestServerConstructServerNameL
+run testscripter c:\testframework\ui_testplatclientserverblocksclientbase.cfg 6
+[Endtest]
+
+//[Test]
+//title TestServerStartServerLL
+//run testscripter c:\testframework\ui_testplatclientserverblocksclientbase.cfg 7
+//[Endtest]
+
+//[Test]
+//title TestServerLaunchAppL
+//run testscripter c:\testframework\ui_testplatclientserverblocksclientbase.cfg 8
+//[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/conf/tctestplatclientserverblocksserver.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,39 @@
+[Test]
+title TestServerNewAppServerL
+run testscripter c:\testframework\ui_testplatclientserverblocksserver.cfg 1
+[Endtest]
+
+//[Test]
+//title TestServerHandleClientExitL
+//run testscripter c:\testframework\ui_testplatclientserverblocksserver.cfg 2
+//[Endtest]
+
+//[Test]
+//title TestServerAdjustWindowGroupPositionL
+//run testscripter c:\testframework\ui_testplatclientserverblocksserver.cfg 3
+//[Endtest]
+
+[Test]
+title TestServerWsSessionL
+run testscripter c:\testframework\ui_testplatclientserverblocksserver.cfg 4
+[Endtest]
+
+[Test]
+title TestServerMetricsInterfaceL
+run testscripter c:\testframework\ui_testplatclientserverblocksserver.cfg 5
+[Endtest]
+
+[Test]
+title TestServerMetricsInterfaceConstL
+run testscripter c:\testframework\ui_testplatclientserverblocksserver.cfg 6
+[Endtest]
+
+[Test]
+title TestServerSetMetricsInterfaceL
+run testscripter c:\testframework\ui_testplatclientserverblocksserver.cfg 7
+[Endtest]
+
+[Test]
+title TestServerAppUiL
+run testscripter c:\testframework\ui_testplatclientserverblocksserver.cfg 8
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/conf/tctestplatclientserverblockssessionbase.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,84 @@
+[Test]
+title TestServerCAlfAppSrvSessionBaseServerL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 1
+[Endtest]
+
+[Test]
+title TestServerCAlfAppSrvSessionBaseL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 2
+[Endtest]
+
+[Test]
+title TestServerClientDrawingAreaL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 3
+[Endtest]
+
+[Test]
+title TestServerFocusGainedLL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 4
+[Endtest]
+
+[Test]
+title TestServerFocusLostL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 5
+[Endtest]
+
+[Test]
+title TestServerPreferredWindowGroupPositionL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 6
+[Endtest]
+
+[Test]
+title TestServerPreferredRefreshModeL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 7
+[Endtest]
+
+[Test]
+title TestServerAlfServerL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 8
+[Endtest]
+
+//[Test]
+//title TestServerAlfAppUiL
+//run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 9
+//[Endtest]
+
+[Test]
+title TestServerLayoutManagerL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 10
+[Endtest]
+
+[Test]
+title TestServerSharedHuiEnvL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 11
+[Endtest]
+
+//[Test]
+//title TestServerHandleCurrentCommanndAsynchL
+//run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 12
+//[Endtest]
+
+//[Test]
+//title TestServerBaseConstructL
+//run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 13
+//[Endtest]
+
+//[Test]
+//title TestServerGetInterfaceLL
+//run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 14
+//[Endtest]
+
+//[Test]
+//title TestServerGetHandleFromInterfaceL
+//run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 15
+//[Endtest]
+
+//[Test]
+//title TestServerCompleteCmdL
+//run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 16
+//[Endtest]
+
+[Test]
+title TestServerAlfInterfaceProviderExtensionL
+run testscripter c:\testframework\ui_testplatclientserverblockssessionbase.cfg 17
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/conf/ui_testplatclientserverblocksappui.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,64 @@
+[Test]#1
+title TestServerCAlfAppUiL
+create testplatclientserver test
+test TestServerCAlfAppUiL
+delete test
+[Endtest]
+
+[Test]#2
+title TestServerContainerL
+create testplatclientserver test
+test TestServerContainerL
+delete test
+[Endtest]
+
+[Test]#3
+title TestServerConstructL
+create testplatclientserver test
+test TestServerConstructL
+delete test
+[Endtest]
+
+[Test]#4
+title TestServerAppendDisplayOnSharedWindowL
+create testplatclientserver test
+test TestServerAppendDisplayOnSharedWindowL
+delete test
+[Endtest]
+
+[Test]#5
+title TestServerHandleSystemEventL
+create testplatclientserver test
+test TestServerHandleSystemEventL
+delete test
+[Endtest]
+
+[Test]#6
+title TestServerHandleWsEventL
+create testplatclientserver test
+test TestServerHandleWsEventL
+delete test
+[Endtest]
+
+[Test]#7
+title TestServerFrameworkCallsRendezvousL
+create testplatclientserver test
+test TestServerFrameworkCallsRendezvousL
+delete test
+[Endtest]
+
+[Test]#8
+title TestServerHandleResourceChangeL
+create testplatclientserver test
+test TestServerHandleResourceChangeL
+delete test
+[Endtest]
+
+[Test]#9
+title TestServerHandleCommandL
+create testplatclientserver test
+test TestServerHandleCommandL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/conf/ui_testplatclientserverblocksclientbase.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,56 @@
+[Test]#1
+title TestServerRAlfClientBaseL
+create testplatclientserver test
+test TestServerRAlfClientBaseL
+delete test
+[Endtest]
+
+[Test]#2
+title TestServerOpenL
+create testplatclientserver test
+test TestServerOpenL
+delete test
+[Endtest]
+
+[Test]#3
+title TestServerServiceUidL
+create testplatclientserver test
+test TestServerServiceUidL
+delete test
+[Endtest]
+
+[Test]#4
+title TestServerGrantAccessToPrivateFileL
+create testplatclientserver test
+test TestServerGrantAccessToPrivateFileL
+delete test
+[Endtest]
+
+[Test]#5
+title TestServerGrantAccessToPrivateRFileL
+create testplatclientserver test
+test TestServerGrantAccessToPrivateRFileL
+delete test
+[Endtest]
+
+[Test]#6
+title TestServerConstructServerNameL
+create testplatclientserver test
+test TestServerConstructServerNameL
+delete test
+[Endtest]
+
+[Test]#7
+title TestServerStartServerLL
+create testplatclientserver test
+test TestServerStartServerLL
+delete test
+[Endtest]
+
+[Test]#8
+title TestServerLaunchAppL
+create testplatclientserver test
+test TestServerLaunchAppL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/conf/ui_testplatclientserverblocksserver.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,55 @@
+[Test]#1
+title TestServerNewAppServerL
+create testplatclientserver test
+test TestServerNewAppServerL
+delete test
+[Endtest]
+
+[Test]#2
+title TestServerHandleClientExitL
+create testplatclientserver test
+test TestServerHandleClientExitL
+delete test
+[Endtest]
+
+[Test]#3
+title TestServerAdjustWindowGroupPositionL
+create testplatclientserver test
+test TestServerAdjustWindowGroupPositionL
+delete test
+[Endtest]
+
+[Test]#4
+title TestServerWsSessionL
+create testplatclientserver test
+test TestServerWsSessionL
+delete test
+[Endtest]
+
+[Test]#5
+title TestServerMetricsInterfaceL
+create testplatclientserver test
+test TestServerMetricsInterfaceL
+delete test
+[Endtest]
+
+[Test]#6
+title TestServerMetricsInterfaceConstL
+create testplatclientserver test
+test TestServerMetricsInterfaceConstL
+delete test
+[Endtest]
+
+[Test]#7
+title TestServerSetMetricsInterfaceL
+create testplatclientserver test
+test TestServerSetMetricsInterfaceL
+delete test
+[Endtest]
+
+[Test]#8
+title TestServerAppUiL
+create testplatclientserver test
+test TestServerAppUiL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/conf/ui_testplatclientserverblockssessionbase.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,118 @@
+[Test]#1
+title TestServerCAlfAppSrvSessionBaseServerL
+create testplatclientserver test
+test TestServerCAlfAppSrvSessionBaseServerL
+delete test
+[Endtest]
+
+[Test]#2
+title TestServerCAlfAppSrvSessionBaseL
+create testplatclientserver test
+test TestServerCAlfAppSrvSessionBaseL
+delete test
+[Endtest]
+
+[Test]#3
+title TestServerClientDrawingAreaL
+create testplatclientserver test
+test TestServerClientDrawingAreaL
+delete test
+[Endtest]
+
+[Test]#4
+title TestServerFocusGainedLL
+create testplatclientserver test
+test TestServerFocusGainedLL
+delete test
+[Endtest]
+
+[Test]#5
+title TestServerFocusLostL
+create testplatclientserver test
+test TestServerFocusLostL
+delete test
+[Endtest]
+
+[Test]#6
+title TestServerPreferredWindowGroupPositionL
+create testplatclientserver test
+test TestServerPreferredWindowGroupPositionL
+delete test
+[Endtest]
+
+[Test]#7
+title TestServerPreferredRefreshModeL
+create testplatclientserver test
+test TestServerPreferredRefreshModeL
+delete test
+[Endtest]
+
+[Test]#8
+title TestServerAlfServerL
+create testplatclientserver test
+test TestServerAlfServerL
+delete test
+[Endtest]
+
+[Test]#9
+title TestServerAlfAppUiL
+create testplatclientserver test
+test TestServerAlfAppUiL
+delete test
+[Endtest]
+
+[Test]#10
+title TestServerLayoutManagerL
+create testplatclientserver test
+test TestServerLayoutManagerL
+delete test
+[Endtest]
+
+[Test]#11
+title TestServerSharedHuiEnvL
+create testplatclientserver test
+test TestServerSharedHuiEnvL
+delete test
+[Endtest]
+
+[Test]#12
+title TestServerHandleCurrentCommanndAsynchL
+create testplatclientserver test
+test TestServerHandleCurrentCommanndAsynchL
+delete test
+[Endtest]
+
+[Test]#13
+title TestServerBaseConstructL
+create testplatclientserver test
+test TestServerBaseConstructL
+delete test
+[Endtest]
+
+[Test]#14
+title TestServerGetInterfaceLL
+create testplatclientserver test
+test TestServerGetInterfaceLL
+delete test
+[Endtest]
+
+[Test]#15
+title TestServerGetHandleFromInterfaceL
+create testplatclientserver test
+test TestServerGetHandleFromInterfaceL
+delete test
+[Endtest]
+
+[Test]#16
+title TestServerCompleteCmdL
+create testplatclientserver test
+test TestServerCompleteCmdL
+delete test
+[Endtest]
+
+[Test]#17
+title TestServerAlfInterfaceProviderExtensionL
+create testplatclientserver test
+test TestServerAlfInterfaceProviderExtensionL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/group/bld.inf Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,32 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: build info file
+*
+*/
+
+
+
+PRJ_PLATFORMS
+DEFAULT
+
+
+PRJ_EXPORTS
+
+
+PRJ_TESTMMPFILES
+testplatclientserver.mmp
+
+PRJ_MMPFILES
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/group/testplatclientserver.mmp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,64 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: mmp file
+*
+*/
+
+
+#include <data_caging_paths.hrh>
+#include <platform_paths.hrh>
+
+TARGET testplatclientserver.dll
+TARGETTYPE dll
+UID 0x1000008D 0x2001CB80
+
+CAPABILITY ALL -TCB
+
+DEFFILE testplatclientserver.def
+
+USERINCLUDE ../inc
+
+MW_LAYER_SYSTEMINCLUDE
+
+SOURCEPATH ../src
+
+SOURCE testplatclientserver.cpp
+SOURCE testplatclientserverblocks.cpp
+SOURCE testplatclientserverblocksserver.cpp
+SOURCE testplatclientserverblockssessionbase.cpp
+SOURCE testplatclientserverblocksappui.cpp
+SOURCE testplatclientserverblocksclientbase.cpp
+
+
+LIBRARY euser.lib
+LIBRARY stiftestinterface.lib
+LIBRARY stiftestengine.lib
+LIBRARY alfappservercore.lib
+LIBRARY cone.lib
+LIBRARY avkon.lib
+LIBRARY apparc.lib
+LIBRARY alfclient.lib
+LIBRARY hitchcock.lib
+LIBRARY eikcoctl.lib
+LIBRARY eikcore.lib
+LIBRARY gdi.lib
+LIBRARY fbscli.lib
+
+
+
+LANG SC
+
+// End of File
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/group/testplatclientserver.pkg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,50 @@
+;
+; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+; Languages
+&EN
+
+; Header
+#{"testplatclientserver"}, (0x2001CB80), 1, 0, 0, TYPE=SA
+
+; Localised Vendor name
+%{"Nokia"}
+
+; Unique Vendor name
+:"Nokia"
+
+
+;Copying ordinary file (not language dependent) to fixed drive drive.
+
+"..\init\testplatclientserver.ini"-"c:\Testframework\testplatclientserver.ini", FF ; FF stands for Normal file
+
+"..\conf\tctestplatclientserverblocksserver.cfg"-"c:\Testframework\tctestplatclientserverblocksserver.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testplatclientserverblocksserver.cfg"-"c:\Testframework\ui_testplatclientserverblocksserver.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestplatclientserverblockssessionbase.cfg"-"c:\Testframework\tctestplatclientserverblockssessionbase.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testplatclientserverblockssessionbase.cfg"-"c:\Testframework\ui_testplatclientserverblockssessionbase.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestplatclientserverblocksappui.cfg"-"c:\Testframework\tctestplatclientserverblocksappui.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testplatclientserverblocksappui.cfg"-"c:\Testframework\ui_testplatclientserverblocksappui.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestplatclientserverblocksclientbase.cfg"-"c:\Testframework\tctestplatclientserverblocksclientbase.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testplatclientserverblocksclientbase.cfg"-"c:\Testframework\ui_testplatclientserverblocksclientbase.cfg", FF ; FF stands for Normal file
+
+"\epoc32\RELEASE\ARMV5\urel\testplatclientserver.dll"-"c:\sys\bin\testplatclientserver.dll", FF
+
+
+; Trim For Mms
+; ------------
+; to be added later
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/inc/testplatclientserver.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,455 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test functions for alf client server api
+*
+*/
+
+
+
+#ifndef C_TESTPLATCLIENTSERVER_H
+#define C_TESTPLATCLIENTSERVER_H
+
+// INCLUDES
+#include <stiflogger.h>
+#include <testscripterinternal.h>
+#include <stiftestmodule.h>
+#include <testclassassert.h>
+
+// MACROS
+#define TEST_CLASS_VERSION_MAJOR 0
+#define TEST_CLASS_VERSION_MINOR 0
+#define TEST_CLASS_VERSION_BUILD 0
+
+class CAlfAppServer;
+
+// Logging path
+_LIT( KtestplatclientserverLogPath, "\\logs\\testframework\\testplatclientserver\\" );
+// Log file
+_LIT( KtestplatclientserverLogFile, "testplatclientserver.txt" );
+_LIT( KtestplatclientserverLogFileWithTitle, "testplatclientserver_[%S].txt" );
+
+/**
+* CTestPlatClientServer test class for STIF Test Framework TestScripter.
+* @since S60 5.0
+*/
+NONSHARABLE_CLASS( CTestPlatClientServer ) : public CScriptBase
+ {
+public: // Constructors and destructor
+
+ /**
+ * Two-phased constructor.
+ */
+ static CTestPlatClientServer* NewL( CTestModuleIf& aTestModuleIf );
+
+ /**
+ * Destructor.
+ */
+ virtual ~CTestPlatClientServer();
+
+public: // Functions from base classes
+
+ /**
+ * From CScriptBase Runs a script line.
+ * @since S60 5.0
+ * @param aItem Script line containing method name and parameters
+ * @return Symbian OS error code
+ */
+ virtual TInt RunMethodL( CStifItemParser& aItem );
+
+
+private:
+
+ /**
+ * C++ default constructor.
+ */
+ CTestPlatClientServer( CTestModuleIf& aTestModuleIf );
+
+ /**
+ * By default Symbian 2nd phase constructor is private.
+ */
+ void ConstructL();
+
+ /**
+ * Method used to log version of test class
+ */
+ void SendTestClassVersion();
+
+ /**
+ * Turn off ScreenSaver
+ * @since S60 5.0
+ * @return Symbian OS error code.
+ */
+ void TurnOffScreenSaver();
+
+ /**
+ * Restore ScreenSaver
+ * @since S60 5.0
+ * @return Symbian OS error code.
+ */
+ void RestoreScreenSaver();
+
+private: // [TestMethods]
+
+ //alfappserver.h
+ /**
+ * TestServerNewAppServerL test method in alfappserver.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerNewAppServerL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerNewAppServerL test method in alfappserver.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerHandleClientExitL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerAdjustWindowGroupPositionL test method in alfappserver.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerAdjustWindowGroupPositionL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerWsSessionL test method in alfappserver.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerWsSessionL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerMetricsInterfaceL test method in alfappserver.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerMetricsInterfaceL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerMetricsInterfaceConstL test method in alfappserver.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerMetricsInterfaceConstL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerSetMetricsInterfaceL test method in alfappserver.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerSetMetricsInterfaceL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerAppUiL test method in alfappserver.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerAppUiL( CStifItemParser& /*aItem*/ );
+
+ //alfappsrvsessionbase.h
+ /**
+ * TestServerCAlfAppSrvSessionBaseServerL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerCAlfAppSrvSessionBaseServerL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerCAlfAppSrvSessionBaseL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerCAlfAppSrvSessionBaseL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerClientDrawingAreaL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerClientDrawingAreaL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerFocusGainedLL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerFocusGainedLL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerFocusLostL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerFocusLostL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerPreferredWindowGroupPositionL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerPreferredWindowGroupPositionL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerAlfServerL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerAlfServerL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerPreferredRefreshModeL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerPreferredRefreshModeL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerAlfAppUiL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerAlfAppUiL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerLayoutManagerL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerLayoutManagerL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerSharedHuiEnvL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerSharedHuiEnvL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerHandleCurrentCommanndAsynchL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerHandleCurrentCommanndAsynchL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerBaseConstructL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerBaseConstructL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerGetInterfaceLL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerGetInterfaceLL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerGetHandleFromInterfaceL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerGetHandleFromInterfaceL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerCompleteCmdL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerCompleteCmdL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerAlfInterfaceProviderExtensionL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerAlfInterfaceProviderExtensionL( CStifItemParser& /*aItem*/ );
+
+ //alfappui.h
+ /**
+ * TestServerCAlfAppUiL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerCAlfAppUiL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerContainerL test method in alfappsrvsessionbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerContainerL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerConstructL test method in alfappui.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerConstructL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerAppendDisplayOnSharedWindowL test method in alfappui.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerAppendDisplayOnSharedWindowL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerHandleSystemEventL test method in alfappui.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerHandleSystemEventL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerHandleWsEventL test method in alfappui.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerHandleWsEventL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerFrameworkCallsRendezvousL test method in alfappui.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerFrameworkCallsRendezvousL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerHandleResourceChangeL test method in alfappui.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerHandleResourceChangeL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerHandleCommandL test method in alfappui.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerHandleCommandL( CStifItemParser& /*aItem*/ );
+
+ //alfclientbase.h
+ /**
+ * TestServerRAlfClientBaseL test method in alfclientbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerRAlfClientBaseL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerOpenL test method in alfclientbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerOpenL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerServiceUidL test method in alfclientbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerServiceUidL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerGrantAccessToPrivateFileL test method in alfclientbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerGrantAccessToPrivateFileL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerGrantAccessToPrivateRFileL test method in alfclientbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerGrantAccessToPrivateRFileL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerConstructServerNameL test method in alfclientbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerConstructServerNameL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerStartServerLL test method in alfclientbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerStartServerLL( CStifItemParser& /*aItem*/ );
+
+ /**
+ * TestServerLaunchAppL test method in alfclientbase.h.
+ * @since S60 5.0
+ * @param aItem no used.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestServerLaunchAppL( CStifItemParser& /*aItem*/ );
+
+private: // Data
+
+ /**
+ * ScreenSaver Property
+ */
+ TInt iOldScreenSaverProperty;
+
+ };
+
+#endif // C_TESTPLATCLIENTSERVER_H
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/init/testplatclientserver.ini Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,184 @@
+#
+# This is STIFTestFramework initialization file
+# Comment lines start with '#'-character.
+# See STIF TestFramework users guide.doc for instructions
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# Set following test engine settings:
+# - Set Test Reporting mode. TestReportMode's possible values are:
+# + 'Summary': Summary of the tested test cases.
+# + 'Environment': Hardware and software info.
+# + 'TestCases': Test case report.
+# + 'FullReport': Set of all above ones.
+# + Example 'TestReportMode= Summary TestCases'
+#
+# - CreateTestReport setting controls report creation mode
+# + YES, Test report will created.
+# + NO, No Test report.
+#
+# - File path indicates the base path of the test report.
+# - File name indicates the name of the test report.
+#
+# - File format indicates the type of the test report.
+# + TXT, Test report file will be txt type, for example 'TestReport.txt'.
+# + HTML, Test report will be html type, for example 'TestReport.html'.
+#
+# - File output indicates output source of the test report.
+# + FILE, Test report logging to file.
+# + RDEBUG, Test report logging to using rdebug.
+#
+# - File Creation Mode indicates test report overwriting if file exist.
+# + OVERWRITE, Overwrites if the Test report file exist.
+# + APPEND, Continue logging after the old Test report information if
+# report exist.
+
+[Engine_Defaults]
+
+TestReportMode= FullReport # Possible values are:
+ # 'Summary', 'Environment', 'TestCases' or 'FullReport'
+
+CreateTestReport= YES # Possible values: YES or NO
+
+TestReportFilePath= C:\LOGS\TestFramework\
+TestReportFileName= TestReport
+
+TestReportFormat= TXT # Possible values: TXT or HTML
+TestReportOutput= FILE # Possible values: FILE or RDEBUG
+TestReportFileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND
+UITestingSupport= Yes
+SeparateProcesses= YES
+[End_Defaults]
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# Module configurations start
+# Modules are added between module tags
+# tags. Module name is specified after ModuleName= tag, like
+# ModuleName= testplatclientservertestplatclientservertestplatclientserver
+# Modules might have initialisation file, specified as
+# IniFile= YYYYYY
+# Modules might have several configuration files, like
+# TestCaseFile= NormalCases.txt
+# TestCaseFile= SmokeCases.txt
+# TestCaseFile= ManualCases.txt
+
+# (TestCaseFile is synonym for old term ConfigFile)
+
+# Following case specifies demo module settings. Demo module
+# does not read any settings from file, so tags
+# IniFile and TestCaseFile are not used.
+# In the simplest case it is enough to specify only the
+# name of the test module when adding new test module
+
+[New_Module]
+ModuleName= testcombiner
+TestCaseFile= c:\testframework\tctestplatclientserverblocksserver.cfg
+TestCaseFile= c:\testframework\tctestplatclientserverblockssessionbase.cfg
+TestCaseFile= c:\testframework\tctestplatclientserverblocksappui.cfg
+TestCaseFile= c:\testframework\tctestplatclientserverblocksclientbase.cfg
+[End_Module]
+
+#[New_Module]
+#ModuleName= testscripter
+#TestCaseFile= c:\testframework\ui_testplatclientserver.cfg
+#[End_Module]
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+#Load testmoduletestplatclientserver, optionally with initialization file and/or test case files
+#[New_Module]
+#ModuleName= testmodulexxx
+
+#TestModuletestplatclientserver used initialization file
+#IniFile= init.txt
+
+#TestModuletestplatclientserver used configuration file(s)
+#TestCaseFile= testcases1.cfg
+#TestCaseFile= testcases2.cfg
+#TestCaseFile= manualtestcases.cfg
+
+#[End_Module]
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# Set STIFTestFramework logging overwrite parameters for Logger.
+# Hardware and emulator environment logging path and styles can
+# be configured from here to overwrite the Logger's implemented values.
+#
+# Settings description:
+# - Indicates option for creation log directory/directories. If log directory/directories
+# is/are not created by user they will make by software.
+# + YES, Create log directory/directories if not allready exist.
+# + NO, Log directory/directories not created. Only created one is used.
+#
+# - Overwrite emulator path setting.
+# + Example: If 'EmulatorBasePath= C:\LOGS\TestFramework\' and in code is defined
+# Logger's path 'D:\\LOGS\\Module\\' with those definition the path
+# will be 'C:\LOGS\TestFramework\LOGS\Module\'
+#
+# - Overwrite emulator's logging format.
+# + TXT, Log file(s) will be txt type(s), for example 'Module.txt'.
+# + HTML, Log file(s) will be html type(s), for example 'Module.html'.
+#
+# - Overwrited emulator logging output source.
+# + FILE, Logging to file(s).
+# + RDEBUG, Logging to using rdebug(s).
+#
+# - Overwrite hardware path setting (Same description as above in emulator path).
+# - Overwrite hardware's logging format(Same description as above in emulator format).
+# - Overwrite hardware's logging output source(Same description as above in emulator output).
+#
+# - File Creation Mode indicates file overwriting if file exist.
+# + OVERWRITE, Overwrites if file(s) exist.
+# + APPEND, Continue logging after the old logging information if file(s) exist.
+#
+# - Will thread id include to the log filename.
+# + YES, Thread id to log file(s) name, Example filename 'Module_b9.txt'.
+# + NO, No thread id to log file(s), Example filename 'Module.txt'.
+#
+# - Will time stamps include the to log file.
+# + YES, Time stamp added to each line in log file(s). Time stamp is
+# for example'12.Nov.2003 115958 LOGGING INFO'
+# + NO, No time stamp(s).
+#
+# - Will line breaks include to the log file.
+# + YES, Each logging event includes line break and next log event is in own line.
+# + NO, No line break(s).
+#
+# - Will event ranking include to the log file.
+# + YES, Event ranking number added to each line in log file(s). Ranking number
+# depends on environment's tics, for example(includes time stamp also)
+# '012 12.Nov.2003 115958 LOGGING INFO'
+# + NO, No event ranking.
+#
+
+[Logger_Defaults]
+
+#NOTE: If you want to set Logger using next setting(s) remove comment(s)'#'
+
+CreateLogDirectories= YES # Possible values: YES or NO
+
+EmulatorBasePath= C:\LOGS\TestFramework\
+EmulatorFormat= HTML # Possible values: TXT or HTML
+EmulatorOutput= FILE # Possible values: FILE or RDEBUG
+
+#HardwareBasePath= D:\LOGS\TestFramework\
+#HardwareFormat= HTML # Possible values: TXT or HTML
+#HardwareOutput= FILE # Possible values: FILE or RDEBUG
+
+FileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND
+
+#ThreadIdToLogFile= YES # Possible values: YES or NO
+#WithTimeStamp= YES # Possible values: YES or NO
+#WithLineBreak= YES # Possible values: YES or NO
+#WithEventRanking= YES # Possible values: YES or NO
+
+[End_Logger_Defaults]
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+# End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserver.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,184 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test functions for alf client server api
+*
+*/
+
+
+
+// INCLUDE FILES
+#include <stiftestinterface.h>
+#include <settingserverclient.h>
+#include <screensaverinternalpskeys.h>
+#include <e32property.h>
+
+#include "testplatclientserver.h"
+
+// CONSTANTS
+_LIT( KModuleName, "testplatclientserver.dll" );
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::CTestPlatClientServer
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------
+//
+CTestPlatClientServer::CTestPlatClientServer( CTestModuleIf& aTestModuleIf ):
+ CScriptBase( aTestModuleIf )
+ {
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::~CTestPlatClientServer
+// Destructor.
+// -----------------------------------------------------------------------------
+//
+CTestPlatClientServer::~CTestPlatClientServer()
+ {
+ // Delete logger
+ delete iLog;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::ConstructL
+// Symbian 2nd phase constructor can leave.
+// -----------------------------------------------------------------------------
+//
+void CTestPlatClientServer::ConstructL()
+ {
+ //Read logger settings to check whether test case name is to be
+ //appended to log file name.
+ RSettingServer settingServer;
+ CleanupClosePushL( settingServer );
+ TInt ret = settingServer.Connect();
+ if ( ret != KErrNone )
+ {
+ User::Leave(ret);
+ }
+ // Struct to StifLogger settigs.
+ TLoggerSettings loggerSettings;
+ // Parse StifLogger defaults from STIF initialization file.
+ ret = settingServer.GetLoggerSettings( loggerSettings );
+ if ( ret != KErrNone )
+ {
+ User::Leave( ret );
+ }
+ // Close Setting server session
+ settingServer.Close();
+ CleanupStack::PopAndDestroy( &settingServer );
+
+ TFileName logFileName;
+
+ if ( loggerSettings.iAddTestCaseTitle )
+ {
+ TName title;
+ TestModuleIf().GetTestCaseTitleL( title );
+ logFileName.Format( KtestplatclientserverLogFileWithTitle, &title );
+ }
+ else
+ {
+ logFileName.Copy( KtestplatclientserverLogFile );
+ }
+
+ iLog = CStifLogger::NewL( KtestplatclientserverLogPath,
+ logFileName,
+ CStifLogger::ETxt,
+ CStifLogger::EFile,
+ EFalse );
+
+ SendTestClassVersion();
+
+ TurnOffScreenSaver();
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::NewL
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+CTestPlatClientServer* CTestPlatClientServer::NewL( CTestModuleIf& aTestModuleIf )
+ {
+ CTestPlatClientServer* self = new( ELeave ) CTestPlatClientServer( aTestModuleIf );
+
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+
+ return self;
+
+ }
+
+//-----------------------------------------------------------------------------
+// CTestPlatClientServer::SendTestClassVersion
+// Method used to send version of test class
+//-----------------------------------------------------------------------------
+//
+void CTestPlatClientServer::SendTestClassVersion()
+ {
+ TVersion moduleVersion;
+ moduleVersion.iMajor = TEST_CLASS_VERSION_MAJOR;
+ moduleVersion.iMinor = TEST_CLASS_VERSION_MINOR;
+ moduleVersion.iBuild = TEST_CLASS_VERSION_BUILD;
+
+ TFileName moduleName;
+ moduleName = KModuleName;
+
+ TBool newVersionOfMethod = ETrue;
+ TestModuleIf().SendTestModuleVersion( moduleVersion, moduleName,
+ newVersionOfMethod );
+ }
+
+// ========================== OTHER EXPORTED FUNCTIONS =========================
+
+// -----------------------------------------------------------------------------
+// LibEntryL is a polymorphic Dll entry point.
+// Returns: CScriptBase: New CScriptBase derived object
+// -----------------------------------------------------------------------------
+//
+EXPORT_C CScriptBase* LibEntryL(
+ CTestModuleIf& aTestModuleIf ) // Backpointer to STIF Test Framework
+ {
+ return ( CScriptBase* ) CTestPlatClientServer::NewL( aTestModuleIf );
+ }
+
+// -----------------------------------------------------------------------------
+// Turn off ScreenSaver
+// -----------------------------------------------------------------------------
+//
+void CTestPlatClientServer::TurnOffScreenSaver()
+ {
+ TInt err1 = RProperty::Get( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
+ iOldScreenSaverProperty );
+ TInt err2 = RProperty::Set( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
+ KScreenSaverAllowScreenSaver );
+ RDebug::Printf( "screensaver property=%d err1=%d err2=%d\n",
+ iOldScreenSaverProperty, err1, err2 );
+ }
+
+// -----------------------------------------------------------------------------
+// Restore ScreenSaver
+// -----------------------------------------------------------------------------
+//
+void CTestPlatClientServer::RestoreScreenSaver()
+ {
+ RProperty::Set( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
+ iOldScreenSaverProperty );
+ User::ResetInactivityTime();
+ }
+
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserverblocks.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,140 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test functions for alf client server api
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+
+#include "testplatclientserver.h"
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::RunMethodL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::RunMethodL( CStifItemParser& aItem )
+ {
+
+ static TStifFunctionInfo const KFunctions[] =
+ {
+ // First string is the function name used in TestScripter script file.
+ // Second is the actual implementation member function.
+ ENTRY( "TestServerNewAppServerL",
+ CTestPlatClientServer::TestServerNewAppServerL ),
+ ENTRY( "TestServerHandleClientExitL",
+ CTestPlatClientServer::TestServerHandleClientExitL ),
+ ENTRY( "TestServerAdjustWindowGroupPositionL",
+ CTestPlatClientServer::TestServerAdjustWindowGroupPositionL ),
+ ENTRY( "TestServerWsSessionL",
+ CTestPlatClientServer::TestServerWsSessionL ),
+ ENTRY( "TestServerMetricsInterfaceL",
+ CTestPlatClientServer::TestServerMetricsInterfaceL ),
+ ENTRY( "TestServerMetricsInterfaceConstL",
+ CTestPlatClientServer::TestServerMetricsInterfaceConstL ),
+ ENTRY( "TestServerSetMetricsInterfaceL",
+ CTestPlatClientServer::TestServerSetMetricsInterfaceL ),
+ ENTRY( "TestServerAppUiL", CTestPlatClientServer::TestServerAppUiL ),
+
+ //alfappsrvsessionbase.h
+ ENTRY( "TestServerCAlfAppSrvSessionBaseServerL",
+ CTestPlatClientServer::TestServerCAlfAppSrvSessionBaseServerL ),
+ ENTRY( "TestServerCAlfAppSrvSessionBaseL",
+ CTestPlatClientServer::TestServerCAlfAppSrvSessionBaseL ),
+ ENTRY( "TestServerClientDrawingAreaL",
+ CTestPlatClientServer::TestServerClientDrawingAreaL ),
+ ENTRY( "TestServerAppendDisplayOnSharedWindowL",
+ CTestPlatClientServer::TestServerAppendDisplayOnSharedWindowL ),
+ ENTRY( "TestServerHandleSystemEventL",
+ CTestPlatClientServer::TestServerHandleSystemEventL ),
+ ENTRY( "TestServerHandleWsEventL",
+ CTestPlatClientServer::TestServerHandleWsEventL ),
+ ENTRY( "TestServerFrameworkCallsRendezvousL",
+ CTestPlatClientServer::TestServerFrameworkCallsRendezvousL ),
+ ENTRY( "TestServerHandleResourceChangeL",
+ CTestPlatClientServer::TestServerHandleResourceChangeL ),
+ ENTRY( "TestServerHandleCommandL",
+ CTestPlatClientServer::TestServerHandleCommandL ),
+
+ //alfappsrvsessionbase.h
+ ENTRY( "TestServerCAlfAppUiL",
+ CTestPlatClientServer::TestServerCAlfAppUiL ),
+ ENTRY( "TestServerContainerL",
+ CTestPlatClientServer::TestServerContainerL ),
+ ENTRY( "TestServerConstructL",
+ CTestPlatClientServer::TestServerConstructL ),
+ ENTRY( "TestServerFocusGainedLL",
+ CTestPlatClientServer::TestServerFocusGainedLL ),
+ ENTRY( "TestServerFocusLostL",
+ CTestPlatClientServer::TestServerFocusLostL ),
+ ENTRY( "TestServerPreferredWindowGroupPositionL",
+ CTestPlatClientServer::TestServerPreferredWindowGroupPositionL ),
+ ENTRY( "TestServerPreferredRefreshModeL",
+ CTestPlatClientServer::TestServerPreferredRefreshModeL ),
+ ENTRY( "TestServerAlfServerL",
+ CTestPlatClientServer::TestServerAlfServerL ),
+ ENTRY( "TestServerAlfAppUiL",
+ CTestPlatClientServer::TestServerAlfAppUiL ),
+ ENTRY( "TestServerLayoutManagerL",
+ CTestPlatClientServer::TestServerLayoutManagerL ),
+ ENTRY( "TestServerSharedHuiEnvL",
+ CTestPlatClientServer::TestServerSharedHuiEnvL ),
+ ENTRY( "TestServerHandleCurrentCommanndAsynchL",
+ CTestPlatClientServer::TestServerHandleCurrentCommanndAsynchL ),
+ ENTRY( "TestServerBaseConstructL",
+ CTestPlatClientServer::TestServerBaseConstructL ),
+ ENTRY( "TestServerGetInterfaceLL",
+ CTestPlatClientServer::TestServerGetInterfaceLL ),
+ ENTRY( "TestServerGetHandleFromInterfaceL",
+ CTestPlatClientServer::TestServerGetHandleFromInterfaceL ),
+ ENTRY( "TestServerCompleteCmdL",
+ CTestPlatClientServer::TestServerCompleteCmdL ),
+ ENTRY( "TestServerAlfInterfaceProviderExtensionL",
+ CTestPlatClientServer::TestServerAlfInterfaceProviderExtensionL ),
+
+ //alfclientbase.h
+ ENTRY( "TestServerRAlfClientBaseL",
+ CTestPlatClientServer::TestServerRAlfClientBaseL ),
+ ENTRY( "TestServerOpenL", CTestPlatClientServer::TestServerOpenL ),
+ ENTRY( "TestServerServiceUidL",
+ CTestPlatClientServer::TestServerServiceUidL ),
+ ENTRY( "TestServerGrantAccessToPrivateFileL",
+ CTestPlatClientServer::TestServerGrantAccessToPrivateFileL ),
+ ENTRY( "TestServerGrantAccessToPrivateRFileL",
+ CTestPlatClientServer::TestServerGrantAccessToPrivateRFileL ),
+ ENTRY( "TestServerConstructServerNameL",
+ CTestPlatClientServer::TestServerConstructServerNameL ),
+ ENTRY( "TestServerStartServerLL",
+ CTestPlatClientServer::TestServerStartServerLL ),
+ ENTRY( "TestServerLaunchAppL",
+ CTestPlatClientServer::TestServerLaunchAppL ),
+
+ // [test cases entries]
+
+ };
+
+ const TInt count = sizeof( KFunctions ) / sizeof( TStifFunctionInfo );
+
+ return RunInternalL( KFunctions, count, aItem );
+
+ }
+
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserverblocksappui.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,265 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test functions for alf client server api
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <coemain.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <alf/alfappserver.h>
+#include <alf/alfappui.h>
+#include <aknserverapp.h>
+
+#include "testplatclientserver.h"
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerCAlfAppUiL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerCAlfAppUiL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerCAlfAppUiL, "In TestServerCAlfAppUiL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerCAlfAppUiL );
+ // Print to log file
+ iLog->Log( KTestServerCAlfAppUiL );
+
+ CAlfAppUi* appUI = new ( ELeave ) CAlfAppUi();
+ delete appUI;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerContainerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerContainerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerContainerL, "In TestServerContainerL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerContainerL );
+ // Print to log file
+ iLog->Log( KTestServerContainerL );
+
+ CAlfAppUi* appUI = new ( ELeave ) CAlfAppUi();
+ CleanupStack::PushL( appUI );
+ appUI->ConstructL();
+ appUI->Container();
+
+ CleanupStack::PopAndDestroy( appUI );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerConstructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerConstructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerConstructL, "In TestServerConstructL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerConstructL );
+ // Print to log file
+ iLog->Log( KTestServerConstructL );
+
+ CAlfAppUi* appUI = new ( ELeave ) CAlfAppUi();
+ CleanupStack::PushL( appUI );
+
+ appUI->ConstructL();
+
+ CleanupStack::PopAndDestroy( appUI );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerAppendDisplayOnSharedWindowL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerAppendDisplayOnSharedWindowL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerAppendDisplayOnSharedWindowL, "In TestServerAppendDisplayOnSharedWindowL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerAppendDisplayOnSharedWindowL);
+ // Print to log file
+ iLog->Log( KTestServerAppendDisplayOnSharedWindowL );
+
+ CAlfAppUi* appUI = new ( ELeave ) CAlfAppUi();
+ CleanupStack::PushL( appUI );
+
+ CHuiEnv* huiEnv = CHuiEnv::NewL( EHuiRendererBitgdi );
+ CleanupStack::PushL( huiEnv );
+
+ TInt temp = 10;
+ TRect displayRect( TPoint( temp, temp ), TPoint( temp, temp) );
+ CHuiDisplay* huiDisplay = &huiEnv->NewDisplayL(displayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ appUI->AppendDisplayOnSharedWindowL( *huiDisplay );
+
+ CleanupStack::PopAndDestroy( huiEnv );
+ CleanupStack::PopAndDestroy( appUI );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerHandleSystemEventL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerHandleSystemEventL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerHandleSystemEventL, "In TestServerHandleSystemEventL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerHandleSystemEventL);
+ // Print to log file
+ iLog->Log( KTestServerHandleSystemEventL );
+
+ CAlfAppUi* appUI = new ( ELeave ) CAlfAppUi();
+ CleanupStack::PushL( appUI );
+
+ TWsEvent event;
+ appUI->HandleSystemEventL( event );
+
+
+ CleanupStack::PopAndDestroy( appUI );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerHandleWsEventL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerHandleWsEventL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerHandleWsEventL, "In TestServerHandleWsEventL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerHandleWsEventL);
+ // Print to log file
+ iLog->Log( KTestServerHandleWsEventL );
+
+ CAlfAppUi* appUI = new ( ELeave ) CAlfAppUi();
+ CleanupStack::PushL( appUI );
+
+ TWsEvent event;
+ CCoeControl control;
+ appUI->HandleWsEventL( event, &control );
+
+ CleanupStack::PopAndDestroy( appUI );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerFrameworkCallsRendezvousL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerFrameworkCallsRendezvousL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerFrameworkCallsRendezvousL, "In TestServerFrameworkCallsRendezvousL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerFrameworkCallsRendezvousL);
+ // Print to log file
+ iLog->Log( KTestServerFrameworkCallsRendezvousL );
+
+ CAlfAppUi* appUI = new ( ELeave ) CAlfAppUi();
+ CleanupStack::PushL( appUI );
+
+ appUI->FrameworkCallsRendezvous();
+
+ CleanupStack::PopAndDestroy( appUI );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerHandleResourceChangeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerHandleResourceChangeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerHandleResourceChangeL, "In TestServerHandleResourceChangeL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerHandleResourceChangeL);
+ // Print to log file
+ iLog->Log( KTestServerHandleResourceChangeL );
+
+ CAlfAppUi* appUI = new ( ELeave ) CAlfAppUi();
+ CleanupStack::PushL( appUI );
+
+ TInt temp = 0;
+ appUI->HandleResourceChangeL( temp );
+
+ CleanupStack::PopAndDestroy( appUI );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerHandleCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerHandleCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerHandleCommandL, "In TestServerHandleCommandL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerHandleCommandL);
+ // Print to log file
+ iLog->Log( KTestServerHandleCommandL );
+
+ CAlfAppUi* appUI = new ( ELeave ) CAlfAppUi();
+ CleanupStack::PushL( appUI );
+
+ TInt temp = 0;
+ appUI->HandleCommandL( temp );
+
+ CleanupStack::PopAndDestroy( appUI );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserverblocksclientbase.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,274 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test functions for alf client server api
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <coemain.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <alf/alfappserver.h>
+#include <alf/alfappsrvsessionbase.h>
+#include <alf/alfclientbase.h>
+#include <aknserverapp.h>
+
+#include "testplatclientserver.h"
+
+//const veriable
+const TInt KAlfAppServerInterfaceUid3 = 0x10282845;
+const TInt KStringSize = 50;
+
+//The RAlfClientBaseImp class is used to test the RAlfClientBase protect member
+class RAlfClientBaseImp : public RAlfClientBase
+ {
+public:
+ RAlfClientBaseImp(TInt aServiceUid):RAlfClientBase( aServiceUid )
+ {
+ }
+ void TestConstructServerName(
+ TName& aServerName,
+ TUid aAppServerUid,
+ TUint aServerDifferentiator )
+ {
+ RAlfClientBase::ConstructServerName( aServerName, aAppServerUid, aServerDifferentiator );
+ }
+ TUint TestStartServerL( TUid aAppUid )
+ {
+ return StartServerL( aAppUid );
+ }
+ void TestLaunchAppL(
+ TUid aAppUid,
+ TUint aServerDifferentiator,
+ TThreadId& aThreadId )
+ {
+ LaunchAppL( aAppUid, aServerDifferentiator, aThreadId);
+ }
+ };
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerRAlfClientBaseL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerRAlfClientBaseL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerNewAppServerL, "In TestServerNewAppServerL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerNewAppServerL );
+ // Print to log file
+ iLog->Log( KTestServerNewAppServerL );
+
+ RAlfClientBase clientBase( KAlfAppServerInterfaceUid3 );
+ CleanupClosePushL( clientBase );
+ CleanupStack::PopAndDestroy( &clientBase );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerOpenL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerOpenL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerOpenL, "In TestServerOpenL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerOpenL );
+ // Print to log file
+ iLog->Log( KTestServerOpenL );
+
+ RAlfClientBase clientBase( KAlfAppServerInterfaceUid3 );
+ CleanupClosePushL( clientBase );
+ clientBase.OpenL();
+ CleanupStack::PopAndDestroy( &clientBase );
+
+ return KErrNone;
+
+ }
+
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerServiceUidL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerServiceUidL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerOpenL, "In TestServerOpenL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerOpenL );
+ // Print to log file
+ iLog->Log( KTestServerOpenL );
+
+ RAlfClientBase clientBase( KAlfAppServerInterfaceUid3 );
+ CleanupClosePushL( clientBase );
+
+ clientBase.OpenL();
+ clientBase.ServiceUid();
+
+ CleanupStack::PopAndDestroy( &clientBase );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerGrantAccessToPrivateFileL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerGrantAccessToPrivateFileL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerOpenL, "In TestServerOpenL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerOpenL );
+ // Print to log file
+ iLog->Log( KTestServerOpenL );
+
+ RAlfClientBase clientBase( KAlfAppServerInterfaceUid3 );
+ CleanupClosePushL( clientBase );
+
+ TInt objectIdentfier = 0;
+ TInt commandId = 0;
+
+ TBuf<KStringSize> temp;
+ clientBase.GrantAccessToPrivateFile( temp, objectIdentfier, commandId );
+
+ CleanupStack::PopAndDestroy( &clientBase );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerGrantAccessToPrivateRFileL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerGrantAccessToPrivateRFileL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerGrantAccessToPrivateRFileL, "In TestServerGrantAccessToPrivateRFileL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerGrantAccessToPrivateRFileL );
+ // Print to log file
+ iLog->Log( KTestServerGrantAccessToPrivateRFileL );
+
+ RAlfClientBase clientBase( KAlfAppServerInterfaceUid3 );
+ CleanupClosePushL( clientBase );
+
+ TInt objectIdentfier = 0;
+ TInt commandId = 0;
+ RFile file;
+ clientBase.GrantAccessToPrivateFile( file, objectIdentfier, commandId);
+
+ CleanupStack::PopAndDestroy( &clientBase );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerConstructServerNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerConstructServerNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerConstructServerNameL, "In TestServerConstructServerNameL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerConstructServerNameL );
+ // Print to log file
+ iLog->Log( KTestServerConstructServerNameL );
+
+ RAlfClientBaseImp clientBase( KAlfAppServerInterfaceUid3 );
+ CleanupClosePushL( clientBase );
+
+ TName serverName( _L("Name"));
+ TUid appServerUid = { 0 };
+ TUint serverDifferentiator = 0;
+ clientBase.TestConstructServerName( serverName, appServerUid, serverDifferentiator );
+
+ CleanupStack::PopAndDestroy( &clientBase );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerStartServerLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerStartServerLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerStartServerLL, "In TestServerStartServerLL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerStartServerLL );
+ // Print to log file
+ iLog->Log( KTestServerStartServerLL );
+
+ RAlfClientBaseImp clientBase( KAlfAppServerInterfaceUid3 );
+ CleanupClosePushL( clientBase );
+
+
+ TUid appServerUid = { 0 };
+ clientBase.TestStartServerL( appServerUid );
+
+ CleanupStack::PopAndDestroy( &clientBase );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerLaunchAppL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerLaunchAppL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerLaunchAppL, "In TestServerLaunchAppL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerLaunchAppL );
+ // Print to log file
+ iLog->Log( KTestServerLaunchAppL );
+
+ RAlfClientBaseImp clientBase( KAlfAppServerInterfaceUid3 );
+ CleanupClosePushL( clientBase );
+
+
+ TUid appUid = { 0 };
+ TUint aServerDifferentiator = 0;
+ TThreadId aThreadId;
+ clientBase.TestLaunchAppL( appUid, aServerDifferentiator, aThreadId );
+
+ CleanupStack::PopAndDestroy( &clientBase );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserverblocksserver.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,238 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test functions for alf client server api
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <coemain.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <alf/alfappserver.h>
+#include <alf/alfappsrvsessionbase.h>
+#include <aknserverapp.h>
+
+#include "testplatclientserver.h"
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerNewAppServerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerNewAppServerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerNewAppServerL, "In TestServerNewAppServerL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerNewAppServerL );
+ // Print to log file
+ iLog->Log( KTestServerNewAppServerL );
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ delete appServer;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerHandleClientExitL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerHandleClientExitL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerHandleClientExitL, "In TestServerHandleClientExitL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerHandleClientExitL );
+ // Print to log file
+ iLog->Log( KTestServerHandleClientExitL );
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ appServer->HandleClientExit( 0 );
+
+ CleanupStack::PopAndDestroy( appServer );
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerAdjustWindowGroupPositionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerAdjustWindowGroupPositionL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerAdjustWindowGroupPositionL,
+ "In TestServerAdjustWindowGroupPositionL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver,
+ KTestServerAdjustWindowGroupPositionL );
+ // Print to log file
+ iLog->Log( KTestServerAdjustWindowGroupPositionL );
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CCoeEnv* coe = CCoeEnv::Static();
+ RWindowGroup& mainWg = coe->RootWin();
+ appServer->AdjustWindowGroupPositionL( mainWg, 1, CAlfAppServer::EBehindOfParent );
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerWsSessionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerWsSessionL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerWsSessionL, "In TestServerWsSessionL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerWsSessionL );
+ // Print to log file
+ iLog->Log( KTestServerWsSessionL );
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ appServer->WsSession();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerMetricsInterfaceL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerMetricsInterfaceL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerMetricsInterfaceL,
+ "In TestServerMetricsInterfaceL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver,
+ KTestServerMetricsInterfaceL );
+ // Print to log file
+ iLog->Log( KTestServerMetricsInterfaceL );
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ appServer->MetricsInterface();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerMetricsInterfaceConstL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerMetricsInterfaceConstL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerMetricsInterfaceConstL,
+ "In TestServerMetricsInterfaceConstL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver,
+ KTestServerMetricsInterfaceConstL );
+ // Print to log file
+ iLog->Log( KTestServerMetricsInterfaceConstL );
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ ( ( const CAlfAppServer* ) appServer )->MetricsInterface();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerSetMetricsInterfaceL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerSetMetricsInterfaceL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerSetMetricsInterfaceL, "In TestServerSetMetricsInterfaceL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerSetMetricsInterfaceL );
+ // Print to log file
+ iLog->Log( KTestServerSetMetricsInterfaceL );
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ appServer->SetMetricsInterface( NULL );
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerAppUiL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerAppUiL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerAppUiL, "In TestServerAppUiL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerAppUiL );
+ // Print to log file
+ iLog->Log( KTestServerAppUiL );
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ appServer->AppUi();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserverblockssessionbase.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,573 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test functions for alf client server api
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <coemain.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <alf/alfappserver.h>
+#include <alf/alfappsrvsessionbase.h>
+#include <aknserverapp.h>
+
+#include "testplatclientserver.h"
+
+// implement the CAlfAppSrvSessionBase
+class CAlfAppSrvSessionBaseImp: public CAlfAppSrvSessionBase
+ {
+public:
+ //test CAlfAppSrvSessionBase constructor with one paramet
+ CAlfAppSrvSessionBaseImp(const CAlfAppServer* aServer)
+ :CAlfAppSrvSessionBase( aServer )
+ {
+ }
+ //test CAlfAppSrvSessionBase constructor with on paramet
+ CAlfAppSrvSessionBaseImp():CAlfAppSrvSessionBase()
+ {
+ }
+
+ //inherit from CAlfAppSrvSessionBase
+ void DoHandleCommandL(const RMessage2& aMessage)
+ {
+ }
+
+ // test baseconstructor in CAlfAppSrvSessionBase
+ void TestBaseConstructL()
+ {
+ CAlfAppSrvSessionBase::BaseConstructL();
+ }
+ };
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerCAlfAppSrvSessionBaseServerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerCAlfAppSrvSessionBaseServerL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerCAlfAppSrvSessionBaseServerL,
+ "In TestServerCAlfAppSrvSessionBaseServerL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver,
+ KTestServerCAlfAppSrvSessionBaseServerL );
+ // Print to log file
+ iLog->Log( KTestServerCAlfAppSrvSessionBaseServerL );
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerCAlfAppSrvSessionBaseL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerCAlfAppSrvSessionBaseL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerCAlfAppSrvSessionBaseL,
+ "In TestServerCAlfAppSrvSessionBaseL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver,
+ KTestServerCAlfAppSrvSessionBaseL );
+ // Print to log file
+ iLog->Log( KTestServerCAlfAppSrvSessionBaseL );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerClientDrawingAreaL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerClientDrawingAreaL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerCAlfAppSrvSessionBaseL,
+ "In TestServerCAlfAppSrvSessionBaseL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver,
+ KTestServerCAlfAppSrvSessionBaseL );
+ // Print to log file
+ iLog->Log( KTestServerCAlfAppSrvSessionBaseL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->ClientDrawingArea();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerFocusGainedLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerFocusGainedLL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerFocusGainedLL, "In TestServerFocusGainedLL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerFocusGainedLL );
+ // Print to log file
+ iLog->Log( KTestServerFocusGainedLL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->FocusGainedL( ETrue );
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerFocusLostL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerFocusLostL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerFocusGainedLL, "In TestServerFocusGainedLL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerFocusGainedLL );
+ // Print to log file
+ iLog->Log( KTestServerFocusGainedLL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->FocusLostL( ETrue );
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerPreferredWindowGroupPositionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerPreferredWindowGroupPositionL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerPreferredWindowGroupPositionL,
+ "In TestServerPreferredWindowGroupPositionL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver,
+ KTestServerPreferredWindowGroupPositionL );
+ // Print to log file
+ iLog->Log( KTestServerPreferredWindowGroupPositionL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->PreferredWindowGroupPosition();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerPreferredRefreshModeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerPreferredRefreshModeL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerPreferredRefreshModeL,
+ "In TestServerPreferredRefreshModeL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver,
+ KTestServerPreferredRefreshModeL );
+ // Print to log file
+ iLog->Log( KTestServerPreferredRefreshModeL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->PreferredRefreshMode();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerAlfServerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerAlfServerL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerAlfServerL, "In TestServerAlfServerL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerAlfServerL );
+ // Print to log file
+ iLog->Log( KTestServerAlfServerL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->AlfServer();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerAlfAppUiL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerAlfAppUiL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerAlfServerL, "In TestServerAlfServerL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerAlfServerL );
+ // Print to log file
+ iLog->Log( KTestServerAlfServerL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->AlfAppUi();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerLayoutManagerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerLayoutManagerL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerAlfServerL, "In TestServerAlfServerL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerAlfServerL );
+ // Print to log file
+ iLog->Log( KTestServerAlfServerL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->LayoutManager();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerSharedHuiEnvL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerSharedHuiEnvL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerAlfServerL, "In TestServerAlfServerL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerAlfServerL );
+ // Print to log file
+ iLog->Log( KTestServerAlfServerL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->SharedHuiEnv();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerHandleCurrentCommanndAsynchL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerHandleCurrentCommanndAsynchL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerHandleCurrentCommanndAsynchLL,
+ "In TestServerHandleCurrentCommanndAsynchL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver,
+ KTestServerHandleCurrentCommanndAsynchLL );
+ // Print to log file
+ iLog->Log( KTestServerHandleCurrentCommanndAsynchLL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBase* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->HandleCurrentCommanndAsynch();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerBaseConstructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerBaseConstructL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerBaseConstructL, "In TestServerBaseConstructL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerBaseConstructL );
+ // Print to log file
+ iLog->Log( KTestServerBaseConstructL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBaseImp* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->TestBaseConstructL();
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerGetInterfaceLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerGetInterfaceLL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerGetInterfaceLL, "In TestServerGetInterfaceLL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerGetInterfaceLL );
+ // Print to log file
+ iLog->Log( KTestServerGetInterfaceLL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBaseImp* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->GetInterfaceL( EHuiObjectTypeVisual, 0 );
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerGetHandleFromInterfaceL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerGetHandleFromInterfaceL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerGetHandleFromInterfaceL, "In TestServerGetHandleFromInterfaceL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerGetHandleFromInterfaceL );
+ // Print to log file
+ iLog->Log( KTestServerGetHandleFromInterfaceL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBaseImp* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+ TBool temp = ETrue;
+ TAny* temp1 = &temp;
+ sessionBase->GetHandleFromInterface( EHuiObjectTypeVisual, &temp1 );
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerCompleteCmdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerCompleteCmdL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerCompleteCmdL, "In TestServerCompleteCmdL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerCompleteCmdL );
+ // Print to log file
+ iLog->Log( KTestServerCompleteCmdL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBaseImp* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ sessionBase->CompleteCmd( 0, 0 );
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPlatClientServer::TestServerAlfInterfaceProviderExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestPlatClientServer::TestServerAlfInterfaceProviderExtensionL(
+ CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatclientserver, "testplatclientserver" );
+ _LIT( KTestServerAlfInterfaceProviderExtensionL, "In TestServerAlfInterfaceProviderExtensionL" );
+ TestModuleIf().Printf( 0, Ktestplatclientserver, KTestServerAlfInterfaceProviderExtensionL );
+ // Print to log file
+ iLog->Log( KTestServerAlfInterfaceProviderExtensionL );
+
+
+ CAlfAppServer* appServer = CAlfAppServer::NewAppServerL();
+ CleanupStack::PushL( appServer );
+
+ CAlfAppSrvSessionBaseImp* sessionBase =
+ new ( ELeave ) CAlfAppSrvSessionBaseImp( appServer );
+
+ TUid tempUid = { 0 };
+ TBool temp = ETrue;
+ TAny* temp1 = &temp;
+ sessionBase->AlfInterfaceProviderExtension( tempUid, &temp1 );
+
+ CleanupStack::PopAndDestroy( appServer );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- a/uiaccelerator_plat/alf_core_toolkit_api/inc/uiacceltk/HuiCanvasVisual.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiaccelerator_plat/alf_core_toolkit_api/inc/uiacceltk/HuiCanvasVisual.h Tue May 11 17:03:00 2010 +0300
@@ -110,7 +110,9 @@
/** Flag to indicate whether surface is invisible (based on visibility calculation) */
EHuiCanvasFlagSurfaceInvisible = 0x400,
/** Flag to indicate whether surface is visible (based on visibility calculation) */
- EHuiCanvasFlagSurfaceVisible = 0x800
+ EHuiCanvasFlagSurfaceVisible = 0x800,
+ /** Flag to indicate avkon clearer window. This needs to be drawn, but excluded in the heuristics determining application screen coverage */
+ EHuiCanvasFlagDistractionWindow = 0x1000
};
/**
--- a/uiaccelerator_plat/alf_core_toolkit_api/inc/uiacceltk/HuiDisplay.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiaccelerator_plat/alf_core_toolkit_api/inc/uiacceltk/HuiDisplay.h Tue May 11 17:03:00 2010 +0300
@@ -818,6 +818,9 @@
*/
IMPORT_C void CopyScreenToBitmapL(CFbsBitmap* aBitmap);
+
+ void DoBackgroundClear();
+
private:
/**
@@ -1021,6 +1024,12 @@
CFbsBitGc* iForegroundBitmapGc;
/** ETrue if foreground texture should be blend, EFalse otherwise */
TBool iForegroundTextureTransparency;
+
+ /** dirty region index that is being drawn currently */
+ TInt iCurrentDirtyIndx;
+
+ /** Current dirty region for this refresh instance */
+ RDirtyRegions iTempDirtyRegions;
};
#endif // __HUIDISPLAY_H__
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctctestuiaifctkitdropshadow.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,26 @@
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTHSetOffsetL
+run testscripter c:\testframework\ui_testuiaifctkitdropshadow.cfg 1
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTHSetColorL
+run testscripter c:\testframework\ui_testuiaifctkitdropshadow.cfg 2
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTHSetColorTAknsItemIDL
+run testscripter c:\testframework\ui_testuiaifctkitdropshadow.cfg 3
+[Endtest]
+*/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkit.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,24 @@
+[Test]
+title TestTHFMEnumerateFontsL
+run testscripter c:\testframework\ui_testuiaifcoretoolkit.cfg 1
+[Endtest]
+
+[Test]
+title TestTHIIConstructorL
+run testscripter c:\testframework\ui_testuiaifcoretoolkit.cfg 2
+[Endtest]
+
+[Test]
+title TestTHIISetScalarL
+run testscripter c:\testframework\ui_testuiaifcoretoolkit.cfg 3
+[Endtest]
+
+[Test]
+title TestTHIIScalarL
+run testscripter c:\testframework\ui_testuiaifcoretoolkit.cfg 4
+[Endtest]
+
+[Test]
+title TestTHIIIntervalL
+run testscripter c:\testframework\ui_testuiaifcoretoolkit.cfg 5
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkitblocks60skin.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,73 @@
+[Test]
+title TestH60SkinCHuiS60SkinL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 1
+[Endtest]
+
+[Test]
+title TestH60SkinConstructLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 2
+[Endtest]
+
+[Test]
+title TestH60SkinLocationL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 3
+[Endtest]
+
+[Test]
+title TestH60SkinTextureLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 4
+[Endtest]
+
+[Test]
+title TestH60SkinReleaseTextureL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 5
+[Endtest]
+
+[Test]
+title TestH60SkinNotifyDisplaySizeChangedLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 6
+[Endtest]
+
+[Test]
+title TestH60SkinStyleTextColorL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 7
+[Endtest]
+
+[Test]
+title TestH60SkinRestoreTextureContentLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 8
+[Endtest]
+
+[Test]
+title TestH60SkinOrientationL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 9
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestH60SkinSetContextL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 10
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestH60SkinContextL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 11
+[Endtest]
+*/
+
+[Test]
+title TestH60SkinGetTextureL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 12
+[Endtest]
+
+[Test]
+title TestH60SkinSkinExtensionL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg 13
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkitblockshuievent.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,61 @@
+[Test]
+title TestTHETHuiEventL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 1
+[Endtest]
+
+[Test]
+title TestTHETPointerEventL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 2
+[Endtest]
+
+[Test]
+title TestTHETypeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 3
+[Endtest]
+
+[Test]
+title TestTHEIsCustomEventL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 4
+[Endtest]
+
+[Test]
+title TestTHEIsKeyEventL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 5
+[Endtest]
+
+[Test]
+title TestTHEIsPointerEventL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 6
+[Endtest]
+
+[Test]
+title TestTHEDisplayL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 7
+[Endtest]
+
+[Test]
+title TestTHEPointerDownL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 8
+[Endtest]
+
+[Test]
+title TestTHEPointerUpL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 9
+[Endtest]
+
+[Test]
+title TestTHEPointerLongTapL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 10
+[Endtest]
+
+[Test]
+title TestTHESetVisualL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 11
+[Endtest]
+
+[Test]
+title TestTHEVisualL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg 12
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkitblocksskin.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,68 @@
+[Test]
+title TestHSkinOrientationL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 1
+[Endtest]
+
+[Test]
+title TestHSkinLocationL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 2
+[Endtest]
+
+[Test]
+title TestHSkinNotifyDisplaySizeChangedL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 3
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHSkinSetContextL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 4
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHSkinContextL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 5
+[Endtest]
+*/
+
+[Test]
+title TestHSkinStyleTextColorL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 6
+[Endtest]
+
+[Test]
+title TestHSkinTextureL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 7
+[Endtest]
+
+[Test]
+title TestHSkinReleaseTextureL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 8
+[Endtest]
+
+[Test]
+title TestHSkinGetTextureL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 9
+[Endtest]
+
+[Test]
+title TestHSkinTextureContentUploadedL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 10
+[Endtest]
+
+[Test]
+title TestHSkinTextureContentReleasedL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 11
+[Endtest]
+
+[Test]
+title TestHSkinRestoreTextureContentLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg 12
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkitdisplay.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,201 @@
+[Test]
+title TestTHuiEnvL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 1
+[Endtest]
+
+[Test]
+title TestTDisplayActivateL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 2
+[Endtest]
+
+[Test]
+title TestTDisplayActiveL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 3
+[Endtest]
+
+[Test]
+title TestTDisplaySetSizeLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 4
+[Endtest]
+
+[Test]
+title TestTDisplaySizeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 5
+[Endtest]
+
+[Test]
+title TestTDisplaySetVisibleAreaL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 6
+[Endtest]
+
+[Test]
+title TestTDisplayVisibleAreaL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 7
+[Endtest]
+
+[Test]
+title TestTDisplaySetOrientationL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 8
+[Endtest]
+
+[Test]
+title TestTDisplayOrientationL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 9
+[Endtest]
+
+[Test]
+title TestTDisplaySetUseDepthL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 10
+[Endtest]
+
+[Test]
+title TestTDisplaySetClearBackgroundLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 11
+[Endtest]
+
+[Test]
+title TestTDisplaySetBackgroundColorL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 12
+[Endtest]
+
+[Test]
+title TestTDisplaySetBackgroundItemsL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 13
+[Endtest]
+
+//[Test]
+//title TestTDisplayCaptureLCL
+//run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 14
+//[Endtest]
+
+[Test]
+title TestTDisplayTransformationL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 15
+[Endtest]
+
+[Test]
+title TestTDisplayRosterL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 16
+[Endtest]
+
+[Test]
+title TestTDisplayConstRosterL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 17
+[Endtest]
+
+[Test]
+title TestTDisplayShowL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 18
+[Endtest]
+
+[Test]
+title TestTDisplaySetDirtyL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 19
+[Endtest]
+
+[Test]
+title TestTDisplaySetQualityL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 20
+[Endtest]
+
+[Test]
+title TestTDisplayQualityL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 21
+[Endtest]
+
+[Test]
+title TestTDisplaySetUsageLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 22
+[Endtest]
+
+[Test]
+title TestTDisplayReleaseL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 23
+[Endtest]
+
+[Test]
+title TestTDisplayRestoreLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 24
+[Endtest]
+
+[Test]
+title TestTDisplaySetScreenBufferLockL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 25
+[Endtest]
+
+[Test]
+title TestTDisplayIsScreenBufferLockedL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 26
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTDisplayGetDrawingInterfaceL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 27
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTDisplayGetGraphicsContextL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 28
+[Endtest]
+*/
+
+[Test]
+title TestTDisplayAddScreenBufferObserverLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 29
+[Endtest]
+
+[Test]
+title TestTDisplayRemoveScreenBufferObserverL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 30
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTDisplayScreenBufferObserverL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 31
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTDisplayScreenBufferUidL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 32
+[Endtest]
+*/
+
+[Test]
+title TestTDisplayDisplayTypeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 33
+[Endtest]
+
+[Test]
+title TestTDisplayShowDirtyRegionsL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 34
+[Endtest]
+
+[Test]
+title TestTDisplayGetPreferredTextureFormatsL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 35
+[Endtest]
+
+[Test]
+title TestTDisplaySetDrawVisualOutlineL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 36
+[Endtest]
+
+[Test]
+title TestTDisplaySetVisibleAreaClippingRectL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg 37
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkithuienv.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,215 @@
+[Test]
+title TestTTHuiCEnvHuiEnvLC
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 1
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvRenderer
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 2
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvNewDisplayL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 3
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvNewDisplayLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 4
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvDisplayCount
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 5
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvRefreshMode
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 6
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvSetMaxFrameRate
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 7
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvContinueRefresh
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 8
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvPauseRefresh
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 9
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvNewControlGroupL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 10
+[Endtest]
+
+//[Test]
+//title TestTTHuiCEnvLoadControlGroupL
+//run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 11
+//[Endtest]
+
+[Test]
+title TestTTHuiCEnvSetRefreshMode
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 12
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvControlGroup
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 13
+[Endtest]
+
+//[Test]
+//title TestTTHuiCEnvLoadBitmapsL
+//run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 14
+//[Endtest]
+
+[Test]
+title TestTTHuiCVisualFactory
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 15
+[Endtest]
+
+[Test]
+title TestTTHuiCTextureManager
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 16
+[Endtest]
+
+[Test]
+title TestTTHuiCFontManager
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 17
+[Endtest]
+
+[Test]
+title TestTTHuiCTextStyleManager
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 18
+[Endtest]
+
+[Test]
+title TestTTHuiCFindControl
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 19
+[Endtest]
+
+[Test]
+title TestTTHuiCSendL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 20
+[Endtest]
+
+[Test]
+title TestTTHuiCSendLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 21
+[Endtest]
+
+[Test]
+title TestTTHuiCCancelCommandsL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 22
+[Endtest]
+
+[Test]
+title TestTTHuiCCancelCommandsEventHandlerL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 23
+[Endtest]
+
+[Test]
+title TestTTHuiCCancelCommandsTHuiOpL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 24
+[Endtest]
+
+[Test]
+title TestTTHuiCCancelCommandsTIntL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 25
+[Endtest]
+
+[Test]
+title TestTTHuiCTimeUntilCommandL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 26
+[Endtest]
+
+[Test]
+title TestTTHuiCSkin
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 27
+[Endtest]
+
+[Test]
+title TestTStartRefresh
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 28
+[Endtest]
+
+[Test]
+title TestTHandleKeyEventLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 29
+[Endtest]
+
+[Test]
+title TestTSetIdleThreshold
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 30
+[Endtest]
+
+[Test]
+title TestTBroadcastEventLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 31
+[Endtest]
+
+[Test]
+title TestTCHuiEnvDisplayL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 32
+[Endtest]
+
+[Test]
+title TestTCNotifySkinChangedLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 33
+[Endtest]
+
+[Test]
+title TestTCRefreshCallBack
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 34
+[Endtest]
+
+[Test]
+title TestTCRelease
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 35
+[Endtest]
+
+[Test]
+title TestTCRestoreL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 36
+[Endtest]
+
+[Test]
+title TestTCSetMaxCpuTime
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 37
+[Endtest]
+
+[Test]
+title TestTCStatic
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 38
+[Endtest]
+
+[Test]
+title TestTCThemeManager
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 39
+[Endtest]
+
+[Test]
+title TestTCSetFPSCounterThreshold
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 40
+[Endtest]
+
+[Test]
+title TestTCChangeRefreshLoopPriority
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 41
+[Endtest]
+
+[Test]
+title TestTPrimaryDisplayL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 42
+[Endtest]
+
+[Test]
+title TestTTHuiCEnvDeleteControlGroup
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuienv.cfg 43
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkithuitexture.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,208 @@
+[Test]
+title TestTHuiTextNewL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 1
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTHuiTextNewLC
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 2
+[Endtest]
+*/
+
+[Test]
+title TestTHuiTextImageFileNameL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 3
+[Endtest]
+
+[Test]
+title TestTHuiTextHasContentL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 4
+[Endtest]
+
+[Test]
+title TestTHuiTextHasAlphaL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 5
+[Endtest]
+
+[Test]
+title TestTHuiTextMaxTextureSizeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 6
+[Endtest]
+
+[Test]
+title TestTHuiTextClearLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 7
+[Endtest]
+
+[Test]
+title TestTHuiClearWithAlphaLL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 8
+[Endtest]
+
+[Test]
+title TestTHuiSegmentedTextureL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 9
+[Endtest]
+
+[Test]
+title TestTHuiSegmentedTextureConstL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 10
+[Endtest]
+
+[Test]
+title TestTHuiShadowedTextureL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 11
+[Endtest]
+
+[Test]
+title TestTHuiShadowedTextureConstL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 12
+[Endtest]
+
+[Test]
+title TestTHuiEnableShadowL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 13
+[Endtest]
+
+[Test]
+title TestTHuiIsShadowEnabledL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 14
+[Endtest]
+
+[Test]
+title TestTHuiSetShadowStyleL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 15
+[Endtest]
+
+[Test]
+title TestTHuiShadowStyleL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 16
+[Endtest]
+
+[Test]
+title TestTHuiSetSizeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 17
+[Endtest]
+
+[Test]
+title TestTHuiSizeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 18
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTHuiSegmentCountL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 19
+[Endtest]
+*/
+
+[Test]
+title TestTHuiSegmentNameL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 20
+[Endtest]
+
+[Test]
+title TestTHuiSegmentSizeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 21
+[Endtest]
+
+[Test]
+title TestTHuiSegmentTextureSizeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 22
+[Endtest]
+
+[Test]
+title TestTHuiSegmentOffsetL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 23
+[Endtest]
+
+[Test]
+title TestTHuiTextureChangedL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 24
+[Endtest]
+
+[Test]
+title TestTHuiTextureClearChangedL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 25
+[Endtest]
+
+[Test]
+title TestTHuiSetSegmentOffsetL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 26
+[Endtest]
+
+[Test]
+title TestTHuiSetSegmentCountL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 27
+[Endtest]
+
+[Test]
+title TestTHuiSetSegmentNameL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 28
+[Endtest]
+
+[Test]
+title TestTHuiSetSegmentSizeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 29
+[Endtest]
+
+[Test]
+title TestTHuiSetSegmentTextureSizeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 30
+[Endtest]
+
+[Test]
+title TestTHuiSetSkinContentL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 31
+[Endtest]
+
+[Test]
+title TestTHuiIsSkinContentL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 32
+[Endtest]
+
+[Test]
+title TestTHuiTypeL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 33
+[Endtest]
+
+[Test]
+title TestTHuiSessionIdL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 34
+[Endtest]
+
+[Test]
+title TestTHuiSetSessionIdL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 35
+[Endtest]
+
+[Test]
+title TestTHuiSetPriorityL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 36
+[Endtest]
+
+[Test]
+title TestTHuiPriorityL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 37
+[Endtest]
+
+[Test]
+title TestTHuiEnableAutoSizeCalculationL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 38
+[Endtest]
+
+[Test]
+title TestTHuiSetAutoSizeParamsL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 39
+[Endtest]
+
+[Test]
+title TestTHuiAutoSizeParamsL
+run testscripter c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg 40
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkitstylemanager.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,19 @@
+[Test]
+title TestTHuiTextCHuiEnvL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitstylemanager.cfg 1
+[Endtest]
+
+[Test]
+title TestTHuiTextTextStyle
+run testscripter c:\testframework\ui_testuiaifcoretoolkitstylemanager.cfg 2
+[Endtest]
+
+[Test]
+title TestTHuiTextCopyTextStyleL
+run testscripter c:\testframework\ui_testuiaifcoretoolkitstylemanager.cfg 3
+[Endtest]
+
+[Test]
+title TestTHuiTextDeleteTextStyle
+run testscripter c:\testframework\ui_testuiaifcoretoolkitstylemanager.cfg 4
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkittextstyle.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,129 @@
+[Test]
+title TestTHuiTextTHuiTextStyle
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 1
+[Endtest]
+
+[Test]
+title TestTHuiTextTFont
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 2
+[Endtest]
+
+[Test]
+title TestTHuiTextTFontConst
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 3
+[Endtest]
+
+[Test]
+title TestTHuiTextTSetFont
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 4
+[Endtest]
+
+[Test]
+title TestTHuiTextTParentId
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 5
+[Endtest]
+
+[Test]
+title TestTHuiTextTSetParentId
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 6
+[Endtest]
+
+[Test]
+title TestTHuiTextTId
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 7
+[Endtest]
+
+[Test]
+title TestTHuiTextTTextColor
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 8
+[Endtest]
+
+[Test]
+title TestTHuiTextTSetTextColor
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 9
+[Endtest]
+
+[Test]
+title TestTHuiTextTBackgroundColor
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 10
+[Endtest]
+
+[Test]
+title TestTHuiTextTSetBackgroundColor
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 11
+[Endtest]
+
+[Test]
+title TestTHuiTextTTextSizeInTwips
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 12
+[Endtest]
+
+[Test]
+title TestTHuiTextTSetTextSizeInTwips
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 13
+[Endtest]
+
+[Test]
+title TestTHuiTextTextSizeInPixels
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 14
+[Endtest]
+
+[Test]
+title TestTHuiTextTSetTextSizeInPixels
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 15
+[Endtest]
+
+[Test]
+title TestTHuiTextStrokeWeight
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 16
+[Endtest]
+
+[Test]
+title TestTHuiTextTSetStrokeWeight
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 17
+[Endtest]
+
+[Test]
+title TestTHuiTextTPosture
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 18
+[Endtest]
+
+[Test]
+title TestTHuiTextTSetPosture
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 19
+[Endtest]
+
+[Test]
+title TestTHuiTextTUnderline
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 20
+[Endtest]
+
+[Test]
+title TestTHuiTextTSetUnderline
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 21
+[Endtest]
+
+[Test]
+title TestTHuiTextTStrikeThrough
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 22
+[Endtest]
+
+[Test]
+title TestTHuiTextTSetStrikeThrough
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 23
+[Endtest]
+
+[Test]
+title TestTHuiTextTFontStyleId
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 24
+[Endtest]
+
+[Test]
+title TestTHuiTextGetTypeface
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 25
+[Endtest]
+
+[Test]
+title TestTHuiTextSetTextPaneHeightInPixels
+run testscripter c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg 26
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifctkitborderbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,24 @@
+[Test]
+title TestH60BordBrushNewLL
+run testscripter c:\testframework\ui_testuiaifctkitborderbrush.cfg 1
+[Endtest]
+
+[Test]
+title TestH60BordBrushNewLCL
+run testscripter c:\testframework\ui_testuiaifctkitborderbrush.cfg 2
+[Endtest]
+
+[Test]
+title TestH60BordBrushNewLTIntL
+run testscripter c:\testframework\ui_testuiaifctkitborderbrush.cfg 3
+[Endtest]
+
+[Test]
+title TestH60BordBrushNewLCTIntL
+run testscripter c:\testframework\ui_testuiaifctkitborderbrush.cfg 4
+[Endtest]
+
+[Test]
+title TestH60BordBrushSetWidthL
+run testscripter c:\testframework\ui_testuiaifctkitborderbrush.cfg 5
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifctkitcoectrl.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,53 @@
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTTHuiCCNewLL
+run testscripter c:\testframework\ui_testuiaifctkitcoectrl.cfg 1
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTTHuiCCNewLCL
+run testscripter c:\testframework\ui_testuiaifctkitcoectrl.cfg 2
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTTHuiCCEnvL
+run testscripter c:\testframework\ui_testuiaifctkitcoectrl.cfg 3
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTTHuiCCDisplayL
+run testscripter c:\testframework\ui_testuiaifctkitcoectrl.cfg 4
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTTHuiCCHandlePointerEventL
+run testscripter c:\testframework\ui_testuiaifctkitcoectrl.cfg 5
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTTHuiCCDisplayCoeCntrlExtensionL
+run testscripter c:\testframework\ui_testuiaifctkitcoectrl.cfg 6
+[Endtest]
+*/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifctkitdisplaybgitem.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,44 @@
+[Test]
+title TestTTHuiDisplayBackgroundItemL
+run testscripter c:\testframework\ui_testuiaifctkitdisplaybgitem.cfg 1
+[Endtest]
+
+[Test]
+title TestTTHuiDisplayBackgroundItemRectL
+run testscripter c:\testframework\ui_testuiaifctkitdisplaybgitem.cfg 2
+[Endtest]
+
+[Test]
+title TestTTHuiDisplayBackgroundItemItemIDL
+run testscripter c:\testframework\ui_testuiaifctkitdisplaybgitem.cfg 3
+[Endtest]
+
+[Test]
+title TestTTHuiDisplayBackgroundColorL
+run testscripter c:\testframework\ui_testuiaifctkitdisplaybgitem.cfg 4
+[Endtest]
+
+[Test]
+title TestTTHuiDisplayBackgroundTRgbL
+run testscripter c:\testframework\ui_testuiaifctkitdisplaybgitem.cfg 5
+[Endtest]
+
+[Test]
+title TestTTHuiTestTSetRectLL
+run testscripter c:\testframework\ui_testuiaifctkitdisplaybgitem.cfg 6
+[Endtest]
+
+[Test]
+title TestTTHuiSetColorL
+run testscripter c:\testframework\ui_testuiaifctkitdisplaybgitem.cfg 7
+[Endtest]
+
+[Test]
+title TestTTHuiSetColorItemL
+run testscripter c:\testframework\ui_testuiaifctkitdisplaybgitem.cfg 8
+[Endtest]
+
+[Test]
+title TestTTHuiSetSkinBackgroundL
+run testscripter c:\testframework\ui_testuiaifctkitdisplaybgitem.cfg 9
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifctkitsegmentedtexture.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,9 @@
+[Test]
+title TestHuisegmentedTextureHandleL
+run testscripter c:\testframework\ui_testuiaifctkitsegmentedtexture.cfg 1
+[Endtest]
+
+[Test]
+title TestHuisegmentedTextureBindL
+run testscripter c:\testframework\ui_testuiaifctkitsegmentedtexture.cfg 2
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifctkitshadowbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+[Test]
+title TestShadowBrushNewLL
+run testscripter c:\testframework\ui_testuiaifctkitshadowbrush.cfg 1
+[Endtest]
+
+[Test]
+title TestShadowBrushNewLCL
+run testscripter c:\testframework\ui_testuiaifctkitshadowbrush.cfg 2
+[Endtest]
+
+[Test]
+title TestShadowBrushNewLTIntL
+run testscripter c:\testframework\ui_testuiaifctkitshadowbrush.cfg 3
+[Endtest]
+
+[Test]
+title TestShadowBrushNewLTIntLCL
+run testscripter c:\testframework\ui_testuiaifctkitshadowbrush.cfg 4
+[Endtest]
+
+[Test]
+title TestShadowBrushSetDepthL
+run testscripter c:\testframework\ui_testuiaifctkitshadowbrush.cfg 5
+[Endtest]
+
+[Test]
+title TestShadowSetSoftnessL
+run testscripter c:\testframework\ui_testuiaifctkitshadowbrush.cfg 6
+[Endtest]
+
+[Test]
+title TestShadowSetColorL
+run testscripter c:\testframework\ui_testuiaifctkitshadowbrush.cfg 7
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuianchorlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,82 @@
+[Test]
+title TestCHuiAnLayAddNewL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiAnLayDestructL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 2
+[Endtest]
+
+[Test]
+title TestCHuiAnLayResetL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 3
+[Endtest]
+
+[Test]
+title TestCHuiAnLaySetAnchorL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 4
+[Endtest]
+
+[Test]
+title TestCHuiAnLaySetRelativeAnchorRectL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 5
+[Endtest]
+
+[Test]
+title TestCHuiAnLayRemoveAnchorL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 6
+[Endtest]
+
+[Test]
+title TestCHuiAnLayAttachOriginL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 7
+[Endtest]
+
+[Test]
+title TestCHuiAnLayAttachOriginTopLeftL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 8
+[Endtest]
+
+[Test]
+title TestCHuiAnLayAttachOriginNoneL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 9
+[Endtest]
+
+[Test]
+title TestCHuiAnLayDetachL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 10
+[Endtest]
+
+[Test]
+title TestCHuiAnLayDetachAnchorL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 11
+[Endtest]
+
+[Test]
+title TestCHuiAnLaySetSizeL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 12
+[Endtest]
+
+[Test]
+title TestCHuiAnLayChildSizeL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 13
+[Endtest]
+
+[Test]
+title TestCHuiAnLayChildPosL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 14
+[Endtest]
+
+[Test]
+title TestCHuiAnLayChildRectL
+run testscripter c:\testframework\ui_testuihuianchorlayout.cfg 15
+[Endtest]
+
+
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuibordrbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,44 @@
+[Test]
+title TestCHuiBdeBrshNewL
+run testscripter c:\testframework\ui_testuihuibordrbrush.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiBdeBrshNewCL
+run testscripter c:\testframework\ui_testuihuibordrbrush.cfg 2
+[Endtest]
+
+[Test]
+title TestCHuiBdeBrshOtherNewL
+run testscripter c:\testframework\ui_testuihuibordrbrush.cfg 3
+[Endtest]
+
+[Test]
+title TestCHuiBdeBrshOtherNewCL
+run testscripter c:\testframework\ui_testuihuibordrbrush.cfg 4
+[Endtest]
+
+[Test]
+title TestCHuiBdeBrshSetImageL
+run testscripter c:\testframework\ui_testuihuibordrbrush.cfg 5
+[Endtest]
+
+[Test]
+title TestCHuiBdeBrshSetColorL
+run testscripter c:\testframework\ui_testuihuibordrbrush.cfg 6
+[Endtest]
+
+[Test]
+title TestCHuiBdeBrshSetThicknessL
+run testscripter c:\testframework\ui_testuihuibordrbrush.cfg 7
+[Endtest]
+
+[Test]
+title TestCHuiBdeBrshSetEdgeOffsetL
+run testscripter c:\testframework\ui_testuihuibordrbrush.cfg 8
+[Endtest]
+
+[Test]
+title TestCHuiBdeBrshSetImageOffsetL
+run testscripter c:\testframework\ui_testuihuibordrbrush.cfg 9
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuibrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,91 @@
+[Test]
+title TestHuiBrushExpandVisualRectL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiBrushSetChangedL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiBrushChangedL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiBrushClearChangedL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiBrushSetClipToVisualL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiBrushClipToVisualL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiBrushSetLayerL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiBrushLayerL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 8
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiBrushBeginDrawL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 9
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiBrushDrawL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 10
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]#11
+title TestHuiBrushEndDrawL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 11
+[Endtest]
+*/
+
+[Test]
+title TestHuiBrushTypeL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 12
+[Endtest]
+
+[Test]
+title TestHuiBrushSessionIdL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 13
+[Endtest]
+
+[Test]
+title TestHuiBrushSetSessionIdL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 14
+[Endtest]
+
+[Test]
+title TestHuiBrushCHuiBrushL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 15
+[Endtest]
+
+[Test]
+title TestHuiBrushBrushExtensionL
+run testscripter c:\testframework\ui_testuihuibrush.cfg 16
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuibrusharray.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,58 @@
+[Test]
+title TestHuiBrushArrayNewLL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiBrushArrayNewLCL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiBrushArrayResetL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiBrushArrayAppendL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiBrushArrayInsertL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiBrushArrayRemoveL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiBrushArrayCountL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiBrushArrayOperatorL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 8
+[Endtest]
+
+[Test]
+title TestHuiBrushArrayAtL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 9
+[Endtest]
+
+[Test]
+title TestHuiBrushArrayLayerBrushCountL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 10
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiBrushArrayDrawL
+run testscripter c:\testframework\ui_testuihuibrusharray.cfg 11
+[Endtest]
+*/
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuicntlgroup.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,70 @@
+[Test]
+title TestCHuiCntlGroupAppendL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiCntlGroupAppendAndPopL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 2
+[Endtest]
+
+[Test]
+title TestCHuiCntlGroupRemoveL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 3
+[Endtest]
+
+[Test]
+title TestCHuiCntlCountL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 4
+[Endtest]
+
+[Test]
+title TestCHuiCntlControlL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 5
+[Endtest]
+
+[Test]
+title TestCHuiCntlFindControlL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 6
+[Endtest]
+
+[Test]
+title TestCHuiCntlEnableTsfomatonL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 7
+[Endtest]
+
+[Test]
+title TestCHuiCntlIsTransformedL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 8
+[Endtest]
+
+[Test]
+title TestCHuiCntlTransformationL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 9
+[Endtest]
+
+[Test]
+title TestCHuiCntlAcceptInputL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 10
+[Endtest]
+
+[Test]
+title TestCHuiCntlSetAcceptInputL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 11
+[Endtest]
+
+[Test]
+title TestCHuiCntlTypeL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 12
+[Endtest]
+
+[Test]
+title TestCHuiCntlSessionIdL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 13
+[Endtest]
+
+[Test]
+title TestCHuiCntlSetSessionIdL
+run testscripter c:\testframework\ui_testuihuicntlgroup.cfg 14
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuicommand.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,484 @@
+[Test]
+title TestCHuiCommandDestructL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiCommandObjectCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 2
+[Endtest]
+
+[Test]
+title TestCHuiCommandSetSenderL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 3
+[Endtest]
+
+[Test]
+title TestCHuiCommandTypeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 4
+[Endtest]
+
+[Test]
+title TestCHuiSenderTypeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 5
+[Endtest]
+
+[Test]
+title TestCHuiSenderL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 6
+[Endtest]
+
+[Test]
+title TestCHuiSenderVisualL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 7
+[Endtest]
+
+[Test]
+title TestCHuiSenderControlL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 8
+[Endtest]
+
+[Test]
+title TestCHuiSenderControlGroupL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 9
+[Endtest]
+
+[Test]
+title TestCHuiCommandConstructL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 10
+[Endtest]
+
+[Test]
+title TestCHuiCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 11
+[Endtest]
+
+[Test]
+title TestCHuiCommandTActionCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 12
+[Endtest]
+
+[Test]
+title TestCHuiCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 13
+[Endtest]
+
+[Test]
+title TestCHuiCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 14
+[Endtest]
+
+[Test]
+title TestCHuiCommandIdL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 15
+[Endtest]
+
+[Test]
+title TestCHuiActionCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 16
+[Endtest]
+
+[Test]
+title TestCHuiObjectCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 17
+[Endtest]
+
+[Test]
+title TestCHuiObjectCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 18
+[Endtest]
+
+[Test]
+title TestCHuiObjectCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 19
+[Endtest]
+
+[Test]
+title TestCHuiObjectCommandObjectL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 20
+[Endtest]
+
+[Test]
+title TestCHuiObjectCommandOperationL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 21
+[Endtest]
+
+[Test]
+title TestCHuiObjectCommandConstructL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 22
+[Endtest]
+
+[Test]
+title TestCHuiObjectCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 23
+[Endtest]
+
+[Test]
+title TestTHuiGroupCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 24
+[Endtest]
+
+[Test]
+title TestTHuiGroupCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 25
+[Endtest]
+
+[Test]
+title TestTHuiGroupCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 26
+[Endtest]
+
+[Test]
+title TestTHuiGroupCommandControlGroupL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 27
+[Endtest]
+
+[Test]
+title TestTHuiGroupCommandDisplayL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 28
+[Endtest]
+
+[Test]
+title TestTHuiGroupCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 29
+[Endtest]
+
+[Test]
+title TestTHuiControlCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 30
+[Endtest]
+
+[Test]
+title TestTHuiControlCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 31
+[Endtest]
+
+[Test]
+title TestTHuiControlCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 32
+[Endtest]
+
+[Test]
+title TestTHuiControlCommandControlL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 33
+[Endtest]
+
+[Test]
+title TestTHuiControlCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 34
+[Endtest]
+
+[Test]
+title TestTHuiVisualCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 35
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTHuiVisualCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 36
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTHuiVisualCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 37
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTHuiVisualCommandVisualL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 38
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTHuiVisualCommandFlagsToSetL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 39
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestTHuiVisualCommandFlagsToClearL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 40
+[Endtest]
+*/
+
+[Test]
+title TestTHuiVisualCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 41
+[Endtest]
+
+[Test]
+title TestTHuiImageCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 42
+[Endtest]
+
+[Test]
+title TestTHuiImageCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 43
+[Endtest]
+
+[Test]
+title TestTHuiImageCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 44
+[Endtest]
+
+[Test]
+title TestTHuiImageCommandVisualL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 45
+[Endtest]
+
+[Test]
+title TestTHuiImageCommandImageL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 46
+[Endtest]
+
+[Test]
+title TestTHuiImageCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 47
+[Endtest]
+
+[Test]
+title TestTHuiTextCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 48
+[Endtest]
+
+[Test]
+title TestTHuiTextCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 49
+[Endtest]
+
+[Test]
+title TestTHuiTextCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 50
+[Endtest]
+
+[Test]
+title TestTHuiTextCommandTextVisualL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 51
+[Endtest]
+
+[Test]
+title TestTHuiTextCommandTextL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 52
+[Endtest]
+
+[Test]
+title TestTHuiTextCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 53
+[Endtest]
+
+[Test]
+title TestTHuiValueCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 54
+[Endtest]
+
+[Test]
+title TestTHuiValueCommandMutiRefL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 55
+[Endtest]
+
+[Test]
+title TestTHuiValueCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 56
+[Endtest]
+
+[Test]
+title TestTHuiValueCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 57
+[Endtest]
+
+[Test]
+title TestTHuiValueCommandTimedValueL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 58
+[Endtest]
+
+[Test]
+title TestTHuiValueCommandTargetL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 59
+[Endtest]
+
+[Test]
+title TestTHuiValueCommandTransitionTimeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 60
+[Endtest]
+
+[Test]
+title TestTHuiValueCommandSpeedL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 61
+[Endtest]
+
+[Test]
+title TestTHuiValueCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 62
+[Endtest]
+
+[Test]
+title TestTHuiPointCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 63
+[Endtest]
+
+[Test]
+title TestTHuiPointCommandMutiRefL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 64
+[Endtest]
+
+[Test]
+title TestTHuiPointCommandMutiRefOtherL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 65
+[Endtest]
+
+[Test]
+title TestTHuiPointCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 66
+[Endtest]
+
+[Test]
+title TestTHuiPointCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 67
+[Endtest]
+
+[Test]
+title TestTHuiPointCommandTimedPointL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 68
+[Endtest]
+
+[Test]
+title TestTHuiPointCommandTargetL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 69
+[Endtest]
+
+[Test]
+title TestTHuiPointCommandTransitionTimeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 70
+[Endtest]
+
+[Test]
+title TestTHuiPointCommandSpeedL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 71
+[Endtest]
+
+[Test]
+title TestTHuiPointCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 72
+[Endtest]
+
+[Test]
+title TestTHuiTransformationCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 73
+[Endtest]
+
+[Test]
+title TestTHuiTransformationCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 74
+[Endtest]
+
+[Test]
+title TestTHuiTransformationCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 75
+[Endtest]
+
+[Test]
+title TestTHuiTransformationCommandTransmasnL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 76
+[Endtest]
+
+[Test]
+title TestTHuiTransformationCommandStepL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 77
+[Endtest]
+
+[Test]
+title TestTHuiTransformationCommandSetXL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 78
+[Endtest]
+
+[Test]
+title TestTHuiTransformationCommandSetYL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 79
+[Endtest]
+
+[Test]
+title TestTHuiTransformationCommandSetZL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 80
+[Endtest]
+
+[Test]
+title TestTHuiTransformationCommandSetAngleL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 81
+[Endtest]
+
+[Test]
+title TestTHuiTransformationCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 82
+[Endtest]
+
+[Test]
+title TestTHuiMarkerCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 83
+[Endtest]
+
+[Test]
+title TestTHuiMarkerCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 84
+[Endtest]
+
+[Test]
+title TestTHuiMarkerCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 85
+[Endtest]
+
+[Test]
+title TestTHuiMarkerCommandIdL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 86
+[Endtest]
+
+[Test]
+title TestTHuiMarkerCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 87
+[Endtest]
+
+[Test]
+title TestTHuiCustomEventCommandL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 88
+[Endtest]
+
+[Test]
+title TestTHuiCustomEventCommandExecuteL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 89
+[Endtest]
+
+[Test]
+title TestTHuiCustomEventCommandSizeL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 90
+[Endtest]
+
+[Test]
+title TestTHuiCustomEventCommandRecipientL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 91
+[Endtest]
+
+[Test]
+title TestTHuiCustomEventCommandParamL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 92
+[Endtest]
+
+[Test]
+title TestTHuiCustomEventCommandExtensionL
+run testscripter c:\testframework\ui_testuihuicommand.cfg 93
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuicontrol.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,326 @@
+[Test]
+title TestCHuiControlL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiControlDestructL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 2
+[Endtest]
+
+[Test]
+title TestCHuiControlSetIdL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 3
+[Endtest]
+
+[Test]
+title TestCHuiControlIdL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 4
+[Endtest]
+
+[Test]
+title TestCHuiControlEnvL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 5
+[Endtest]
+
+[Test]
+title TestCHuiControlControlGroupL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 6
+[Endtest]
+
+[Test]
+title TestCHuiControlTextureManagerL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 7
+[Endtest]
+
+[Test]
+title TestCHuiControlDisplayL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 8
+[Endtest]
+
+[Test]
+title TestCHuiControlBindDisplayL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 9
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiControlAppendL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 10
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiControlAppendLayoutL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 11
+[Endtest]
+*/
+
+[Test]
+title TestCHuiControlRemoveL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 12
+[Endtest]
+
+[Test]
+title TestCHuiControlAppendVisualL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 13
+[Endtest]
+
+[Test]
+title TestCHuiControlAppendTypeLayoutL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 14
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiControlVisualL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 15
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiControlVisualCountL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 16
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiControlFindTagL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 17
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiControlHostL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 18
+[Endtest]
+*/
+
+[Test]
+title TestCHuiControlAddConnectionL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 19
+[Endtest]
+
+[Test]
+title TestCHuiControlRemoveConnectionL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 20
+[Endtest]
+
+[Test]
+title TestCHuiControlFindConnectionL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 21
+[Endtest]
+
+[Test]
+title TestCHuiControlConnectionCountL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 22
+[Endtest]
+
+[Test]
+title TestCHuiControlConnectionL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 23
+[Endtest]
+
+[Test]
+title TestCHuiControlConnectionByOrdinalL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 24
+[Endtest]
+
+[Test]
+title TestCHuiControlConnectionRoleL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 25
+[Endtest]
+
+[Test]
+title TestCHuiControlConnectionOrdinalL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 26
+[Endtest]
+
+[Test]
+title TestCHuiControlRoleL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 27
+[Endtest]
+
+[Test]
+title TestCHuiControlSetRoleL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 28
+[Endtest]
+
+[Test]
+title TestCHuiControlHostIdL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 29
+[Endtest]
+
+[Test]
+title TestCHuiControlSetHostIdL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 30
+[Endtest]
+
+[Test]
+title TestCHuiControlSetHostL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 31
+[Endtest]
+
+[Test]
+title TestCHuiControlContainerLayoutL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 32
+[Endtest]
+
+[Test]
+title TestCHuiControlHostToDisplayL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 33
+[Endtest]
+
+[Test]
+title TestCHuiControlDisplayToHostL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 34
+[Endtest]
+
+[Test]
+title TestCHuiControlBoundsL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 35
+[Endtest]
+
+[Test]
+title TestCHuiControlHitTestL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 36
+[Endtest]
+
+[Test]
+title TestCHuiControlAcquireFocusL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 37
+[Endtest]
+
+[Test]
+title TestCHuiControlFocusL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 38
+[Endtest]
+
+[Test]
+title TestCHuiControlIsFocusingL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 39
+[Endtest]
+
+[Test]
+title TestCHuiControlFocusChangedL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 40
+[Endtest]
+
+[Test]
+title TestCHuiControlAcceptInputL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 41
+[Endtest]
+
+[Test]
+title TestCHuiControlOfferEventL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 42
+[Endtest]
+
+[Test]
+title TestCHuiControlDisplayAreaL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 43
+[Endtest]
+
+[Test]
+title TestCHuiControlDisplayCenterL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 44
+[Endtest]
+
+[Test]
+title TestCHuiControlCancelAllCommandsL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 45
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiControlVisualLayoutUpdatedL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 46
+[Endtest]
+*/
+
+[Test]
+title TestCHuiControlVisualDestroyedL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 47
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiControlEventHandlerL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 48
+[Endtest]
+*/
+
+[Test]
+title TestCHuiControlNotifyVisibilityL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 49
+[Endtest]
+
+[Test]
+title TestCHuiControlVisualAddedL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 50
+[Endtest]
+
+[Test]
+title TestCHuiControlVisualRemovedL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 51
+[Endtest]
+
+[Test]
+title TestCHuiControlConnectionAddedL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 52
+[Endtest]
+
+[Test]
+title TestCHuiControlConnectionRemovedL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 53
+[Endtest]
+
+[Test]
+title TestCHuiControlHostChangingL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 54
+[Endtest]
+
+[Test]
+title TestCHuiControlBaseConstructL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 55
+[Endtest]
+
+[Test]
+title TestCHuiControlControlExtensionL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 56
+[Endtest]
+
+[Test]
+title TestCHuiControlTypeL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 57
+[Endtest]
+
+[Test]
+title TestCHuiControlSessionIdL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 58
+[Endtest]
+
+[Test]
+title TestCHuiControlSetSessionIdL
+run testscripter c:\testframework\ui_testuihuicontrol.cfg 59
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuicurpathlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,9 @@
+[Test]
+title TestCHuiCurvePathLayAddNewL
+run testscripter c:\testframework\ui_testuihuicurpathlayout.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathLayCurvePathL
+run testscripter c:\testframework\ui_testuihuicurpathlayout.cfg 2
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuicurvepath.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,64 @@
+[Test]
+title TestCHuiCurvePathNewL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathNewCL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 2
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathDestructL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 3
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathResetL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 4
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathEnableLoopL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 5
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathLoopL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 6
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathSetOriginL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 7
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathAppendLineL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 8
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathAppendRealLineL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 9
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathAppendArcL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 10
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathAppendHuiArcL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 11
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathLengthL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 12
+[Endtest]
+
+[Test]
+title TestCHuiCurvePathEvaluateL
+run testscripter c:\testframework\ui_testuihuicurvepath.cfg 13
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuidecklayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,9 @@
+[Test]
+title TestCHuiDeckLayoutAddNewL
+run testscripter c:\testframework\ui_testuihuidecklayout.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiDeckLayoutDestructL
+run testscripter c:\testframework\ui_testuihuidecklayout.cfg 2
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuifixmath.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+[Test]
+title TestHFMFixHypot
+run testscripter c:\testframework\ui_testuihuifixmath.cfg 1
+[Endtest]
+
+[Test]
+title TestHFMFixSin
+run testscripter c:\testframework\ui_testuihuifixmath.cfg 2
+[Endtest]
+
+[Test]
+title TestHFMFixCos
+run testscripter c:\testframework\ui_testuihuifixmath.cfg 3
+[Endtest]
+
+[Test]
+title TestHFMFixMul
+run testscripter c:\testframework\ui_testuihuifixmath.cfg 4
+[Endtest]
+
+[Test]
+title TestHFMFixDiv
+run testscripter c:\testframework\ui_testuihuifixmath.cfg 5
+[Endtest]
+
+[Test]
+title TestHFMFloatToFix
+run testscripter c:\testframework\ui_testuihuifixmath.cfg 6
+[Endtest]
+
+[Test]
+title TestHFMFixToFloat
+run testscripter c:\testframework\ui_testuihuifixmath.cfg 7
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiflowlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+[Test]
+title TestHuiFlowLayoutAddNewL
+run testscripter c:\testframework\ui_testuihuiflowlayout.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiFlowLayoutDelete
+run testscripter c:\testframework\ui_testuihuiflowlayout.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiFlowLayoutSetSize
+run testscripter c:\testframework\ui_testuihuiflowlayout.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiFlowLayoutSetFlowDirection
+run testscripter c:\testframework\ui_testuihuiflowlayout.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiFlowLayoutSetCentering
+run testscripter c:\testframework\ui_testuihuiflowlayout.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiFlowLayoutSetMode
+run testscripter c:\testframework\ui_testuihuiflowlayout.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiFlowLayoutMode
+run testscripter c:\testframework\ui_testuihuiflowlayout.cfg 7
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuifont.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+[Test]
+title TestTHFConstructorL
+run testscripter c:\testframework\ui_testuihuifont.cfg 1
+[Endtest]
+
+[Test]
+title TestTHFConstructorWithParaL
+run testscripter c:\testframework\ui_testuihuifont.cfg 2
+[Endtest]
+
+[Test]
+title TestTHFConstructorWithFontL
+run testscripter c:\testframework\ui_testuihuifont.cfg 3
+[Endtest]
+
+[Test]
+title TestTHFoperatorEqualL
+run testscripter c:\testframework\ui_testuihuifont.cfg 4
+[Endtest]
+
+[Test]
+title TestTHFIdL
+run testscripter c:\testframework\ui_testuihuifont.cfg 5
+[Endtest]
+
+[Test]
+title TestTHFCategoryL
+run testscripter c:\testframework\ui_testuihuifont.cfg 6
+[Endtest]
+
+[Test]
+title TestTHFFontSpecL
+run testscripter c:\testframework\ui_testuihuifont.cfg 7
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiframebrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,24 @@
+[Test]
+title TestHuiFrameBrushNewLL
+run testscripter c:\testframework\ui_testuihuiframebrush.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiFrameBrushNewLCL
+run testscripter c:\testframework\ui_testuihuiframebrush.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiFrameBrushSetFrameRectsLL
+run testscripter c:\testframework\ui_testuihuiframebrush.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiFrameBrushSetEdgeOffsetL
+run testscripter c:\testframework\ui_testuihuiframebrush.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiFrameBrushSetImageL
+run testscripter c:\testframework\ui_testuihuiframebrush.cfg 5
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuigc.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,85 @@
+[Test]
+title TestHuiGcTHuiPathPoint
+run testscripter c:\testframework\ui_testuihuigc.cfg 1
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGcDrawImageL
+run testscripter c:\testframework\ui_testuihuigc.cfg 2
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGcDrawImagesL
+run testscripter c:\testframework\ui_testuihuigc.cfg 3
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGcFontL
+run testscripter c:\testframework\ui_testuihuigc.cfg 4
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGcNearClipDistanceL
+run testscripter c:\testframework\ui_testuihuigc.cfg 5
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGcFarClipDistanceL
+run testscripter c:\testframework\ui_testuihuigc.cfg 6
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGcFovFactorL
+run testscripter c:\testframework\ui_testuihuigc.cfg 7
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGcOffset2DL
+run testscripter c:\testframework\ui_testuihuigc.cfg 8
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGcSetWindowTransformationL
+run testscripter c:\testframework\ui_testuihuigc.cfg 9
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGcLocaleTextAlignmentL
+run testscripter c:\testframework\ui_testuihuigc.cfg 10
+[Endtest]
+*/
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuigifanimationtexture.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,40 @@
+[Test]
+title TestHuiGifAnimationTextureNewLL
+run testscripter c:\testframework\ui_testuihuigc.cfg 1
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGifAnimationTextureIdL
+run testscripter c:\testframework\ui_testuihuigc.cfg 2
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGifAnimationTextureStartL
+run testscripter c:\testframework\ui_testuihuigc.cfg 3
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGifAnimationTextureStopL
+run testscripter c:\testframework\ui_testuihuigc.cfg 4
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGifAnimationTextureEnableAnimationL
+run testscripter c:\testframework\ui_testuihuigc.cfg 5
+[Endtest]
+*/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuigradientbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,45 @@
+[Test]
+title TestHuiGradientBrushNewLL
+run testscripter c:\testframework\ui_testuihuigradientbrush.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiGradientBrushNewLCL
+run testscripter c:\testframework\ui_testuihuigradientbrush.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiGradientBrushSetDirectionL
+run testscripter c:\testframework\ui_testuihuigradientbrush.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiGradientBrushSetColorL
+run testscripter c:\testframework\ui_testuihuigradientbrush.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiGradientBrushSetImageL
+run testscripter c:\testframework\ui_testuihuigradientbrush.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiGradientBrushColorL
+run testscripter c:\testframework\ui_testuihuigradientbrush.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiGradientBrushOpacityL
+run testscripter c:\testframework\ui_testuihuigradientbrush.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiGradientBrushImageL
+run testscripter c:\testframework\ui_testuihuigradientbrush.cfg 8
+[Endtest]
+
+[Test]
+title TestHuiGradientBrushAppendColorLL
+run testscripter c:\testframework\ui_testuihuigradientbrush.cfg 9
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuigridlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,252 @@
+[Test]
+title TestHuiGridLayoutAddNewL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutConstructor
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutConstructL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutDelete
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutSetSize
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutChildOrdinalL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutChildPos
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutChildSize
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 8
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutChildRect
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 9
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutBaseUnit
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 10
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutRemoveAndDestroyAllD
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 11
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutFindTagL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 12
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutCount
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 13
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutVisualL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 14
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutSetPos
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 15
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutUpdateChildrenLayout
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 16
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutPrepareDrawL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 17
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGridLayoutDraw
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 18
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiGridLayoutDrawSelf
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 19
+[Endtest]
+*/
+
+[Test]
+title TestHuiGridLayoutChanged
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 20
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutReportChanged
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 21
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutClearChanged
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 22
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutNotifySkinChangedL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 23
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutExpandRectWithContent
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 24
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutVisualExtension
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 25
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutSetColumnsL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 26
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutSetRowsL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 27
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutSetColumnsLWithArray
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 28
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutSetRowsLWithArray
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 29
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutFillWeightsL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 30
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutAppendWeightL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 31
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutInsertWeightL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 32
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutReplaceWeightL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 33
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutRemoveWeightL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 34
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutWeight
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 35
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutDimensionCount
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 36
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutSetExpanding
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 37
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutRowCount
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 38
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutColumnCount
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 39
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutOrdinalToBlock
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 40
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutSetLayoutModeFlags
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 41
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutClearLayoutModeFlags
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 42
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutLayoutModeFlags
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 43
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutGetClassName
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 44
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutDumpTree
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 45
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutGetInstanceNameL
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 46
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutType
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 47
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutSessionId
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 48
+[Endtest]
+
+[Test]
+title TestHuiGridLayoutSetSessionId
+run testscripter c:\testframework\ui_testuihuigridlayout.cfg 49
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiimage.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,79 @@
+[Test]
+title TestTHIConstructor
+run testscripter c:\testframework\ui_testuihuiimage.cfg 1
+[Endtest]
+
+[Test]
+title TestTHIConstructorWithParaL
+run testscripter c:\testframework\ui_testuihuiimage.cfg 2
+[Endtest]
+
+[Test]
+title TestTHISegmentCountL
+run testscripter c:\testframework\ui_testuihuiimage.cfg 3
+[Endtest]
+
+[Test]
+title TestTHIGetVertexCoordsL
+run testscripter c:\testframework\ui_testuihuiimage.cfg 4
+[Endtest]
+
+[Test]
+title TestTHIGetTexCoordsL
+run testscripter c:\testframework\ui_testuihuiimage.cfg 5
+[Endtest]
+
+[Test]
+title TestTHISetTexCoords
+run testscripter c:\testframework\ui_testuihuiimage.cfg 6
+[Endtest]
+
+[Test]
+title TestTHITopLeft
+run testscripter c:\testframework\ui_testuihuiimage.cfg 7
+[Endtest]
+
+[Test]
+title TestTHIBottomRight
+run testscripter c:\testframework\ui_testuihuiimage.cfg 8
+[Endtest]
+
+[Test]
+title TestTHIHasTexture
+run testscripter c:\testframework\ui_testuihuiimage.cfg 9
+[Endtest]
+
+[Test]
+title TestTHISetTextureL
+run testscripter c:\testframework\ui_testuihuiimage.cfg 10
+[Endtest]
+
+[Test]
+title TestTHITextureL
+run testscripter c:\testframework\ui_testuihuiimage.cfg 11
+[Endtest]
+
+[Test]
+title TestTHITextureIfL
+run testscripter c:\testframework\ui_testuihuiimage.cfg 12
+[Endtest]
+
+[Test]
+title TestTHIHasShadow
+run testscripter c:\testframework\ui_testuihuiimage.cfg 13
+[Endtest]
+
+[Test]
+title TestTHIShadowTexture
+run testscripter c:\testframework\ui_testuihuiimage.cfg 14
+[Endtest]
+
+[Test]
+title TestTHITranslate
+run testscripter c:\testframework\ui_testuihuiimage.cfg 15
+[Endtest]
+
+[Test]
+title TestTHIScale
+run testscripter c:\testframework\ui_testuihuiimage.cfg 16
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiimagebrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,44 @@
+[Test]
+title TestCHIBNewL
+run testscripter c:\testframework\ui_testuihuiimagebrush.cfg 1
+[Endtest]
+
+[Test]
+title TestCHIBNewLCL
+run testscripter c:\testframework\ui_testuihuiimagebrush.cfg 2
+[Endtest]
+
+[Test]
+title TestCHIBSetScaleModeL
+run testscripter c:\testframework\ui_testuihuiimagebrush.cfg 3
+[Endtest]
+
+[Test]
+title TestCHIBSetImageL
+run testscripter c:\testframework\ui_testuihuiimagebrush.cfg 4
+[Endtest]
+
+[Test]
+title TestCHIBSetBordersL
+run testscripter c:\testframework\ui_testuihuiimagebrush.cfg 5
+[Endtest]
+
+[Test]
+title TestCHIBBorderDrawingEnabledL
+run testscripter c:\testframework\ui_testuihuiimagebrush.cfg 6
+[Endtest]
+
+[Test]
+title TestCHIBCenterDrawingEnabledL
+run testscripter c:\testframework\ui_testuihuiimagebrush.cfg 7
+[Endtest]
+
+[Test]
+title TestCHIBExpandVisualRectL
+run testscripter c:\testframework\ui_testuihuiimagebrush.cfg 8
+[Endtest]
+
+[Test]
+title TestCHIBDrawL
+run testscripter c:\testframework\ui_testuihuiimagebrush.cfg 9
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiimageloaderutils.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+[Test]
+title TestHuiImageLoaderUtilConstructorL
+run testscripter c:\testframework\ui_testuihuiimageloaderutils.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiImageLoaderUtilDelete
+run testscripter c:\testframework\ui_testuihuiimageloaderutils.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiImageLoaderUtilCreateImageLoaderL
+run testscripter c:\testframework\ui_testuihuiimageloaderutils.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiImageLoaderUtilCreateImageLoaderLWithAppUidL
+run testscripter c:\testframework\ui_testuihuiimageloaderutils.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiImageLoaderUtilSetSize
+run testscripter c:\testframework\ui_testuihuiimageloaderutils.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiImageLoaderUtilSetSkinInstance
+run testscripter c:\testframework\ui_testuihuiimageloaderutils.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiImageLoaderUtilImageLoaderExtension
+run testscripter c:\testframework\ui_testuihuiimageloaderutils.cfg 7
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiimagevisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,64 @@
+[Test]
+title TestHuiImageVisualAddNewL
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSetScaleMode
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSetImage
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSetSecondaryImage
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiImageVisualImage
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSecondaryImage
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSetColor
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSetColorMode
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 8
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSetStretch
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 9
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSetStretchMode
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 10
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSetDropShadow
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 11
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSetDropShadowWithHuiMetric
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 12
+[Endtest]
+
+[Test]
+title TestHuiImageVisualSetDropShadowWithHuiXYMetric
+run testscripter c:\testframework\ui_testuihuiimagevisual.cfg 13
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuilayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,314 @@
+[Test]
+title TestCHuiLayoutAddNewL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiLayoutConstructorL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 2
+[Endtest]
+
+[Test]
+title TestCHuiLayoutDestructorL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 3
+[Endtest]
+
+[Test]
+title TestCHuiLayoutConstructL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 4
+[Endtest]
+
+[Test]
+title TestCHuiLayoutRemoveAndDestroyAllDL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 5
+[Endtest]
+
+[Test]
+title TestCHuiLayoutFindTagL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 6
+[Endtest]
+
+[Test]
+title TestCHuiLayoutAppendL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 7
+[Endtest]
+
+[Test]
+title TestCHuiLayoutInsertL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 8
+[Endtest]
+
+[Test]
+title TestCHuiLayoutRemoveL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 9
+[Endtest]
+
+[Test]
+title TestCHuiLayoutCountL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 10
+[Endtest]
+
+[Test]
+title TestCHuiLayoutVisualL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 11
+[Endtest]
+
+[Test]
+title TestCHuiLayoutFindVisualL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 12
+[Endtest]
+
+[Test]
+title TestCHuiLayoutSetPosL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 13
+[Endtest]
+
+[Test]
+title TestCHuiLayoutSetSizeL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 14
+[Endtest]
+
+[Test]
+title TestCHuiLayoutUpdateChildrenLayoutL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 15
+[Endtest]
+
+[Test]
+title TestCHuiLayoutUpdateChildLayoutL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 16
+[Endtest]
+
+[Test]
+title TestCHuiLayoutSetInnerPaddingL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 17
+[Endtest]
+
+[Test]
+title TestCHuiLayoutSetInnerPaddingWithMetricL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 18
+[Endtest]
+
+[Test]
+title TestCHuiLayoutInnerPaddingL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 19
+[Endtest]
+
+[Test]
+title TestCHuiLayoutHorizontalInnerPaddingL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 20
+[Endtest]
+
+[Test]
+title TestCHuiLayoutVerticalInnerPaddingL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 21
+[Endtest]
+
+[Test]
+title TestCHuiLayoutInnerPaddingInBaseUnitsL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 22
+[Endtest]
+
+[Test]
+title TestCHuiLayoutEnableScrollingL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 23
+[Endtest]
+
+[Test]
+title TestCHuiLayoutScrollingL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 24
+[Endtest]
+
+[Test]
+title TestCHuiLayoutScrollOffsetL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 25
+[Endtest]
+
+[Test]
+title TestCHuiLayoutScrollOffsetWithconstL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 26
+[Endtest]
+
+[Test]
+title TestCHuiLayoutSetScrollOffsetInBaseUnitsL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 27
+[Endtest]
+
+[Test]
+title TestCHuiLayoutVirtualSizeL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 28
+[Endtest]
+
+[Test]
+title TestCHuiLayoutEffectiveLayoutOrdinalL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 29
+[Endtest]
+
+[Test]
+title TestCHuiLayoutReorderL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 30
+[Endtest]
+
+[Test]
+title TestCHuiLayoutMoveVisualToFrontL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 31
+[Endtest]
+
+[Test]
+title TestCHuiLayoutMoveVisualToBackL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 32
+[Endtest]
+
+[Test]
+title TestCHuiLayoutNotifySkinChangedL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 33
+[Endtest]
+
+[Test]
+title TestCHuiLayoutSetTransitionTimeL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 34
+[Endtest]
+
+[Test]
+title TestCHuiLayoutTransitionTimeL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 35
+[Endtest]
+
+[Test]
+title TestCHuiLayoutChildOrdinalL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 36
+[Endtest]
+
+[Test]
+title TestCHuiLayoutPrepareDrawL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 37
+[Endtest]
+
+[Test]
+title TestCHuiLayoutDrawL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 38
+[Endtest]
+
+[Test]
+title TestCHuiLayoutReportChangedL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 39
+[Endtest]
+
+[Test]
+title TestCHuiLayoutClearChangedL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 40
+[Endtest]
+
+[Test]
+title TestCHuiLayoutChangedL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 41
+[Endtest]
+
+[Test]
+title TestCHuiLayoutDumpTreeL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 42
+[Endtest]
+
+[Test]
+title TestCHuiLayoutSetBaseUnitL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 43
+[Endtest]
+
+[Test]
+title TestCHuiLayoutSetBaseUnitXYL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 44
+[Endtest]
+
+[Test]
+title TestCHuiLayoutBaseUnitL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 45
+[Endtest]
+
+[Test]
+title TestCHuiLayoutInnerSizeL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 46
+[Endtest]
+
+[Test]
+title TestCHuiLayoutInnerTopLeftL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 47
+[Endtest]
+
+[Test]
+title TestCHuiLayoutChildSizeL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 48
+[Endtest]
+
+[Test]
+title TestCHuiLayoutChildPosL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 49
+[Endtest]
+
+[Test]
+title TestCHuiLayoutChildRectL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 50
+[Endtest]
+
+[Test]
+title TestCHuiLayoutBrushOpacityL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 51
+[Endtest]
+
+[Test]
+title TestCHuiLayoutBrushRectL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 52
+[Endtest]
+
+[Test]
+title TestCHuiLayoutBrushSkinL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 53
+[Endtest]
+
+[Test]
+title TestCHuiLayoutGetInstanceNameL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 54
+[Endtest]
+
+[Test]
+title TestCHuiLayoutGetClassNameL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 55
+[Endtest]
+
+[Test]
+title TestCHuiLayoutTypeL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 56
+[Endtest]
+
+[Test]
+title TestCHuiLayoutSessionIdL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 57
+[Endtest]
+
+[Test]
+title TestCHuiLayoutSetSessionIdL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 58
+[Endtest]
+
+[Test]
+title TestCHuiLayoutDrawSelfL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 59
+[Endtest]
+
+[Test]
+title TestHLMetricReferenceForLayoutInPixelsWithLayoutL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 60
+[Endtest]
+
+[Test]
+title TestHLMetricReferenceForLayoutInPixelsL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 61
+[Endtest]
+
+[Test]
+title TestCHuiLayoutExpandRectWithContentL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 62
+[Endtest]
+
+[Test]
+title TestCHuiLayoutVisualExtensionL
+run testscripter c:\testframework\ui_testuihuilayout.cfg 63
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuilinevisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+[Test]
+title TestCHLVAddNewL
+run testscripter c:\testframework\ui_testuihuilinevisual.cfg 1
+[Endtest]
+
+[Test]
+title TestCHLVSetPathL
+run testscripter c:\testframework\ui_testuihuilinevisual.cfg 2
+[Endtest]
+
+[Test]
+title TestCHLVPathL
+run testscripter c:\testframework\ui_testuihuilinevisual.cfg 3
+[Endtest]
+
+[Test]
+title TestCHLVSetImageL
+run testscripter c:\testframework\ui_testuihuilinevisual.cfg 4
+[Endtest]
+
+[Test]
+title TestCHLVSetAlphaFunctionL
+run testscripter c:\testframework\ui_testuihuilinevisual.cfg 5
+[Endtest]
+
+[Test]
+title TestCHLVSetWidthFunctionL
+run testscripter c:\testframework\ui_testuihuilinevisual.cfg 6
+[Endtest]
+
+[Test]
+title TestCHLVSetColorL
+run testscripter c:\testframework\ui_testuihuilinevisual.cfg 7
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuim3gmesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,35 @@
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHM3GMLoadSceneL
+run testscripter c:\testframework\ui_testuihuim3gmesh.cfg 1
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHM3GMSetAnimationPositionL
+run testscripter c:\testframework\ui_testuihuim3gmesh.cfg 2
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHM3GMStartAnimationControllerL
+run testscripter c:\testframework\ui_testuihuim3gmesh.cfg 3
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHM3GMStopAnimationControllerL
+run testscripter c:\testframework\ui_testuihuim3gmesh.cfg 4
+[Endtest]
+*/
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuimappingfunctions.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,59 @@
+[Test]
+title TestTHCMFConstructorL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 1
+[Endtest]
+
+[Test]
+title TestTHCMFMapValueL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 2
+[Endtest]
+
+[Test]
+title TestTHLMFConstructorL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 3
+[Endtest]
+
+[Test]
+title TestTHLMFMapValueL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 4
+[Endtest]
+
+[Test]
+title TestTHSMFConstructorL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 5
+[Endtest]
+
+[Test]
+title TestTHSMFMapValueL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 6
+[Endtest]
+
+[Test]
+title TestTHCosineMFConstructorL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 7
+[Endtest]
+
+[Test]
+title TestTHCosineMFMapValueL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 8
+[Endtest]
+
+[Test]
+title TestTHAMFConstructorL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 9
+[Endtest]
+
+[Test]
+title TestTHAMFMapValueL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 10
+[Endtest]
+
+[Test]
+title TestTHAMFMappingFunctionChangedL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 11
+[Endtest]
+
+[Test]
+title TestTHAMFMappingFunctionClearChangedL
+run testscripter c:\testframework\ui_testuihuimappingfunctions.cfg 12
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuimesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,125 @@
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshNewL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 1
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshNewLCL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 2
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshDestructL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 3
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshMeshTypeL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 4
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshResetL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 5
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshStretchUniformlyL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 6
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshScaleUniformlyL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 7
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshTypeL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 8
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshSessionIdL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 9
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshSetSessionIdL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 10
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshAnimationControllerCountL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 11
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshSetAnimationPositionL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 12
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshStartAnimationControllerL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 13
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshStopAnimationControllerL
+run testscripter c:\testframework\ui_testuihuimesh.cfg 14
+[Endtest]
+*/
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuimeshvisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,71 @@
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshVisualAddNewL
+run testscripter c:\testframework\ui_testuihuimeshvisual.cfg 1
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshVisualCreateMeshL
+run testscripter c:\testframework\ui_testuihuimeshvisual.cfg 2
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshVisualSetImageL
+run testscripter c:\testframework\ui_testuihuimeshvisual.cfg 3
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshVisualSetSecondaryImageL
+run testscripter c:\testframework\ui_testuihuimeshvisual.cfg 4
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshVisualSetSpecularImageL
+run testscripter c:\testframework\ui_testuihuimeshvisual.cfg 5
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshVisualMeshL
+run testscripter c:\testframework\ui_testuihuimeshvisual.cfg 6
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshVisualProceduralMeshL
+run testscripter c:\testframework\ui_testuihuimeshvisual.cfg 7
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiMeshVisualM3GMeshL
+run testscripter c:\testframework\ui_testuihuimeshvisual.cfg 8
+[Endtest]
+*/
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuimetric.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,69 @@
+[Test]
+title TestTHMConstructor
+run testscripter c:\testframework\ui_testuihuimetric.cfg 1
+[Endtest]
+
+[Test]
+title TestTHMConstructorWithPixel
+run testscripter c:\testframework\ui_testuihuimetric.cfg 2
+[Endtest]
+
+[Test]
+title TestTHMAbs
+run testscripter c:\testframework\ui_testuihuimetric.cfg 3
+[Endtest]
+
+[Test]
+title TestTHMoperator
+run testscripter c:\testframework\ui_testuihuimetric.cfg 4
+[Endtest]
+
+[Test]
+title TestTHXYMConstructor
+run testscripter c:\testframework\ui_testuihuimetric.cfg 5
+[Endtest]
+
+[Test]
+title TestTHXYMConstructorWithMetric
+run testscripter c:\testframework\ui_testuihuimetric.cfg 6
+[Endtest]
+
+[Test]
+title TestTHXYMConstructorWithTwo
+run testscripter c:\testframework\ui_testuihuimetric.cfg 7
+[Endtest]
+
+[Test]
+title TestTHXYMoperator
+run testscripter c:\testframework\ui_testuihuimetric.cfg 8
+[Endtest]
+
+[Test]
+title TestTHXYMAbs
+run testscripter c:\testframework\ui_testuihuimetric.cfg 9
+[Endtest]
+
+[Test]
+title TestTHBMConstructor
+run testscripter c:\testframework\ui_testuihuimetric.cfg 10
+[Endtest]
+
+[Test]
+title TestTHBMConstructorWithMetric
+run testscripter c:\testframework\ui_testuihuimetric.cfg 11
+[Endtest]
+
+[Test]
+title TestTHBMConstructorWithXYMetric
+run testscripter c:\testframework\ui_testuihuimetric.cfg 12
+[Endtest]
+
+[Test]
+title TestTHBMConstructorWithTwo
+run testscripter c:\testframework\ui_testuihuimetric.cfg 13
+[Endtest]
+
+[Test]
+title TestTHBMConstructorWithFour
+run testscripter c:\testframework\ui_testuihuimetric.cfg 14
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiownedpointer.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,44 @@
+[Test]
+title TestHuiOwnerdPointerCloseL
+run testscripter c:\testframework\ui_testuihuiownedpointer.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiOwnerdPointerOperatorTL
+run testscripter c:\testframework\ui_testuihuiownedpointer.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiOwnerdPointerOperatorConstTL
+run testscripter c:\testframework\ui_testuihuiownedpointer.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiOwnerdPointerOperatorL
+run testscripter c:\testframework\ui_testuihuiownedpointer.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiOwnerdPointerPtrL
+run testscripter c:\testframework\ui_testuihuiownedpointer.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiOwnerdPointerRefL
+run testscripter c:\testframework\ui_testuihuiownedpointer.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiOwnerdPointerNonConstRefL
+run testscripter c:\testframework\ui_testuihuiownedpointer.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiOwnerdPointerSetL
+run testscripter c:\testframework\ui_testuihuiownedpointer.cfg 8
+[Endtest]
+
+[Test]
+title TestHuiOwnerdPointerOwnershipL
+run testscripter c:\testframework\ui_testuihuiownedpointer.cfg 9
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiproceduralmesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,62 @@
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHPMDeleteL
+run testscripter c:\testframework\ui_testuihuiproceduralmesh.cfg 1
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHPMResetL
+run testscripter c:\testframework\ui_testuihuiproceduralmesh.cfg 2
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHPMMakeCubeL
+run testscripter c:\testframework\ui_testuihuiproceduralmesh.cfg 3
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHPMMakeSphereL
+run testscripter c:\testframework\ui_testuihuiproceduralmesh.cfg 4
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHPMMakeTorusL
+run testscripter c:\testframework\ui_testuihuiproceduralmesh.cfg 5
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHPMStretchUniformlyL
+run testscripter c:\testframework\ui_testuihuiproceduralmesh.cfg 6
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHPMScaleUniformlyL
+run testscripter c:\testframework\ui_testuihuiproceduralmesh.cfg 7
+[Endtest]
+*/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuirealpoint.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,64 @@
+[Test]
+title TestTHRPConstructor
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 1
+[Endtest]
+
+[Test]
+title TestTHRPConstructorWithTReal
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 2
+[Endtest]
+
+[Test]
+title TestTHRPConstructorWithTPoint
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 3
+[Endtest]
+
+[Test]
+title TestTHRPAsSize
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 4
+[Endtest]
+
+[Test]
+title TestTHRPTPoint
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 5
+[Endtest]
+
+[Test]
+title TestTHRPRound
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 6
+[Endtest]
+
+[Test]
+title TestTHRPoperator1
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 7
+[Endtest]
+
+[Test]
+title TestTHRPoperator2
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 8
+[Endtest]
+
+[Test]
+title TestTHRPoperator3
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 9
+[Endtest]
+
+[Test]
+title TestTHRPoperator4
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 10
+[Endtest]
+
+[Test]
+title TestTHRPoperator5
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 11
+[Endtest]
+
+[Test]
+title TestTHRPoperator6
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 12
+[Endtest]
+
+[Test]
+title TestTHRPAbs
+run testscripter c:\testframework\ui_testuihuirealpoint.cfg 13
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuirealrect.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,94 @@
+[Test]
+title TestTHRRConstructor
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 1
+[Endtest]
+
+[Test]
+title TestTHRRConstructorWithPoint
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 2
+[Endtest]
+
+[Test]
+title TestTHRRConstructorWithPointAndSize
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 3
+[Endtest]
+
+[Test]
+title TestTHRRConstructorWithTRect
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 4
+[Endtest]
+
+[Test]
+title TestTHRRWidth
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 5
+[Endtest]
+
+[Test]
+title TestTHRRHeight
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 6
+[Endtest]
+
+[Test]
+title TestTHRRTopRight
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 7
+[Endtest]
+
+[Test]
+title TestTHRRBottomLeft
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 8
+[Endtest]
+
+[Test]
+title TestTHRRSize
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 9
+[Endtest]
+
+[Test]
+title TestTHRRCenter
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 10
+[Endtest]
+
+[Test]
+title TestTHRRGrow
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 11
+[Endtest]
+
+[Test]
+title TestTHRRShrink
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 12
+[Endtest]
+
+[Test]
+title TestTHRRShrinkTPoint
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 13
+[Endtest]
+
+[Test]
+title TestTHRRShrinkTHuiRealPoint
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 14
+[Endtest]
+
+[Test]
+title TestTHRRShrinkTHuiRealRect
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 15
+[Endtest]
+
+[Test]
+title TestTHRRMove
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 16
+[Endtest]
+
+[Test]
+title TestTHRRoperatorTRect
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 17
+[Endtest]
+
+[Test]
+title TestTHRRRound
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 18
+[Endtest]
+
+[Test]
+title TestTHRRBoundingRect
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 19
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuirealsize.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,29 @@
+[Test]
+title TestTHRSConstructor
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 1
+[Endtest]
+
+[Test]
+title TestTHRSConstructorWithTReal
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 2
+[Endtest]
+
+[Test]
+title TestTHRSConstructorWithTSize
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 3
+[Endtest]
+
+[Test]
+title TestTHRSoperatorTSize
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 4
+[Endtest]
+
+[Test]
+title TestTHRSRound
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 5
+[Endtest]
+
+[Test]
+title TestTHRSoperatorPlus
+run testscripter c:\testframework\ui_testuihuirealrect.cfg 6
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuisoftkeycontrol.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,44 @@
+[Test]
+title TestCHSKCNewL
+run testscripter c:\testframework\ui_testuihuisoftkeycontrol.cfg 1
+[Endtest]
+
+[Test]
+title TestCHSKCNewLCL
+run testscripter c:\testframework\ui_testuihuisoftkeycontrol.cfg 2
+[Endtest]
+
+[Test]
+title TestCHSKCDestruct
+run testscripter c:\testframework\ui_testuihuisoftkeycontrol.cfg 3
+[Endtest]
+
+[Test]
+title TestCHSKCSetLabelL
+run testscripter c:\testframework\ui_testuihuisoftkeycontrol.cfg 4
+[Endtest]
+
+[Test]
+title TestCHSKCSetBackgroundL
+run testscripter c:\testframework\ui_testuihuisoftkeycontrol.cfg 5
+[Endtest]
+
+[Test]
+title TestCHSKCSetAnimationTimesL
+run testscripter c:\testframework\ui_testuihuisoftkeycontrol.cfg 6
+[Endtest]
+
+[Test]
+title TestCHSKCEnterViewL
+run testscripter c:\testframework\ui_testuihuisoftkeycontrol.cfg 7
+[Endtest]
+
+[Test]
+title TestCHSKCExitViewL
+run testscripter c:\testframework\ui_testuihuisoftkeycontrol.cfg 8
+[Endtest]
+
+[Test]
+title TestCHSKCSetBackgroundTypeL
+run testscripter c:\testframework\ui_testuihuisoftkeycontrol.cfg 9
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuistatic.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,114 @@
+[Test]
+title TestCHuiStaticEnv
+run testscripter c:\testframework\ui_testuihuistatic.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiStaticTime
+run testscripter c:\testframework\ui_testuihuistatic.cfg 2
+[Endtest]
+
+[Test]
+title TestCHuiStaticSetTimeFactor
+run testscripter c:\testframework\ui_testuihuistatic.cfg 3
+[Endtest]
+
+[Test]
+title TestCHuiStaticTimeFactor
+run testscripter c:\testframework\ui_testuihuistatic.cfg 4
+[Endtest]
+
+[Test]
+title TestCHuiStaticPauseTime
+run testscripter c:\testframework\ui_testuihuistatic.cfg 5
+[Endtest]
+
+[Test]
+title TestCHuiStaticContinueTime
+run testscripter c:\testframework\ui_testuihuistatic.cfg 6
+[Endtest]
+
+[Test]
+title TestCHuiStaticTimePaused
+run testscripter c:\testframework\ui_testuihuistatic.cfg 7
+[Endtest]
+
+[Test]
+title TestCHuiStaticElapsedSeconds
+run testscripter c:\testframework\ui_testuihuistatic.cfg 8
+[Endtest]
+
+[Test]
+title TestCHuiStaticSecondsSinceStart
+run testscripter c:\testframework\ui_testuihuistatic.cfg 9
+[Endtest]
+
+[Test]
+title TestCHuiStaticMilliSecondsSinceStart
+run testscripter c:\testframework\ui_testuihuistatic.cfg 10
+[Endtest]
+
+[Test]
+title TestCHuiStaticFrameCount
+run testscripter c:\testframework\ui_testuihuistatic.cfg 11
+[Endtest]
+
+[Test]
+title TestCHuiStaticAverageFrameRate
+run testscripter c:\testframework\ui_testuihuistatic.cfg 12
+[Endtest]
+
+[Test]
+title TestCHuiStaticFrameRate
+run testscripter c:\testframework\ui_testuihuistatic.cfg 13
+[Endtest]
+
+[Test]
+title TestCHuiStaticPrintfTDesC8
+run testscripter c:\testframework\ui_testuihuistatic.cfg 14
+[Endtest]
+
+[Test]
+title TestCHuiStaticPrintfTDesC16
+run testscripter c:\testframework\ui_testuihuistatic.cfg 15
+[Endtest]
+
+[Test]
+title TestCHuiStaticEnableLogging
+run testscripter c:\testframework\ui_testuihuistatic.cfg 16
+[Endtest]
+
+[Test]
+title TestCHuiStaticLogging
+run testscripter c:\testframework\ui_testuihuistatic.cfg 17
+[Endtest]
+
+[Test]
+title TestCHuiStaticTic
+run testscripter c:\testframework\ui_testuihuistatic.cfg 18
+[Endtest]
+
+[Test]
+title TestCHuiStaticToc
+run testscripter c:\testframework\ui_testuihuistatic.cfg 19
+[Endtest]
+
+[Test]
+title TestCHuiStaticFsSession
+run testscripter c:\testframework\ui_testuihuistatic.cfg 20
+[Endtest]
+
+[Test]
+title TestCHuiStaticSetLayoutTransitionTime
+run testscripter c:\testframework\ui_testuihuistatic.cfg 21
+[Endtest]
+
+[Test]
+title TestCHuiStaticLayoutTransitionTime
+run testscripter c:\testframework\ui_testuihuistatic.cfg 22
+[Endtest]
+
+[Test]
+title TestCHuiStaticSetProbe
+run testscripter c:\testframework\ui_testuihuistatic.cfg 23
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitexture.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,93 @@
+[Test]
+title TestCHuiATextDestructL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 1
+[Endtest]
+
+[Test]
+title TestCHuiATextTextureL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 2
+[Endtest]
+
+[Test]
+title TestCHuiATextSegmentTextureL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 3
+[Endtest]
+
+[Test]
+title TestCHuiATextSegmentTextureConstL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 4
+[Endtest]
+
+[Test]
+title TestCHuiATextShadowedTextureL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 5
+[Endtest]
+
+[Test]
+title TestCHuiATextShadowedTextureConstL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 6
+[Endtest]
+
+[Test]
+title TestCHuiATextHasContentL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 7
+[Endtest]
+
+[Test]
+title TestCHuiATextSizeL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 8
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestCHuiATextSegmentCountL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 9
+[Endtest]
+*/
+
+[Test]
+title TestCHuiATextTextureChangedL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 10
+[Endtest]
+
+[Test]
+title TestCHuiATextTextureClearChangedL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 11
+[Endtest]
+
+[Test]
+title TestCHuiATextTextureConstructorL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 12
+[Endtest]
+
+[Test]
+title TestCHuiATextBaseConstructL
+run testscripter c:\testframework\ui_testuihuitexture.cfg 13
+[Endtest]
+
+//[Test]
+//title TestCHuiATextTextureExtensionL
+//run testscripter c:\testframework\ui_testuihuitexture.cfg 14
+//[Endtest]
+
+//[Test]
+//title TestCHuiATextSegmentNameL
+//run testscripter c:\testframework\ui_testuihuitexture.cfg 15
+//[Endtest]
+
+//[Test]
+//title TestCHuiATextSegmentSizeL
+//run testscripter c:\testframework\ui_testuihuitexture.cfg 16
+//[Endtest]
+
+//[Test]
+//title TestCHuiATextSegmentTextureSizeL
+//run testscripter c:\testframework\ui_testuihuitexture.cfg 17
+//[Endtest]
+
+//[Test]
+//title TestCHuiATextSegmentOffsetL
+//run testscripter c:\testframework\ui_testuihuitexture.cfg 18
+//[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitextureautoparams.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,44 @@
+[Test]
+title TestHuiTexureAutoSizeParaConstructor
+run testscripter c:\testframework\ui_testuihuitextureautoparams.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiTexureAutoSizeParaSizeLowerThreshold
+run testscripter c:\testframework\ui_testuihuitextureautoparams.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiTexureAutoSizeParaSetSizeLowerThreshold
+run testscripter c:\testframework\ui_testuihuitextureautoparams.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiTexureAutoSizeParaSizeUpperThreshold
+run testscripter c:\testframework\ui_testuihuitextureautoparams.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiTexureAutoSizeParaSetSizeUpperThreshold
+run testscripter c:\testframework\ui_testuihuitextureautoparams.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiTexureAutoSizeParaMinSizeChange
+run testscripter c:\testframework\ui_testuihuitextureautoparams.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiTexureAutoSizeParaSetMinSizeChange
+run testscripter c:\testframework\ui_testuihuitextureautoparams.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiTexureAutoSizeParaDownsizeSettleThreshold
+run testscripter c:\testframework\ui_testuihuitextureautoparams.cfg 8
+[Endtest]
+
+[Test]
+title TestHuiTexureAutoSizeParaSetDownsizeSettleThreshold
+run testscripter c:\testframework\ui_testuihuitextureautoparams.cfg 9
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitexturehandle.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,114 @@
+[Test]
+title TestTHTHConstructorL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 1
+[Endtest]
+
+[Test]
+title TestTHTHConstructorWithParaL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 2
+[Endtest]
+
+[Test]
+title TestTHTHIsNullL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 3
+[Endtest]
+
+[Test]
+title TestTHTHHasContentL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 4
+[Endtest]
+
+[Test]
+title TestTHTHReleaseL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 5
+[Endtest]
+
+[Test]
+title TestTHTHSetL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 6
+[Endtest]
+
+[Test]
+title TestTHTHSetNameL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 7
+[Endtest]
+
+[Test]
+title TestTHTHSetSizeL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 8
+[Endtest]
+
+[Test]
+title TestTHTHSetTextureSizeL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 9
+[Endtest]
+
+[Test]
+title TestTHTHSegmentedTextureL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 10
+[Endtest]
+
+[Test]
+title TestTHTHSegmentedTextureconstL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 11
+[Endtest]
+
+[Test]
+title TestTHTHShadowedTextureL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 12
+[Endtest]
+
+[Test]
+title TestTHTHShadowedTextureconstL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 13
+[Endtest]
+
+[Test]
+title TestTHTHTextureChangedL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 14
+[Endtest]
+
+[Test]
+title TestTHTHTextureClearChangedL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 15
+[Endtest]
+
+[Test]
+title TestTHTHNameL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 16
+[Endtest]
+
+[Test]
+title TestTHTHSizeL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 17
+[Endtest]
+
+[Test]
+title TestTHTHSegmentCountL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 18
+[Endtest]
+
+[Test]
+title TestTHTHSegmentNameL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 19
+[Endtest]
+
+[Test]
+title TestTHTHSegmentSizeL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 20
+[Endtest]
+
+[Test]
+title TestTHTHSegmentTextureSizeL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 21
+[Endtest]
+
+[Test]
+title TestTHTHSegmentOffsetL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 22
+[Endtest]
+
+[Test]
+title TestTHTHTextureExtensionL
+run testscripter c:\testframework\ui_testuihuitexturehandle.cfg 23
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitexturemanager.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,119 @@
+[Test]
+title TestHuiTxureManagerEnvL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerTextureL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerTextureConstL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerTextureLL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerSetImagePathL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerImagePath
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerBlankTextureConst
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerBlankTextureL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 8
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerLoadTextureL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 9
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerLoadTextureLWithIdL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 10
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerLoadTextureLWithSizeImageL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 11
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerCreateTextureL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 12
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerUpdateTextureFromBitmapL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 13
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerUnloadTexture
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 14
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerUnloadTextureWithID
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 15
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerDefineFileNameL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 16
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerLoadQueueCount
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 17
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerState
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 18
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerProcessorL
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 19
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerPrependImagePath
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 20
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerSetTextureId
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 21
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerIsLoaded
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 22
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerIsLoadedWithID
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 23
+[Endtest]
+
+[Test]
+title TestHuiTxureManagerIsLoadedWithTexture
+run testscripter c:\testframework\ui_testuihuitexturemanager.cfg 24
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitextvisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,114 @@
+//[Test]
+//title TestHuiTextVisualAddNewL
+//run testscripter c:\testframework\ui_testuihuitextvisual.cfg 1
+//[Endtest]
+
+//[Test]
+//title TestHuiTextVisualSetTextL
+//run testscripter c:\testframework\ui_testuihuitextvisual.cfg 2
+//[Endtest]
+
+[Test]
+title TestHuiTextVisualText
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiTextVisualSetAlign
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiTextVisualSetLineSpacing
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiTextVisualSetStyle
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiTextVisualSetTextStyle
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiTextVisualStyle
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 8
+[Endtest]
+
+[Test]
+title TestHuiTextVisualTextStyle
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 9
+[Endtest]
+
+[Test]
+title TestHuiTextVisualSetMaxLineCount
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 10
+[Endtest]
+
+[Test]
+title TestHuiTextVisualMaxLineCount
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 11
+[Endtest]
+
+[Test]
+title TestHuiTextVisualWrapping
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 12
+[Endtest]
+
+[Test]
+title TestHuiTextVisualSetWrapping
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 13
+[Endtest]
+
+[Test]
+title TestHuiTextVisualBackgroundType
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 14
+[Endtest]
+
+[Test]
+title TestHuiTextVisualOffset
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 15
+[Endtest]
+
+[Test]
+title TestHuiTextVisualOffsetConst
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 16
+[Endtest]
+
+[Test]
+title TestHuiTextVisualTextExtents
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 17
+[Endtest]
+
+[Test]
+title TestHuiTextVisualPrepareDrawL
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 18
+[Endtest]
+
+[Test]
+title TestHuiTextVisualSetColor
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 19
+[Endtest]
+
+[Test]
+title TestHuiTextVisualSetColorWithIndex
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 20
+[Endtest]
+
+[Test]
+title TestHuiTextVisualSubstringExtents
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 21
+[Endtest]
+
+[Test]
+title TestHuiTextVisualEnableShadow
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 22
+[Endtest]
+
+[Test]
+title TestHuiTextVisualSetHighlightRange
+run testscripter c:\testframework\ui_testuihuitextvisual.cfg 23
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitimedpoint.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,64 @@
+[Test]
+title TestTHTPConstructor
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 1
+[Endtest]
+
+[Test]
+title TestTHTPConstructorWithTReal
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 2
+[Endtest]
+
+[Test]
+title TestTHTPSetStyle
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 3
+[Endtest]
+
+[Test]
+title TestTHTPSetFunctionL
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 4
+[Endtest]
+
+[Test]
+title TestTHTPSet
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 5
+[Endtest]
+
+[Test]
+title TestTHTPSetTReal
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 6
+[Endtest]
+
+[Test]
+title TestTHTPSetWithSpeed
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 7
+[Endtest]
+
+[Test]
+title TestTHTPSetWithSpeedTReal
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 8
+[Endtest]
+
+[Test]
+title TestTHTPNow
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 9
+[Endtest]
+
+[Test]
+title TestTHTPRealNow
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 10
+[Endtest]
+
+[Test]
+title TestTHTPTarget
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 11
+[Endtest]
+
+[Test]
+title TestTHTPRealTarget
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 12
+[Endtest]
+
+[Test]
+title TestTHTPFinish
+run testscripter c:\testframework\ui_testuihuitimedpoint.cfg 13
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitimedvalue.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,109 @@
+[Test]
+title TestMHMFMappingFunctionChangedL
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 1
+[Endtest]
+
+[Test]
+title TestMHMFMappingFunctionClearChangedL
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 2
+[Endtest]
+
+[Test]
+title TestTHTVConstructor
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 3
+[Endtest]
+
+[Test]
+title TestTHTVConstructorWithValue
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 4
+[Endtest]
+
+[Test]
+title TestTHTVStyle
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 5
+[Endtest]
+
+[Test]
+title TestTHTVSetStyle
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 6
+[Endtest]
+
+[Test]
+title TestTHTVSetFunction
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 7
+[Endtest]
+
+[Test]
+title TestTHTVSetMappingMode
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 8
+[Endtest]
+
+[Test]
+title TestTHTVNow
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 9
+[Endtest]
+
+[Test]
+title TestTHTVUnmappedNow
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 10
+[Endtest]
+
+[Test]
+title TestTHTVTarget
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 11
+[Endtest]
+
+[Test]
+title TestTHTVSetValue
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 12
+[Endtest]
+
+[Test]
+title TestTHTVSetValueTime
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 13
+[Endtest]
+
+[Test]
+title TestTHTVSetWithSpeed
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 14
+[Endtest]
+
+[Test]
+title TestTHTVRemainingTime
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 15
+[Endtest]
+
+[Test]
+title TestTHTVFinish
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 16
+[Endtest]
+
+[Test]
+title TestTHTVChanged
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 17
+[Endtest]
+
+[Test]
+title TestTHTVInterpolating
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 18
+[Endtest]
+
+[Test]
+title TestTHTVClearChanged
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 19
+[Endtest]
+
+[Test]
+title TestTHTVEnableClock
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 20
+[Endtest]
+
+[Test]
+title TestTHTVSuspend
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 21
+[Endtest]
+
+[Test]
+title TestTHTVoperatorEqualTo
+run testscripter c:\testframework\ui_testuihuitimedvalue.cfg 22
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitransfor.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,84 @@
+[Test]
+title TestCHTranNewL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 1
+[Endtest]
+
+[Test]
+title TestCHTranNewLCL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 2
+[Endtest]
+
+[Test]
+title TestCHTranCountL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 3
+[Endtest]
+
+[Test]
+title TestCHTranNonIdentityCountL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 4
+[Endtest]
+
+[Test]
+title TestCHTranStepL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 5
+[Endtest]
+
+[Test]
+title TestCHTranoperatorL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 6
+[Endtest]
+
+[Test]
+title TestCHTranLoadIdentityL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 7
+[Endtest]
+
+[Test]
+title TestCHTranTranslateL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 8
+[Endtest]
+
+[Test]
+title TestCHTranTranslateWithValueL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 9
+[Endtest]
+
+[Test]
+title TestCHTranScaleL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 10
+[Endtest]
+
+[Test]
+title TestCHTranScaleWithValueL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 11
+[Endtest]
+
+[Test]
+title TestCHTranScaleWithThreeL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 12
+[Endtest]
+
+[Test]
+title TestCHTranScaleWithThreeValueL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 13
+[Endtest]
+
+[Test]
+title TestCHTranRotateL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 14
+[Endtest]
+
+[Test]
+title TestCHTranRotateValueL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 15
+[Endtest]
+
+[Test]
+title TestCHTranRotateFourL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 16
+[Endtest]
+
+[Test]
+title TestCHTranRotateValueThreeL
+run testscripter c:\testframework\ui_testuihuitransfor.cfg 17
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiutil.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,119 @@
+[Test]
+title TestHuiUtilPower2
+run testscripter c:\testframework\ui_testuihuiutil.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiUtilPower2RoundDown
+run testscripter c:\testframework\ui_testuihuiutil.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiUtilInterpolate
+run testscripter c:\testframework\ui_testuihuiutil.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiUtilWrapValue
+run testscripter c:\testframework\ui_testuihuiutil.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiUtilRandomInt
+run testscripter c:\testframework\ui_testuihuiutil.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiUtilRandomReal
+run testscripter c:\testframework\ui_testuihuiutil.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiUtilQuickLengthWithPoint
+run testscripter c:\testframework\ui_testuihuiutil.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiUtilQuickLength
+run testscripter c:\testframework\ui_testuihuiutil.cfg 8
+[Endtest]
+
+[Test]
+title TestHuiUtilQuickNormalizeWithPoint
+run testscripter c:\testframework\ui_testuihuiutil.cfg 9
+[Endtest]
+
+[Test]
+title TestHuiUtilQuickNormalize
+run testscripter c:\testframework\ui_testuihuiutil.cfg 10
+[Endtest]
+
+[Test]
+title TestHuiUtilCrossProduct
+run testscripter c:\testframework\ui_testuihuiutil.cfg 11
+[Endtest]
+
+[Test]
+title TestHuiUtilNormalFromPoints
+run testscripter c:\testframework\ui_testuihuiutil.cfg 12
+[Endtest]
+
+[Test]
+title TestHuiUtilShadowMatrix
+run testscripter c:\testframework\ui_testuihuiutil.cfg 13
+[Endtest]
+
+[Test]
+title TestHuiUtilFreeMemory
+run testscripter c:\testframework\ui_testuihuiutil.cfg 14
+[Endtest]
+
+[Test]
+title TestHuiUtilScreenSize
+run testscripter c:\testframework\ui_testuihuiutil.cfg 15
+[Endtest]
+
+[Test]
+title TestHuiUtilLengthUnit
+run testscripter c:\testframework\ui_testuihuiutil.cfg 16
+[Endtest]
+
+[Test]
+title TestHuiUtilColorLightness
+run testscripter c:\testframework\ui_testuihuiutil.cfg 17
+[Endtest]
+
+[Test]
+title TestHuiUtilScaleFbsBitmapL
+run testscripter c:\testframework\ui_testuihuiutil.cfg 18
+[Endtest]
+
+[Test]
+title TestHuiUtilCombineMaskFbsBitmapL
+run testscripter c:\testframework\ui_testuihuiutil.cfg 19
+[Endtest]
+
+[Test]
+title TestHuiUtilCropFbsBitmapL
+run testscripter c:\testframework\ui_testuihuiutil.cfg 20
+[Endtest]
+
+//[Test]
+//title TestHuiUtilScaleImageL
+//run testscripter c:\testframework\ui_testuihuiutil.cfg 21
+//[Endtest]
+
+//[Test]
+//title TestHuiUtilCropImageL
+//run testscripter c:\testframework\ui_testuihuiutil.cfg 22
+//[Endtest]
+
+[Test]
+title TestHuiUtilTagMatches
+run testscripter c:\testframework\ui_testuihuiutil.cfg 23
+[Endtest]
+
+[Test]
+title TestHuiUtilConvertBitmapToDisplayModeLCL
+run testscripter c:\testframework\ui_testuihuiutil.cfg 24
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiviewportlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,19 @@
+[Test]
+title TestHuiViewPortLayoutAddNewL
+run testscripter c:\testframework\ui_testuihuiviewportlayout.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiViewPortLayoutSetVirtualSize
+run testscripter c:\testframework\ui_testuihuiviewportlayout.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiViewPortLayoutSetViewportSize
+run testscripter c:\testframework\ui_testuihuiviewportlayout.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiViewPortLayoutSetViewportPos
+run testscripter c:\testframework\ui_testuihuiviewportlayout.cfg 4
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuivisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,553 @@
+[Test]
+title TestHuiVisualCHuiVisual
+run testscripter c:\testframework\ui_testuihuivisual.cfg 1
+[Endtest]
+
+[Test]
+title TestHuiVisualAddNewL
+run testscripter c:\testframework\ui_testuihuivisual.cfg 2
+[Endtest]
+
+[Test]
+title TestHuiVisualRemoveAndDestroyAllD
+run testscripter c:\testframework\ui_testuihuivisual.cfg 3
+[Endtest]
+
+[Test]
+title TestHuiVisualSetTagL
+run testscripter c:\testframework\ui_testuihuivisual.cfg 4
+[Endtest]
+
+[Test]
+title TestHuiVisualTag
+run testscripter c:\testframework\ui_testuihuivisual.cfg 5
+[Endtest]
+
+[Test]
+title TestHuiVisualIsTagged
+run testscripter c:\testframework\ui_testuihuivisual.cfg 6
+[Endtest]
+
+[Test]
+title TestHuiVisualFindTag
+run testscripter c:\testframework\ui_testuihuivisual.cfg 7
+[Endtest]
+
+[Test]
+title TestHuiVisualSetFlag
+run testscripter c:\testframework\ui_testuihuivisual.cfg 8
+[Endtest]
+
+[Test]
+title TestHuiVisualSetFlags
+run testscripter c:\testframework\ui_testuihuivisual.cfg 9
+[Endtest]
+
+[Test]
+title TestHuiVisualClearFlag
+run testscripter c:\testframework\ui_testuihuivisual.cfg 10
+[Endtest]
+
+[Test]
+title TestHuiVisualClearFlags
+run testscripter c:\testframework\ui_testuihuivisual.cfg 11
+[Endtest]
+
+[Test]
+title TestHuiVisualFlags
+run testscripter c:\testframework\ui_testuihuivisual.cfg 12
+[Endtest]
+
+[Test]
+title TestHuiVisualOwner
+run testscripter c:\testframework\ui_testuihuivisual.cfg 13
+[Endtest]
+
+[Test]
+title TestHuiVisualSetOwner
+run testscripter c:\testframework\ui_testuihuivisual.cfg 14
+[Endtest]
+
+[Test]
+title TestHuiVisualCount
+run testscripter c:\testframework\ui_testuihuivisual.cfg 15
+[Endtest]
+
+[Test]
+title TestHuiVisualVisual
+run testscripter c:\testframework\ui_testuihuivisual.cfg 16
+[Endtest]
+
+[Test]
+title TestHuiVisualLayout
+run testscripter c:\testframework\ui_testuihuivisual.cfg 17
+[Endtest]
+
+[Test]
+title TestHuiVisualEnv
+run testscripter c:\testframework\ui_testuihuivisual.cfg 18
+[Endtest]
+
+[Test]
+title TestHuiVisualSkin
+run testscripter c:\testframework\ui_testuihuivisual.cfg 19
+[Endtest]
+
+[Test]
+title TestHuiVisualDisplay
+run testscripter c:\testframework\ui_testuihuivisual.cfg 20
+[Endtest]
+
+[Test]
+title TestHuiVisualSetOrigin
+run testscripter c:\testframework\ui_testuihuivisual.cfg 21
+[Endtest]
+
+[Test]
+title TestHuiVisualHorizontalOrigin
+run testscripter c:\testframework\ui_testuihuivisual.cfg 22
+[Endtest]
+
+[Test]
+title TestHuiVisualVerticalOrigin
+run testscripter c:\testframework\ui_testuihuivisual.cfg 23
+[Endtest]
+
+[Test]
+title TestHuiVisualAlignByOrigin
+run testscripter c:\testframework\ui_testuihuivisual.cfg 24
+[Endtest]
+
+[Test]
+title TestHuiVisualSetMinTSizeL
+run testscripter c:\testframework\ui_testuihuivisual.cfg 25
+[Endtest]
+
+[Test]
+title TestHuiVisualSetMinHuiSizeL
+run testscripter c:\testframework\ui_testuihuivisual.cfg 26
+[Endtest]
+
+[Test]
+title TestHuiVisualMinSize
+run testscripter c:\testframework\ui_testuihuivisual.cfg 27
+[Endtest]
+
+[Test]
+title TestHuiVisualMinSizeInBaseUnits
+run testscripter c:\testframework\ui_testuihuivisual.cfg 28
+[Endtest]
+
+[Test]
+title TestHuiVisualSetMaxTSize
+run testscripter c:\testframework\ui_testuihuivisual.cfg 29
+[Endtest]
+
+[Test]
+title TestHuiVisualSetMaxHuiSize
+run testscripter c:\testframework\ui_testuihuivisual.cfg 30
+[Endtest]
+
+[Test]
+title TestHuiVisualMaxSize
+run testscripter c:\testframework\ui_testuihuivisual.cfg 31
+[Endtest]
+
+[Test]
+title TestHuiVisualMaxSizeInBaseUnits
+run testscripter c:\testframework\ui_testuihuivisual.cfg 32
+[Endtest]
+
+[Test]
+title TestHuiVisualPosConst
+run testscripter c:\testframework\ui_testuihuivisual.cfg 33
+[Endtest]
+
+[Test]
+title TestHuiVisualConstSize
+run testscripter c:\testframework\ui_testuihuivisual.cfg 34
+[Endtest]
+
+[Test]
+title TestHuiVisualSize
+run testscripter c:\testframework\ui_testuihuivisual.cfg 35
+[Endtest]
+
+[Test]
+title TestHuiVisualSetPos
+run testscripter c:\testframework\ui_testuihuivisual.cfg 36
+[Endtest]
+
+[Test]
+title TestHuiVisualSetSize
+run testscripter c:\testframework\ui_testuihuivisual.cfg 37
+[Endtest]
+
+[Test]
+title TestHuiVisualSetRect
+run testscripter c:\testframework\ui_testuihuivisual.cfg 38
+[Endtest]
+
+[Test]
+title TestHuiVisualTMove
+run testscripter c:\testframework\ui_testuihuivisual.cfg 39
+[Endtest]
+
+[Test]
+title TestHuiVisualHuiMove
+run testscripter c:\testframework\ui_testuihuivisual.cfg 40
+[Endtest]
+
+[Test]
+title TestHuiVisualMimic
+run testscripter c:\testframework\ui_testuihuivisual.cfg 41
+[Endtest]
+
+[Test]
+title TestHuiVisualSetCenteredPosAndTSize
+run testscripter c:\testframework\ui_testuihuivisual.cfg 42
+[Endtest]
+
+[Test]
+title TestHuiVisualSetCenteredPosAndHuiSize
+run testscripter c:\testframework\ui_testuihuivisual.cfg 43
+[Endtest]
+
+[Test]
+title TestHuiVisualUpdateChildrenLayout
+run testscripter c:\testframework\ui_testuihuivisual.cfg 44
+[Endtest]
+
+[Test]
+title TestHuiVisualUpdateSiblingLayout
+run testscripter c:\testframework\ui_testuihuivisual.cfg 45
+[Endtest]
+
+[Test]
+title TestHuiVisualDisplayRect
+run testscripter c:\testframework\ui_testuihuivisual.cfg 46
+[Endtest]
+
+[Test]
+title TestHuiVisualDisplayRectTarget
+run testscripter c:\testframework\ui_testuihuivisual.cfg 47
+[Endtest]
+
+[Test]
+title TestHuiVisualLocalBaseUnit
+run testscripter c:\testframework\ui_testuihuivisual.cfg 48
+[Endtest]
+
+[Test]
+title TestHuiVisualLocalPointInPixels
+run testscripter c:\testframework\ui_testuihuivisual.cfg 49
+[Endtest]
+
+[Test]
+title TestHuiVisualLocalPointInPixelsWithState
+run testscripter c:\testframework\ui_testuihuivisual.cfg 50
+[Endtest]
+
+[Test]
+title TestHuiVisualPixelPointInLocal
+run testscripter c:\testframework\ui_testuihuivisual.cfg 51
+[Endtest]
+
+[Test]
+title TestHuiVisualPixelPointInLocalWithState
+run testscripter c:\testframework\ui_testuihuivisual.cfg 52
+[Endtest]
+
+[Test]
+title TestHuiVisualMetricToPixels
+run testscripter c:\testframework\ui_testuihuivisual.cfg 53
+[Endtest]
+
+[Test]
+title TestHuiVisualMetricToPixelsWithState
+run testscripter c:\testframework\ui_testuihuivisual.cfg 54
+[Endtest]
+
+[Test]
+title TestHuiVisualPixelsToMetric
+run testscripter c:\testframework\ui_testuihuivisual.cfg 55
+[Endtest]
+
+[Test]
+title TestHuiVisualPixelsToMetricWithState
+run testscripter c:\testframework\ui_testuihuivisual.cfg 56
+[Endtest]
+
+[Test]
+title TestHuiVisualMetricReferenceInPixels
+run testscripter c:\testframework\ui_testuihuivisual.cfg 57
+[Endtest]
+
+[Test]
+title TestHuiVisualMetricReferenceInPixelsWithState
+run testscripter c:\testframework\ui_testuihuivisual.cfg 58
+[Endtest]
+
+[Test]
+title TestHuiVisualLocalToDisplayT
+run testscripter c:\testframework\ui_testuihuivisual.cfg 59
+[Endtest]
+
+[Test]
+title TestHuiVisualLocalToDisplayHui
+run testscripter c:\testframework\ui_testuihuivisual.cfg 60
+[Endtest]
+
+[Test]
+title TestHuiVisualDisplayToLocalT
+run testscripter c:\testframework\ui_testuihuivisual.cfg 61
+[Endtest]
+
+[Test]
+title TestHuiVisualDisplayToLocalHui
+run testscripter c:\testframework\ui_testuihuivisual.cfg 62
+[Endtest]
+
+[Test]
+title TestHuiVisualBoxMetricToPixelRect
+run testscripter c:\testframework\ui_testuihuivisual.cfg 63
+[Endtest]
+
+[Test]
+title TestHuiVisualBoxMetricToPixelRectWithState
+run testscripter c:\testframework\ui_testuihuivisual.cfg 64
+[Endtest]
+
+[Test]
+title TestHuiVisualMoveToFront
+run testscripter c:\testframework\ui_testuihuivisual.cfg 65
+[Endtest]
+
+[Test]
+title TestHuiVisualPos
+run testscripter c:\testframework\ui_testuihuivisual.cfg 66
+[Endtest]
+
+[Test]
+title TestHuiVisualEffectiveOpacity
+run testscripter c:\testframework\ui_testuihuivisual.cfg 67
+[Endtest]
+
+[Test]
+title TestHuiVisualSetClipping
+run testscripter c:\testframework\ui_testuihuivisual.cfg 68
+[Endtest]
+
+[Test]
+title TestHuiVisualClipping
+run testscripter c:\testframework\ui_testuihuivisual.cfg 69
+[Endtest]
+
+[Test]
+title TestHuiVisualEnableTransformationL
+run testscripter c:\testframework\ui_testuihuivisual.cfg 70
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiVisualTransformation
+run testscripter c:\testframework\ui_testuihuivisual.cfg 71
+[Endtest]
+*/
+
+[Test]
+title TestHuiVisualSetPadding
+run testscripter c:\testframework\ui_testuihuivisual.cfg 72
+[Endtest]
+
+[Test]
+title TestHuiVisualSetPaddingWithPoint
+run testscripter c:\testframework\ui_testuihuivisual.cfg 73
+[Endtest]
+
+[Test]
+title TestHuiVisualSetPaddingWithHuiBoxMetrix
+run testscripter c:\testframework\ui_testuihuivisual.cfg 74
+[Endtest]
+
+[Test]
+title TestHuiVisualPadding
+run testscripter c:\testframework\ui_testuihuivisual.cfg 75
+[Endtest]
+
+[Test]
+title TestHuiVisualPaddingInPixels
+run testscripter c:\testframework\ui_testuihuivisual.cfg 76
+[Endtest]
+
+[Test]
+title TestHuiVisualPaddingInPixelsWithState
+run testscripter c:\testframework\ui_testuihuivisual.cfg 77
+[Endtest]
+
+[Test]
+title TestHuiVisualPrepareDrawL
+run testscripter c:\testframework\ui_testuihuivisual.cfg 78
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiVisualDraw
+run testscripter c:\testframework\ui_testuihuivisual.cfg 79
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiVisualDrawBrushes
+run testscripter c:\testframework\ui_testuihuivisual.cfg 80
+[Endtest]
+*/
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiVisualDrawSelf
+run testscripter c:\testframework\ui_testuihuivisual.cfg 81
+[Endtest]
+*/
+
+[Test]
+title TestHuiVisualSetChanged
+run testscripter c:\testframework\ui_testuihuivisual.cfg 82
+[Endtest]
+
+[Test]
+title TestHuiVisualChanged
+run testscripter c:\testframework\ui_testuihuivisual.cfg 83
+[Endtest]
+
+[Test]
+title TestHuiVisualReportChanged
+run testscripter c:\testframework\ui_testuihuivisual.cfg 84
+[Endtest]
+
+[Test]
+title TestHuiVisualClearChanged
+run testscripter c:\testframework\ui_testuihuivisual.cfg 85
+[Endtest]
+
+[Test]
+title TestHuiVisualEnableBrushesL
+run testscripter c:\testframework\ui_testuihuivisual.cfg 86
+[Endtest]
+
+[Test]
+title TestHuiVisualBrushes
+run testscripter c:\testframework\ui_testuihuivisual.cfg 87
+[Endtest]
+
+[Test]
+title TestHuiVisualDumpTree
+run testscripter c:\testframework\ui_testuihuivisual.cfg 88
+[Endtest]
+
+[Test]
+title TestHuiVisualGetInstanceName
+run testscripter c:\testframework\ui_testuihuivisual.cfg 89
+[Endtest]
+
+[Test]
+title TestHuiVisualGetClassName
+run testscripter c:\testframework\ui_testuihuivisual.cfg 90
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiVisualEnterLocalProjection
+run testscripter c:\testframework\ui_testuihuivisual.cfg 91
+[Endtest]
+*/
+
+[Test]
+title TestHuiVisualNotifySkinChangedL
+run testscripter c:\testframework\ui_testuihuivisual.cfg 92
+[Endtest]
+
+[Test]
+title TestHuiVisualSetTactileFeedbackL
+run testscripter c:\testframework\ui_testuihuivisual.cfg 93
+[Endtest]
+
+[Test]
+title TestHuiVisualHasTactileFeedback
+run testscripter c:\testframework\ui_testuihuivisual.cfg 94
+[Endtest]
+
+[Test]
+title TestHuiVisualRemoveTactileFeedback
+run testscripter c:\testframework\ui_testuihuivisual.cfg 95
+[Endtest]
+
+[Test]
+title TestHuiVisualEnableDropShadowL
+run testscripter c:\testframework\ui_testuihuivisual.cfg 96
+[Endtest]
+
+[Test]
+title TestHuiVisualDropShadowHandler
+run testscripter c:\testframework\ui_testuihuivisual.cfg 97
+[Endtest]
+
+[Test]
+title TestHuiVisualBrushOpacity
+run testscripter c:\testframework\ui_testuihuivisual.cfg 98
+[Endtest]
+
+[Test]
+title TestHuiVisualBrushRect
+run testscripter c:\testframework\ui_testuihuivisual.cfg 99
+[Endtest]
+
+[Test]
+title TestHuiVisualBrushSkin
+run testscripter c:\testframework\ui_testuihuivisual.cfg 100
+[Endtest]
+
+[Test]
+title TestHuiVisualType
+run testscripter c:\testframework\ui_testuihuivisual.cfg 101
+[Endtest]
+
+[Test]
+title TestHuiVisualSessionId
+run testscripter c:\testframework\ui_testuihuivisual.cfg 102
+[Endtest]
+
+[Test]
+title TestHuiVisualSetSessionId
+run testscripter c:\testframework\ui_testuihuivisual.cfg 103
+[Endtest]
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+[Test]
+title TestHuiVisualTransform
+run testscripter c:\testframework\ui_testuihuivisual.cfg 104
+[Endtest]
+*/
+
+[Test]
+title TestHuiVisualExpandRectWithContent
+run testscripter c:\testframework\ui_testuihuivisual.cfg 105
+[Endtest]
+
+[Test]
+title TestHuiVisualVisualExtension
+run testscripter c:\testframework\ui_testuihuivisual.cfg 106
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_tctestuiaifctkitdropshadow.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,20 @@
+[Test]#1
+title TestTHSetOffsetL
+create testuiaifcoretoolkit test
+test TestTHSetOffsetL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHSetColorL
+create testuiaifcoretoolkit test
+test TestTHSetColorL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHSetColorTAknsItemIDL
+create testuiaifcoretoolkit test
+test TestTHSetColorTAknsItemIDL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkit.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+[Test]#1
+title TestTHFMEnumerateFontsL
+create testuiaifcoretoolkit test
+test TestTHFMEnumerateFontsL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHIIConstructorL
+create testuiaifcoretoolkit test
+test TestTHIIConstructorL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHIISetScalarL
+create testuiaifcoretoolkit test
+test TestTHIISetScalarL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHIIScalarL
+create testuiaifcoretoolkit test
+test TestTHIIScalarL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHIIIntervalL
+create testuiaifcoretoolkit test
+test TestTHIIIntervalL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkitblocks60skin.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,90 @@
+[Test]#1
+title TestH60SkinCHuiS60SkinL
+create testuiaifcoretoolkit test
+test TestH60SkinCHuiS60SkinL
+delete test
+[Endtest]
+
+[Test]#2
+title TestH60SkinConstructLL
+create testuiaifcoretoolkit test
+test TestH60SkinConstructLL
+delete test
+[Endtest]
+
+[Test]#3
+title TestH60SkinLocationL
+create testuiaifcoretoolkit test
+test TestH60SkinLocationL
+delete test
+[Endtest]
+
+[Test]#4
+title TestH60SkinTextureLL
+create testuiaifcoretoolkit test
+test TestH60SkinTextureLL
+delete test
+[Endtest]
+
+[Test]#5
+title TestH60SkinReleaseTextureL
+create testuiaifcoretoolkit test
+test TestH60SkinReleaseTextureL
+delete test
+[Endtest]
+
+[Test]#6
+title TestH60SkinNotifyDisplaySizeChangedLL
+create testuiaifcoretoolkit test
+test TestH60SkinNotifyDisplaySizeChangedLL
+delete test
+[Endtest]
+
+[Test]#7
+title TestH60SkinStyleTextColorL
+create testuiaifcoretoolkit test
+test TestH60SkinStyleTextColorL
+delete test
+[Endtest]
+
+[Test]#8
+title TestH60SkinRestoreTextureContentLL
+create testuiaifcoretoolkit test
+test TestH60SkinRestoreTextureContentLL
+delete test
+[Endtest]
+
+[Test]#9
+title TestH60SkinOrientationL
+create testuiaifcoretoolkit test
+test TestH60SkinOrientationL
+delete test
+[Endtest]
+
+[Test]#10
+title TestH60SkinSetContextL
+create testuiaifcoretoolkit test
+test TestH60SkinSetContextL
+delete test
+[Endtest]
+
+[Test]#11
+title TestH60SkinContextL
+create testuiaifcoretoolkit test
+test TestH60SkinContextL
+delete test
+[Endtest]
+
+[Test]#12
+title TestH60SkinGetTextureL
+create testuiaifcoretoolkit test
+test TestH60SkinGetTextureL
+delete test
+[Endtest]
+
+[Test]#13
+title TestH60SkinSkinExtensionL
+create testuiaifcoretoolkit test
+test TestH60SkinSkinExtensionL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkitblockshuievent.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,84 @@
+[Test]#1
+title TestTHETHuiEventL
+create testuiaifcoretoolkit test
+test TestTHETHuiEventL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHETPointerEventL
+create testuiaifcoretoolkit test
+test TestTHETPointerEventL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHETypeL
+create testuiaifcoretoolkit test
+test TestTHETypeL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHEIsCustomEventL
+create testuiaifcoretoolkit test
+test TestTHEIsCustomEventL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHEIsKeyEventL
+create testuiaifcoretoolkit test
+test TestTHEIsKeyEventL
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHEIsPointerEventL
+create testuiaifcoretoolkit test
+test TestTHEIsPointerEventL
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHEDisplayL
+create testuiaifcoretoolkit test
+test TestTHEDisplayL
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHEPointerDownL
+create testuiaifcoretoolkit test
+test TestTHEPointerDownL
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHEPointerUpL
+create testuiaifcoretoolkit test
+test TestTHEPointerUpL
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHEPointerLongTapL
+create testuiaifcoretoolkit test
+test TestTHEPointerLongTapL
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHESetVisualL
+create testuiaifcoretoolkit test
+test TestTHESetVisualL
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHEVisualL
+create testuiaifcoretoolkit test
+test TestTHEVisualL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkitblocksskin.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,84 @@
+[Test]#1
+title TestHSkinOrientationL
+create testuiaifcoretoolkit test
+test TestHSkinOrientationL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHSkinLocationL
+create testuiaifcoretoolkit test
+test TestHSkinLocationL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHSkinNotifyDisplaySizeChangedL
+create testuiaifcoretoolkit test
+test TestHSkinNotifyDisplaySizeChangedL
+delete test
+[Endtest]
+
+[Test]#4
+title TestHSkinSetContextL
+create testuiaifcoretoolkit test
+test TestHSkinSetContextL
+delete test
+[Endtest]
+
+[Test]#5
+title TestHSkinContextL
+create testuiaifcoretoolkit test
+test TestHSkinContextL
+delete test
+[Endtest]
+
+[Test]#6
+title TestHSkinStyleTextColorL
+create testuiaifcoretoolkit test
+test TestHSkinStyleTextColorL
+delete test
+[Endtest]
+
+[Test]#7
+title TestHSkinTextureL
+create testuiaifcoretoolkit test
+test TestHSkinTextureL
+delete test
+[Endtest]
+
+[Test]#8
+title TestHSkinReleaseTextureL
+create testuiaifcoretoolkit test
+test TestHSkinReleaseTextureL
+delete test
+[Endtest]
+
+[Test]#9
+title TestHSkinGetTextureL
+create testuiaifcoretoolkit test
+test TestHSkinGetTextureL
+delete test
+[Endtest]
+
+[Test]#10
+title TestHSkinTextureContentUploadedL
+create testuiaifcoretoolkit test
+test TestHSkinTextureContentUploadedL
+delete test
+[Endtest]
+
+[Test]#11
+title TestHSkinTextureContentReleasedL
+create testuiaifcoretoolkit test
+test TestHSkinTextureContentReleasedL
+delete test
+[Endtest]
+
+[Test]#12
+title TestHSkinRestoreTextureContentLL
+create testuiaifcoretoolkit test
+test TestHSkinRestoreTextureContentLL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkitdisplay.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,261 @@
+[Test]#1
+title TestTHuiEnvL
+create testuiaifcoretoolkit test
+test TestTHuiEnvL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTDisplayActivateL
+create testuiaifcoretoolkit test
+test TestTDisplayActivateL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTDisplayActiveL
+create testuiaifcoretoolkit test
+test TestTDisplayActiveL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTDisplaySetSizeLL
+create testuiaifcoretoolkit test
+test TestTDisplaySetSizeLL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTDisplaySizeL
+create testuiaifcoretoolkit test
+test TestTDisplaySizeL
+delete test
+[Endtest]
+
+[Test]#6
+title TestTDisplaySetVisibleAreaL
+create testuiaifcoretoolkit test
+test TestTDisplaySetVisibleAreaL
+delete test
+[Endtest]
+
+[Test]#7
+title TestTDisplayVisibleAreaL
+create testuiaifcoretoolkit test
+test TestTDisplayVisibleAreaL
+delete test
+[Endtest]
+
+[Test]#8
+title TestTDisplaySetOrientationL
+create testuiaifcoretoolkit test
+test TestTDisplaySetOrientationL
+delete test
+[Endtest]
+
+[Test]#9
+title TestTDisplayOrientationL
+create testuiaifcoretoolkit test
+test TestTDisplayOrientationL
+delete test
+[Endtest]
+
+[Test]#10
+title TestTDisplaySetUseDepthL
+create testuiaifcoretoolkit test
+test TestTDisplaySetUseDepthL
+delete test
+[Endtest]
+
+[Test]#11
+title TestTDisplaySetClearBackgroundLL
+create testuiaifcoretoolkit test
+test TestTDisplaySetClearBackgroundLL
+delete test
+[Endtest]
+
+[Test]#12
+title TestTDisplaySetBackgroundColorL
+create testuiaifcoretoolkit test
+test TestTDisplaySetBackgroundColorL
+delete test
+[Endtest]
+
+[Test]#13
+title TestTDisplaySetBackgroundItemsL
+create testuiaifcoretoolkit test
+test TestTDisplaySetBackgroundItemsL
+delete test
+[Endtest]
+
+//[Test]#14
+//title TestTDisplayCaptureLCL
+//create testuiaifcoretoolkit test
+//test TestTDisplayCaptureLCL
+//delete test
+//[Endtest]
+
+[Test]#15
+title TestTDisplayTransformationL
+create testuiaifcoretoolkit test
+test TestTDisplayTransformationL
+delete test
+[Endtest]
+
+[Test]#16
+title TestTDisplayRosterL
+create testuiaifcoretoolkit test
+test TestTDisplayRosterL
+delete test
+[Endtest]
+
+[Test]#17
+title TestTDisplayConstRosterL
+create testuiaifcoretoolkit test
+test TestTDisplayConstRosterL
+delete test
+[Endtest]
+
+[Test]#18
+title TestTDisplayShowL
+create testuiaifcoretoolkit test
+test TestTDisplayShowL
+delete test
+[Endtest]
+
+[Test]#19
+title TestTDisplaySetDirtyL
+create testuiaifcoretoolkit test
+test TestTDisplaySetDirtyL
+delete test
+[Endtest]
+
+[Test]#20
+title TestTDisplaySetQualityL
+create testuiaifcoretoolkit test
+test TestTDisplaySetQualityL
+delete test
+[Endtest]
+
+[Test]#21
+title TestTDisplayQualityL
+create testuiaifcoretoolkit test
+test TestTDisplayQualityL
+delete test
+[Endtest]
+
+[Test]#22
+title TestTDisplaySetUsageLL
+create testuiaifcoretoolkit test
+test TestTDisplaySetUsageLL
+delete test
+[Endtest]
+
+[Test]#23
+title TestTDisplayReleaseL
+create testuiaifcoretoolkit test
+test TestTDisplayReleaseL
+delete test
+[Endtest]
+
+[Test]#24
+title TestTDisplayRestoreLL
+create testuiaifcoretoolkit test
+test TestTDisplayRestoreLL
+delete test
+[Endtest]
+
+[Test]#25
+title TestTDisplaySetScreenBufferLockL
+create testuiaifcoretoolkit test
+test TestTDisplaySetScreenBufferLockL
+delete test
+[Endtest]
+
+[Test]#26
+title TestTDisplayIsScreenBufferLockedL
+create testuiaifcoretoolkit test
+test TestTDisplayIsScreenBufferLockedL
+delete test
+[Endtest]
+
+[Test]#27
+title TestTDisplayGetDrawingInterfaceL
+create testuiaifcoretoolkit test
+test TestTDisplayGetDrawingInterfaceL
+delete test
+[Endtest]
+
+[Test]#28
+title TestTDisplayGetGraphicsContextL
+create testuiaifcoretoolkit test
+test TestTDisplayGetGraphicsContextL
+delete test
+[Endtest]
+
+[Test]#29
+title TestTDisplayAddScreenBufferObserverLL
+create testuiaifcoretoolkit test
+test TestTDisplayAddScreenBufferObserverLL
+delete test
+[Endtest]
+
+[Test]#30
+title TestTDisplayRemoveScreenBufferObserverL
+create testuiaifcoretoolkit test
+test TestTDisplayRemoveScreenBufferObserverL
+delete test
+[Endtest]
+
+[Test]#31
+title TestTDisplayScreenBufferObserverL
+create testuiaifcoretoolkit test
+test TestTDisplayScreenBufferObserverL
+delete test
+[Endtest]
+
+[Test]#32
+title TestTDisplayScreenBufferUidL
+create testuiaifcoretoolkit test
+test TestTDisplayScreenBufferUidL
+delete test
+[Endtest]
+
+[Test]#33
+title TestTDisplayDisplayTypeL
+create testuiaifcoretoolkit test
+test TestTDisplayDisplayTypeL
+delete test
+[Endtest]
+
+[Test]#34
+title TestTDisplayShowDirtyRegionsL
+create testuiaifcoretoolkit test
+test TestTDisplayShowDirtyRegionsL
+delete test
+[Endtest]
+
+[Test]#35
+title TestTDisplayGetPreferredTextureFormatsL
+create testuiaifcoretoolkit test
+test TestTDisplayGetPreferredTextureFormatsL
+delete test
+[Endtest]
+
+[Test]#36
+title TestTDisplaySetDrawVisualOutlineL
+create testuiaifcoretoolkit test
+test TestTDisplaySetDrawVisualOutlineL
+delete test
+[Endtest]
+
+[Test]#37
+title TestTDisplaySetVisibleAreaClippingRectL
+create testuiaifcoretoolkit test
+test TestTDisplaySetVisibleAreaClippingRectL
+delete test
+[Endtest]
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkithuienv.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,302 @@
+[Test]#1
+title TestTTHuiCEnvHuiEnvLC
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvHuiEnvLC
+delete test
+[Endtest]
+
+[Test]#2
+title TestTTHuiCEnvRenderer
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvRenderer
+delete test
+[Endtest]
+
+[Test]#3
+title TestTTHuiCEnvNewDisplayL
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvNewDisplayL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTTHuiCEnvNewDisplayLL
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvNewDisplayLL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTTHuiCEnvDisplayCount
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvDisplayCount
+delete test
+[Endtest]
+
+[Test]#6
+title TestTTHuiCEnvRefreshMode
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvRefreshMode
+delete test
+[Endtest]
+
+[Test]#7
+title TestTTHuiCEnvSetMaxFrameRate
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvSetMaxFrameRate
+delete test
+[Endtest]
+
+[Test]#8
+title TestTTHuiCEnvContinueRefresh
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvContinueRefresh
+delete test
+[Endtest]
+
+[Test]#9
+title TestTTHuiCEnvPauseRefresh
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvPauseRefresh
+delete test
+[Endtest]
+
+[Test]#10
+title TestTTHuiCEnvNewControlGroupL
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvNewControlGroupL
+delete test
+[Endtest]
+
+[Test]#11
+title TestTTHuiCEnvLoadControlGroupL
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvLoadControlGroupL
+delete test
+[Endtest]
+
+[Test]#12
+title TestTTHuiCEnvSetRefreshMode
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvSetRefreshMode
+delete test
+[Endtest]
+
+[Test]#13
+title TestTTHuiCEnvControlGroup
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvControlGroup
+delete test
+[Endtest]
+
+[Test]#14
+title TestTTHuiCEnvLoadBitmapsL
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvLoadBitmapsL
+delete test
+[Endtest]
+
+[Test]#15
+title TestTTHuiCVisualFactory
+create testuiaifcoretoolkit test
+test TestTTHuiCVisualFactory
+delete test
+[Endtest]
+
+[Test]#16
+title TestTTHuiCTextureManager
+create testuiaifcoretoolkit test
+test TestTTHuiCTextureManager
+delete test
+[Endtest]
+
+[Test]#17
+title TestTTHuiCFontManager
+create testuiaifcoretoolkit test
+test TestTTHuiCFontManager
+delete test
+[Endtest]
+
+[Test]#18
+title TestTTHuiCTextStyleManager
+create testuiaifcoretoolkit test
+test TestTTHuiCTextStyleManager
+delete test
+[Endtest]
+
+[Test]#19
+title TestTTHuiCFindControl
+create testuiaifcoretoolkit test
+test TestTTHuiCFindControl
+delete test
+[Endtest]
+
+[Test]#20
+title TestTTHuiCSendL
+create testuiaifcoretoolkit test
+test TestTTHuiCSendL
+delete test
+[Endtest]
+
+[Test]#21
+title TestTTHuiCSendLL
+create testuiaifcoretoolkit test
+test TestTTHuiCSendLL
+delete test
+[Endtest]
+
+[Test]#22
+title TestTTHuiCCancelCommandsL
+create testuiaifcoretoolkit test
+test TestTTHuiCCancelCommandsL
+delete test
+[Endtest]
+
+[Test]#23
+title TestTTHuiCCancelCommandsEventHandlerL
+create testuiaifcoretoolkit test
+test TestTTHuiCCancelCommandsEventHandlerL
+delete test
+[Endtest]
+
+[Test]#24
+title TestTTHuiCCancelCommandsTHuiOpL
+create testuiaifcoretoolkit test
+test TestTTHuiCCancelCommandsTHuiOpL
+delete test
+[Endtest]
+
+[Test]#25
+title TestTTHuiCCancelCommandsTIntL
+create testuiaifcoretoolkit test
+test TestTTHuiCCancelCommandsTIntL
+delete test
+[Endtest]
+
+[Test]#26
+title TestTTHuiCTimeUntilCommandL
+create testuiaifcoretoolkit test
+test TestTTHuiCTimeUntilCommandL
+delete test
+[Endtest]
+
+[Test]#27
+title TestTTHuiCSkin
+create testuiaifcoretoolkit test
+test TestTTHuiCSkin
+delete test
+[Endtest]
+
+[Test]#28
+title TestTStartRefresh
+create testuiaifcoretoolkit test
+test TestTStartRefresh
+delete test
+[Endtest]
+
+[Test]#29
+title TestTHandleKeyEventLL
+create testuiaifcoretoolkit test
+test TestTHandleKeyEventLL
+delete test
+[Endtest]
+
+[Test]#30
+title TestTSetIdleThreshold
+create testuiaifcoretoolkit test
+test TestTSetIdleThreshold
+delete test
+[Endtest]
+
+[Test]#31
+title TestTBroadcastEventLL
+create testuiaifcoretoolkit test
+test TestTBroadcastEventLL
+delete test
+[Endtest]
+
+[Test]#32
+title TestTCHuiEnvDisplayL
+create testuiaifcoretoolkit test
+test TestTCHuiEnvDisplayL
+delete test
+[Endtest]
+
+[Test]#33
+title TestTCNotifySkinChangedLL
+create testuiaifcoretoolkit test
+test TestTCNotifySkinChangedLL
+delete test
+[Endtest]
+
+[Test]#34
+title TestTCRefreshCallBack
+create testuiaifcoretoolkit test
+test TestTCRefreshCallBack
+delete test
+[Endtest]
+
+[Test]#35
+title TestTCRelease
+create testuiaifcoretoolkit test
+test TestTCRelease
+delete test
+[Endtest]
+
+[Test]#36
+title TestTCRestoreL
+create testuiaifcoretoolkit test
+test TestTCRestoreL
+delete test
+[Endtest]
+
+[Test]#37
+title TestTCSetMaxCpuTime
+create testuiaifcoretoolkit test
+test TestTCSetMaxCpuTime
+delete test
+[Endtest]
+
+[Test]#38
+title TestTCStatic
+create testuiaifcoretoolkit test
+test TestTCStatic
+delete test
+[Endtest]
+
+[Test]#39
+title TestTCThemeManager
+create testuiaifcoretoolkit test
+test TestTCThemeManager
+delete test
+[Endtest]
+
+[Test]#40
+title TestTCSetFPSCounterThreshold
+create testuiaifcoretoolkit test
+test TestTCSetFPSCounterThreshold
+delete test
+[Endtest]
+
+[Test]#41
+title TestTCChangeRefreshLoopPriority
+create testuiaifcoretoolkit test
+test TestTCChangeRefreshLoopPriority
+delete test
+[Endtest]
+
+[Test]#42
+title TestTPrimaryDisplayL
+create testuiaifcoretoolkit test
+test TestTPrimaryDisplayL
+delete test
+[Endtest]
+
+[Test]#43
+title TestTTHuiCEnvDeleteControlGroup
+create testuiaifcoretoolkit test
+test TestTTHuiCEnvDeleteControlGroup
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkithuitexture.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,281 @@
+[Test]#1
+title TestTHuiTextNewL
+create testuiaifcoretoolkit test
+test TestTHuiTextNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHuiTextNewLC
+create testuiaifcoretoolkit test
+test TestTHuiTextNewLC
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHuiTextImageFileNameL
+create testuiaifcoretoolkit test
+test TestTHuiTextImageFileNameL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHuiTextHasContentL
+create testuiaifcoretoolkit test
+test TestTHuiTextHasContentL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHuiTextHasAlphaL
+create testuiaifcoretoolkit test
+test TestTHuiTextHasAlphaL
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHuiTextMaxTextureSizeL
+create testuiaifcoretoolkit test
+test TestTHuiTextMaxTextureSizeL
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHuiTextClearLL
+create testuiaifcoretoolkit test
+test TestTHuiTextClearLL
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHuiClearWithAlphaLL
+create testuiaifcoretoolkit test
+test TestTHuiClearWithAlphaLL
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHuiSegmentedTextureL
+create testuiaifcoretoolkit test
+test TestTHuiSegmentedTextureL
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHuiSegmentedTextureConstL
+create testuiaifcoretoolkit test
+test TestTHuiSegmentedTextureConstL
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHuiShadowedTextureL
+create testuiaifcoretoolkit test
+test TestTHuiShadowedTextureL
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHuiShadowedTextureConstL
+create testuiaifcoretoolkit test
+test TestTHuiShadowedTextureConstL
+delete test
+[Endtest]
+
+[Test]#13
+title TestTHuiEnableShadowL
+create testuiaifcoretoolkit test
+test TestTHuiEnableShadowL
+delete test
+[Endtest]
+
+[Test]#14
+title TestTHuiIsShadowEnabledL
+create testuiaifcoretoolkit test
+test TestTHuiIsShadowEnabledL
+delete test
+[Endtest]
+
+[Test]#15
+title TestTHuiSetShadowStyleL
+create testuiaifcoretoolkit test
+test TestTHuiSetShadowStyleL
+delete test
+[Endtest]
+
+[Test]#16
+title TestTHuiShadowStyleL
+create testuiaifcoretoolkit test
+test TestTHuiShadowStyleL
+delete test
+[Endtest]
+
+[Test]#17
+title TestTHuiSetSizeL
+create testuiaifcoretoolkit test
+test TestTHuiSetSizeL
+delete test
+[Endtest]
+
+[Test]#18
+title TestTHuiSizeL
+create testuiaifcoretoolkit test
+test TestTHuiSizeL
+delete test
+[Endtest]
+
+[Test]#19
+title TestTHuiSegmentCountL
+create testuiaifcoretoolkit test
+test TestTHuiSegmentCountL
+delete test
+[Endtest]
+
+[Test]#20
+title TestTHuiSegmentNameL
+create testuiaifcoretoolkit test
+test TestTHuiSegmentNameL
+delete test
+[Endtest]
+
+[Test]#21
+title TestTHuiSegmentSizeL
+create testuiaifcoretoolkit test
+test TestTHuiSegmentSizeL
+delete test
+[Endtest]
+
+[Test]#22
+title TestTHuiSegmentTextureSizeL
+create testuiaifcoretoolkit test
+test TestTHuiSegmentTextureSizeL
+delete test
+[Endtest]
+
+[Test]#23
+title TestTHuiSegmentOffsetL
+create testuiaifcoretoolkit test
+test TestTHuiSegmentOffsetL
+delete test
+[Endtest]
+
+[Test]#24
+title TestTHuiTextureChangedL
+create testuiaifcoretoolkit test
+test TestTHuiTextureChangedL
+delete test
+[Endtest]
+
+[Test]#25
+title TestTHuiTextureClearChangedL
+create testuiaifcoretoolkit test
+test TestTHuiTextureClearChangedL
+delete test
+[Endtest]
+
+[Test]#26
+title TestTHuiSetSegmentOffsetL
+create testuiaifcoretoolkit test
+test TestTHuiSetSegmentOffsetL
+delete test
+[Endtest]
+
+[Test]#27
+title TestTHuiSetSegmentCountL
+create testuiaifcoretoolkit test
+test TestTHuiSetSegmentCountL
+delete test
+[Endtest]
+
+[Test]#28
+title TestTHuiSetSegmentNameL
+create testuiaifcoretoolkit test
+test TestTHuiSetSegmentNameL
+delete test
+[Endtest]
+
+[Test]#29
+title TestTHuiSetSegmentSizeL
+create testuiaifcoretoolkit test
+test TestTHuiSetSegmentSizeL
+delete test
+[Endtest]
+
+[Test]#30
+title TestTHuiSetSegmentTextureSizeL
+create testuiaifcoretoolkit test
+test TestTHuiSetSegmentTextureSizeL
+delete test
+[Endtest]
+
+[Test]#31
+title TestTHuiSetSkinContentL
+create testuiaifcoretoolkit test
+test TestTHuiSetSkinContentL
+delete test
+[Endtest]
+
+[Test]#32
+title TestTHuiIsSkinContentL
+create testuiaifcoretoolkit test
+test TestTHuiIsSkinContentL
+delete test
+[Endtest]
+
+[Test]#33
+title TestTHuiTypeL
+create testuiaifcoretoolkit test
+test TestTHuiTypeL
+delete test
+[Endtest]
+
+[Test]#34
+title TestTHuiSessionIdL
+create testuiaifcoretoolkit test
+test TestTHuiSessionIdL
+delete test
+[Endtest]
+
+[Test]#35
+title TestTHuiSetSessionIdL
+create testuiaifcoretoolkit test
+test TestTHuiSetSessionIdL
+delete test
+[Endtest]
+
+[Test]#36
+title TestTHuiSetPriorityL
+create testuiaifcoretoolkit test
+test TestTHuiSetPriorityL
+delete test
+[Endtest]
+
+[Test]#37
+title TestTHuiPriorityL
+create testuiaifcoretoolkit test
+test TestTHuiPriorityL
+delete test
+[Endtest]
+
+[Test]#38
+title TestTHuiEnableAutoSizeCalculationL
+create testuiaifcoretoolkit test
+test TestTHuiEnableAutoSizeCalculationL
+delete test
+[Endtest]
+
+[Test]#39
+title TestTHuiSetAutoSizeParamsL
+create testuiaifcoretoolkit test
+test TestTHuiSetAutoSizeParamsL
+delete test
+[Endtest]
+
+[Test]#40
+title TestTHuiAutoSizeParamsL
+create testuiaifcoretoolkit test
+test TestTHuiAutoSizeParamsL
+delete test
+[Endtest]
+
+
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkitstylemanager.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,27 @@
+[Test]#1
+title TestTHuiTextCHuiEnvL
+create testuiaifcoretoolkit test
+test TestTHuiTextCHuiEnvL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHuiTextTextStyle
+create testuiaifcoretoolkit test
+test TestTHuiTextTextStyle
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHuiTextCopyTextStyleL
+create testuiaifcoretoolkit test
+test TestTHuiTextCopyTextStyleL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHuiTextDeleteTextStyle
+create testuiaifcoretoolkit test
+test TestTHuiTextDeleteTextStyle
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkittextstyle.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,181 @@
+[Test]#1
+title TestTHuiTextTHuiTextStyle
+create testuiaifcoretoolkit test
+test TestTHuiTextTHuiTextStyle
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHuiTextTFont
+create testuiaifcoretoolkit test
+test TestTHuiTextTFont
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHuiTextTFontConst
+create testuiaifcoretoolkit test
+test TestTHuiTextTFontConst
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHuiTextTSetFont
+create testuiaifcoretoolkit test
+test TestTHuiTextTSetFont
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHuiTextTParentId
+create testuiaifcoretoolkit test
+test TestTHuiTextTParentId
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHuiTextTSetParentId
+create testuiaifcoretoolkit test
+test TestTHuiTextTSetParentId
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHuiTextTId
+create testuiaifcoretoolkit test
+test TestTHuiTextTId
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHuiTextTTextColor
+create testuiaifcoretoolkit test
+test TestTHuiTextTTextColor
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHuiTextTSetTextColor
+create testuiaifcoretoolkit test
+test TestTHuiTextTSetTextColor
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHuiTextTBackgroundColor
+create testuiaifcoretoolkit test
+test TestTHuiTextTBackgroundColor
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHuiTextTSetBackgroundColor
+create testuiaifcoretoolkit test
+test TestTHuiTextTSetBackgroundColor
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHuiTextTTextSizeInTwips
+create testuiaifcoretoolkit test
+test TestTHuiTextTTextSizeInTwips
+delete test
+[Endtest]
+
+[Test]#13
+title TestTHuiTextTSetTextSizeInTwips
+create testuiaifcoretoolkit test
+test TestTHuiTextTSetTextSizeInTwips
+delete test
+[Endtest]
+
+[Test]#14
+title TestTHuiTextTextSizeInPixels
+create testuiaifcoretoolkit test
+test TestTHuiTextTextSizeInPixels
+delete test
+[Endtest]
+
+[Test]#15
+title TestTHuiTextTSetTextSizeInPixels
+create testuiaifcoretoolkit test
+test TestTHuiTextTSetTextSizeInPixels
+delete test
+[Endtest]
+
+[Test]#16
+title TestTHuiTextStrokeWeight
+create testuiaifcoretoolkit test
+test TestTHuiTextStrokeWeight
+delete test
+[Endtest]
+
+[Test]#17
+title TestTHuiTextTSetStrokeWeight
+create testuiaifcoretoolkit test
+test TestTHuiTextTSetStrokeWeight
+delete test
+[Endtest]
+
+[Test]#18
+title TestTHuiTextTPosture
+create testuiaifcoretoolkit test
+test TestTHuiTextTPosture
+delete test
+[Endtest]
+
+[Test]#19
+title TestTHuiTextTSetPosture
+create testuiaifcoretoolkit test
+test TestTHuiTextTSetPosture
+delete test
+[Endtest]
+
+[Test]#20
+title TestTHuiTextTUnderline
+create testuiaifcoretoolkit test
+test TestTHuiTextTUnderline
+delete test
+[Endtest]
+
+[Test]#21
+title TestTHuiTextTSetUnderline
+create testuiaifcoretoolkit test
+test TestTHuiTextTSetUnderline
+delete test
+[Endtest]
+
+[Test]#22
+title TestTHuiTextTStrikeThrough
+create testuiaifcoretoolkit test
+test TestTHuiTextTStrikeThrough
+delete test
+[Endtest]
+
+[Test]#23
+title TestTHuiTextTSetStrikeThrough
+create testuiaifcoretoolkit test
+test TestTHuiTextTSetStrikeThrough
+delete test
+[Endtest]
+
+[Test]#24
+title TestTHuiTextTFontStyleId
+create testuiaifcoretoolkit test
+test TestTHuiTextTFontStyleId
+delete test
+[Endtest]
+
+[Test]#25
+title TestTHuiTextGetTypeface
+create testuiaifcoretoolkit test
+test TestTHuiTextGetTypeface
+delete test
+[Endtest]
+
+[Test]#26
+title TestTHuiTextSetTextPaneHeightInPixels
+create testuiaifcoretoolkit test
+test TestTHuiTextSetTextPaneHeightInPixels
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifctkitborderbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+[Test]#1
+title TestH60BordBrushNewLL
+create testuiaifcoretoolkit test
+test TestH60BordBrushNewLL
+delete test
+[Endtest]
+
+[Test]#2
+title TestH60BordBrushNewLCL
+create testuiaifcoretoolkit test
+test TestH60BordBrushNewLCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestH60BordBrushNewLTIntL
+create testuiaifcoretoolkit test
+test TestH60BordBrushNewLTIntL
+delete test
+[Endtest]
+
+[Test]#4
+title TestH60BordBrushNewLCTIntL
+create testuiaifcoretoolkit test
+test TestH60BordBrushNewLCTIntL
+delete test
+[Endtest]
+
+[Test]#5
+title TestH60BordBrushSetWidthL
+create testuiaifcoretoolkit test
+test TestH60BordBrushSetWidthL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifctkitcoectrl.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,42 @@
+[Test]#1
+title TestTTHuiCCNewLL
+create testuiaifcoretoolkit test
+test TestTTHuiCCNewLL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTTHuiCCNewLCL
+create testuiaifcoretoolkit test
+test TestTTHuiCCNewLCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTTHuiCCEnvL
+create testuiaifcoretoolkit test
+test TestTTHuiCCEnvL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTTHuiCCDisplayL
+create testuiaifcoretoolkit test
+test TestTTHuiCCDisplayL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTTHuiCCHandlePointerEventL
+create testuiaifcoretoolkit test
+test TestTTHuiCCHandlePointerEventL
+delete test
+[Endtest]
+
+[Test]#6
+title TestTTHuiCCDisplayCoeCntrlExtensionL
+create testuiaifcoretoolkit test
+test TestTTHuiCCDisplayCoeCntrlExtensionL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifctkitdisplaybgitem.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,64 @@
+[Test]#1
+title TestTTHuiDisplayBackgroundItemL
+create testuiaifcoretoolkit test
+test TestTTHuiDisplayBackgroundItemL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTTHuiDisplayBackgroundItemRectL
+create testuiaifcoretoolkit test
+test TestTTHuiDisplayBackgroundItemRectL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTTHuiDisplayBackgroundItemItemIDL
+create testuiaifcoretoolkit test
+test TestTTHuiDisplayBackgroundItemItemIDL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTTHuiDisplayBackgroundColorL
+create testuiaifcoretoolkit test
+test TestTTHuiDisplayBackgroundColorL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTTHuiDisplayBackgroundTRgbL
+create testuiaifcoretoolkit test
+test TestTTHuiDisplayBackgroundTRgbL
+delete test
+[Endtest]
+
+[Test]#6
+title TestTTHuiTestTSetRectLL
+create testuiaifcoretoolkit test
+test TestTTHuiTestTSetRectLL
+delete test
+[Endtest]
+
+[Test]#7
+title TestTTHuiSetColorL
+create testuiaifcoretoolkit test
+test TestTTHuiSetColorL
+delete test
+[Endtest]
+
+[Test]#8
+title TestTTHuiSetColorItemL
+create testuiaifcoretoolkit test
+test TestTTHuiSetColorItemL
+delete test
+[Endtest]
+
+[Test]#9
+title TestTTHuiSetSkinBackgroundL
+create testuiaifcoretoolkit test
+test TestTTHuiSetSkinBackgroundL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifctkitsegmentedtexture.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,13 @@
+[Test]#1
+title TestHuisegmentedTextureHandleL
+create testuiaifcoretoolkit test
+test TestHuisegmentedTextureHandleL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuisegmentedTextureBindL
+create testuiaifcoretoolkit test
+test TestHuisegmentedTextureBindL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifctkitshadowbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,49 @@
+[Test]#1
+title TestShadowBrushNewLL
+create testuiaifcoretoolkit test
+test TestShadowBrushNewLL
+delete test
+[Endtest]
+
+[Test]#2
+title TestShadowBrushNewLCL
+create testuiaifcoretoolkit test
+test TestShadowBrushNewLCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestShadowBrushNewLTIntL
+create testuiaifcoretoolkit test
+test TestShadowBrushNewLTIntL
+delete test
+[Endtest]
+
+[Test]#4
+title TestShadowBrushNewLTIntLCL
+create testuiaifcoretoolkit test
+test TestShadowBrushNewLTIntLCL
+delete test
+[Endtest]
+
+[Test]#5
+title TestShadowBrushSetDepthL
+create testuiaifcoretoolkit test
+test TestShadowBrushSetDepthL
+delete test
+[Endtest]
+
+[Test]#6
+title TestShadowSetSoftnessL
+create testuiaifcoretoolkit test
+test TestShadowSetSoftnessL
+delete test
+[Endtest]
+
+[Test]#7
+title TestShadowSetColorL
+create testuiaifcoretoolkit test
+test TestShadowSetColorL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuianchorlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,105 @@
+[Test]#1
+title TestCHuiAnLayAddNewL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayAddNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiAnLayDestructL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayDestructL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiAnLayResetL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayResetL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiAnLaySetAnchorL
+create testuiaifcoretoolkit test
+test TestCHuiAnLaySetAnchorL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiAnLaySetRelativeAnchorRectL
+create testuiaifcoretoolkit test
+test TestCHuiAnLaySetRelativeAnchorRectL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiAnLayRemoveAnchorL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayRemoveAnchorL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiAnLayAttachOriginL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayAttachOriginL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiAnLayAttachOriginTopLeftL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayAttachOriginTopLeftL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHuiAnLayAttachOriginNoneL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayAttachOriginNoneL
+delete test
+[Endtest]
+
+[Test]#10
+title TestCHuiAnLayDetachL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayDetachL
+delete test
+[Endtest]
+
+[Test]#11
+title TestCHuiAnLayDetachAnchorL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayDetachAnchorL
+delete test
+[Endtest]
+
+[Test]#12
+title TestCHuiAnLaySetSizeL
+create testuiaifcoretoolkit test
+test TestCHuiAnLaySetSizeL
+delete test
+[Endtest]
+
+[Test]#13
+title TestCHuiAnLayChildSizeL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayChildSizeL
+delete test
+[Endtest]
+
+[Test]#14
+title TestCHuiAnLayChildPosL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayChildPosL
+delete test
+[Endtest]
+
+[Test]#15
+title TestCHuiAnLayChildRectL
+create testuiaifcoretoolkit test
+test TestCHuiAnLayChildRectL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuibordrbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,62 @@
+[Test]#1
+title TestCHuiBdeBrshNewL
+create testuiaifcoretoolkit test
+test TestCHuiBdeBrshNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiBdeBrshNewCL
+create testuiaifcoretoolkit test
+test TestCHuiBdeBrshNewCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiBdeBrshOtherNewL
+create testuiaifcoretoolkit test
+test TestCHuiBdeBrshOtherNewL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiBdeBrshOtherNewCL
+create testuiaifcoretoolkit test
+test TestCHuiBdeBrshOtherNewCL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiBdeBrshSetImageL
+create testuiaifcoretoolkit test
+test TestCHuiBdeBrshSetImageL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiBdeBrshSetColorL
+create testuiaifcoretoolkit test
+test TestCHuiBdeBrshSetColorL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiBdeBrshSetThicknessL
+create testuiaifcoretoolkit test
+test TestCHuiBdeBrshSetThicknessL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiBdeBrshSetEdgeOffsetL
+create testuiaifcoretoolkit test
+test TestCHuiBdeBrshSetEdgeOffsetL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHuiBdeBrshSetImageOffsetL
+create testuiaifcoretoolkit test
+test TestCHuiBdeBrshSetImageOffsetL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuibrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,112 @@
+[Test]#1
+title TestHuiBrushExpandVisualRectL
+create testuiaifcoretoolkit test
+test TestHuiBrushExpandVisualRectL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiBrushSetChangedL
+create testuiaifcoretoolkit test
+test TestHuiBrushSetChangedL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiBrushChangedL
+create testuiaifcoretoolkit test
+test TestHuiBrushChangedL
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiBrushClearChangedL
+create testuiaifcoretoolkit test
+test TestHuiBrushClearChangedL
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiBrushSetClipToVisualL
+create testuiaifcoretoolkit test
+test TestHuiBrushSetClipToVisualL
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiBrushClipToVisualL
+create testuiaifcoretoolkit test
+test TestHuiBrushClipToVisualL
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiBrushSetLayerL
+create testuiaifcoretoolkit test
+test TestHuiBrushSetLayerL
+delete test
+[Endtest]
+
+[Test]#8
+title TestHuiBrushLayerL
+create testuiaifcoretoolkit test
+test TestHuiBrushLayerL
+delete test
+[Endtest]
+
+[Test]#9
+title TestHuiBrushBeginDrawL
+create testuiaifcoretoolkit test
+test TestHuiBrushBeginDrawL
+delete test
+[Endtest]
+
+[Test]#10
+title TestHuiBrushDrawL
+create testuiaifcoretoolkit test
+test TestHuiBrushDrawL
+delete test
+[Endtest]
+
+[Test]#11
+title TestHuiBrushEndDrawL
+create testuiaifcoretoolkit test
+test TestHuiBrushEndDrawL
+delete test
+[Endtest]
+
+[Test]#12
+title TestHuiBrushTypeL
+create testuiaifcoretoolkit test
+test TestHuiBrushTypeL
+delete test
+[Endtest]
+
+[Test]#13
+title TestHuiBrushSessionIdL
+create testuiaifcoretoolkit test
+test TestHuiBrushSessionIdL
+delete test
+[Endtest]
+
+[Test]#14
+title TestHuiBrushSetSessionIdL
+create testuiaifcoretoolkit test
+test TestHuiBrushSetSessionIdL
+delete test
+[Endtest]
+
+[Test]#15
+title TestHuiBrushCHuiBrushL
+create testuiaifcoretoolkit test
+test TestHuiBrushCHuiBrushL
+delete test
+[Endtest]
+
+[Test]#16
+title TestHuiBrushBrushExtensionL
+create testuiaifcoretoolkit test
+test TestHuiBrushBrushExtensionL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuibrusharray.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,76 @@
+[Test]#1
+title TestHuiBrushArrayNewLL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayNewLL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiBrushArrayNewLCL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayNewLCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiBrushArrayResetL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayResetL
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiBrushArrayAppendL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayAppendL
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiBrushArrayInsertL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayInsertL
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiBrushArrayRemoveL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayRemoveL
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiBrushArrayCountL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayCountL
+delete test
+[Endtest]
+
+[Test]#8
+title TestHuiBrushArrayOperatorL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayOperatorL
+delete test
+[Endtest]
+
+[Test]#9
+title TestHuiBrushArrayAtL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayAtL
+delete test
+[Endtest]
+
+[Test]#10
+title TestHuiBrushArrayLayerBrushCountL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayLayerBrushCountL
+delete test
+[Endtest]
+
+[Test]#11
+title TestHuiBrushArrayDrawL
+create testuiaifcoretoolkit test
+test TestHuiBrushArrayDrawL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuicntlgroup.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,97 @@
+[Test]#1
+title TestCHuiCntlGroupAppendL
+create testuiaifcoretoolkit test
+test TestCHuiCntlGroupAppendL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiCntlGroupAppendAndPopL
+create testuiaifcoretoolkit test
+test TestCHuiCntlGroupAppendAndPopL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiCntlGroupRemoveL
+create testuiaifcoretoolkit test
+test TestCHuiCntlGroupRemoveL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiCntlCountL
+create testuiaifcoretoolkit test
+test TestCHuiCntlCountL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiCntlControlL
+create testuiaifcoretoolkit test
+test TestCHuiCntlControlL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiCntlFindControlL
+create testuiaifcoretoolkit test
+test TestCHuiCntlFindControlL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiCntlEnableTsfomatonL
+create testuiaifcoretoolkit test
+test TestCHuiCntlEnableTsfomatonL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiCntlIsTransformedL
+create testuiaifcoretoolkit test
+test TestCHuiCntlIsTransformedL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHuiCntlTransformationL
+create testuiaifcoretoolkit test
+test TestCHuiCntlTransformationL
+delete test
+[Endtest]
+
+[Test]#10
+title TestCHuiCntlAcceptInputL
+create testuiaifcoretoolkit test
+test TestCHuiCntlAcceptInputL
+delete test
+[Endtest]
+
+[Test]#11
+title TestCHuiCntlSetAcceptInputL
+create testuiaifcoretoolkit test
+test TestCHuiCntlSetAcceptInputL
+delete test
+[Endtest]
+
+[Test]#12
+title TestCHuiCntlTypeL
+create testuiaifcoretoolkit test
+test TestCHuiCntlTypeL
+delete test
+[Endtest]
+
+[Test]#13
+title TestCHuiCntlSessionIdL
+create testuiaifcoretoolkit test
+test TestCHuiCntlSessionIdL
+delete test
+[Endtest]
+
+[Test]#14
+title TestCHuiCntlSetSessionIdL
+create testuiaifcoretoolkit test
+test TestCHuiCntlSetSessionIdL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuicommand.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,650 @@
+[Test]#1
+title TestCHuiCommandDestructL
+create testuiaifcoretoolkit test
+test TestCHuiCommandDestructL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiCommandObjectCommandL
+create testuiaifcoretoolkit test
+test TestCHuiCommandObjectCommandL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiCommandSetSenderL
+create testuiaifcoretoolkit test
+test TestCHuiCommandSetSenderL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiCommandTypeL
+create testuiaifcoretoolkit test
+test TestCHuiCommandTypeL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiSenderTypeL
+create testuiaifcoretoolkit test
+test TestCHuiSenderTypeL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiSenderL
+create testuiaifcoretoolkit test
+test TestCHuiSenderL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiSenderVisualL
+create testuiaifcoretoolkit test
+test TestCHuiSenderVisualL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiSenderControlL
+create testuiaifcoretoolkit test
+test TestCHuiSenderControlL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHuiSenderControlGroupL
+create testuiaifcoretoolkit test
+test TestCHuiSenderControlGroupL
+delete test
+[Endtest]
+
+[Test]#10
+title TestCHuiCommandConstructL
+create testuiaifcoretoolkit test
+test TestCHuiCommandConstructL
+delete test
+[Endtest]
+
+[Test]#11
+title TestCHuiCommandExtensionL
+create testuiaifcoretoolkit test
+test TestCHuiCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#12
+title TestCHuiCommandTActionCommandL
+create testuiaifcoretoolkit test
+test TestCHuiCommandTActionCommandL
+delete test
+[Endtest]
+
+[Test]#13
+title TestCHuiCommandExecuteL
+create testuiaifcoretoolkit test
+test TestCHuiCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#14
+title TestCHuiCommandSizeL
+create testuiaifcoretoolkit test
+test TestCHuiCommandSizeL
+delete test
+[Endtest]
+
+[Test]#15
+title TestCHuiCommandIdL
+create testuiaifcoretoolkit test
+test TestCHuiCommandIdL
+delete test
+[Endtest]
+
+[Test]#16
+title TestCHuiActionCommandExtensionL
+create testuiaifcoretoolkit test
+test TestCHuiActionCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#17
+title TestCHuiObjectCommandL
+create testuiaifcoretoolkit test
+test TestCHuiObjectCommandL
+delete test
+[Endtest]
+
+[Test]#18
+title TestCHuiObjectCommandExecuteL
+create testuiaifcoretoolkit test
+test TestCHuiObjectCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#19
+title TestCHuiObjectCommandSizeL
+create testuiaifcoretoolkit test
+test TestCHuiObjectCommandSizeL
+delete test
+[Endtest]
+
+[Test]#20
+title TestCHuiObjectCommandObjectL
+create testuiaifcoretoolkit test
+test TestCHuiObjectCommandObjectL
+delete test
+[Endtest]
+
+[Test]#21
+title TestCHuiObjectCommandOperationL
+create testuiaifcoretoolkit test
+test TestCHuiObjectCommandOperationL
+delete test
+[Endtest]
+
+[Test]#22
+title TestCHuiObjectCommandConstructL
+create testuiaifcoretoolkit test
+test TestCHuiObjectCommandConstructL
+delete test
+[Endtest]
+
+[Test]#23
+title TestCHuiObjectCommandExtensionL
+create testuiaifcoretoolkit test
+test TestCHuiObjectCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#24
+title TestTHuiGroupCommandL
+create testuiaifcoretoolkit test
+test TestTHuiGroupCommandL
+delete test
+[Endtest]
+
+[Test]#25
+title TestTHuiGroupCommandExecuteL
+create testuiaifcoretoolkit test
+test TestTHuiGroupCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#26
+title TestTHuiGroupCommandSizeL
+create testuiaifcoretoolkit test
+test TestTHuiGroupCommandSizeL
+delete test
+[Endtest]
+
+[Test]#27
+title TestTHuiGroupCommandControlGroupL
+create testuiaifcoretoolkit test
+test TestTHuiGroupCommandControlGroupL
+delete test
+[Endtest]
+
+[Test]#28
+title TestTHuiGroupCommandDisplayL
+create testuiaifcoretoolkit test
+test TestTHuiGroupCommandDisplayL
+delete test
+[Endtest]
+
+[Test]#29
+title TestTHuiGroupCommandExtensionL
+create testuiaifcoretoolkit test
+test TestTHuiGroupCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#30
+title TestTHuiControlCommandL
+create testuiaifcoretoolkit test
+test TestTHuiControlCommandL
+delete test
+[Endtest]
+
+[Test]#31
+title TestTHuiControlCommandExecuteL
+create testuiaifcoretoolkit test
+test TestTHuiControlCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#32
+title TestTHuiControlCommandSizeL
+create testuiaifcoretoolkit test
+test TestTHuiControlCommandSizeL
+delete test
+[Endtest]
+
+[Test]#33
+title TestTHuiControlCommandControlL
+create testuiaifcoretoolkit test
+test TestTHuiControlCommandControlL
+delete test
+[Endtest]
+
+[Test]#34
+title TestTHuiControlCommandExtensionL
+create testuiaifcoretoolkit test
+test TestTHuiControlCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#35
+title TestTHuiVisualCommandL
+create testuiaifcoretoolkit test
+test TestTHuiVisualCommandL
+delete test
+[Endtest]
+
+[Test]#36
+title TestTHuiVisualCommandExecuteL
+create testuiaifcoretoolkit test
+test TestTHuiVisualCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#37
+title TestTHuiVisualCommandSizeL
+create testuiaifcoretoolkit test
+test TestTHuiVisualCommandSizeL
+delete test
+[Endtest]
+
+[Test]#38
+title TestTHuiVisualCommandVisualL
+create testuiaifcoretoolkit test
+test TestTHuiVisualCommandVisualL
+delete test
+[Endtest]
+
+[Test]#39
+title TestTHuiVisualCommandFlagsToSetL
+create testuiaifcoretoolkit test
+test TestTHuiVisualCommandFlagsToSetL
+delete test
+[Endtest]
+
+[Test]#40
+title TestTHuiVisualCommandFlagsToClearL
+create testuiaifcoretoolkit test
+test TestTHuiVisualCommandFlagsToClearL
+delete test
+[Endtest]
+
+[Test]#41
+title TestTHuiVisualCommandExtensionL
+create testuiaifcoretoolkit test
+test TestTHuiVisualCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#42
+title TestTHuiImageCommandL
+create testuiaifcoretoolkit test
+test TestTHuiImageCommandL
+delete test
+[Endtest]
+
+[Test]#43
+title TestTHuiImageCommandExecuteL
+create testuiaifcoretoolkit test
+test TestTHuiImageCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#44
+title TestTHuiImageCommandSizeL
+create testuiaifcoretoolkit test
+test TestTHuiImageCommandSizeL
+delete test
+[Endtest]
+
+[Test]#45
+title TestTHuiImageCommandVisualL
+create testuiaifcoretoolkit test
+test TestTHuiImageCommandVisualL
+delete test
+[Endtest]
+
+[Test]#46
+title TestTHuiImageCommandImageL
+create testuiaifcoretoolkit test
+test TestTHuiImageCommandImageL
+delete test
+[Endtest]
+
+[Test]#47
+title TestTHuiImageCommandExtensionL
+create testuiaifcoretoolkit test
+test TestTHuiImageCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#48
+title TestTHuiTextCommandL
+create testuiaifcoretoolkit test
+test TestTHuiTextCommandL
+delete test
+[Endtest]
+
+[Test]#49
+title TestTHuiTextCommandExecuteL
+create testuiaifcoretoolkit test
+test TestTHuiTextCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#50
+title TestTHuiTextCommandSizeL
+create testuiaifcoretoolkit test
+test TestTHuiTextCommandSizeL
+delete test
+[Endtest]
+
+[Test]#51
+title TestTHuiTextCommandTextVisualL
+create testuiaifcoretoolkit test
+test TestTHuiTextCommandTextVisualL
+delete test
+[Endtest]
+
+[Test]#52
+title TestTHuiTextCommandTextL
+create testuiaifcoretoolkit test
+test TestTHuiTextCommandTextL
+delete test
+[Endtest]
+
+[Test]#53
+title TestTHuiTextCommandExtensionL
+create testuiaifcoretoolkit test
+test TestTHuiTextCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#54
+title TestTHuiValueCommandL
+create testuiaifcoretoolkit test
+test TestTHuiValueCommandL
+delete test
+[Endtest]
+
+[Test]#55
+title TestTHuiValueCommandMutiRefL
+create testuiaifcoretoolkit test
+test TestTHuiValueCommandMutiRefL
+delete test
+[Endtest]
+
+[Test]#56
+title TestTHuiValueCommandExecuteL
+create testuiaifcoretoolkit test
+test TestTHuiValueCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#57
+title TestTHuiValueCommandSizeL
+create testuiaifcoretoolkit test
+test TestTHuiValueCommandSizeL
+delete test
+[Endtest]
+
+[Test]#58
+title TestTHuiValueCommandTimedValueL
+create testuiaifcoretoolkit test
+test TestTHuiValueCommandTimedValueL
+delete test
+[Endtest]
+
+[Test]#59
+title TestTHuiValueCommandTargetL
+create testuiaifcoretoolkit test
+test TestTHuiValueCommandTargetL
+delete test
+[Endtest]
+
+[Test]#60
+title TestTHuiValueCommandTransitionTimeL
+create testuiaifcoretoolkit test
+test TestTHuiValueCommandTransitionTimeL
+delete test
+[Endtest]
+
+[Test]#61
+title TestTHuiValueCommandSpeedL
+create testuiaifcoretoolkit test
+test TestTHuiValueCommandSpeedL
+delete test
+[Endtest]
+
+[Test]#62
+title TestTHuiValueCommandExtensionL
+create testuiaifcoretoolkit test
+test TestTHuiValueCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#63
+title TestTHuiPointCommandL
+create testuiaifcoretoolkit test
+test TestTHuiPointCommandL
+delete test
+[Endtest]
+
+[Test]#64
+title TestTHuiPointCommandMutiRefL
+create testuiaifcoretoolkit test
+test TestTHuiPointCommandMutiRefL
+delete test
+[Endtest]
+
+[Test]#65
+title TestTHuiPointCommandMutiRefOtherL
+create testuiaifcoretoolkit test
+test TestTHuiPointCommandMutiRefOtherL
+delete test
+[Endtest]
+
+[Test]#66
+title TestTHuiPointCommandExecuteL
+create testuiaifcoretoolkit test
+test TestTHuiPointCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#67
+title TestTHuiPointCommandSizeL
+create testuiaifcoretoolkit test
+test TestTHuiPointCommandSizeL
+delete test
+[Endtest]
+
+[Test]#68
+title TestTHuiPointCommandTimedPointL
+create testuiaifcoretoolkit test
+test TestTHuiPointCommandTimedPointL
+delete test
+[Endtest]
+
+[Test]#69
+title TestTHuiPointCommandTargetL
+create testuiaifcoretoolkit test
+test TestTHuiPointCommandTargetL
+delete test
+[Endtest]
+
+[Test]#70
+title TestTHuiPointCommandTransitionTimeL
+create testuiaifcoretoolkit test
+test TestTHuiPointCommandTransitionTimeL
+delete test
+[Endtest]
+
+[Test]#71
+title TestTHuiPointCommandSpeedL
+create testuiaifcoretoolkit test
+test TestTHuiPointCommandSpeedL
+delete test
+[Endtest]
+
+[Test]#72
+title TestTHuiPointCommandExtensionL
+create testuiaifcoretoolkit test
+test TestTHuiPointCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#73
+title TestTHuiTransformationCommandL
+create testuiaifcoretoolkit test
+test TestTHuiTransformationCommandL
+delete test
+[Endtest]
+
+[Test]#74
+title TestTHuiTransformationCommandExecuteL
+create testuiaifcoretoolkit test
+test TestTHuiTransformationCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#75
+title TestTHuiTransformationCommandSizeL
+create testuiaifcoretoolkit test
+test TestTHuiTransformationCommandSizeL
+delete test
+[Endtest]
+
+[Test]#76
+title TestTHuiTransformationCommandTransmasnL
+create testuiaifcoretoolkit test
+test TestTHuiTransformationCommandTransmasnL
+delete test
+[Endtest]
+
+[Test]#77
+title TestTHuiTransformationCommandStepL
+create testuiaifcoretoolkit test
+test TestTHuiTransformationCommandStepL
+delete test
+[Endtest]
+
+[Test]#78
+title TestTHuiTransformationCommandSetXL
+create testuiaifcoretoolkit test
+test TestTHuiTransformationCommandSetXL
+delete test
+[Endtest]
+
+[Test]#79
+title TestTHuiTransformationCommandSetYL
+create testuiaifcoretoolkit test
+test TestTHuiTransformationCommandSetYL
+delete test
+[Endtest]
+
+[Test]#80
+title TestTHuiTransformationCommandSetZL
+create testuiaifcoretoolkit test
+test TestTHuiTransformationCommandSetZL
+delete test
+[Endtest]
+
+[Test]#81
+title TestTHuiTransformationCommandSetAngleL
+create testuiaifcoretoolkit test
+test TestTHuiTransformationCommandSetAngleL
+delete test
+[Endtest]
+
+[Test]#82
+title TestTHuiTransformationCommandExtensionL
+create testuiaifcoretoolkit test
+test TestTHuiTransformationCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#83
+title TestTHuiMarkerCommandL
+create testuiaifcoretoolkit test
+test TestTHuiMarkerCommandL
+delete test
+[Endtest]
+
+[Test]#84
+title TestTHuiMarkerCommandExecuteL
+create testuiaifcoretoolkit test
+test TestTHuiMarkerCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#85
+title TestTHuiMarkerCommandSizeL
+create testuiaifcoretoolkit test
+test TestTHuiMarkerCommandSizeL
+delete test
+[Endtest]
+
+[Test]#86
+title TestTHuiMarkerCommandIdL
+create testuiaifcoretoolkit test
+test TestTHuiMarkerCommandIdL
+delete test
+[Endtest]
+
+[Test]#87
+title TestTHuiMarkerCommandExtensionL
+create testuiaifcoretoolkit test
+test TestTHuiMarkerCommandExtensionL
+delete test
+[Endtest]
+
+[Test]#88
+title TestTHuiCustomEventCommandL
+create testuiaifcoretoolkit test
+test TestTHuiCustomEventCommandL
+delete test
+[Endtest]
+
+[Test]#89
+title TestTHuiCustomEventCommandExecuteL
+create testuiaifcoretoolkit test
+test TestTHuiCustomEventCommandExecuteL
+delete test
+[Endtest]
+
+[Test]#90
+title TestTHuiCustomEventCommandSizeL
+create testuiaifcoretoolkit test
+test TestTHuiCustomEventCommandSizeL
+delete test
+[Endtest]
+
+[Test]#91
+title TestTHuiCustomEventCommandRecipientL
+create testuiaifcoretoolkit test
+test TestTHuiCustomEventCommandRecipientL
+delete test
+[Endtest]
+
+[Test]#92
+title TestTHuiCustomEventCommandParamL
+create testuiaifcoretoolkit test
+test TestTHuiCustomEventCommandParamL
+delete test
+[Endtest]
+
+[Test]#93
+title TestTHuiCustomEventCommandExtensionL
+create testuiaifcoretoolkit test
+test TestTHuiCustomEventCommandExtensionL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuicontrol.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,412 @@
+[Test]#1
+title TestCHuiControlL
+create testuiaifcoretoolkit test
+test TestCHuiControlL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiControlDestructL
+create testuiaifcoretoolkit test
+test TestCHuiControlDestructL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiControlSetIdL
+create testuiaifcoretoolkit test
+test TestCHuiControlSetIdL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiControlIdL
+create testuiaifcoretoolkit test
+test TestCHuiControlIdL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiControlEnvL
+create testuiaifcoretoolkit test
+test TestCHuiControlEnvL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiControlControlGroupL
+create testuiaifcoretoolkit test
+test TestCHuiControlControlGroupL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiControlTextureManagerL
+create testuiaifcoretoolkit test
+test TestCHuiControlTextureManagerL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiControlDisplayL
+create testuiaifcoretoolkit test
+test TestCHuiControlDisplayL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHuiControlBindDisplayL
+create testuiaifcoretoolkit test
+test TestCHuiControlBindDisplayL
+delete test
+[Endtest]
+
+[Test]#10
+title TestCHuiControlAppendL
+create testuiaifcoretoolkit test
+test TestCHuiControlAppendL
+delete test
+[Endtest]
+
+[Test]#11
+title TestCHuiControlAppendLayoutL
+create testuiaifcoretoolkit test
+test TestCHuiControlAppendLayoutL
+delete test
+[Endtest]
+
+[Test]#12
+title TestCHuiControlRemoveL
+create testuiaifcoretoolkit test
+test TestCHuiControlRemoveL
+delete test
+[Endtest]
+
+[Test]#13
+title TestCHuiControlAppendVisualL
+create testuiaifcoretoolkit test
+test TestCHuiControlAppendVisualL
+delete test
+[Endtest]
+
+[Test]#14
+title TestCHuiControlAppendTypeLayoutL
+create testuiaifcoretoolkit test
+test TestCHuiControlAppendTypeLayoutL
+delete test
+[Endtest]
+
+[Test]#15
+title TestCHuiControlVisualL
+create testuiaifcoretoolkit test
+test TestCHuiControlVisualL
+delete test
+[Endtest]
+
+[Test]#16
+title TestCHuiControlVisualCountL
+create testuiaifcoretoolkit test
+test TestCHuiControlVisualCountL
+delete test
+[Endtest]
+
+[Test]#17
+title TestCHuiControlFindTagL
+create testuiaifcoretoolkit test
+test TestCHuiControlFindTagL
+delete test
+[Endtest]
+
+[Test]#18
+title TestCHuiControlHostL
+create testuiaifcoretoolkit test
+test TestCHuiControlHostL
+delete test
+[Endtest]
+
+[Test]#19
+title TestCHuiControlAddConnectionL
+create testuiaifcoretoolkit test
+test TestCHuiControlAddConnectionL
+delete test
+[Endtest]
+
+[Test]#20
+title TestCHuiControlRemoveConnectionL
+create testuiaifcoretoolkit test
+test TestCHuiControlRemoveConnectionL
+delete test
+[Endtest]
+
+[Test]#21
+title TestCHuiControlFindConnectionL
+create testuiaifcoretoolkit test
+test TestCHuiControlFindConnectionL
+delete test
+[Endtest]
+
+[Test]#22
+title TestCHuiControlConnectionCountL
+create testuiaifcoretoolkit test
+test TestCHuiControlConnectionCountL
+delete test
+[Endtest]
+
+[Test]#23
+title TestCHuiControlConnectionL
+create testuiaifcoretoolkit test
+test TestCHuiControlConnectionL
+delete test
+[Endtest]
+
+[Test]#24
+title TestCHuiControlConnectionByOrdinalL
+create testuiaifcoretoolkit test
+test TestCHuiControlConnectionByOrdinalL
+delete test
+[Endtest]
+
+[Test]#25
+title TestCHuiControlConnectionRoleL
+create testuiaifcoretoolkit test
+test TestCHuiControlConnectionRoleL
+delete test
+[Endtest]
+
+[Test]#26
+title TestCHuiControlConnectionOrdinalL
+create testuiaifcoretoolkit test
+test TestCHuiControlConnectionOrdinalL
+delete test
+[Endtest]
+
+[Test]#27
+title TestCHuiControlRoleL
+create testuiaifcoretoolkit test
+test TestCHuiControlRoleL
+delete test
+[Endtest]
+
+[Test]#28
+title TestCHuiControlSetRoleL
+create testuiaifcoretoolkit test
+test TestCHuiControlSetRoleL
+delete test
+[Endtest]
+
+[Test]#29
+title TestCHuiControlHostIdL
+create testuiaifcoretoolkit test
+test TestCHuiControlHostIdL
+delete test
+[Endtest]
+
+[Test]#30
+title TestCHuiControlSetHostIdL
+create testuiaifcoretoolkit test
+test TestCHuiControlSetHostIdL
+delete test
+[Endtest]
+
+[Test]#31
+title TestCHuiControlSetHostL
+create testuiaifcoretoolkit test
+test TestCHuiControlSetHostL
+delete test
+[Endtest]
+
+[Test]#32
+title TestCHuiControlContainerLayoutL
+create testuiaifcoretoolkit test
+test TestCHuiControlContainerLayoutL
+delete test
+[Endtest]
+
+[Test]#33
+title TestCHuiControlHostToDisplayL
+create testuiaifcoretoolkit test
+test TestCHuiControlHostToDisplayL
+delete test
+[Endtest]
+
+[Test]#34
+title TestCHuiControlDisplayToHostL
+create testuiaifcoretoolkit test
+test TestCHuiControlDisplayToHostL
+delete test
+[Endtest]
+
+[Test]#35
+title TestCHuiControlBoundsL
+create testuiaifcoretoolkit test
+test TestCHuiControlBoundsL
+delete test
+[Endtest]
+
+[Test]#36
+title TestCHuiControlHitTestL
+create testuiaifcoretoolkit test
+test TestCHuiControlHitTestL
+delete test
+[Endtest]
+
+[Test]#37
+title TestCHuiControlAcquireFocusL
+create testuiaifcoretoolkit test
+test TestCHuiControlAcquireFocusL
+delete test
+[Endtest]
+
+[Test]#38
+title TestCHuiControlFocusL
+create testuiaifcoretoolkit test
+test TestCHuiControlFocusL
+delete test
+[Endtest]
+
+[Test]#39
+title TestCHuiControlIsFocusingL
+create testuiaifcoretoolkit test
+test TestCHuiControlIsFocusingL
+delete test
+[Endtest]
+
+[Test]#40
+title TestCHuiControlFocusChangedL
+create testuiaifcoretoolkit test
+test TestCHuiControlFocusChangedL
+delete test
+[Endtest]
+
+[Test]#41
+title TestCHuiControlAcceptInputL
+create testuiaifcoretoolkit test
+test TestCHuiControlAcceptInputL
+delete test
+[Endtest]
+
+[Test]#42
+title TestCHuiControlOfferEventL
+create testuiaifcoretoolkit test
+test TestCHuiControlOfferEventL
+delete test
+[Endtest]
+
+[Test]#43
+title TestCHuiControlDisplayAreaL
+create testuiaifcoretoolkit test
+test TestCHuiControlDisplayAreaL
+delete test
+[Endtest]
+
+[Test]#44
+title TestCHuiControlDisplayCenterL
+create testuiaifcoretoolkit test
+test TestCHuiControlDisplayCenterL
+delete test
+[Endtest]
+
+[Test]#45
+title TestCHuiControlCancelAllCommandsL
+create testuiaifcoretoolkit test
+test TestCHuiControlCancelAllCommandsL
+delete test
+[Endtest]
+
+[Test]#46
+title TestCHuiControlVisualLayoutUpdatedL
+create testuiaifcoretoolkit test
+test TestCHuiControlVisualLayoutUpdatedL
+delete test
+[Endtest]
+
+[Test]#47
+title TestCHuiControlVisualDestroyedL
+create testuiaifcoretoolkit test
+test TestCHuiControlVisualDestroyedL
+delete test
+[Endtest]
+
+[Test]#48
+title TestCHuiControlEventHandlerL
+create testuiaifcoretoolkit test
+test TestCHuiControlEventHandlerL
+delete test
+[Endtest]
+
+[Test]#49
+title TestCHuiControlNotifyVisibilityL
+create testuiaifcoretoolkit test
+test TestCHuiControlNotifyVisibilityL
+delete test
+[Endtest]
+
+[Test]#50
+title TestCHuiControlVisualAddedL
+create testuiaifcoretoolkit test
+test TestCHuiControlVisualAddedL
+delete test
+[Endtest]
+
+[Test]#51
+title TestCHuiControlVisualRemovedL
+create testuiaifcoretoolkit test
+test TestCHuiControlVisualRemovedL
+delete test
+[Endtest]
+
+[Test]#52
+title TestCHuiControlConnectionAddedL
+create testuiaifcoretoolkit test
+test TestCHuiControlConnectionAddedL
+delete test
+[Endtest]
+
+[Test]#53
+title TestCHuiControlConnectionRemovedL
+create testuiaifcoretoolkit test
+test TestCHuiControlConnectionRemovedL
+delete test
+[Endtest]
+
+[Test]#54
+title TestCHuiControlHostChangingL
+create testuiaifcoretoolkit test
+test TestCHuiControlHostChangingL
+delete test
+[Endtest]
+
+[Test]#55
+title TestCHuiControlBaseConstructL
+create testuiaifcoretoolkit test
+test TestCHuiControlBaseConstructL
+delete test
+[Endtest]
+
+[Test]#56
+title TestCHuiControlControlExtensionL
+create testuiaifcoretoolkit test
+test TestCHuiControlControlExtensionL
+delete test
+[Endtest]
+
+[Test]#57
+title TestCHuiControlTypeL
+create testuiaifcoretoolkit test
+test TestCHuiControlTypeL
+delete test
+[Endtest]
+
+[Test]#58
+title TestCHuiControlSessionIdL
+create testuiaifcoretoolkit test
+test TestCHuiControlSessionIdL
+delete test
+[Endtest]
+
+[Test]#59
+title TestCHuiControlSetSessionIdL
+create testuiaifcoretoolkit test
+test TestCHuiControlSetSessionIdL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuicurpathlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,13 @@
+[Test]#1
+title TestCHuiCurvePathLayAddNewL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathLayAddNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiCurvePathLayCurvePathL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathLayCurvePathL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuicurvepath.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,90 @@
+[Test]#1
+title TestCHuiCurvePathNewL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiCurvePathNewCL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathNewCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiCurvePathDestructL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathDestructL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiCurvePathResetL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathResetL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiCurvePathEnableLoopL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathEnableLoopL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiCurvePathLoopL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathLoopL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiCurvePathSetOriginL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathSetOriginL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiCurvePathAppendLineL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathAppendLineL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHuiCurvePathAppendRealLineL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathAppendRealLineL
+delete test
+[Endtest]
+
+[Test]#10
+title TestCHuiCurvePathAppendArcL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathAppendArcL
+delete test
+[Endtest]
+
+[Test]#11
+title TestCHuiCurvePathAppendHuiArcL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathAppendHuiArcL
+delete test
+[Endtest]
+
+[Test]#12
+title TestCHuiCurvePathLengthL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathLengthL
+delete test
+[Endtest]
+
+[Test]#13
+title TestCHuiCurvePathEvaluateL
+create testuiaifcoretoolkit test
+test TestCHuiCurvePathEvaluateL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuidecklayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,13 @@
+[Test]#1
+title TestCHuiDeckLayoutAddNewL
+create testuiaifcoretoolkit test
+test TestCHuiDeckLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiDeckLayoutDestructL
+create testuiaifcoretoolkit test
+test TestCHuiDeckLayoutDestructL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuifixmath.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,48 @@
+[Test]#1
+title TestHFMFixHypot
+create testuiaifcoretoolkit test
+test TestHFMFixHypot
+delete test
+[Endtest]
+
+[Test]#2
+title TestHFMFixSin
+create testuiaifcoretoolkit test
+test TestHFMFixSin
+delete test
+[Endtest]
+
+[Test]#3
+title TestHFMFixCos
+create testuiaifcoretoolkit test
+test TestHFMFixCos
+delete test
+[Endtest]
+
+[Test]#4
+title TestHFMFixMul
+create testuiaifcoretoolkit test
+test TestHFMFixMul
+delete test
+[Endtest]
+
+[Test]#5
+title TestHFMFixDiv
+create testuiaifcoretoolkit test
+test TestHFMFixDiv
+delete test
+[Endtest]
+
+[Test]#6
+title TestHFMFloatToFix
+create testuiaifcoretoolkit test
+test TestHFMFloatToFix
+delete test
+[Endtest]
+
+[Test]#7
+title TestHFMFixToFloat
+create testuiaifcoretoolkit test
+test TestHFMFixToFloat
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiflowlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,58 @@
+[Test]#1
+title TestHuiFlowLayoutAddNewL
+create testuiaifcoretoolkit test
+test TestHuiFlowLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiFlowLayoutDelete
+create testuiaifcoretoolkit test
+test TestHuiFlowLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiFlowLayoutSetSize
+create testuiaifcoretoolkit test
+test TestHuiFlowLayoutAddNewL
+test TestHuiFlowLayoutSetSize
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiFlowLayoutSetFlowDirection
+create testuiaifcoretoolkit test
+test TestHuiFlowLayoutAddNewL
+test TestHuiFlowLayoutSetFlowDirection
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiFlowLayoutSetCentering
+create testuiaifcoretoolkit test
+test TestHuiFlowLayoutAddNewL
+test TestHuiFlowLayoutSetCentering
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiFlowLayoutSetMode
+create testuiaifcoretoolkit test
+test TestHuiFlowLayoutAddNewL
+test TestHuiFlowLayoutSetMode
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiFlowLayoutMode
+create testuiaifcoretoolkit test
+test TestHuiFlowLayoutAddNewL
+test TestHuiFlowLayoutMode
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuifont.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,48 @@
+[Test]#1
+title TestTHFConstructorL
+create testuiaifcoretoolkit test
+test TestTHFConstructorL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHFConstructorWithParaL
+create testuiaifcoretoolkit test
+test TestTHFConstructorWithParaL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHFConstructorWithFontL
+create testuiaifcoretoolkit test
+test TestTHFConstructorWithFontL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHFoperatorEqualL
+create testuiaifcoretoolkit test
+test TestTHFoperatorEqualL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHFIdL
+create testuiaifcoretoolkit test
+test TestTHFIdL
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHFCategoryL
+create testuiaifcoretoolkit test
+test TestTHFCategoryL
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHFFontSpecL
+create testuiaifcoretoolkit test
+test TestTHFFontSpecL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiframebrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+[Test]#1
+title TestHuiFrameBrushNewLL
+create testuiaifcoretoolkit test
+test TestHuiFrameBrushNewLL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiFrameBrushNewLCL
+create testuiaifcoretoolkit test
+test TestHuiFrameBrushNewLCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiFrameBrushSetFrameRectsLL
+create testuiaifcoretoolkit test
+test TestHuiFrameBrushSetFrameRectsLL
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiFrameBrushSetEdgeOffsetL
+create testuiaifcoretoolkit test
+test TestHuiFrameBrushSetEdgeOffsetL
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiFrameBrushSetImageL
+create testuiaifcoretoolkit test
+test TestHuiFrameBrushSetImageL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuigc.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,70 @@
+[Test]#1
+title TestHuiGcTHuiPathPoint
+create testuiaifcoretoolkit test
+test TestHuiGcTHuiPathPoint
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiGcDrawImageL
+create testuiaifcoretoolkit test
+test TestHuiGcDrawImageL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiGcDrawImagesL
+create testuiaifcoretoolkit test
+test TestHuiGcDrawImagesL
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiGcFontL
+create testuiaifcoretoolkit test
+test TestHuiGcFontL
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiGcNearClipDistanceL
+create testuiaifcoretoolkit test
+test TestHuiGcNearClipDistanceL
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiGcFarClipDistanceL
+create testuiaifcoretoolkit test
+test TestHuiGcFarClipDistanceL
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiGcFovFactorL
+create testuiaifcoretoolkit test
+test TestHuiGcFovFactorL
+delete test
+[Endtest]
+
+[Test]#8
+title TestHuiGcOffset2DL
+create testuiaifcoretoolkit test
+test TestHuiGcOffset2DL
+delete test
+[Endtest]
+
+[Test]#9
+title TestHuiGcSetWindowTransformationL
+create testuiaifcoretoolkit test
+test TestHuiGcSetWindowTransformationL
+delete test
+[Endtest]
+
+[Test]#10
+title TestHuiGcLocaleTextAlignmentL
+create testuiaifcoretoolkit test
+test TestHuiGcLocaleTextAlignmentL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuigifanimationtexture.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+[Test]#1
+title TestHuiGifAnimationTextureNewLL
+create testuiaifcoretoolkit test
+test TestHuiGifAnimationTextureNewLL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiGifAnimationTextureIdL
+create testuiaifcoretoolkit test
+test TestHuiGifAnimationTextureIdL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiGifAnimationTextureStartL
+create testuiaifcoretoolkit test
+test TestHuiGifAnimationTextureStartL
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiGifAnimationTextureStopL
+create testuiaifcoretoolkit test
+test TestHuiGifAnimationTextureStopL
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiGifAnimationTextureEnableAnimationL
+create testuiaifcoretoolkit test
+test TestHuiGifAnimationTextureEnableAnimationL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuigradientbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,62 @@
+[Test]#1
+title TestHuiGradientBrushNewLL
+create testuiaifcoretoolkit test
+test TestHuiGradientBrushNewLL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiGradientBrushNewLCL
+create testuiaifcoretoolkit test
+test TestHuiGradientBrushNewLCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiGradientBrushSetDirectionL
+create testuiaifcoretoolkit test
+test TestHuiGradientBrushSetDirectionL
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiGradientBrushSetColorL
+create testuiaifcoretoolkit test
+test TestHuiGradientBrushSetColorL
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiGradientBrushSetImageL
+create testuiaifcoretoolkit test
+test TestHuiGradientBrushSetImageL
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiGradientBrushColorL
+create testuiaifcoretoolkit test
+test TestHuiGradientBrushColorL
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiGradientBrushOpacityL
+create testuiaifcoretoolkit test
+test TestHuiGradientBrushOpacityL
+delete test
+[Endtest]
+
+[Test]#8
+title TestHuiGradientBrushImageL
+create testuiaifcoretoolkit test
+test TestHuiGradientBrushImageL
+delete test
+[Endtest]
+
+[Test]#9
+title TestHuiGradientBrushAppendColorLL
+create testuiaifcoretoolkit test
+test TestHuiGradientBrushAppendColorLL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuigridlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,480 @@
+[Test]#1
+title TestHuiGridLayoutAddNewL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiGridLayoutConstructor
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiGridLayoutConstructL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiGridLayoutDelete
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiGridLayoutSetSize
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutSetSize
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiGridLayoutChildOrdinalL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutChildOrdinalL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiGridLayoutChildPos
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutChildPos
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#8
+title TestHuiGridLayoutChildSize
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutChildSize
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#9
+title TestHuiGridLayoutChildRect
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutChildRect
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#10
+title TestHuiGridLayoutBaseUnit
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutBaseUnit
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#11
+title TestHuiGridLayoutRemoveAndDestroyAllD
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutRemoveAndDestroyAllD
+delete test
+[Endtest]
+
+[Test]#12
+title TestHuiGridLayoutFindTagL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutFindTagL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#13
+title TestHuiGridLayoutCount
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutCount
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#14
+title TestHuiGridLayoutVisualL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutVisualL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#15
+title TestHuiGridLayoutSetPos
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutSetPos
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#16
+title TestHuiGridLayoutUpdateChildrenLayout
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutUpdateChildrenLayout
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#17
+title TestHuiGridLayoutPrepareDrawL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutPrepareDrawL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#18
+title TestHuiGridLayoutDraw
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutDraw
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#19
+title TestHuiGridLayoutDrawSelf
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutDrawSelf
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#20
+title TestHuiGridLayoutChanged
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutChanged
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#21
+title TestHuiGridLayoutReportChanged
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutReportChanged
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#22
+title TestHuiGridLayoutClearChanged
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutClearChanged
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#23
+title TestHuiGridLayoutNotifySkinChangedL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutNotifySkinChangedL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#24
+title TestHuiGridLayoutExpandRectWithContent
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutExpandRectWithContent
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#25
+title TestHuiGridLayoutVisualExtension
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutVisualExtension
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#26
+title TestHuiGridLayoutSetColumnsL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutSetColumnsL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#27
+title TestHuiGridLayoutSetRowsL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutSetRowsL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#28
+title TestHuiGridLayoutSetColumnsLWithArray
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutSetColumnsLWithArray
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#29
+title TestHuiGridLayoutSetRowsLWithArray
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutSetRowsLWithArray
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#30
+title TestHuiGridLayoutFillWeightsL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutFillWeightsL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#31
+title TestHuiGridLayoutAppendWeightL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutAppendWeightL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#32
+title TestHuiGridLayoutInsertWeightL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutInsertWeightL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#33
+title TestHuiGridLayoutReplaceWeightL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutReplaceWeightL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#34
+title TestHuiGridLayoutRemoveWeightL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutRemoveWeightL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#35
+title TestHuiGridLayoutWeight
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutWeight
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#36
+title TestHuiGridLayoutDimensionCount
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutDimensionCount
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#37
+title TestHuiGridLayoutSetExpanding
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutSetExpanding
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#38
+title TestHuiGridLayoutRowCount
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutRowCount
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#39
+title TestHuiGridLayoutColumnCount
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutColumnCount
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#40
+title TestHuiGridLayoutOrdinalToBlock
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutOrdinalToBlock
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#41
+title TestHuiGridLayoutSetLayoutModeFlags
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutSetLayoutModeFlags
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#42
+title TestHuiGridLayoutClearLayoutModeFlags
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutClearLayoutModeFlags
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#43
+title TestHuiGridLayoutLayoutModeFlags
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutLayoutModeFlags
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#44
+title TestHuiGridLayoutGetClassName
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutGetClassName
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#45
+title TestHuiGridLayoutDumpTree
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutDumpTree
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#46
+title TestHuiGridLayoutGetInstanceNameL
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutGetInstanceNameL
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#47
+title TestHuiGridLayoutType
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutType
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#48
+title TestHuiGridLayoutSessionId
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutSessionId
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
+
+[Test]#49
+title TestHuiGridLayoutSetSessionId
+create testuiaifcoretoolkit test
+test TestHuiGridLayoutConstructor
+test TestHuiGridLayoutConstructL
+test TestHuiGridLayoutSetSessionId
+test TestHuiGridLayoutDelete
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiimage.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,111 @@
+[Test]#1
+title TestTHIConstructor
+create testuiaifcoretoolkit test
+test TestTHIConstructor
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHIConstructorWithParaL
+create testuiaifcoretoolkit test
+test TestTHIConstructorWithParaL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHISegmentCountL
+create testuiaifcoretoolkit test
+test TestTHISegmentCountL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHIGetVertexCoordsL
+create testuiaifcoretoolkit test
+test TestTHIGetVertexCoordsL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHIGetTexCoordsL
+create testuiaifcoretoolkit test
+test TestTHIGetTexCoordsL
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHISetTexCoords
+create testuiaifcoretoolkit test
+test TestTHISetTexCoords
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHITopLeft
+create testuiaifcoretoolkit test
+test TestTHITopLeft
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHIBottomRight
+create testuiaifcoretoolkit test
+test TestTHIBottomRight
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHIHasTexture
+create testuiaifcoretoolkit test
+test TestTHIHasTexture
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHISetTextureL
+create testuiaifcoretoolkit test
+test TestTHISetTextureL
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHITextureL
+create testuiaifcoretoolkit test
+test TestTHITextureL
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHITextureIfL
+create testuiaifcoretoolkit test
+test TestTHITextureIfL
+delete test
+[Endtest]
+
+[Test]#13
+title TestTHIHasShadow
+create testuiaifcoretoolkit test
+test TestTHIHasShadow
+delete test
+[Endtest]
+
+[Test]#14
+title TestTHIShadowTexture
+create testuiaifcoretoolkit test
+test TestTHIShadowTexture
+delete test
+[Endtest]
+
+[Test]#15
+title TestTHITranslate
+create testuiaifcoretoolkit test
+test TestTHITranslate
+delete test
+[Endtest]
+
+[Test]#16
+title TestTHIScale
+create testuiaifcoretoolkit test
+test TestTHIScale
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiimagebrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,62 @@
+[Test]#1
+title TestCHIBNewL
+create testuiaifcoretoolkit test
+test TestCHIBNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHIBNewLCL
+create testuiaifcoretoolkit test
+test TestCHIBNewLCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHIBSetScaleModeL
+create testuiaifcoretoolkit test
+test TestCHIBSetScaleModeL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHIBSetImageL
+create testuiaifcoretoolkit test
+test TestCHIBSetImageL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHIBSetBordersL
+create testuiaifcoretoolkit test
+test TestCHIBSetBordersL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHIBBorderDrawingEnabledL
+create testuiaifcoretoolkit test
+test TestCHIBBorderDrawingEnabledL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHIBCenterDrawingEnabledL
+create testuiaifcoretoolkit test
+test TestCHIBCenterDrawingEnabledL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHIBExpandVisualRectL
+create testuiaifcoretoolkit test
+test TestCHIBExpandVisualRectL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHIBDrawL
+create testuiaifcoretoolkit test
+test TestCHIBDrawL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiimageloaderutils.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,60 @@
+[Test]#1
+title TestHuiImageLoaderUtilConstructorL
+create testuiaifcoretoolkit test
+test TestHuiImageLoaderUtilConstructorL
+test TestHuiImageLoaderUtilDelete
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiImageLoaderUtilDelete
+create testuiaifcoretoolkit test
+test TestHuiImageLoaderUtilConstructorL
+test TestHuiImageLoaderUtilDelete
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiImageLoaderUtilCreateImageLoaderL
+create testuiaifcoretoolkit test
+test TestHuiImageLoaderUtilConstructorL
+test TestHuiImageLoaderUtilCreateImageLoaderL
+test TestHuiImageLoaderUtilDelete
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiImageLoaderUtilCreateImageLoaderLWithAppUidL
+create testuiaifcoretoolkit test
+test TestHuiImageLoaderUtilConstructorL
+test TestHuiImageLoaderUtilCreateImageLoaderLWithAppUidL
+test TestHuiImageLoaderUtilDelete
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiImageLoaderUtilSetSize
+create testuiaifcoretoolkit test
+test TestHuiImageLoaderUtilConstructorL
+test TestHuiImageLoaderUtilSetSize
+test TestHuiImageLoaderUtilDelete
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiImageLoaderUtilSetSkinInstance
+create testuiaifcoretoolkit test
+test TestHuiImageLoaderUtilConstructorL
+test TestHuiImageLoaderUtilSetSkinInstance
+test TestHuiImageLoaderUtilDelete
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiImageLoaderUtilImageLoaderExtension
+create testuiaifcoretoolkit test
+test TestHuiImageLoaderUtilConstructorL
+test TestHuiImageLoaderUtilImageLoaderExtension
+test TestHuiImageLoaderUtilDelete
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiimagevisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,89 @@
+[Test]#1
+title TestHuiImageVisualAddNewL
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+[Endtest]
+
+[Test]#2
+title TestHuiImageVisualSetScaleMode
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSetScaleMode
+[Endtest]
+
+[Test]#3
+title TestHuiImageVisualSetImage
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSetImage
+[Endtest]
+
+[Test]#4
+title TestHuiImageVisualSetSecondaryImage
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSetSecondaryImage
+[Endtest]
+
+[Test]#5
+title TestHuiImageVisualImage
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualImage
+[Endtest]
+
+[Test]#6
+title TestHuiImageVisualSecondaryImage
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSecondaryImage
+[Endtest]
+
+[Test]#7
+title TestHuiImageVisualSetColor
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSetColor
+[Endtest]
+
+[Test]#8
+title TestHuiImageVisualSetColorMode
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSetColorMode
+[Endtest]
+
+[Test]#9
+title TestHuiImageVisualSetStretch
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSetStretch
+[Endtest]
+
+[Test]#10
+title TestHuiImageVisualSetStretchMode
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSetStretchMode
+[Endtest]
+
+[Test]#11
+title TestHuiImageVisualSetDropShadow
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSetDropShadow
+[Endtest]
+
+[Test]#12
+title TestHuiImageVisualSetDropShadowWithHuiMetric
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSetDropShadowWithHuiMetric
+[Endtest]
+
+[Test]#13
+title TestHuiImageVisualSetDropShadowWithHuiXYMetric
+create testuiaifcoretoolkit test
+test TestHuiImageVisualAddNewL
+test TestHuiImageVisualSetDropShadowWithHuiXYMetric
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuilayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,440 @@
+[Test]#1
+title TestCHuiLayoutAddNewL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiLayoutConstructorL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutConstructorL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiLayoutDestructorL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutDestructorL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiLayoutConstructL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutConstructL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiLayoutRemoveAndDestroyAllDL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutRemoveAndDestroyAllDL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiLayoutFindTagL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutFindTagL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiLayoutAppendL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutAppendL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiLayoutInsertL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutInsertL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHuiLayoutRemoveL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutRemoveL
+delete test
+[Endtest]
+
+[Test]#10
+title TestCHuiLayoutCountL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutCountL
+delete test
+[Endtest]
+
+[Test]#11
+title TestCHuiLayoutVisualL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutVisualL
+delete test
+[Endtest]
+
+[Test]#12
+title TestCHuiLayoutFindVisualL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutFindVisualL
+delete test
+[Endtest]
+
+[Test]#13
+title TestCHuiLayoutSetPosL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutSetPosL
+delete test
+[Endtest]
+
+[Test]#14
+title TestCHuiLayoutSetSizeL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutSetSizeL
+delete test
+[Endtest]
+
+[Test]#15
+title TestCHuiLayoutUpdateChildrenLayoutL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutUpdateChildrenLayoutL
+delete test
+[Endtest]
+
+[Test]#16
+title TestCHuiLayoutUpdateChildLayoutL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutUpdateChildLayoutL
+delete test
+[Endtest]
+
+[Test]#17
+title TestCHuiLayoutSetInnerPaddingL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutSetInnerPaddingL
+delete test
+[Endtest]
+
+[Test]#18
+title TestCHuiLayoutSetInnerPaddingWithMetricL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutSetInnerPaddingWithMetricL
+delete test
+[Endtest]
+
+[Test]#19
+title TestCHuiLayoutInnerPaddingL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutInnerPaddingL
+delete test
+[Endtest]
+
+[Test]#20
+title TestCHuiLayoutHorizontalInnerPaddingL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutHorizontalInnerPaddingL
+delete test
+[Endtest]
+
+[Test]#21
+title TestCHuiLayoutVerticalInnerPaddingL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutVerticalInnerPaddingL
+delete test
+[Endtest]
+
+[Test]#22
+title TestCHuiLayoutInnerPaddingInBaseUnitsL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutInnerPaddingInBaseUnitsL
+delete test
+[Endtest]
+
+[Test]#23
+title TestCHuiLayoutEnableScrollingL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutEnableScrollingL
+delete test
+[Endtest]
+
+[Test]#24
+title TestCHuiLayoutScrollingL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutScrollingL
+delete test
+[Endtest]
+
+[Test]#25
+title TestCHuiLayoutScrollOffsetL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutScrollOffsetL
+delete test
+[Endtest]
+
+[Test]#26
+title TestCHuiLayoutScrollOffsetWithconstL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutScrollOffsetWithconstL
+delete test
+[Endtest]
+
+[Test]#27
+title TestCHuiLayoutSetScrollOffsetInBaseUnitsL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutSetScrollOffsetInBaseUnitsL
+delete test
+[Endtest]
+
+[Test]#28
+title TestCHuiLayoutVirtualSizeL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutVirtualSizeL
+delete test
+[Endtest]
+
+[Test]#29
+title TestCHuiLayoutEffectiveLayoutOrdinalL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutEffectiveLayoutOrdinalL
+delete test
+[Endtest]
+
+[Test]#30
+title TestCHuiLayoutReorderL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutReorderL
+delete test
+[Endtest]
+
+[Test]#31
+title TestCHuiLayoutMoveVisualToFrontL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutMoveVisualToFrontL
+delete test
+[Endtest]
+
+[Test]#32
+title TestCHuiLayoutMoveVisualToBackL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutMoveVisualToBackL
+delete test
+[Endtest]
+
+[Test]#33
+title TestCHuiLayoutNotifySkinChangedL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutNotifySkinChangedL
+delete test
+[Endtest]
+
+[Test]#34
+title TestCHuiLayoutSetTransitionTimeL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutSetTransitionTimeL
+delete test
+[Endtest]
+
+[Test]#35
+title TestCHuiLayoutTransitionTimeL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutTransitionTimeL
+delete test
+[Endtest]
+
+[Test]#36
+title TestCHuiLayoutChildOrdinalL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutChildOrdinalL
+delete test
+[Endtest]
+
+[Test]#37
+title TestCHuiLayoutPrepareDrawL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutPrepareDrawL
+delete test
+[Endtest]
+
+[Test]#38
+title TestCHuiLayoutDrawL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutDrawL
+delete test
+[Endtest]
+
+[Test]#39
+title TestCHuiLayoutReportChangedL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutReportChangedL
+delete test
+[Endtest]
+
+[Test]#40
+title TestCHuiLayoutClearChangedL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutClearChangedL
+delete test
+[Endtest]
+
+[Test]#41
+title TestCHuiLayoutChangedL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutChangedL
+delete test
+[Endtest]
+
+[Test]#42
+title TestCHuiLayoutDumpTreeL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutDumpTreeL
+delete test
+[Endtest]
+
+[Test]#43
+title TestCHuiLayoutSetBaseUnitL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutSetBaseUnitL
+delete test
+[Endtest]
+
+[Test]#44
+title TestCHuiLayoutSetBaseUnitXYL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutSetBaseUnitXYL
+delete test
+[Endtest]
+
+[Test]#45
+title TestCHuiLayoutBaseUnitL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutBaseUnitL
+delete test
+[Endtest]
+
+[Test]#46
+title TestCHuiLayoutInnerSizeL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutInnerSizeL
+delete test
+[Endtest]
+
+[Test]#47
+title TestCHuiLayoutInnerTopLeftL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutInnerTopLeftL
+delete test
+[Endtest]
+
+[Test]#48
+title TestCHuiLayoutChildSizeL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutChildSizeL
+delete test
+[Endtest]
+
+[Test]#49
+title TestCHuiLayoutChildPosL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutChildPosL
+delete test
+[Endtest]
+
+[Test]#50
+title TestCHuiLayoutChildRectL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutChildRectL
+delete test
+[Endtest]
+
+[Test]#51
+title TestCHuiLayoutBrushOpacityL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutBrushOpacityL
+delete test
+[Endtest]
+
+[Test]#52
+title TestCHuiLayoutBrushRectL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutBrushRectL
+delete test
+[Endtest]
+
+[Test]#53
+title TestCHuiLayoutBrushSkinL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutBrushSkinL
+delete test
+[Endtest]
+
+[Test]#54
+title TestCHuiLayoutGetInstanceNameL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutGetInstanceNameL
+delete test
+[Endtest]
+
+[Test]#55
+title TestCHuiLayoutGetClassNameL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutGetClassNameL
+delete test
+[Endtest]
+
+[Test]#56
+title TestCHuiLayoutTypeL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutTypeL
+delete test
+[Endtest]
+
+[Test]#57
+title TestCHuiLayoutSessionIdL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutSessionIdL
+delete test
+[Endtest]
+
+[Test]#58
+title TestCHuiLayoutSetSessionIdL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutSetSessionIdL
+delete test
+[Endtest]
+
+[Test]#59
+title TestCHuiLayoutDrawSelfL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutDrawSelfL
+delete test
+[Endtest]
+
+[Test]#60
+title TestHLMetricReferenceForLayoutInPixelsWithLayoutL
+create testuiaifcoretoolkit test
+test TestHLMetricReferenceForLayoutInPixelsWithLayoutL
+delete test
+[Endtest]
+
+[Test]#61
+title TestHLMetricReferenceForLayoutInPixelsL
+create testuiaifcoretoolkit test
+test TestHLMetricReferenceForLayoutInPixelsL
+delete test
+[Endtest]
+
+[Test]#62
+title TestCHuiLayoutExpandRectWithContentL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutExpandRectWithContentL
+delete test
+[Endtest]
+
+[Test]#63
+title TestCHuiLayoutVisualExtensionL
+create testuiaifcoretoolkit test
+test TestCHuiLayoutVisualExtensionL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuilinevisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,48 @@
+[Test]#1
+title TestCHLVAddNewL
+create testuiaifcoretoolkit test
+test TestCHLVAddNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHLVSetPathL
+create testuiaifcoretoolkit test
+test TestCHLVSetPathL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHLVPathL
+create testuiaifcoretoolkit test
+test TestCHLVPathL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHLVSetImageL
+create testuiaifcoretoolkit test
+test TestCHLVSetImageL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHLVSetAlphaFunctionL
+create testuiaifcoretoolkit test
+test TestCHLVSetAlphaFunctionL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHLVSetWidthFunctionL
+create testuiaifcoretoolkit test
+test TestCHLVSetWidthFunctionL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHLVSetColorL
+create testuiaifcoretoolkit test
+test TestCHLVSetColorL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuim3gmesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,27 @@
+[Test]#1
+title TestCHM3GMLoadSceneL
+create testuiaifcoretoolkit test
+test TestCHM3GMLoadSceneL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHM3GMSetAnimationPositionL
+create testuiaifcoretoolkit test
+test TestCHM3GMSetAnimationPositionL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHM3GMStartAnimationControllerL
+create testuiaifcoretoolkit test
+test TestCHM3GMStartAnimationControllerL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHM3GMStopAnimationControllerL
+create testuiaifcoretoolkit test
+test TestCHM3GMStopAnimationControllerL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuimappingfunctions.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,83 @@
+[Test]#1
+title TestTHCMFConstructorL
+create testuiaifcoretoolkit test
+test TestTHCMFConstructorL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHCMFMapValueL
+create testuiaifcoretoolkit test
+test TestTHCMFMapValueL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHLMFConstructorL
+create testuiaifcoretoolkit test
+test TestTHLMFConstructorL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHLMFMapValueL
+create testuiaifcoretoolkit test
+test TestTHLMFMapValueL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHSMFConstructorL
+create testuiaifcoretoolkit test
+test TestTHSMFConstructorL
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHSMFMapValueL
+create testuiaifcoretoolkit test
+test TestTHSMFMapValueL
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHCosineMFConstructorL
+create testuiaifcoretoolkit test
+test TestTHCosineMFConstructorL
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHCosineMFMapValueL
+create testuiaifcoretoolkit test
+test TestTHCosineMFMapValueL
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHAMFConstructorL
+create testuiaifcoretoolkit test
+test TestTHAMFConstructorL
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHAMFMapValueL
+create testuiaifcoretoolkit test
+test TestTHAMFMapValueL
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHAMFMappingFunctionChangedL
+create testuiaifcoretoolkit test
+test TestTHAMFMappingFunctionChangedL
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHAMFMappingFunctionClearChangedL
+create testuiaifcoretoolkit test
+test TestTHAMFMappingFunctionClearChangedL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuimesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,97 @@
+[Test]#1
+title TestCHuiMeshNewL
+create testuiaifcoretoolkit test
+test TestCHuiMeshNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiMeshNewLCL
+create testuiaifcoretoolkit test
+test TestCHuiMeshNewLCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiMeshDestructL
+create testuiaifcoretoolkit test
+test TestCHuiMeshDestructL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiMeshMeshTypeL
+create testuiaifcoretoolkit test
+test TestCHuiMeshMeshTypeL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiMeshResetL
+create testuiaifcoretoolkit test
+test TestCHuiMeshResetL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiMeshStretchUniformlyL
+create testuiaifcoretoolkit test
+test TestCHuiMeshStretchUniformlyL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiMeshScaleUniformlyL
+create testuiaifcoretoolkit test
+test TestCHuiMeshScaleUniformlyL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiMeshTypeL
+create testuiaifcoretoolkit test
+test TestCHuiMeshTypeL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHuiMeshSessionIdL
+create testuiaifcoretoolkit test
+test TestCHuiMeshSessionIdL
+delete test
+[Endtest]
+
+[Test]#10
+title TestCHuiMeshSetSessionIdL
+create testuiaifcoretoolkit test
+test TestCHuiMeshSetSessionIdL
+delete test
+[Endtest]
+
+[Test]#11
+title TestCHuiMeshAnimationControllerCountL
+create testuiaifcoretoolkit test
+test TestCHuiMeshAnimationControllerCountL
+delete test
+[Endtest]
+
+[Test]#12
+title TestCHuiMeshSetAnimationPositionL
+create testuiaifcoretoolkit test
+test TestCHuiMeshSetAnimationPositionL
+delete test
+[Endtest]
+
+[Test]#13
+title TestCHuiMeshStartAnimationControllerL
+create testuiaifcoretoolkit test
+test TestCHuiMeshStartAnimationControllerL
+delete test
+[Endtest]
+
+[Test]#14
+title TestCHuiMeshStopAnimationControllerL
+create testuiaifcoretoolkit test
+test TestCHuiMeshStopAnimationControllerL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuimeshvisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,55 @@
+[Test]#1
+title TestCHuiMeshVisualAddNewL
+create testuiaifcoretoolkit test
+test TestCHuiMeshVisualAddNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiMeshVisualCreateMeshL
+create testuiaifcoretoolkit test
+test TestCHuiMeshVisualCreateMeshL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiMeshVisualSetImageL
+create testuiaifcoretoolkit test
+test TestCHuiMeshVisualSetImageL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiMeshVisualSetSecondaryImageL
+create testuiaifcoretoolkit test
+test TestCHuiMeshVisualSetSecondaryImageL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiMeshVisualSetSpecularImageL
+create testuiaifcoretoolkit test
+test TestCHuiMeshVisualSetSpecularImageL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiMeshVisualMeshL
+create testuiaifcoretoolkit test
+test TestCHuiMeshVisualMeshL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiMeshVisualProceduralMeshL
+create testuiaifcoretoolkit test
+test TestCHuiMeshVisualProceduralMeshL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiMeshVisualM3GMeshL
+create testuiaifcoretoolkit test
+test TestCHuiMeshVisualM3GMeshL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuimetric.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,97 @@
+[Test]#1
+title TestTHMConstructor
+create testuiaifcoretoolkit test
+test TestTHMConstructor
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHMConstructorWithPixel
+create testuiaifcoretoolkit test
+test TestTHMConstructorWithPixel
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHMAbs
+create testuiaifcoretoolkit test
+test TestTHMAbs
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHMoperator
+create testuiaifcoretoolkit test
+test TestTHMoperator
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHXYMConstructor
+create testuiaifcoretoolkit test
+test TestTHXYMConstructor
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHXYMConstructorWithMetric
+create testuiaifcoretoolkit test
+test TestTHXYMConstructorWithMetric
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHXYMConstructorWithTwo
+create testuiaifcoretoolkit test
+test TestTHXYMConstructorWithTwo
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHXYMoperator
+create testuiaifcoretoolkit test
+test TestTHXYMoperator
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHXYMAbs
+create testuiaifcoretoolkit test
+test TestTHXYMAbs
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHBMConstructor
+create testuiaifcoretoolkit test
+test TestTHBMConstructor
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHBMConstructorWithMetric
+create testuiaifcoretoolkit test
+test TestTHBMConstructorWithMetric
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHBMConstructorWithXYMetric
+create testuiaifcoretoolkit test
+test TestTHBMConstructorWithXYMetric
+delete test
+[Endtest]
+
+[Test]#13
+title TestTHBMConstructorWithTwo
+create testuiaifcoretoolkit test
+test TestTHBMConstructorWithTwo
+delete test
+[Endtest]
+
+[Test]#14
+title TestTHBMConstructorWithFour
+create testuiaifcoretoolkit test
+test TestTHBMConstructorWithFour
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiownedpointer.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,63 @@
+[Test]#1
+title TestHuiOwnerdPointerCloseL
+create testuiaifcoretoolkit test
+test TestHuiOwnerdPointerCloseL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiOwnerdPointerOperatorTL
+create testuiaifcoretoolkit test
+test TestHuiOwnerdPointerOperatorTL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiOwnerdPointerOperatorConstTL
+create testuiaifcoretoolkit test
+test TestHuiOwnerdPointerOperatorConstTL
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiOwnerdPointerOperatorL
+create testuiaifcoretoolkit test
+test TestHuiOwnerdPointerOperatorL
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiOwnerdPointerPtrL
+create testuiaifcoretoolkit test
+test TestHuiOwnerdPointerPtrL
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiOwnerdPointerRefL
+create testuiaifcoretoolkit test
+test TestHuiOwnerdPointerRefL
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiOwnerdPointerNonConstRefL
+create testuiaifcoretoolkit test
+test TestHuiOwnerdPointerNonConstRefL
+delete test
+[Endtest]
+
+[Test]#8
+title TestHuiOwnerdPointerSetL
+create testuiaifcoretoolkit test
+test TestHuiOwnerdPointerSetL
+delete test
+[Endtest]
+
+[Test]#9
+title TestHuiOwnerdPointerOwnershipL
+create testuiaifcoretoolkit test
+test TestHuiOwnerdPointerOwnershipL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiproceduralmesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,48 @@
+[Test]#1
+title TestHPMDeleteL
+create testuiaifcoretoolkit test
+test TestHPMDeleteL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHPMResetL
+create testuiaifcoretoolkit test
+test TestHPMResetL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHPMMakeCubeL
+create testuiaifcoretoolkit test
+test TestHPMMakeCubeL
+delete test
+[Endtest]
+
+[Test]#4
+title TestHPMMakeSphereL
+create testuiaifcoretoolkit test
+test TestHPMMakeSphereL
+delete test
+[Endtest]
+
+[Test]#5
+title TestHPMMakeTorusL
+create testuiaifcoretoolkit test
+test TestHPMMakeTorusL
+delete test
+[Endtest]
+
+[Test]#6
+title TestHPMStretchUniformlyL
+create testuiaifcoretoolkit test
+test TestHPMStretchUniformlyL
+delete test
+[Endtest]
+
+[Test]#7
+title TestHPMScaleUniformlyL
+create testuiaifcoretoolkit test
+test TestHPMScaleUniformlyL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuirealpoint.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,83 @@
+[Test]#1
+title TestTHRPConstructor
+create testuiaifcoretoolkit test
+test TestTHRPConstructor
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHRPConstructorWithTReal
+create testuiaifcoretoolkit test
+test TestTHRPConstructorWithTReal
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHRPConstructorWithTPoint
+create testuiaifcoretoolkit test
+test TestTHRPConstructorWithTPoint
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHRPTPoint
+create testuiaifcoretoolkit test
+test TestTHRPTPoint
+delete test
+[Endtest]
+
+[Test]#56
+title TestTHRPRound
+create testuiaifcoretoolkit test
+test TestTHRPRound
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHRPoperator1
+create testuiaifcoretoolkit test
+test TestTHRPoperator1
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHRPoperator2
+create testuiaifcoretoolkit test
+test TestTHRPoperator2
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHRPoperator3
+create testuiaifcoretoolkit test
+test TestTHRPoperator3
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHRPoperator4
+create testuiaifcoretoolkit test
+test TestTHRPoperator4
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHRPoperator5
+create testuiaifcoretoolkit test
+test TestTHRPoperator5
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHRPoperator6
+create testuiaifcoretoolkit test
+test TestTHRPoperator6
+delete test
+[Endtest]
+
+[Test]#13
+title TestTHRPAbs
+create testuiaifcoretoolkit test
+test TestTHRPAbs
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuirealrect.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,132 @@
+[Test]#1
+title TestTHRRConstructor
+create testuiaifcoretoolkit test
+test TestTHRRConstructor
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHRRConstructorWithPoint
+create testuiaifcoretoolkit test
+test TestTHRRConstructorWithPoint
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHRRConstructorWithPointAndSize
+create testuiaifcoretoolkit test
+test TestTHRRConstructorWithPointAndSize
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHRRConstructorWithTRect
+create testuiaifcoretoolkit test
+test TestTHRRConstructorWithTRect
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHRRWidth
+create testuiaifcoretoolkit test
+test TestTHRRWidth
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHRRHeight
+create testuiaifcoretoolkit test
+test TestTHRRHeight
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHRRTopRight
+create testuiaifcoretoolkit test
+test TestTHRRTopRight
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHRRBottomLeft
+create testuiaifcoretoolkit test
+test TestTHRRBottomLeft
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHRRSize
+create testuiaifcoretoolkit test
+test TestTHRRSize
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHRRCenter
+create testuiaifcoretoolkit test
+test TestTHRRCenter
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHRRGrow
+create testuiaifcoretoolkit test
+test TestTHRRGrow
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHRRShrink
+create testuiaifcoretoolkit test
+test TestTHRRShrink
+delete test
+[Endtest]
+
+[Test]#13
+title TestTHRRShrinkTPoint
+create testuiaifcoretoolkit test
+test TestTHRRShrinkTPoint
+delete test
+[Endtest]
+
+[Test]#14
+title TestTHRRShrinkTHuiRealPoint
+create testuiaifcoretoolkit test
+test TestTHRRShrinkTHuiRealPoint
+delete test
+[Endtest]
+
+[Test]#15
+title TestTHRRShrinkTHuiRealRect
+create testuiaifcoretoolkit test
+test TestTHRRShrinkTHuiRealRect
+delete test
+[Endtest]
+
+[Test]#16
+title TestTHRRMove
+create testuiaifcoretoolkit test
+test TestTHRRMove
+delete test
+[Endtest]
+
+[Test]#17
+title TestTHRRoperatorTRect
+create testuiaifcoretoolkit test
+test TestTHRRoperatorTRect
+delete test
+[Endtest]
+
+[Test]#18
+title TestTHRRRound
+create testuiaifcoretoolkit test
+test TestTHRRRound
+delete test
+[Endtest]
+
+[Test]#19
+title TestTHRRBoundingRect
+create testuiaifcoretoolkit test
+test TestTHRRBoundingRect
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuirealsize.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,41 @@
+[Test]#1
+title TestTHRSConstructor
+create testuiaifcoretoolkit test
+test TestTHRSConstructor
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHRSConstructorWithTReal
+create testuiaifcoretoolkit test
+test TestTHRSConstructorWithTReal
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHRSConstructorWithTSize
+create testuiaifcoretoolkit test
+test TestTHRSConstructorWithTSize
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHRSoperatorTSize
+create testuiaifcoretoolkit test
+test TestTHRSoperatorTSize
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHRSRound
+create testuiaifcoretoolkit test
+test TestTHRSRound
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHRSoperatorPlus
+create testuiaifcoretoolkit test
+test TestTHRSoperatorPlus
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuisoftkeycontrol.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,62 @@
+[Test]#1
+title TestCHSKCNewL
+create testuiaifcoretoolkit test
+test TestCHSKCNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHSKCNewLCL
+create testuiaifcoretoolkit test
+test TestCHSKCNewLCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHSKCDestruct
+create testuiaifcoretoolkit test
+test TestCHSKCDestruct
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHSKCSetLabelL
+create testuiaifcoretoolkit test
+test TestCHSKCSetLabelL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHSKCSetBackgroundL
+create testuiaifcoretoolkit test
+test TestCHSKCSetBackgroundL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHSKCSetAnimationTimesL
+create testuiaifcoretoolkit test
+test TestCHSKCSetAnimationTimesL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHSKCEnterViewL
+create testuiaifcoretoolkit test
+test TestCHSKCEnterViewL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHSKCExitViewL
+create testuiaifcoretoolkit test
+test TestCHSKCExitViewL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHSKCSetBackgroundTypeL
+create testuiaifcoretoolkit test
+test TestCHSKCSetBackgroundTypeL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuistatic.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,160 @@
+[Test]#1
+title TestCHuiStaticEnv
+create testuiaifcoretoolkit test
+test TestCHuiStaticEnv
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiStaticTime
+create testuiaifcoretoolkit test
+test TestCHuiStaticTime
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiStaticSetTimeFactor
+create testuiaifcoretoolkit test
+test TestCHuiStaticSetTimeFactor
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiStaticTimeFactor
+create testuiaifcoretoolkit test
+test TestCHuiStaticTimeFactor
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiStaticPauseTime
+create testuiaifcoretoolkit test
+test TestCHuiStaticPauseTime
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiStaticContinueTime
+create testuiaifcoretoolkit test
+test TestCHuiStaticContinueTime
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiStaticTimePaused
+create testuiaifcoretoolkit test
+test TestCHuiStaticTimePaused
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiStaticElapsedSeconds
+create testuiaifcoretoolkit test
+test TestCHuiStaticElapsedSeconds
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHuiStaticSecondsSinceStart
+create testuiaifcoretoolkit test
+test TestCHuiStaticSecondsSinceStart
+delete test
+[Endtest]
+
+[Test]#10
+title TestCHuiStaticMilliSecondsSinceStart
+create testuiaifcoretoolkit test
+test TestCHuiStaticMilliSecondsSinceStart
+delete test
+[Endtest]
+
+[Test]#11
+title TestCHuiStaticFrameCount
+create testuiaifcoretoolkit test
+test TestCHuiStaticFrameCount
+delete test
+[Endtest]
+
+[Test]#12
+title TestCHuiStaticAverageFrameRate
+create testuiaifcoretoolkit test
+test TestCHuiStaticAverageFrameRate
+delete test
+[Endtest]
+
+[Test]#13
+title TestCHuiStaticFrameRate
+create testuiaifcoretoolkit test
+test TestCHuiStaticFrameRate
+delete test
+[Endtest]
+
+[Test]#14
+title TestCHuiStaticPrintfTDesC8
+create testuiaifcoretoolkit test
+test TestCHuiStaticPrintfTDesC8
+delete test
+[Endtest]
+
+[Test]#15
+title TestCHuiStaticPrintfTDesC16
+create testuiaifcoretoolkit test
+test TestCHuiStaticPrintfTDesC16
+delete test
+[Endtest]
+
+[Test]#16
+title TestCHuiStaticEnableLogging
+create testuiaifcoretoolkit test
+test TestCHuiStaticEnableLogging
+delete test
+[Endtest]
+
+[Test]#17
+title TestCHuiStaticLogging
+create testuiaifcoretoolkit test
+test TestCHuiStaticLogging
+delete test
+[Endtest]
+
+[Test]#18
+title TestCHuiStaticTic
+create testuiaifcoretoolkit test
+test TestCHuiStaticTic
+delete test
+[Endtest]
+
+[Test]#19
+title TestCHuiStaticToc
+create testuiaifcoretoolkit test
+test TestCHuiStaticToc
+delete test
+[Endtest]
+
+[Test]#20
+title TestCHuiStaticFsSession
+create testuiaifcoretoolkit test
+test TestCHuiStaticFsSession
+delete test
+[Endtest]
+
+[Test]#21
+title TestCHuiStaticSetLayoutTransitionTime
+create testuiaifcoretoolkit test
+test TestCHuiStaticSetLayoutTransitionTime
+delete test
+[Endtest]
+
+[Test]#22
+title TestCHuiStaticLayoutTransitionTime
+create testuiaifcoretoolkit test
+test TestCHuiStaticLayoutTransitionTime
+delete test
+[Endtest]
+
+[Test]#23
+title TestCHuiStaticSetProbe
+create testuiaifcoretoolkit test
+test TestCHuiStaticSetProbe
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitexture.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,125 @@
+[Test]#1
+title TestCHuiATextDestructL
+create testuiaifcoretoolkit test
+test TestCHuiATextDestructL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHuiATextTextureL
+create testuiaifcoretoolkit test
+test TestCHuiATextTextureL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHuiATextSegmentTextureL
+create testuiaifcoretoolkit test
+test TestCHuiATextSegmentTextureL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHuiATextSegmentTextureConstL
+create testuiaifcoretoolkit test
+test TestCHuiATextSegmentTextureConstL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHuiATextShadowedTextureL
+create testuiaifcoretoolkit test
+test TestCHuiATextShadowedTextureL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHuiATextShadowedTextureConstL
+create testuiaifcoretoolkit test
+test TestCHuiATextShadowedTextureConstL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHuiATextHasContentL
+create testuiaifcoretoolkit test
+test TestCHuiATextHasContentL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHuiATextSizeL
+create testuiaifcoretoolkit test
+test TestCHuiATextSizeL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHuiATextSegmentCountL
+create testuiaifcoretoolkit test
+test TestCHuiATextSegmentCountL
+delete test
+[Endtest]
+
+[Test]#10
+title TestCHuiATextTextureChangedL
+create testuiaifcoretoolkit test
+test TestCHuiATextTextureChangedL
+delete test
+[Endtest]
+
+[Test]#11
+title TestCHuiATextTextureClearChangedL
+create testuiaifcoretoolkit test
+test TestCHuiATextTextureClearChangedL
+delete test
+[Endtest]
+
+[Test]#12
+title TestCHuiATextTextureConstructorL
+create testuiaifcoretoolkit test
+test TestCHuiATextTextureConstructorL
+delete test
+[Endtest]
+
+[Test]#13
+title TestCHuiATextBaseConstructL
+create testuiaifcoretoolkit test
+test TestCHuiATextBaseConstructL
+delete test
+[Endtest]
+
+[Test]#14
+title TestCHuiATextTextureExtensionL
+create testuiaifcoretoolkit test
+test TestCHuiATextTextureExtensionL
+delete test
+[Endtest]
+
+[Test]#15
+title TestCHuiATextSegmentNameL
+create testuiaifcoretoolkit test
+test TestCHuiATextSegmentNameL
+delete test
+[Endtest]
+
+[Test]#16
+title TestCHuiATextSegmentSizeL
+create testuiaifcoretoolkit test
+test TestCHuiATextSegmentSizeL
+delete test
+[Endtest]
+
+[Test]#17
+title TestCHuiATextSegmentTextureSizeL
+create testuiaifcoretoolkit test
+test TestCHuiATextSegmentTextureSizeL
+delete test
+[Endtest]
+
+[Test]#18
+title TestCHuiATextSegmentOffsetL
+create testuiaifcoretoolkit test
+test TestCHuiATextSegmentOffsetL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitextureautoparams.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,62 @@
+[Test]#1
+title TestHuiTexureAutoSizeParaConstructor
+create testuiaifcoretoolkit test
+test TestHuiTexureAutoSizeParaConstructor
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiTexureAutoSizeParaSizeLowerThreshold
+create testuiaifcoretoolkit test
+test TestHuiTexureAutoSizeParaSizeLowerThreshold
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiTexureAutoSizeParaSetSizeLowerThreshold
+create testuiaifcoretoolkit test
+test TestHuiTexureAutoSizeParaSetSizeLowerThreshold
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiTexureAutoSizeParaSizeUpperThreshold
+create testuiaifcoretoolkit test
+test TestHuiTexureAutoSizeParaSizeUpperThreshold
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiTexureAutoSizeParaSetSizeUpperThreshold
+create testuiaifcoretoolkit test
+test TestHuiTexureAutoSizeParaSetSizeUpperThreshold
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiTexureAutoSizeParaMinSizeChange
+create testuiaifcoretoolkit test
+test TestHuiTexureAutoSizeParaMinSizeChange
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiTexureAutoSizeParaSetMinSizeChange
+create testuiaifcoretoolkit test
+test TestHuiTexureAutoSizeParaSetMinSizeChange
+delete test
+[Endtest]
+
+[Test]#8
+title TestHuiTexureAutoSizeParaDownsizeSettleThreshold
+create testuiaifcoretoolkit test
+test TestHuiTexureAutoSizeParaDownsizeSettleThreshold
+delete test
+[Endtest]
+
+[Test]#9
+title TestHuiTexureAutoSizeParaSetDownsizeSettleThreshold
+create testuiaifcoretoolkit test
+test TestHuiTexureAutoSizeParaSetDownsizeSettleThreshold
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitexturehandle.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,160 @@
+[Test]#1
+title TestTHTHConstructorL
+create testuiaifcoretoolkit test
+test TestTHTHConstructorL
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHTHConstructorWithParaL
+create testuiaifcoretoolkit test
+test TestTHTHConstructorWithParaL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHTHIsNullL
+create testuiaifcoretoolkit test
+test TestTHTHIsNullL
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHTHHasContentL
+create testuiaifcoretoolkit test
+test TestTHTHHasContentL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHTHReleaseL
+create testuiaifcoretoolkit test
+test TestTHTHReleaseL
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHTHSetL
+create testuiaifcoretoolkit test
+test TestTHTHSetL
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHTHSetNameL
+create testuiaifcoretoolkit test
+test TestTHTHSetNameL
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHTHSetSizeL
+create testuiaifcoretoolkit test
+test TestTHTHSetSizeL
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHTHSetTextureSizeL
+create testuiaifcoretoolkit test
+test TestTHTHSetTextureSizeL
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHTHSegmentedTextureL
+create testuiaifcoretoolkit test
+test TestTHTHSegmentedTextureL
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHTHSegmentedTextureconstL
+create testuiaifcoretoolkit test
+test TestTHTHSegmentedTextureconstL
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHTHShadowedTextureL
+create testuiaifcoretoolkit test
+test TestTHTHShadowedTextureL
+delete test
+[Endtest]
+
+[Test]#13
+title TestTHTHShadowedTextureconstL
+create testuiaifcoretoolkit test
+test TestTHTHShadowedTextureconstL
+delete test
+[Endtest]
+
+[Test]#14
+title TestTHTHTextureChangedL
+create testuiaifcoretoolkit test
+test TestTHTHTextureChangedL
+delete test
+[Endtest]
+
+[Test]#15
+title TestTHTHTextureClearChangedL
+create testuiaifcoretoolkit test
+test TestTHTHTextureClearChangedL
+delete test
+[Endtest]
+
+[Test]#16
+title TestTHTHNameL
+create testuiaifcoretoolkit test
+test TestTHTHNameL
+delete test
+[Endtest]
+
+[Test]#17
+title TestTHTHSizeL
+create testuiaifcoretoolkit test
+test TestTHTHSizeL
+delete test
+[Endtest]
+
+[Test]#18
+title TestTHTHSegmentCountL
+create testuiaifcoretoolkit test
+test TestTHTHSegmentCountL
+delete test
+[Endtest]
+
+[Test]#19
+title TestTHTHSegmentNameL
+create testuiaifcoretoolkit test
+test TestTHTHSegmentNameL
+delete test
+[Endtest]
+
+[Test]#20
+title TestTHTHSegmentSizeL
+create testuiaifcoretoolkit test
+test TestTHTHSegmentSizeL
+delete test
+[Endtest]
+
+[Test]#21
+title TestTHTHSegmentTextureSizeL
+create testuiaifcoretoolkit test
+test TestTHTHSegmentTextureSizeL
+delete test
+[Endtest]
+
+[Test]#22
+title TestTHTHSegmentOffsetL
+create testuiaifcoretoolkit test
+test TestTHTHSegmentOffsetL
+delete test
+[Endtest]
+
+[Test]#23
+title TestTHTHTextureExtensionL
+create testuiaifcoretoolkit test
+test TestTHTHTextureExtensionL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitexturemanager.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,195 @@
+[Test]#1
+title TestHuiTxureManagerEnvL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerEnvL
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiTxureManagerTextureL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerTextureL
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiTxureManagerTextureConstL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerTextureConstL
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiTxureManagerTextureLL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerTextureLL
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiTxureManagerSetImagePathL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerSetImagePathL
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiTxureManagerImagePath
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerImagePath
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiTxureManagerBlankTextureConstL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerBlankTextureConstL
+delete test
+[Endtest]
+
+[Test]#8
+title TestHuiTxureManagerBlankTextureL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerBlankTextureL
+delete test
+[Endtest]
+
+[Test]#9
+title TestHuiTxureManagerLoadTextureL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerLoadTextureL
+delete test
+[Endtest]
+
+[Test]#10
+title TestHuiTxureManagerLoadTextureLWithIdL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerSetImagePathL
+test TestHuiTxureManagerDefineFileNameL
+test TestHuiTxureManagerLoadTextureLWithIdL
+delete test
+[Endtest]
+
+[Test]#11
+title TestHuiTxureManagerLoadTextureLWithSizeImageL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerLoadTextureLWithSizeImageL
+delete test
+[Endtest]
+
+[Test]#12
+title TestHuiTxureManagerCreateTextureL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+delete test
+[Endtest]
+
+[Test]#13
+title TestHuiTxureManagerUpdateTextureFromBitmapL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerUpdateTextureFromBitmapL
+delete test
+[Endtest]
+
+[Test]#14
+title TestHuiTxureManagerUnloadTexture
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerUnloadTexture
+delete test
+[Endtest]
+
+[Test]#15
+title TestHuiTxureManagerUnloadTextureWithID
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerUnloadTextureWithID
+delete test
+[Endtest]
+
+[Test]#16
+title TestHuiTxureManagerDefineFileNameL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerDefineFileNameL
+delete test
+[Endtest]
+
+[Test]#17
+title TestHuiTxureManagerLoadQueueCount
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerLoadQueueCount
+delete test
+[Endtest]
+
+[Test]#18
+title TestHuiTxureManagerState
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerState
+delete test
+[Endtest]
+
+[Test]#19
+title TestHuiTxureManagerProcessorL
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerProcessorL
+delete test
+[Endtest]
+
+[Test]#20
+title TestHuiTxureManagerPrependImagePath
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerPrependImagePath
+delete test
+[Endtest]
+
+[Test]#21
+title TestHuiTxureManagerSetTextureId
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerSetTextureId
+delete test
+[Endtest]
+
+[Test]#22
+title TestHuiTxureManagerIsLoaded
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerSetImagePathL
+test TestHuiTxureManagerDefineFileNameL
+test TestHuiTxureManagerLoadTextureLWithIdL
+test TestHuiTxureManagerLoadTextureL
+test TestHuiTxureManagerIsLoaded
+delete test
+[Endtest]
+
+[Test]#23
+title TestHuiTxureManagerIsLoadedWithID
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerIsLoadedWithID
+delete test
+[Endtest]
+
+[Test]#24
+title TestHuiTxureManagerIsLoadedWithTexture
+create testuiaifcoretoolkit test
+test TestHuiTxureManagerCreateTextureL
+test TestHuiTxureManagerIsLoadedWithTexture
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitextvisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,161 @@
+[Test]#1
+title TestHuiTextVisualAddNewL
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+[Endtest]
+
+[Test]#2
+title TestHuiTextVisualSetTextL
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetTextL
+[Endtest]
+
+[Test]#3
+title TestHuiTextVisualText
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualText
+[Endtest]
+
+[Test]#4
+title TestHuiTextVisualSetAlign
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetAlign
+[Endtest]
+
+[Test]#5
+title TestHuiTextVisualSetLineSpacing
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetLineSpacing
+[Endtest]
+
+[Test]#6
+title TestHuiTextVisualSetStyle
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetStyle
+[Endtest]
+
+[Test]#7
+title TestHuiTextVisualSetTextStyle
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetTextStyle
+[Endtest]
+
+[Test]#8
+title TestHuiTextVisualStyle
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualStyle
+[Endtest]
+
+[Test]#9
+title TestHuiTextVisualTextStyle
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualTextStyle
+[Endtest]
+
+[Test]#10
+title TestHuiTextVisualSetMaxLineCount
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetMaxLineCount
+[Endtest]
+
+[Test]#11
+title TestHuiTextVisualMaxLineCount
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetMaxLineCount
+test TestHuiTextVisualMaxLineCount
+[Endtest]
+
+[Test]#12
+title TestHuiTextVisualWrapping
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualWrapping
+[Endtest]
+
+[Test]#13
+title TestHuiTextVisualSetWrapping
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetWrapping
+[Endtest]
+
+[Test]#14
+title TestHuiTextVisualBackgroundType
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualBackgroundType
+[Endtest]
+
+[Test]#15
+title TestHuiTextVisualOffset
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualOffset
+[Endtest]
+
+[Test]#16
+title TestHuiTextVisualOffsetConst
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualOffsetConst
+[Endtest]
+
+[Test]#17
+title TestHuiTextVisualTextExtents
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualTextExtents
+[Endtest]
+
+[Test]#18
+title TestHuiTextVisualPrepareDrawL
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualPrepareDrawL
+[Endtest]
+
+[Test]#19
+title TestHuiTextVisualSetColor
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetColor
+[Endtest]
+
+[Test]#20
+title TestHuiTextVisualSetColorWithIndex
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetColorWithIndex
+[Endtest]
+
+[Test]#21
+title TestHuiTextVisualSubstringExtents
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSubstringExtents
+[Endtest]
+
+[Test]#22
+title TestHuiTextVisualEnableShadow
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualEnableShadow
+[Endtest]
+
+[Test]#23
+title TestHuiTextVisualSetHighlightRange
+create testuiaifcoretoolkit test
+test TestHuiTextVisualAddNewL
+test TestHuiTextVisualSetTextL
+test TestHuiTextVisualSetHighlightRange
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitimedpoint.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,90 @@
+[Test]#1
+title TestTHTPConstructor
+create testuiaifcoretoolkit test
+test TestTHTPConstructor
+delete test
+[Endtest]
+
+[Test]#2
+title TestTHTPConstructorWithTReal
+create testuiaifcoretoolkit test
+test TestTHTPConstructorWithTReal
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHTPSetStyle
+create testuiaifcoretoolkit test
+test TestTHTPSetStyle
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHTPSetFunctionL
+create testuiaifcoretoolkit test
+test TestTHTPSetFunctionL
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHTPSet
+create testuiaifcoretoolkit test
+test TestTHTPSet
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHTPSetTReal
+create testuiaifcoretoolkit test
+test TestTHTPSetTReal
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHTPSetWithSpeed
+create testuiaifcoretoolkit test
+test TestTHTPSetWithSpeed
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHTPSetWithSpeedTReal
+create testuiaifcoretoolkit test
+test TestTHTPSetWithSpeedTReal
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHTPNow
+create testuiaifcoretoolkit test
+test TestTHTPNow
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHTPRealNow
+create testuiaifcoretoolkit test
+test TestTHTPRealNow
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHTPTarget
+create testuiaifcoretoolkit test
+test TestTHTPTarget
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHTPRealTarget
+create testuiaifcoretoolkit test
+test TestTHTPRealTarget
+delete test
+[Endtest]
+
+[Test]#13
+title TestTHTPFinish
+create testuiaifcoretoolkit test
+test TestTHTPFinish
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitimedvalue.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,153 @@
+[Test]#1
+title TestMHMFMappingFunctionChangedL
+create testuiaifcoretoolkit test
+test TestMHMFMappingFunctionChangedL
+delete test
+[Endtest]
+
+[Test]#2
+title TestMHMFMappingFunctionClearChangedL
+create testuiaifcoretoolkit test
+test TestMHMFMappingFunctionClearChangedL
+delete test
+[Endtest]
+
+[Test]#3
+title TestTHTVConstructor
+create testuiaifcoretoolkit test
+test TestTHTVConstructor
+delete test
+[Endtest]
+
+[Test]#4
+title TestTHTVConstructorWithValue
+create testuiaifcoretoolkit test
+test TestTHTVConstructorWithValue
+delete test
+[Endtest]
+
+[Test]#5
+title TestTHTVStyle
+create testuiaifcoretoolkit test
+test TestTHTVStyle
+delete test
+[Endtest]
+
+[Test]#6
+title TestTHTVSetStyle
+create testuiaifcoretoolkit test
+test TestTHTVSetStyle
+delete test
+[Endtest]
+
+[Test]#7
+title TestTHTVSetFunction
+create testuiaifcoretoolkit test
+test TestTHTVSetFunction
+delete test
+[Endtest]
+
+[Test]#8
+title TestTHTVSetMappingMode
+create testuiaifcoretoolkit test
+test TestTHTVSetMappingMode
+delete test
+[Endtest]
+
+[Test]#9
+title TestTHTVNow
+create testuiaifcoretoolkit test
+test TestTHTVNow
+delete test
+[Endtest]
+
+[Test]#10
+title TestTHTVUnmappedNow
+create testuiaifcoretoolkit test
+test TestTHTVUnmappedNow
+delete test
+[Endtest]
+
+[Test]#11
+title TestTHTVTarget
+create testuiaifcoretoolkit test
+test TestTHTVTarget
+delete test
+[Endtest]
+
+[Test]#12
+title TestTHTVSetValue
+create testuiaifcoretoolkit test
+test TestTHTVSetValue
+delete test
+[Endtest]
+
+[Test]#13
+title TestTHTVSetValueTime
+create testuiaifcoretoolkit test
+test TestTHTVSetValueTime
+delete test
+[Endtest]
+
+[Test]#14
+title TestTHTVSetWithSpeed
+create testuiaifcoretoolkit test
+test TestTHTVSetWithSpeed
+delete test
+[Endtest]
+
+[Test]#15
+title TestTHTVRemainingTime
+create testuiaifcoretoolkit test
+test TestTHTVRemainingTime
+delete test
+[Endtest]
+
+[Test]#16
+title TestTHTVFinish
+create testuiaifcoretoolkit test
+test TestTHTVFinish
+delete test
+[Endtest]
+
+[Test]#17
+title TestTHTVChanged
+create testuiaifcoretoolkit test
+test TestTHTVChanged
+delete test
+[Endtest]
+
+[Test]#18
+title TestTHTVInterpolating
+create testuiaifcoretoolkit test
+test TestTHTVInterpolating
+delete test
+[Endtest]
+
+[Test]#19
+title TestTHTVClearChanged
+create testuiaifcoretoolkit test
+test TestTHTVClearChanged
+delete test
+[Endtest]
+
+[Test]#20
+title TestTHTVEnableClock
+create testuiaifcoretoolkit test
+test TestTHTVEnableClock
+delete test
+[Endtest]
+
+[Test]#21
+title TestTHTVSuspend
+create testuiaifcoretoolkit test
+test TestTHTVSuspend
+delete test
+[Endtest]
+
+[Test]#22
+title TestTHTVoperatorEqualTo
+create testuiaifcoretoolkit test
+test TestTHTVoperatorEqualTo
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitransfor.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,118 @@
+[Test]#1
+title TestCHTranNewL
+create testuiaifcoretoolkit test
+test TestCHTranNewL
+delete test
+[Endtest]
+
+[Test]#2
+title TestCHTranNewLCL
+create testuiaifcoretoolkit test
+test TestCHTranNewLCL
+delete test
+[Endtest]
+
+[Test]#3
+title TestCHTranCountL
+create testuiaifcoretoolkit test
+test TestCHTranCountL
+delete test
+[Endtest]
+
+[Test]#4
+title TestCHTranNonIdentityCountL
+create testuiaifcoretoolkit test
+test TestCHTranNonIdentityCountL
+delete test
+[Endtest]
+
+[Test]#5
+title TestCHTranStepL
+create testuiaifcoretoolkit test
+test TestCHTranStepL
+delete test
+[Endtest]
+
+[Test]#6
+title TestCHTranoperatorL
+create testuiaifcoretoolkit test
+test TestCHTranoperatorL
+delete test
+[Endtest]
+
+[Test]#7
+title TestCHTranLoadIdentityL
+create testuiaifcoretoolkit test
+test TestCHTranLoadIdentityL
+delete test
+[Endtest]
+
+[Test]#8
+title TestCHTranTranslateL
+create testuiaifcoretoolkit test
+test TestCHTranTranslateL
+delete test
+[Endtest]
+
+[Test]#9
+title TestCHTranTranslateWithValueL
+create testuiaifcoretoolkit test
+test TestCHTranTranslateWithValueL
+delete test
+[Endtest]
+
+[Test]#10
+title TestCHTranScaleL
+create testuiaifcoretoolkit test
+test TestCHTranScaleL
+delete test
+[Endtest]
+
+[Test]#11
+title TestCHTranScaleWithValueL
+create testuiaifcoretoolkit test
+test TestCHTranScaleWithValueL
+delete test
+[Endtest]
+
+[Test]#12
+title TestCHTranScaleWithThreeL
+create testuiaifcoretoolkit test
+test TestCHTranScaleWithThreeL
+delete test
+[Endtest]
+
+[Test]#13
+title TestCHTranScaleWithThreeValueL
+create testuiaifcoretoolkit test
+test TestCHTranScaleWithThreeValueL
+delete test
+[Endtest]
+
+[Test]#14
+title TestCHTranRotateL
+create testuiaifcoretoolkit test
+test TestCHTranRotateL
+delete test
+[Endtest]
+
+[Test]#15
+title TestCHTranRotateValueL
+create testuiaifcoretoolkit test
+test TestCHTranRotateValueL
+delete test
+[Endtest]
+
+[Test]#16
+title TestCHTranRotateFourL
+create testuiaifcoretoolkit test
+test TestCHTranRotateFourL
+delete test
+[Endtest]
+
+[Test]#17
+title TestCHTranRotateValueThreeL
+create testuiaifcoretoolkit test
+test TestCHTranRotateValueThreeL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiutil.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,167 @@
+[Test]#1
+title TestHuiUtilPower2
+create testuiaifcoretoolkit test
+test TestHuiUtilPower2
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiUtilPower2RoundDown
+create testuiaifcoretoolkit test
+test TestHuiUtilPower2RoundDown
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiUtilInterpolate
+create testuiaifcoretoolkit test
+test TestHuiUtilInterpolate
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiUtilWrapValue
+create testuiaifcoretoolkit test
+test TestHuiUtilWrapValue
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiUtilRandomInt
+create testuiaifcoretoolkit test
+test TestHuiUtilRandomInt
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiUtilRandomReal
+create testuiaifcoretoolkit test
+test TestHuiUtilRandomReal
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiUtilQuickLengthWithPoint
+create testuiaifcoretoolkit test
+test TestHuiUtilQuickLengthWithPoint
+delete test
+[Endtest]
+
+[Test]#8
+title TestHuiUtilQuickLength
+create testuiaifcoretoolkit test
+test TestHuiUtilQuickLength
+delete test
+[Endtest]
+
+[Test]#9
+title TestHuiUtilQuickNormalizeWithPoint
+create testuiaifcoretoolkit test
+test TestHuiUtilQuickNormalizeWithPoint
+delete test
+[Endtest]
+
+[Test]#10
+title TestHuiUtilQuickNormalize
+create testuiaifcoretoolkit test
+test TestHuiUtilQuickNormalize
+delete test
+[Endtest]
+
+[Test]#11
+title TestHuiUtilCrossProduct
+create testuiaifcoretoolkit test
+test TestHuiUtilCrossProduct
+delete test
+[Endtest]
+
+[Test]#12
+title TestHuiUtilNormalFromPoints
+create testuiaifcoretoolkit test
+test TestHuiUtilNormalFromPoints
+delete test
+[Endtest]
+
+[Test]#13
+title TestHuiUtilShadowMatrix
+create testuiaifcoretoolkit test
+test TestHuiUtilShadowMatrix
+delete test
+[Endtest]
+
+[Test]#14
+title TestHuiUtilFreeMemory
+create testuiaifcoretoolkit test
+test TestHuiUtilFreeMemory
+delete test
+[Endtest]
+
+[Test]#15
+title TestHuiUtilScreenSize
+create testuiaifcoretoolkit test
+test TestHuiUtilScreenSize
+delete test
+[Endtest]
+
+[Test]#16
+title TestHuiUtilLengthUnit
+create testuiaifcoretoolkit test
+test TestHuiUtilLengthUnit
+delete test
+[Endtest]
+
+[Test]#17
+title TestHuiUtilColorLightness
+create testuiaifcoretoolkit test
+test TestHuiUtilColorLightness
+delete test
+[Endtest]
+
+[Test]#18
+title TestHuiUtilScaleFbsBitmapL
+create testuiaifcoretoolkit test
+test TestHuiUtilScaleFbsBitmapL
+delete test
+[Endtest]
+
+[Test]#19
+title TestHuiUtilCombineMaskFbsBitmapL
+create testuiaifcoretoolkit test
+test TestHuiUtilCombineMaskFbsBitmapL
+delete test
+[Endtest]
+
+[Test]#20
+title TestHuiUtilCropFbsBitmapL
+create testuiaifcoretoolkit test
+test TestHuiUtilCropFbsBitmapL
+delete test
+[Endtest]
+
+[Test]#21
+title TestHuiUtilScaleImageL
+create testuiaifcoretoolkit test
+test TestHuiUtilScaleImageL
+delete test
+[Endtest]
+
+[Test]#22
+title TestHuiUtilCropImageL
+create testuiaifcoretoolkit test
+test TestHuiUtilCropImageL
+delete test
+[Endtest]
+
+[Test]#23
+title TestHuiUtilTagMatches
+create testuiaifcoretoolkit test
+test TestHuiUtilTagMatches
+delete test
+[Endtest]
+
+[Test]#24
+title TestHuiUtilConvertBitmapToDisplayModeLCL
+create testuiaifcoretoolkit test
+test TestHuiUtilConvertBitmapToDisplayModeLCL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiviewportlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,26 @@
+[Test]#1
+title TestHuiViewPortLayoutAddNewL
+create testuiaifcoretoolkit test
+test TestHuiViewPortLayoutAddNewL
+[Endtest]
+
+[Test]#2
+title TestHuiViewPortLayoutSetVirtualSize
+create testuiaifcoretoolkit test
+test TestHuiViewPortLayoutAddNewL
+test TestHuiViewPortLayoutSetVirtualSize
+[Endtest]
+
+[Test]#3
+title TestHuiTextVisualText
+create testuiaifcoretoolkit test
+test TestHuiViewPortLayoutAddNewL
+test TestHuiViewPortLayoutSetViewportSize
+[Endtest]
+
+[Test]#4
+title TestHuiTextVisualSetAlign
+create testuiaifcoretoolkit test
+test TestHuiViewPortLayoutAddNewL
+test TestHuiViewPortLayoutSetViewportPos
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuivisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,1007 @@
+[Test]#1
+title TestHuiVisualCHuiVisual
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#2
+title TestHuiVisualAddNewL
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualAddNewL
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#3
+title TestHuiVisualRemoveAndDestroyAllD
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualRemoveAndDestroyAllD
+delete test
+[Endtest]
+
+[Test]#4
+title TestHuiVisualSetTagL
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetTagL
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#5
+title TestHuiVisualTag
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetTagL
+test TestHuiVisualTag
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#6
+title TestHuiVisualIsTagged
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetTagL
+test TestHuiVisualIsTagged
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#7
+title TestHuiVisualFindTag
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetTagL
+test TestHuiVisualFindTag
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#8
+title TestHuiVisualSetFlag
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetFlag
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#9
+title TestHuiVisualSetFlags
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetFlags
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#10
+title TestHuiVisualClearFlag
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualClearFlag
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#11
+title TestHuiVisualClearFlags
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualClearFlags
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#12
+title TestHuiVisualFlags
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualFlags
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#13
+title TestHuiVisualOwner
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualOwner
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#14
+title TestHuiVisualSetOwner
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetOwner
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#15
+title TestHuiVisualCount
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualCount
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#16
+title TestHuiVisualVisual
+create testuiaifcoretoolkit test
+test TestHuiVisualVisual
+delete test
+[Endtest]
+
+[Test]#17
+title TestHuiVisualLayout
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualLayout
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#18
+title TestHuiVisualEnv
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualEnv
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#19
+title TestHuiVisualSkin
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSkin
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#20
+title TestHuiVisualDisplay
+create testuiaifcoretoolkit test
+test TestHuiVisualDisplay
+delete test
+[Endtest]
+
+[Test]#21
+title TestHuiVisualSetOrigin
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetOrigin
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#22
+title TestHuiVisualHorizontalOrigin
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetOrigin
+test TestHuiVisualHorizontalOrigin
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#23
+title TestHuiVisualVerticalOrigin
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetOrigin
+test TestHuiVisualVerticalOrigin
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#24
+title TestHuiVisualAlignByOrigin
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualAlignByOrigin
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#25
+title TestHuiVisualSetMinTSizeL
+create testuiaifcoretoolkit test
+test TestHuiVisualSetMinTSizeL
+delete test
+[Endtest]
+
+[Test]#26
+title TestHuiVisualSetMinHuiSizeL
+create testuiaifcoretoolkit test
+test TestHuiVisualSetMinHuiSizeL
+delete test
+[Endtest]
+
+[Test]#27
+title TestHuiVisualMinSize
+create testuiaifcoretoolkit test
+test TestHuiVisualMinSize
+delete test
+[Endtest]
+
+[Test]#28
+title TestHuiVisualMinSizeInBaseUnits
+create testuiaifcoretoolkit test
+test TestHuiVisualMinSizeInBaseUnits
+delete test
+[Endtest]
+
+[Test]#29
+title TestHuiVisualSetMaxTSize
+create testuiaifcoretoolkit test
+test TestHuiVisualSetMaxTSize
+delete test
+[Endtest]
+
+[Test]#30
+title TestHuiVisualSetMaxHuiSize
+create testuiaifcoretoolkit test
+test TestHuiVisualSetMaxHuiSize
+delete test
+[Endtest]
+
+[Test]#31
+title TestHuiVisualMaxSize
+create testuiaifcoretoolkit test
+test TestHuiVisualMaxSize
+delete test
+[Endtest]
+
+[Test]#32
+title TestHuiVisualMaxSizeInBaseUnits
+create testuiaifcoretoolkit test
+test TestHuiVisualMaxSizeInBaseUnits
+delete test
+[Endtest]
+
+[Test]#33
+title TestHuiVisualPosConst
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualPosConst
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#34
+title TestHuiVisualConstSize
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualConstSize
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#35
+title TestHuiVisualSize
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSize
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#36
+title TestHuiVisualSetPos
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetPos
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#37
+title TestHuiVisualSetSize
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetSize
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#38
+title TestHuiVisualSetRect
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetRect
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#39
+title TestHuiVisualTMove
+create testuiaifcoretoolkit test
+test TestHuiVisualTMove
+delete test
+[Endtest]
+
+[Test]#40
+title TestHuiVisualHuiMove
+create testuiaifcoretoolkit test
+test TestHuiVisualHuiMove
+delete test
+[Endtest]
+
+[Test]#41
+title TestHuiVisualMimic
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualMimic
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#42
+title TestHuiVisualSetCenteredPosAndTSize
+create testuiaifcoretoolkit test
+test TestHuiVisualSetCenteredPosAndTSize
+delete test
+[Endtest]
+
+[Test]#43
+title TestHuiVisualSetCenteredPosAndHuiSize
+create testuiaifcoretoolkit test
+test TestHuiVisualSetCenteredPosAndHuiSize
+delete test
+[Endtest]
+
+[Test]#44
+title TestHuiVisualUpdateChildrenLayout
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualUpdateChildrenLayout
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#45
+title TestHuiVisualUpdateSiblingLayout
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualUpdateSiblingLayout
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#46
+title TestHuiVisualDisplayRect
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualDisplayRect
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#47
+title TestHuiVisualDisplayRectTarget
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualDisplayRectTarget
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#48
+title TestHuiVisualLocalBaseUnit
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualLocalBaseUnit
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#49
+title TestHuiVisualLocalPointInPixels
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualLocalPointInPixels
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#50
+title TestHuiVisualLocalPointInPixelsWithState
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualLocalPointInPixelsWithState
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#51
+title TestHuiVisualPixelPointInLocal
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualPixelPointInLocal
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#52
+title TestHuiVisualPixelPointInLocalWithState
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualPixelPointInLocalWithState
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#53
+title TestHuiVisualMetricToPixels
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualMetricToPixels
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#54
+title TestHuiVisualMetricToPixelsWithState
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualMetricToPixelsWithState
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#55
+title TestHuiVisualPixelsToMetric
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualPixelsToMetric
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#56
+title TestHuiVisualPixelsToMetricWithState
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualPixelsToMetricWithState
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#57
+title TestHuiVisualMetricReferenceInPixels
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualMetricReferenceInPixels
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#58
+title TestHuiVisualMetricReferenceInPixelsWithState
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualMetricReferenceInPixelsWithState
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#59
+title TestHuiVisualLocalToDisplayT
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualLocalToDisplayT
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#60
+title TestHuiVisualLocalToDisplayHui
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualLocalToDisplayHui
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#61
+title TestHuiVisualDisplayToLocalT
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualDisplayToLocalT
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#62
+title TestHuiVisualDisplayToLocalHui
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualDisplayToLocalHui
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#63
+title TestHuiVisualBoxMetricToPixelRect
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualBoxMetricToPixelRect
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#64
+title TestHuiVisualBoxMetricToPixelRectWithState
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualBoxMetricToPixelRectWithState
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#65
+title TestHuiVisualMoveToFront
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualMoveToFront
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#66
+title TestHuiVisualPos
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualPos
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#67
+title TestHuiVisualEffectiveOpacity
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualEffectiveOpacity
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#68
+title TestHuiVisualSetClipping
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetClipping
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#69
+title TestHuiVisualClipping
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetClipping
+test TestHuiVisualClipping
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#70
+title TestHuiVisualEnableTransformationL
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualEnableTransformationL
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#71
+title TestHuiVisualTransformation
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualEnableTransformationL
+test TestHuiVisualTransformation
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#72
+title TestHuiVisualSetPadding
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetPadding
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#73
+title TestHuiVisualSetPaddingWithPoint
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetPaddingWithPoint
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#74
+title TestHuiVisualSetPaddingWithHuiBoxMetrix
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetPaddingWithHuiBoxMetrix
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#75
+title TestHuiVisualPadding
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualPadding
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#76
+title TestHuiVisualPaddingInPixels
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualPaddingInPixels
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#77
+title TestHuiVisualPaddingInPixelsWithState
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualPaddingInPixelsWithState
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#78
+title TestHuiVisualPrepareDrawL
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualPrepareDrawL
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#79
+title TestHuiVisualDraw
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualDraw
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#80
+title TestHuiVisualDrawBrushes
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualDrawBrushes
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#81
+title TestHuiVisualDrawSelf
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualDrawSelf
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#82
+title TestHuiVisualSetChanged
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetChanged
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#83
+title TestHuiVisualChanged
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualChanged
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#84
+title TestHuiVisualReportChanged
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualReportChanged
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#85
+title TestHuiVisualClearChanged
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualClearChanged
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#86
+title TestHuiVisualEnableBrushesL
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualEnableBrushesL
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#87
+title TestHuiVisualBrushes
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualBrushes
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#88
+title TestHuiVisualDumpTree
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualDumpTree
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#89
+title TestHuiVisualGetInstanceName
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualGetInstanceName
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#90
+title TestHuiVisualGetClassName
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualGetClassName
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#91
+title TestHuiVisualEnterLocalProjection
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualEnterLocalProjection
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#92
+title TestHuiVisualNotifySkinChangedL
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualNotifySkinChangedL
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#93
+title TestHuiVisualSetTactileFeedbackL
+create testuiaifcoretoolkit test
+test TestHuiVisualSetTactileFeedbackL
+delete test
+[Endtest]
+
+[Test]#94
+title TestHuiVisualHasTactileFeedback
+create testuiaifcoretoolkit test
+test TestHuiVisualHasTactileFeedback
+delete test
+[Endtest]
+
+[Test]#95
+title TestHuiVisualRemoveTactileFeedback
+create testuiaifcoretoolkit test
+test TestHuiVisualRemoveTactileFeedback
+delete test
+[Endtest]
+
+[Test]#96
+title TestHuiVisualEnableDropShadowL
+create testuiaifcoretoolkit test
+test TestHuiVisualEnableDropShadowL
+delete test
+[Endtest]
+
+[Test]#97
+title TestHuiVisualDropShadowHandler
+create testuiaifcoretoolkit test
+test TestHuiVisualEnableDropShadowL
+delete test
+[Endtest]
+
+[Test]#98
+title TestHuiVisualBrushOpacity
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualBrushOpacity
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#99
+title TestHuiVisualBrushRect
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualBrushRect
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#100
+title TestHuiVisualBrushSkin
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualBrushSkin
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#101
+title TestHuiVisualType
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualType
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#102
+title TestHuiVisualSessionId
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSessionId
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#103
+title TestHuiVisualSetSessionId
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualSetSessionId
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#104
+title TestHuiVisualTransform
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualTransform
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#105
+title TestHuiVisualExpandRectWithContent
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualExpandRectWithContent
+test TestHuiVisualDelete
+delete test
+[Endtest]
+
+[Test]#106
+title TestHuiVisualVisualExtension
+create testuiaifcoretoolkit test
+test TestHuiVisualCHuiVisual
+test TestHuiVisualConstructL
+test TestHuiVisualVisualExtension
+test TestHuiVisualDelete
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/group/bld.inf Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,33 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+PRJ_PLATFORMS
+DEFAULT
+
+
+
+PRJ_EXPORTS
+
+
+PRJ_TESTMMPFILES
+testuiaifcoretoolkit.mmp
+
+PRJ_MMPFILES
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/group/testuiaifcoretoolkit.mmp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,129 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#include <data_caging_paths.hrh>
+#include <platform_paths.hrh>
+
+TARGET testuiaifcoretoolkit.dll
+TARGETTYPE dll
+UID 0x1000008D 0x2001CB80
+
+CAPABILITY ALL -TCB
+
+DEFFILE testuiaifcoretoolkit.def
+
+USERINCLUDE ../inc
+MW_LAYER_SYSTEMINCLUDE
+
+SOURCEPATH ../src
+
+SOURCE testuiaifcoretoolkit.cpp
+SOURCE testuiaifcoretoolkitblocks.cpp
+SOURCE testuiaifctkitblockshuianchorlayout.cpp
+SOURCE testuiaifctkitblocksbodebrush.cpp
+SOURCE testuiaifctkitblockshuitexture.cpp
+SOURCE testuiaifblocksmanagerchild.cpp
+SOURCE testuiaifblockstexturechild.cpp
+SOURCE testuiaifctkitblockshuicontrol.cpp
+SOURCE testuiaifblockshuicontrolchild.cpp
+SOURCE testuiaifctkitblockshuicontrolgroup.cpp
+SOURCE testuiaifctkitblockshuicurve.cpp
+SOURCE testuiaifctkitblockshuipathlayout.cpp
+SOURCE testuiaifctkitblockshuidecklayout.cpp
+SOURCE testuiaifctkitblockshuicommand.cpp
+SOURCE testuiaifblockshuiactioncommandchild.cpp
+SOURCE testuiaifblockshuigroupcommandchild.cpp
+SOURCE testuiaifblockshuicontrolcommandchild.cpp
+SOURCE testuiaifblockshuivisualcommandchild.cpp
+SOURCE testuiaifblockshuiimagecommandchild.cpp
+SOURCE testuiaifblockshuitextcommandchild.cpp
+SOURCE testuiaifblockshuivaluecommandchild.cpp
+SOURCE testuiaifblockshuipointcommandchild.cpp
+SOURCE testuiaifblockshuitranscommandchild.cpp
+SOURCE testuiaifblockshuimarkercommandchild.cpp
+SOURCE testuiaifblockshuicustomeventcommandchild.cpp
+SOURCE testuiaifctkitblockshuivisual.cpp
+SOURCE testuialfcoretoolkitvisualext.cpp
+SOURCE testuialfcoretoolkithuibrusharray.cpp
+
+SOURCE testuiaifcoretoolkitblockstextstyle.cpp
+SOURCE testuiaifcoretoolkitblocksstylemanager.cpp
+SOURCE testuiaifcoretoolkitblockshuitexture.cpp
+SOURCE testuiaifcoretoolkitblocksdisplay.cpp
+SOURCE testuiaifcoretoolkitblocksdisplaybackgrounditem.cpp
+SOURCE testuiaifcoretoolkitblockscoecontrol.cpp
+SOURCE testuiaifcoretoolkitblockshuienv.cpp
+SOURCE testuiaifcoretoolkitblockshuievent.cpp
+SOURCE testuiaifcoretoolkitblocksdropshadow.cpp
+SOURCE testuiaifcoretoolkitblocksshadowbrush.cpp
+SOURCE testuiaifcoretoolkitblocksskin.cpp
+SOURCE testuiaifcoretoolkitblocks60skin.cpp
+SOURCE testuiaifcoretoolkitblocksborderbrush.cpp
+SOURCE testuialfcoretoolkithuibrush.cpp
+SOURCE testuialfcoretoolkithuiframebrush.cpp
+SOURCE testuialfcoretoolkithuigc.cpp
+SOURCE testuialfcoretoolkithuigifanimationtexture.cpp
+SOURCE testuialfcoretoolkithuigradientbrush.cpp
+SOURCE testuialfcoretoolkithuiownedpointer.cpp
+SOURCE testuiaifcoretoolkitblockssegmentedtexture.cpp
+
+SOURCE testuiaifctkitblockshuilayout.cpp
+SOURCE testuiaifctkitblockshuilinevisual.cpp
+SOURCE testuiaifctkitblockshuim3gmesh.cpp
+SOURCE testuiaifctkitblockshuimf.cpp
+SOURCE testuiaifctkitblockshuimesh.cpp
+SOURCE testuiaifctkitblockshuimeshvisual.cpp
+SOURCE testuiaifctkitblockshuimetric.cpp
+SOURCE testuiaifctkitblockshuirealpoint.cpp
+SOURCE testuiaifctkitblockshuirealrect.cpp
+SOURCE testuiaifctkitblockshuirealsize.cpp
+SOURCE testuiaifctkitblockshuiproceduralmesh.cpp
+SOURCE testuiaifctkitblockshuistatic.cpp
+SOURCE testuiaifctkitblockshskcontrol.cpp
+SOURCE testuiaifctkitblockshuiutil.cpp
+SOURCE testuiaifctkitblockshuitimedvalue.cpp
+SOURCE testuiaifctkitblockshuiimage.cpp
+SOURCE testuiaifctkitblockshuiimagebrush.cpp
+SOURCE testuiaifctkitblockshuitimedpoint.cpp
+SOURCE testuiaifctkitblockshuitexturehandle.cpp
+SOURCE testuiaifctkitblockshuitransf.cpp
+SOURCE testuiaifctkitblockshuifixmath.cpp
+SOURCE testuiaifctkitblockshuifont.cpp
+
+SOURCE testuiaifctkitblockstextvisual.cpp
+SOURCE testuiaifctkitblockshuiviewportlayout.cpp
+SOURCE testuiaifctkitblockshuiimagevisual.cpp
+SOURCE testuiaifctkitblockshuitextureautosizepara.cpp
+SOURCE testuiaifctkitblockshuigridlayout.cpp
+SOURCE testuiaifctkitblockshuitexturemanager.cpp
+SOURCE testuiaifctkitblockshuiflowlayout.cpp
+SOURCE testuiaifctkitblockshuiimageloaderutil.cpp
+
+LIBRARY euser.lib
+LIBRARY stiftestinterface.lib
+LIBRARY stiftestengine.lib
+LIBRARY hitchcock.lib
+LIBRARY eikcoctl.lib
+LIBRARY cone.lib
+LIBRARY eikcore.lib
+LIBRARY gdi.lib
+LIBRARY fbscli.lib
+
+LANG SC
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/group/testuiaifcoretoolkit.pkg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,206 @@
+;
+; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+; Languages
+&EN
+
+; Header
+#{"testuiaifcoretoolkit"}, (0x2001CB80), 1, 0, 0, TYPE=SA
+
+; Localised Vendor name
+%{"Nokia"}
+
+; Unique Vendor name
+:"Nokia"
+
+
+;Copying ordinary file (not language dependent) to fixed drive drive.
+
+"..\init\testuiaifcoretoolkit.ini"-"c:\Testframework\testuiaifcoretoolkit.ini", FF ; FF stands for Normal file
+"..\conf\tctestuihuianchorlayout.cfg"-"c:\Testframework\tctestuihuianchorlayout.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuianchorlayout.cfg"-"c:\Testframework\ui_testuihuianchorlayout.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuibordrbrush.cfg"-"c:\Testframework\tctestuihuibordrbrush.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuibordrbrush.cfg"-"c:\Testframework\ui_testuihuibordrbrush.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuitexture.cfg"-"c:\Testframework\tctestuihuitexture.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuitexture.cfg"-"c:\Testframework\ui_testuihuitexture.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuicontrol.cfg"-"c:\Testframework\tctestuihuicontrol.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuicontrol.cfg"-"c:\Testframework\ui_testuihuicontrol.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuicntlgroup.cfg"-"c:\Testframework\tctestuihuicntlgroup.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuicntlgroup.cfg"-"c:\Testframework\ui_testuihuicntlgroup.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuicurvepath.cfg"-"c:\Testframework\tctestuihuicurvepath.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuicurvepath.cfg"-"c:\Testframework\ui_testuihuicurvepath.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuicurpathlayout.cfg"-"c:\Testframework\tctestuihuicurpathlayout.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuicurpathlayout.cfg"-"c:\Testframework\ui_testuihuicurpathlayout.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuidecklayout.cfg"-"c:\Testframework\tctestuihuidecklayout.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuidecklayout.cfg"-"c:\Testframework\ui_testuihuidecklayout.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuicommand.cfg"-"c:\Testframework\tctestuihuicommand.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuicommand.cfg"-"c:\Testframework\ui_testuihuicommand.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuivisual.cfg"-"c:\Testframework\tctestuihuivisual.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuivisual.cfg"-"c:\Testframework\ui_testuihuivisual.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuibrusharray.cfg"-"c:\Testframework\tctestuihuibrusharray.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuibrusharray.cfg"-"c:\Testframework\ui_testuihuibrusharray.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuibrush.cfg"-"c:\Testframework\tctestuihuibrush.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuibrush.cfg"-"c:\Testframework\ui_testuihuibrush.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuiframebrush.cfg"-"c:\Testframework\tctestuihuiframebrush.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuiframebrush.cfg"-"c:\Testframework\ui_testuihuiframebrush.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuigradientbrush.cfg"-"c:\Testframework\tctestuihuigradientbrush.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuigradientbrush.cfg"-"c:\Testframework\ui_testuihuigradientbrush.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuigc.cfg"-"c:\Testframework\tctestuihuigc.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuigc.cfg"-"c:\Testframework\ui_testuihuigc.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuiownedpointer.cfg"-"c:\Testframework\tctestuihuiownedpointer.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuiownedpointer.cfg"-"c:\Testframework\ui_testuihuiownedpointer.cfg", FF ; FF stands for Normal file
+"..\conf\tctestuihuigifanimationtexture.cfg"-"c:\Testframework\tctestuihuigifanimationtexture.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuigifanimationtexture.cfg"-"c:\Testframework\ui_testuihuigifanimationtexture.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifcoretoolkittextstyle.cfg"-"c:\Testframework\tctestuiaifcoretoolkittextstyle.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifcoretoolkittextstyle.cfg"-"c:\Testframework\ui_testuiaifcoretoolkittextstyle.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifcoretoolkitstylemanager.cfg"-"c:\Testframework\tctestuiaifcoretoolkitstylemanager.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifcoretoolkitstylemanager.cfg"-"c:\Testframework\ui_testuiaifcoretoolkitstylemanager.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifcoretoolkithuitexture.cfg"-"c:\Testframework\tctestuiaifcoretoolkithuitexture.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifcoretoolkithuitexture.cfg"-"c:\Testframework\ui_testuiaifcoretoolkithuitexture.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifcoretoolkitdisplay.cfg"-"c:\Testframework\tctestuiaifcoretoolkitdisplay.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifcoretoolkitdisplay.cfg"-"c:\Testframework\ui_testuiaifcoretoolkitdisplay.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifctkitdisplaybgitem.cfg"-"c:\Testframework\tctestuiaifctkitdisplaybgitem.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifctkitdisplaybgitem.cfg"-"c:\Testframework\ui_testuiaifctkitdisplaybgitem.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifctkitcoectrl.cfg"-"c:\Testframework\tctestuiaifctkitcoectrl.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifctkitcoectrl.cfg"-"c:\Testframework\ui_testuiaifctkitcoectrl.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifcoretoolkithuienv.cfg"-"c:\Testframework\tctestuiaifcoretoolkithuienv.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifcoretoolkithuienv.cfg"-"c:\Testframework\ui_testuiaifcoretoolkithuienv.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifcoretoolkitblockshuievent.cfg"-"c:\Testframework\tctestuiaifcoretoolkitblockshuievent.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifcoretoolkitblockshuievent.cfg"-"c:\Testframework\ui_testuiaifcoretoolkitblockshuievent.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctctestuiaifctkitdropshadow.cfg"-"c:\Testframework\tctctestuiaifctkitdropshadow.cfg", FF ; FF stands for Normal file
+"..\conf\ui_tctestuiaifctkitdropshadow.cfg"-"c:\Testframework\ui_tctestuiaifctkitdropshadow.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifctkitshadowbrush.cfg"-"c:\Testframework\tctestuiaifctkitshadowbrush.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifctkitshadowbrush.cfg"-"c:\Testframework\ui_testuiaifctkitshadowbrush.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifcoretoolkitblocksskin.cfg"-"c:\Testframework\tctestuiaifcoretoolkitblocksskin.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifcoretoolkitblocksskin.cfg"-"c:\Testframework\ui_testuiaifcoretoolkitblocksskin.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifcoretoolkitblocks60skin.cfg"-"c:\Testframework\tctestuiaifcoretoolkitblocks60skin.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifcoretoolkitblocks60skin.cfg"-"c:\Testframework\ui_testuiaifcoretoolkitblocks60skin.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifctkitborderbrush.cfg"-"c:\Testframework\tctestuiaifctkitborderbrush.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifctkitborderbrush.cfg"-"c:\Testframework\ui_testuiaifctkitborderbrush.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifctkitsegmentedtexture.cfg"-"c:\Testframework\tctestuiaifctkitsegmentedtexture.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifctkitsegmentedtexture.cfg"-"c:\Testframework\ui_testuiaifctkitsegmentedtexture.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuilayout.cfg"-"c:\Testframework\tctestuihuilayout.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuilayout.cfg"-"c:\Testframework\ui_testuihuilayout.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuilinevisual.cfg"-"c:\Testframework\tctestuihuilinevisual.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuilinevisual.cfg"-"c:\Testframework\ui_testuihuilinevisual.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuim3gmesh.cfg"-"c:\Testframework\tctestuihuim3gmesh.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuim3gmesh.cfg"-"c:\Testframework\ui_testuihuim3gmesh.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuimappingfunctions.cfg"-"c:\Testframework\tctestuihuimappingfunctions.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuimappingfunctions.cfg"-"c:\Testframework\ui_testuihuimappingfunctions.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuimesh.cfg"-"c:\Testframework\tctestuihuimesh.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuimesh.cfg"-"c:\Testframework\ui_testuihuimesh.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuimeshvisual.cfg"-"c:\Testframework\tctestuihuimeshvisual.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuimeshvisual.cfg"-"c:\Testframework\ui_testuihuimeshvisual.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuimetric.cfg"-"c:\Testframework\tctestuihuimetric.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuimetric.cfg"-"c:\Testframework\ui_testuihuimetric.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuirealpoint.cfg"-"c:\Testframework\tctestuihuirealpoint.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuirealpoint.cfg"-"c:\Testframework\ui_testuihuirealpoint.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuirealrect.cfg"-"c:\Testframework\tctestuihuirealrect.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuirealrect.cfg"-"c:\Testframework\ui_testuihuirealrect.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuirealsize.cfg"-"c:\Testframework\tctestuihuirealsize.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuirealsize.cfg"-"c:\Testframework\ui_testuihuirealsize.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuiproceduralmesh.cfg"-"c:\Testframework\tctestuihuiproceduralmesh.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuiproceduralmesh.cfg"-"c:\Testframework\ui_testuihuiproceduralmesh.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuistatic.cfg"-"c:\Testframework\tctestuihuistatic.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuistatic.cfg"-"c:\Testframework\ui_testuihuistatic.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuisoftkeycontrol.cfg"-"c:\Testframework\tctestuihuisoftkeycontrol.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuisoftkeycontrol.cfg"-"c:\Testframework\ui_testuihuisoftkeycontrol.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuiutil.cfg"-"c:\Testframework\tctestuihuiutil.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuiutil.cfg"-"c:\Testframework\ui_testuihuiutil.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuitimedvalue.cfg"-"c:\Testframework\tctestuihuitimedvalue.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuitimedvalue.cfg"-"c:\Testframework\ui_testuihuitimedvalue.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuiimage.cfg"-"c:\Testframework\tctestuihuiimage.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuiimage.cfg"-"c:\Testframework\ui_testuihuiimage.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuiimagebrush.cfg"-"c:\Testframework\tctestuihuiimagebrush.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuiimagebrush.cfg"-"c:\Testframework\ui_testuihuiimagebrush.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuitimedpoint.cfg"-"c:\Testframework\tctestuihuitimedpoint.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuitimedpoint.cfg"-"c:\Testframework\ui_testuihuitimedpoint.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuitexturehandle.cfg"-"c:\Testframework\tctestuihuitexturehandle.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuitexturehandle.cfg"-"c:\Testframework\ui_testuihuitexturehandle.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuitransfor.cfg"-"c:\Testframework\tctestuihuitransfor.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuitransfor.cfg"-"c:\Testframework\ui_testuihuitransfor.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuifixmath.cfg"-"c:\Testframework\tctestuihuifixmath.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuifixmath.cfg"-"c:\Testframework\ui_testuihuifixmath.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuifont.cfg"-"c:\Testframework\tctestuihuifont.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuifont.cfg"-"c:\Testframework\ui_testuihuifont.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuiaifcoretoolkit.cfg"-"c:\Testframework\tctestuiaifcoretoolkit.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuiaifcoretoolkit.cfg"-"c:\Testframework\ui_testuiaifcoretoolkit.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuitextvisual.cfg"-"c:\Testframework\tctestuihuitextvisual.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuitextvisual.cfg"-"c:\Testframework\ui_testuihuitextvisual.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuiviewportlayout.cfg"-"c:\Testframework\tctestuihuiviewportlayout.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuiviewportlayout.cfg"-"c:\Testframework\ui_testuihuiviewportlayout.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuiimagevisual.cfg"-"c:\Testframework\tctestuihuiimagevisual.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuiimagevisual.cfg"-"c:\Testframework\ui_testuihuiimagevisual.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuigridlayout.cfg"-"c:\Testframework\tctestuihuigridlayout.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuigridlayout.cfg"-"c:\Testframework\ui_testuihuigridlayout.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuitexturemanager.cfg"-"c:\Testframework\tctestuihuitexturemanager.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuitexturemanager.cfg"-"c:\Testframework\ui_testuihuitexturemanager.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuiflowlayout.cfg"-"c:\Testframework\tctestuihuiflowlayout.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuiflowlayout.cfg"-"c:\Testframework\ui_testuihuiflowlayout.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuiimageloaderutils.cfg"-"c:\Testframework\tctestuihuiimageloaderutils.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuiimageloaderutils.cfg"-"c:\Testframework\ui_testuihuiimageloaderutils.cfg", FF ; FF stands for Normal file
+
+"..\conf\tctestuihuitextureautoparams.cfg"-"c:\Testframework\tctestuihuitextureautoparams.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testuihuitextureautoparams.cfg"-"c:\Testframework\ui_testuihuitextureautoparams.cfg", FF ; FF stands for Normal file
+
+"\epoc32\RELEASE\ARMV5\urel\testuiaifcoretoolkit.dll"-"c:\sys\bin\testuiaifcoretoolkit.dll", FF
+
+; Trim For Mms
+; ------------
+; to be added later
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuiactioncommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,70 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test function LoadBitmapsL, LoadControlGroupL in huienv.h
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUIACTIONCOMMANDCHILD_H
+#define TESTUIAIFBLOCKSHUIACTIONCOMMANDCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+#include <uiacceltk/huicommand.h>
+
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiActionCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiActionCommandChild : public THuiActionCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiActionCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiActionCommandChild* NewL( TInt aId );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiActionCommandChild* NewLC( TInt aId );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiActionCommandChild( TInt aId );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension(const TUid& aExtensionUid, TAny** aExtensionParams);
+
+ };
+
+#endif // TESTUIAIFBLOCKSHUIACTIONCOMMANDCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuicontrolchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,90 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUICONTROLCHILD_H
+#define TESTUIAIFBLOCKSHUICONTROLCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+
+// CLASS DECLARATION
+
+/**
+ * CTestUiAifBlocksHuiControlChild
+ *
+ */
+class CTestUiAifBlocksHuiControlChild : public CHuiControl
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~CTestUiAifBlocksHuiControlChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static CTestUiAifBlocksHuiControlChild* NewL( CHuiEnv& aEnv );
+
+ /**
+ * Two-phased constructor.
+ */
+ static CTestUiAifBlocksHuiControlChild* NewLC( CHuiEnv& aEnv );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ CTestUiAifBlocksHuiControlChild( CHuiEnv& aEnv );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void ChildNotifyControlVisibility( TBool aIsVisible, CHuiDisplay& aDisplay );
+
+ void ChildVisualAddedL( CHuiVisual* aVisual );
+
+ void ChildVisualRemovedL( CHuiVisual* aVisual );
+
+ void ChildConnectionAddedL( CHuiControl* aConnectedControl, TInt aRole );
+
+ void ChildConnectionRemovedL( CHuiControl* aConnectedControl, TInt aRole );
+
+ void ChildHostChangingL( CHuiControl* aNewHost );
+
+ void ChildBaseConstructL();
+
+ void ChildControlExtensionL( const TUid& aExtensionUid, TAny** aExtensionParams );
+
+ void ChildTypeL();
+
+ TInt ChildSessionIdL();
+
+ void ChildSetSessionIdL( TInt aSessionId );
+
+ };
+
+#endif // TESTUIAIFBLOCKSHUICONTROLCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuicontrolcommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,68 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUICONTROLCOMMANDCHILD_H
+#define TESTUIAIFBLOCKSHUICONTROLCOMMANDCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huicommand.h>
+
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiControlCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiControlCommandChild : public THuiControlCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiControlCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiControlCommandChild* NewL( CHuiControl& aControl, THuiOp aOperation );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiControlCommandChild* NewLC( CHuiControl& aControl, THuiOp aOperation );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiControlCommandChild( CHuiControl& aControl, THuiOp aOperation );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension(const TUid& aExtensionUid, TAny** aExtensionParams);
+
+ };
+#endif // TESTUIAIFBLOCKSHUICONTROLCOMMANDCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuicustomeventcommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,68 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUICUSTOMEVENTCOMMANDCHILD_H
+#define TESTUIAIFBLOCKSHUICUSTOMEVENTCOMMANDCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huicommand.h>
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiCustomEventCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiCustomEventCommandChild : public THuiCustomEventCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiCustomEventCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiCustomEventCommandChild* NewL( TInt aEventParam, MHuiEventHandler* aRecipient = NULL );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiCustomEventCommandChild* NewLC( TInt aEventParam, MHuiEventHandler* aRecipient = NULL );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiCustomEventCommandChild( TInt aEventParam, MHuiEventHandler* aRecipient = NULL );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension(const TUid& aExtensionUid, TAny** aExtensionParams);
+
+ };
+
+#endif // TESTUIAIFBLOCKSHUICUSTOMEVENTCOMMANDCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuigroupcommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,72 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUIGROUPCOMMANDCHILD_H
+#define TESTUIAIFBLOCKSHUIGROUPCOMMANDCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huicommand.h>
+
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiGroupCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiGroupCommandChild : public THuiGroupCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiGroupCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiGroupCommandChild* NewL( CHuiControlGroup& aGroup, THuiOp aOperation,
+ CHuiDisplay* aDisplay = NULL );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiGroupCommandChild* NewLC( CHuiControlGroup& aGroup, THuiOp aOperation,
+ CHuiDisplay* aDisplay = NULL );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiGroupCommandChild( CHuiControlGroup& aGroup, THuiOp aOperation,
+ CHuiDisplay* aDisplay = NULL );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension(const TUid& aExtensionUid, TAny** aExtensionParams);
+
+ };
+
+#endif // TESTUIAIFBLOCKSHUIGROUPCOMMANDCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuiimagecommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,71 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUIIMAGECOMMANDCHILD_H
+#define TESTUIAIFBLOCKSHUIIMAGECOMMANDCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huicommand.h>
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiImageCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiImageCommandChild : public THuiImageCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiImageCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiImageCommandChild* NewL( CHuiImageVisual& aImageVisual, const THuiImage& aImage,
+ THuiOp aOperation = EHuiOpSetPrimaryImage );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiImageCommandChild* NewLC( CHuiImageVisual& aImageVisual, const THuiImage& aImage,
+ THuiOp aOperation = EHuiOpSetPrimaryImage );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiImageCommandChild( CHuiImageVisual& aImageVisual, const THuiImage& aImage,
+ THuiOp aOperation = EHuiOpSetPrimaryImage );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension(const TUid& aExtensionUid, TAny** aExtensionParams);
+
+ };
+
+#endif // TESTUIAIFBLOCKSHUIIMAGECOMMANDCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuimarkercommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,68 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUIMARKERCOMMANDCHILD_H
+#define TESTUIAIFBLOCKSHUIMARKERCOMMANDCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huicommand.h>
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiMarkerCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiMarkerCommandChild : public THuiMarkerCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiMarkerCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiMarkerCommandChild* NewL( TInt Id );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiMarkerCommandChild* NewLC( TInt Id );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiMarkerCommandChild( TInt Id );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams );
+
+ };
+
+#endif // TESTUIAIFBLOCKSHUIMARKERCOMMANDCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuipointcommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,72 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUIPOINTCOMMAND_H
+#define TESTUIAIFBLOCKSHUIPOINTCOMMAND_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huicommand.h>
+#include <uiacceltk/huitimedvalue.h>
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiPointCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiPointCommandChild : public THuiPointCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiPointCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiPointCommandChild* NewL( TAny* aOwner, THuiTimedPoint& aPoint,
+ THuiOp aOperation );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiPointCommandChild* NewLC( TAny* aOwner, THuiTimedPoint& aPoint,
+ THuiOp aOperation );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiPointCommandChild( TAny* aOwner, THuiTimedPoint& aPoint,
+ THuiOp aOperation );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams );
+
+ };
+
+#endif // TESTUIAIFBLOCKSHUIPOINTCOMMAND_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuitextcommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,71 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUITEXTCOMMANDCHILD_H
+#define TESTUIAIFBLOCKSHUITEXTCOMMANDCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huicommand.h>
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiTextCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiTextCommandChild : public THuiTextCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiTextCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiTextCommandChild* NewL( CHuiTextVisual& aTextVisual, const TDesC& aText,
+ THuiOp aOperation = EHuiOpSetText );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiTextCommandChild* NewLC( CHuiTextVisual& aTextVisual, const TDesC& aText,
+ THuiOp aOperation = EHuiOpSetText );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiTextCommandChild( CHuiTextVisual& aTextVisual, const TDesC& aText,
+ THuiOp aOperation = EHuiOpSetText );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams );
+
+ };
+
+#endif // TESTUIAIFBLOCKSHUITEXTCOMMANDCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuitranscommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,74 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUITRANSCOMMANDCHILD_H
+#define TESTUIAIFBLOCKSHUITRANSCOMMANDCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huicommand.h>
+
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiTransCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiTransCommandChild : public THuiTransformationCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiTransCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiTransCommandChild* NewL( TAny* aOwner, CHuiTransformation& aTransformation,
+ THuiOp aOperation = EHuiOpLoadIdentity,
+ TInt aStep = EStepNone );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiTransCommandChild* NewLC( TAny* aOwner, CHuiTransformation& aTransformation,
+ THuiOp aOperation = EHuiOpLoadIdentity,
+ TInt aStep = EStepNone );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiTransCommandChild( TAny* aOwner, CHuiTransformation& aTransformation,
+ THuiOp aOperation = EHuiOpLoadIdentity,
+ TInt aStep = EStepNone );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams );
+ };
+
+#endif // TESTUIAIFBLOCKSHUITRANSCOMMANDCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuivaluecommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,73 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUIVALUECOMMANDCHILD_H
+#define TESTUIAIFBLOCKSHUIVALUECOMMANDCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huicommand.h>
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiValueCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiValueCommandChild : public THuiValueCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiValueCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiValueCommandChild* NewL( TAny* aOwner, THuiTimedValue& aValue,
+ THuiOp aOperation = EHuiOpSet,
+ TReal32 aTarget = 0.0, TReal32 aTiming = 0.0 );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiValueCommandChild* NewLC( TAny* aOwner, THuiTimedValue& aValue,
+ THuiOp aOperation = EHuiOpSet,
+ TReal32 aTarget = 0.0, TReal32 aTiming = 0.0 );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiValueCommandChild( TAny* aOwner, THuiTimedValue& aValue,
+ THuiOp aOperation = EHuiOpSet,
+ TReal32 aTarget = 0.0, TReal32 aTiming = 0.0 );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams );
+ };
+
+#endif // TESTUIAIFBLOCKSHUIVALUECOMMANDCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuivisualcommandchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,71 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSHUIVISUALCOMMANDCHILD_H
+#define TESTUIAIFBLOCKSHUIVISUALCOMMANDCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huicommand.h>
+// CLASS DECLARATION
+
+/**
+ * TTestUiAifBlocksHuiVisualCommandChild
+ *
+ */
+class TTestUiAifBlocksHuiVisualCommandChild : public THuiVisualCommand
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~TTestUiAifBlocksHuiVisualCommandChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiVisualCommandChild* NewL( CHuiVisual& aVisual, THuiOp aOperation,
+ TInt aSetFlags = 0, TInt aClearFlags = 0 );
+
+ /**
+ * Two-phased constructor.
+ */
+ static TTestUiAifBlocksHuiVisualCommandChild* NewLC( CHuiVisual& aVisual, THuiOp aOperation,
+ TInt aSetFlags = 0, TInt aClearFlags = 0 );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ TTestUiAifBlocksHuiVisualCommandChild( CHuiVisual& aVisual, THuiOp aOperation,
+ TInt aSetFlags = 0, TInt aClearFlags = 0 );
+
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void SetCommandExtension(const TUid& aExtensionUid, TAny** aExtensionParams);
+
+ };
+
+#endif // TESTUIAIFBLOCKSHUIVISUALCOMMANDCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblocksmanagerchild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,64 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSMANAGERCHILD_H
+#define TESTUIAIFBLOCKSMANAGERCHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huianimatedtexture.h>
+#include <uiacceltk/huitexturemanager.h>
+
+// CLASS DECLARATION
+
+/**
+ * CTestUiAifBlocksManagerChild
+ *
+ */
+class CTestUiAifBlocksManagerChild : public CHuiTextureManager
+ {
+public:
+
+ CTestUiAifBlocksManagerChild();
+ virtual ~CTestUiAifBlocksManagerChild();
+
+
+public: // CHuiTextureManager
+ virtual void RestoreL();
+ virtual void RemoveTexture(CHuiTexture& aTexture);
+ virtual void AppendTextureL(CHuiTexture* aTexture, TInt aId);
+ virtual CHuiTexture& CreateTextureL(CFbsBitmap& aBitmap, const CFbsBitmap* aMask,
+ THuiTextureUploadFlags aFlags, TInt aId);
+ virtual TBool Release();
+
+
+protected: // CHuiTextureManager
+
+ virtual void RunL();
+ virtual void DoCancel();
+ virtual TInt RunError(TInt aError);
+
+
+private:
+
+ CHuiEnv* gEnv;
+
+ };
+
+#endif // TESTUIAIFBLOCKSMANAGERCHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockstexturechild.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,66 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#ifndef TESTUIAIFBLOCKSTEXTURECHILD_H
+#define TESTUIAIFBLOCKSTEXTURECHILD_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <uiacceltk/huianimatedtexture.h>
+// CLASS DECLARATION
+
+/**
+ * CTestUiAifBlocksTextureChild
+ *
+ */
+class CTestUiAifBlocksTextureChild : public CHuiAnimatedTexture
+ {
+public:
+ // Constructors and destructor
+
+ /**
+ * Destructor.
+ */
+ ~CTestUiAifBlocksTextureChild();
+
+ /**
+ * Two-phased constructor.
+ */
+ static CTestUiAifBlocksTextureChild* NewL( CHuiTextureManager& aManager );
+
+public:
+
+ /**
+ * Constructor for performing 1st stage construction
+ */
+ CTestUiAifBlocksTextureChild( CHuiTextureManager& aManager );
+
+ void AdvanceTime(TReal32 aElapsedTime);
+public:
+ /**
+ * EPOC default constructor for performing 2nd stage construction
+ */
+ void ConstructL();
+
+ void TextureExtension( const TUid& aExtensionUid, TAny** aExtensionParameters );
+
+ void SetSegmentCountL( TInt aCount = 4 );
+ };
+
+#endif // TESTUIAIFBLOCKSTEXTURECHILD_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifcoretoolkit.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,8808 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+#ifndef C_TESTUIAIFCORETOOLKIT_H
+#define C_TESTUIAIFCORETOOLKIT_H
+
+// INCLUDES
+#include <stiflogger.h>
+#include <testscripterinternal.h>
+#include <stiftestmodule.h>
+#include <testclassassert.h>
+#include <eikenv.h>
+#include <coemain.h>
+
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huicontrolgroup.h>
+#include <uiacceltk/huidisplay.h>
+#include <uiacceltk/huianchorlayout.h>
+#include <uiacceltk/huicommand.h>
+#include <uiacceltk/huidisplaycoecontrol.h>
+
+// MACROS
+#define TEST_CLASS_VERSION_MAJOR 0
+#define TEST_CLASS_VERSION_MINOR 0
+#define TEST_CLASS_VERSION_BUILD 0
+
+// const variable
+const TInt KTestDisplayPosX = 20;
+const TInt KTestDisplayPosY = 10;
+const TInt KTestDisplayWidth = 100;
+const TInt KTestDisplayHeight = 200;
+const TInt KTestScreenBufferUidValue = 2007;
+
+const TInt KHuiCtrlGroupId = 1;
+
+// Logging path
+_LIT( KtestuiaifcoretoolkitLogPath, "\\logs\\testframework\\testuiaifcoretoolkit\\" );
+// Log file
+_LIT( KtestuiaifcoretoolkitLogFile, "testuiaifcoretoolkit.txt" );
+_LIT( KtestuiaifcoretoolkitLogFileWithTitle, "testuiaifcoretoolkit_[%S].txt" );
+
+class CHuiAnchorLayout;
+class CTestPlatALFCoreToolkitVisualExt;
+class CHuiTextVisual;
+class CHuiViewportLayout;
+class CHuiGridLayout;
+class CHuiFlowLayout;
+class CHuiImageLoaderUtil;
+
+/**
+* CTestUiAifCoreToolkit test class for STIF Test Framework TestScripter.
+* @since S60 5.0
+*/
+NONSHARABLE_CLASS( CTestUiAifCoreToolkit ) : public CScriptBase
+ {
+public: // Constructors and destructor
+
+ /**
+ * Two-phased constructor.
+ */
+ static CTestUiAifCoreToolkit* NewL( CTestModuleIf& aTestModuleIf );
+
+ /**
+ * Destructor.
+ */
+ virtual ~CTestUiAifCoreToolkit();
+
+public: // Functions from base classes
+
+ /**
+ * From CScriptBase Runs a script line.
+ * @since S60 5.0
+ * @param aItem Script line containing method name and parameters
+ * @return Symbian OS error code
+ */
+ virtual TInt RunMethodL( CStifItemParser& aItem );
+
+private:
+
+ /**
+ * C++ default constructor.
+ */
+ CTestUiAifCoreToolkit( CTestModuleIf& aTestModuleIf );
+
+ /**
+ * By default Symbian 2nd phase constructor is private.
+ */
+ void ConstructL();
+
+
+ /**
+ * Method used to log version of test class
+ */
+ void SendTestClassVersion();
+
+ /**
+ * Turn off ScreenSaver
+ * @since S60 5.0
+ * @return Symbian OS error code.
+ */
+ void TurnOffScreenSaver();
+
+ /**
+ * Restore ScreenSaver
+ * @since S60 5.0
+ * @return Symbian OS error code.
+ */
+ void RestoreScreenSaver();
+ /**
+ * ConstructNeededMember
+ * @since S60 5.0
+ * @return Symbian OS error code.
+ */
+ void ContructNeededMemberL();
+
+
+ // [TestMethods]
+private:// for testing the HuiAnchorLayout.h
+ /**
+ * TestCHuiAnLayAddNewL test method for testing the AddNewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayAddNewL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayDestructL test method for testing the ~CHuiAnchorLayout method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayDestructL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayResetL test method for testing the Reset method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayResetL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLaySetAnchorL test method for testing the SetAnchor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLaySetAnchorL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLaySetRelativeAnchorRectL test method for testing the SetRelativeAnchorRectL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLaySetRelativeAnchorRectL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayRemoveAnchorL test method for testing the RemoveAnchor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayRemoveAnchorL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayAttachOriginL test method for testing the Attach method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayAttachOriginL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayAttachOriginTopLeftL test method for testing the Attach method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayAttachOriginTopLeftL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayAttachOriginNoneL test method for testing the Attach method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayAttachOriginNoneL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayDetachL test method for testing the Detach method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayDetachL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayDetachAnchorL test method for testing the Detach method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayDetachAnchorL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLaySetSizeL test method for testing the SetSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLaySetSizeL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayChildSizeL test method for testing the ChildSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayChildSizeL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayChildPosL test method for testing the ChildPos method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayChildPosL( CStifItemParser& aItem );
+ /**
+ * TestCHuiAnLayChildRectL test method for testing the ChildRect method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiAnLayChildRectL( CStifItemParser& aItem );
+
+private:// for testing the HuiBorderBrush.h
+ /*
+ * TestCHuiBdeBrshNewL test method for testing the NewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiBdeBrshNewL( CStifItemParser& aItem );
+ /*
+ * TestCHuiBdeBrshNewCL test method for testing the NewLC method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiBdeBrshNewCL( CStifItemParser& aItem );
+ /*
+ * TestCHuiBdeBrshOtherNewL test method for testing the NewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiBdeBrshOtherNewL( CStifItemParser& aItem );
+ /*
+ * TestCHuiBdeBrshOtherNewCL test method for testing the NewLC method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiBdeBrshOtherNewCL( CStifItemParser& aItem );
+ /*
+ * TestCHuiBdeBrshSetImageL test method for testing the SetImage method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiBdeBrshSetImageL( CStifItemParser& aItem );
+ /*
+ * TestCHuiBdeBrshSetColorL test method for testing the SetColor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiBdeBrshSetColorL( CStifItemParser& aItem );
+ /*
+ * TestCHuiBdeBrshSetThicknessL test method for testing the SetThickness method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiBdeBrshSetThicknessL( CStifItemParser& aItem );
+ /*
+ * TestCHuiBdeBrshSetEdgeOffsetL test method for testing the SetEdgeOffset method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiBdeBrshSetEdgeOffsetL( CStifItemParser& aItem );
+ /*
+ * TestCHuiBdeBrshSetImageOffsetL test method for testing the SetImageOffset method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiBdeBrshSetImageOffsetL( CStifItemParser& aItem );
+private:// for testing the HuiAnimatedTexture.h
+ /*
+ * TestCHuiATextDestructL test method for testing the ~CHuiAnimatedTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextDestructL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextTextureL test method for testing the Texture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextTextureL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextSegmentTextureL test method for testing the SegmentedTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextSegmentTextureL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextSegmentTextureConstL test method for testing the SegmentedTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextSegmentTextureConstL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextShadowedTextureL test method for testing the ShadowedTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextShadowedTextureL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextShadowedTextureConstL test method for testing the ShadowedTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextShadowedTextureConstL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextHasContentL test method for testing the HasContent method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextHasContentL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextSizeL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextSegmentCountL test method for testing the SegmentCount method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextSegmentCountL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextTextureChangedL test method for testing the TextureChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextTextureChangedL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextTextureClearChangedL test method for testing the TextureClearChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextTextureClearChangedL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextTextureConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextTextureConstructorL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextBaseConstructL test method for testing the BaseConstruct method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextBaseConstructL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextTextureExtensionL test method for testing the TextureExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextTextureExtensionL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextSegmentNameL test method for testing the SegmentName method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextSegmentNameL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextSegmentSizeL test method for testing the SegmentSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextSegmentSizeL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextSegmentTextureSizeL test method for testing the SegmentTextureSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextSegmentTextureSizeL( CStifItemParser& aItem );
+ /*
+ * TestCHuiATextSegmentOffsetL test method for testing the SegmentOffset method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiATextSegmentOffsetL( CStifItemParser& aItem );
+
+private:// for testing the HuiControl.h
+ /*
+ * TestCHuiControlL test method for testing the CHuiControl method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlDestructL test method for testing the ~CHuiControl method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlDestructL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlSetIdL test method for testing the SetId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlSetIdL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlIdL test method for testing the Id method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlIdL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlEnvL test method for testing the Env method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlEnvL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlControlGroupL test method for testing the ControlGroup method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlControlGroupL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlTextureManagerL test method for testing the TextureManager method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlTextureManagerL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlDisplayL test method for testing the Display method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlDisplayL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlBindDisplayL test method for testing the BindDisplay method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlBindDisplayL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlAppendL test method for testing the AppendL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlAppendL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlAppendLayoutL test method for testing the AppendL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlAppendLayoutL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlRemoveL test method for testing the Remove method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlRemoveL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlAppendVisualL test method for testing the AppendVisualL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlAppendVisualL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlAppendTypeLayoutL test method for testing the AppendLayoutL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlAppendTypeLayoutL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlVisualL test method for testing the Visual method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlVisualL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlVisualCountL test method for testing the VisualCount method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlVisualCountL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlFindTagL test method for testing the FindTag method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlFindTagL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlHostL test method for testing the Host method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlHostL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlAddConnectionL test method for testing the AddConnectionL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlAddConnectionL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlRemoveConnectionL test method for testing the RemoveConnection method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlRemoveConnectionL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlFindConnectionL test method for testing the FindConnection method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlFindConnectionL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlConnectionCountL test method for testing the ConnectionCount method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlConnectionCountL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlConnectionL test method for testing the Connection method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlConnectionL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlConnectionByOrdinalL test method for testing the ConnectionByOrdinal method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlConnectionByOrdinalL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlConnectionRoleL test method for testing the ConnectionRole method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlConnectionRoleL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlConnectionOrdinalL test method for testing the ConnectionOrdinal method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlConnectionOrdinalL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlRoleL test method for testing the Role method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlRoleL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlSetRoleL test method for testing the SetRole method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlSetRoleL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlHostIdL test method for testing the HostId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlHostIdL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlSetHostIdL test method for testing the SetHostId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlSetHostIdL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlSetHostL test method for testing the SetHost method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlSetHostL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlContainerLayoutL test method for testing the ContainerLayout method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlContainerLayoutL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlHostToDisplayL test method for testing the HostToDisplay method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlHostToDisplayL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlDisplayToHostL test method for testing the DisplayToHost method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlDisplayToHostL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlBoundsL test method for testing the Bounds method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlBoundsL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlHitTestL test method for testing the HitTest method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlHitTestL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlAcquireFocusL test method for testing the AcquireFocus method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlAcquireFocusL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlFocusL test method for testing the Focus method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlFocusL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlIsFocusingL test method for testing the IsFocusing method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlIsFocusingL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlFocusChangedL test method for testing the FocusChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlFocusChangedL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlAcceptInputL test method for testing the AcceptInput method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlAcceptInputL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlOfferEventL test method for testing the OfferEventL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlOfferEventL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlDisplayAreaL test method for testing the DisplayArea method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlDisplayAreaL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlDisplayCenterL test method for testing the DisplayCenter method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlDisplayCenterL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlCancelAllCommandsL test method for testing the CancelAllCommands method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlCancelAllCommandsL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlVisualLayoutUpdatedL test method for testing the VisualLayoutUpdated method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlVisualLayoutUpdatedL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlVisualDestroyedL test method for testing the VisualDestroyed method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlVisualDestroyedL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlEventHandlerL test method for testing the EventHandler method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlEventHandlerL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlNotifyVisibilityL test method for testing the NotifyControlVisibility method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlNotifyVisibilityL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlVisualAddedL test method for testing the VisualAddedL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlVisualAddedL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlVisualRemovedL test method for testing the VisualRemoved method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlVisualRemovedL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlConnectionAddedL test method for testing the ConnectionAddedL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlConnectionAddedL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlConnectionRemovedL test method for testing the ConnectionRemoved method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlConnectionRemovedL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlHostChangingL test method for testing the HostChangingL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlHostChangingL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlBaseConstructL test method for testing the BaseConstructL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlBaseConstructL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlControlExtensionL test method for testing the ControlExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlControlExtensionL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlTypeL test method for testing the Type method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlTypeL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlSessionIdL test method for testing the SessionId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlSessionIdL( CStifItemParser& aItem );
+ /*
+ * TestCHuiControlSetSessionIdL test method for testing the SetSessionId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiControlSetSessionIdL( CStifItemParser& aItem );
+private:// for testing the HuiControlGroup.h
+ /*
+ * TestCHuiCntlGroupAppendL test method for testing the AppendL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlGroupAppendL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlGroupAppendAndPopL test method for testing the AppendAndPopL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlGroupAppendAndPopL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlGroupRemoveL test method for testing the Remove method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlGroupRemoveL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlCountL test method for testing the Count method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlCountL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlControlL test method for testing the Control method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlControlL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlFindControlL test method for testing the FindControl method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlFindControlL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlEnableTsfomatonL test method for testing the
+ * EnableTransformationL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlEnableTsfomatonL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlIsTransformedL test method for testing the IsTransformed method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlIsTransformedL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlTransformationL test method for testing the Transformation method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlTransformationL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlAcceptInputL test method for testing the AcceptInput method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlAcceptInputL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlSetAcceptInputL test method for testing the SetAcceptInput method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlSetAcceptInputL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlTypeL test method for testing the Type method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlTypeL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlSessionIdL test method for testing the SessionId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlSessionIdL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCntlSetSessionIdL test method for testing the SetSessionId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCntlSetSessionIdL( CStifItemParser& aItem );
+private:// for testing the HuiCurvePath.h
+ /*
+ * TestCHuiCurvePathNewL test method for testing the NewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathNewL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathNewCL test method for testing the NewLC method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathNewCL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathDestructL test method for testing the ~CHuiCurvePath method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathDestructL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathResetL test method for testing the Reset method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathResetL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathEnableLoopL test method for testing the EnableLoop method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathEnableLoopL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathLoopL test method for testing the Loop method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathLoopL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathSetOriginL test method for testing the SetOrigin method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathSetOriginL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathAppendLineL test method for testing the AppendLineL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathAppendLineL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathAppendRealLineL test method for testing the AppendRealLineL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathAppendRealLineL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathAppendArcL test method for testing the AppendArcL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathAppendArcL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathAppendHuiArcL test method for testing the AppendArcL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathAppendHuiArcL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathLengthL test method for testing the Length method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathLengthL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathEvaluateL test method for testing the Evaluate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathEvaluateL( CStifItemParser& aItem );
+private:// for testing the HuiCurvePathLayout.h
+ /*
+ * TestCHuiCurvePathLayAddNewL test method for testing the AddNewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathLayAddNewL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCurvePathLayCurvePathL test method for testing the CurvePath method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCurvePathLayCurvePathL( CStifItemParser& aItem );
+private:// for testing the HuiDeckLayout.h
+ /*
+ * TestCHuiDeckLayoutAddNewL test method for testing the AddNewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiDeckLayoutAddNewL( CStifItemParser& aItem );
+ /*
+ * TestCHuiDeckLayoutDestructL test method for testing the Destruct method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiDeckLayoutDestructL( CStifItemParser& aItem );
+private:// for testing the HuiCommand.h
+ /*
+ * TestCHuiCommandDestructL test method for testing the ~THuiCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCommandDestructL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCommandObjectCommandL test method for testing the ObjectCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCommandObjectCommandL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCommandSetSenderL test method for testing the SetSender method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCommandSetSenderL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCommandTypeL test method for testing the Type method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCommandTypeL( CStifItemParser& aItem );
+ /*
+ * TestCHuiSenderTypeL test method for testing the SenderType method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiSenderTypeL( CStifItemParser& aItem );
+ /*
+ * TestCHuiSenderL test method for testing the Sender method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiSenderL( CStifItemParser& aItem );
+ /*
+ * TestCHuiSenderVisualL test method for testing the SenderVisual method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiSenderVisualL( CStifItemParser& aItem );
+ /*
+ * TestCHuiSenderControlL test method for testing the SenderControl method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiSenderControlL( CStifItemParser& aItem );
+ /*
+ * TestCHuiSenderControlGroupL test method for testing the SenderControlGroup method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiSenderControlGroupL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCommandConstructL test method for testing the Construct method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCommandConstructL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCommandTActionCommandL test method for testing the THuiActionCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCommandTActionCommandL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestCHuiCommandIdL test method for testing the Id method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiCommandIdL( CStifItemParser& aItem );
+ /*
+ * TestCHuiActionCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiActionCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestCHuiObjectCommandL test method for testing the ObjectCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiObjectCommandL( CStifItemParser& aItem );
+ /*
+ * TestCHuiObjectCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiObjectCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestCHuiObjectCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiObjectCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestCHuiObjectCommandObjectL test method for testing the Object method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiObjectCommandObjectL( CStifItemParser& aItem );
+ /*
+ * TestCHuiObjectCommandOperationL test method for testing the Operation method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiObjectCommandOperationL( CStifItemParser& aItem );
+ /*
+ * TestCHuiObjectCommandConstructL test method for testing the Construct method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiObjectCommandConstructL( CStifItemParser& aItem );
+ /*
+ * TestCHuiObjectCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiObjectCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestTHuiGroupCommandL test method for testing the THuiGroupCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiGroupCommandL( CStifItemParser& aItem );
+ /*
+ * TestTHuiGroupCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiGroupCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestTHuiGroupCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiGroupCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiGroupCommandControlGroupL test method for testing the ControlGroup method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiGroupCommandControlGroupL( CStifItemParser& aItem );
+ /*
+ * TestTHuiGroupCommandDisplayL test method for testing the Display method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiGroupCommandDisplayL( CStifItemParser& aItem );
+ /*
+ * TestTHuiGroupCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiGroupCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestTHuiControlCommandL test method for testing the THuiControlCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiControlCommandL( CStifItemParser& aItem );
+ /*
+ * TestTHuiControlCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiControlCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestTHuiControlCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiControlCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiControlCommandControlL test method for testing the Control method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiControlCommandControlL( CStifItemParser& aItem );
+ /*
+ * TestTHuiControlCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiControlCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestTHuiVisualCommandL test method for testing the THuiVisualCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiVisualCommandL( CStifItemParser& aItem );
+ /*
+ * TestTHuiVisualCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiVisualCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestTHuiVisualCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiVisualCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiVisualCommandVisualL test method for testing the Visual method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiVisualCommandVisualL( CStifItemParser& aItem );
+ /*
+ * TestTHuiVisualCommandFlagsToSetL test method for testing the FlagsToSet method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiVisualCommandFlagsToSetL( CStifItemParser& aItem );
+ /*
+ * TestTHuiVisualCommandFlagsToClearL test method for testing the FlagsToClear method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiVisualCommandFlagsToClearL( CStifItemParser& aItem );
+ /*
+ * TestTHuiVisualCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiVisualCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestTHuiImageCommandL test method for testing the THuiImageCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiImageCommandL( CStifItemParser& aItem );
+ /*
+ * TestTHuiImageCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiImageCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestTHuiImageCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiImageCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiImageCommandVisualL test method for testing the ImageVisual method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiImageCommandVisualL( CStifItemParser& aItem );
+ /*
+ * TestTHuiImageCommandImageL test method for testing the Image method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiImageCommandImageL( CStifItemParser& aItem );
+ /*
+ * TestTHuiImageCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiImageCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTextCommandL test method for testing the THuiTextCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextCommandL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTextCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTextCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTextCommandTextVisualL test method for testing the TextVisual method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextCommandTextVisualL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTextCommandTextL test method for testing the Text method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextCommandTextL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTextCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestTHuiValueCommandL test method for testing the THuiValueCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiValueCommandL( CStifItemParser& aItem );
+ /*
+ * TestTHuiValueCommandMutiRefL test method for testing the THuiValueCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiValueCommandMutiRefL( CStifItemParser& aItem );
+ /*
+ * TestTHuiValueCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiValueCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestTHuiValueCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiValueCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiValueCommandTimedValueL test method for testing the TimedValue method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiValueCommandTimedValueL( CStifItemParser& aItem );
+ /*
+ * TestTHuiValueCommandTargetL test method for testing the Target method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiValueCommandTargetL( CStifItemParser& aItem );
+ /*
+ * TestTHuiValueCommandTransitionTimeL test method for testing the TransitionTime method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiValueCommandTransitionTimeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiValueCommandSpeedL test method for testing the Speed method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiValueCommandSpeedL( CStifItemParser& aItem );
+ /*
+ * TestTHuiValueCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiValueCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestTHuiPointCommandL test method for testing the THuiPointCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPointCommandL( CStifItemParser& aItem );
+ /*
+ * TestTHuiPointCommandMutiRefL test method for testing the THuiPointCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPointCommandMutiRefL( CStifItemParser& aItem );
+ /*
+ * TestTHuiPointCommandMutiRefOtherL test method for testing the THuiPointCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPointCommandMutiRefOtherL( CStifItemParser& aItem );
+ /*
+ * TestTHuiPointCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPointCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestTHuiPointCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPointCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiPointCommandTimedPointL test method for testing the TimedPoint method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPointCommandTimedPointL( CStifItemParser& aItem );
+ /*
+ * TestTHuiPointCommandTargetL test method for testing the Target method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPointCommandTargetL( CStifItemParser& aItem );
+ /*
+ * TestTHuiPointCommandTransitionTimeL test method for testing the TransitionTime method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPointCommandTransitionTimeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiPointCommandSpeedL test method for testing the Speed method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPointCommandSpeedL( CStifItemParser& aItem );
+ /*
+ * TestTHuiPointCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPointCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * THuiTransformationCommand test method for testing the THuiTransformationCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTransformationCommandL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTransformationCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTransformationCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTransformationCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTransformationCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTransformationCommandTransmasnL test method for testing the Transformation method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTransformationCommandTransmasnL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTransformationCommandStepL test method for testing the Step method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTransformationCommandStepL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTransformationCommandSetXL test method for testing the SetX method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTransformationCommandSetXL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTransformationCommandSetYL test method for testing the SetY method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTransformationCommandSetYL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTransformationCommandSetZL test method for testing the SetZ method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTransformationCommandSetZL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTransformationCommandSetAngleL test method for testing the SetAngle method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTransformationCommandSetAngleL( CStifItemParser& aItem );
+ /*
+ * TestTHuiTransformationCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTransformationCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestTHuiMarkerCommandL test method for testing the THuiMarkerCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiMarkerCommandL( CStifItemParser& aItem );
+ /*
+ * TestTHuiMarkerCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiMarkerCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestTHuiMarkerCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiMarkerCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiMarkerCommandIdL test method for testing the Id method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiMarkerCommandIdL( CStifItemParser& aItem );
+ /*
+ * TestTHuiMarkerCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiMarkerCommandExtensionL( CStifItemParser& aItem );
+ /*
+ * TestTHuiCustomEventCommandL test method for testing the THuiCustomEventCommand method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiCustomEventCommandL( CStifItemParser& aItem );
+ /*
+ * TestTHuiCustomEventCommandExecuteL test method for testing the ExecuteL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiCustomEventCommandExecuteL( CStifItemParser& aItem );
+ /*
+ * TestTHuiCustomEventCommandSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiCustomEventCommandSizeL( CStifItemParser& aItem );
+ /*
+ * TestTHuiCustomEventCommandRecipientL test method for testing the Recipient method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiCustomEventCommandRecipientL( CStifItemParser& aItem );
+ /*
+ * TestTHuiCustomEventCommandParamL test method for testing the Param method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiCustomEventCommandParamL( CStifItemParser& aItem );
+ /*
+ * TestTHuiCustomEventCommandExtensionL test method for testing the CommandExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiCustomEventCommandExtensionL( CStifItemParser& aItem );
+
+
+
+private:
+ //test the method of HuiVisual.h
+
+ /**
+ * TestHuiVisualAddNewL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualAddNewL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualCHuiVisual test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualCHuiVisualL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualConstructL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDelete test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDelete( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualRemoveAndDestroyAllD test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualRemoveAndDestroyAllD( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetTagL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetTagL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualTag test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualTag( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualIsTagged test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualIsTagged( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualFindTag test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualFindTag( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetFlag test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetFlag( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetFlags test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetFlags( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualClearFlag test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualClearFlag( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualAddNewL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualClearFlags( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualFlags test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualFlags( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualOwner test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualOwner( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetOwner test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetOwnerL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualCount test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualCount( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualVisual test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualVisual( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualLayout test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualLayoutL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualEnv test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualEnv( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSkin test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSkin( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDisplay test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDisplay( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetOrigin test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetOrigin( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualHorizontalOrigin test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualHorizontalOrigin( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualVerticalOrigin test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualVerticalOrigin( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualAlignByOrigin test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualAlignByOrigin( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetMinTSizeL test method with TSize type parameter.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetMinTSizeL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetMinHuiSizeL test method with THuiRealSize type parameter.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetMinHuiSizeL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualMinSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualMinSizeL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualMinSizeInBaseUnits test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualMinSizeInBaseUnitsL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetMaxTSize test method with TSize type parameter.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetMaxTSizeL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetMaxHuiSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetMaxHuiSizeL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualAddNewL test method with THuiRealSize type parameter.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualMaxSizeL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualAddNewL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualMaxSizeInBaseUnitsL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPos test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualPosConst( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualConstSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualConstSize( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSize( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetPos test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetPos( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetSize( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetRect test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetRect( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualMove test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualTMoveL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualHuiMove test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualHuiMoveL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualMimic test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualMimicL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetCenteredPosAndSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetCenteredPosAndTSizeL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetCenteredPosAndHuiSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetCenteredPosAndHuiSizeL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualUpdateChildrenLayout test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualUpdateChildrenLayout( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualUpdateSiblingLayout test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualUpdateSiblingLayout( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDisplayRect test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDisplayRect( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDisplayRectTarget test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDisplayRectTarget( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualLocalBaseUnit test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualLocalBaseUnit( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualLocalPointInPixels test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualLocalPointInPixels( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualLocalPointInPixelsWithState test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualLocalPointInPixelsWithState( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPixelPointInLocal test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualPixelPointInLocal( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPixelPointInLocalWithState test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualPixelPointInLocalWithState( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualMetricToPixels test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualMetricToPixels( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualMetricToPixelsWithState test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualMetricToPixelsWithState( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPixelsToMetric test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualPixelsToMetric( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPixelsToMetricWithState test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualPixelsToMetricWithState( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualMetricReferenceInPixels test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualMetricReferenceInPixels( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualMetricReferenceInPixelsWithState test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualMetricReferenceInPixelsWithState( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualLocalToDisplayT test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualLocalToDisplayT( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualLocalToDisplayHui test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualLocalToDisplayHui( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDisplayToLocalT test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDisplayToLocalT( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDisplayToLocalHui test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDisplayToLocalHui( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualBoxMetricToPixelRect test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualBoxMetricToPixelRect( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualBoxMetricToPixelRectWithState test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualBoxMetricToPixelRectWithState( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualMoveToFront test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualMoveToFront( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPos test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualPos( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualEffectiveOpacity test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualEffectiveOpacity( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetClipping test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetClipping( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualClipping test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualClipping( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualEnableTransformationL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualEnableTransformationL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualTransformation test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualTransformation( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetPadding test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetPadding( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetPaddingWithPoint test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetPaddingWithPoint( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPaddingWithHuiBoxMetrix test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetPaddingWithHuiBoxMetrix( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPadding test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualPadding( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPaddingInPixels test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualPaddingInPixels( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPaddingInPixelsWithState test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualPaddingInPixelsWithState( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualPrepareDrawL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualPrepareDrawL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDraw test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDrawL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDrawBrushes test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDrawBrushesL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDrawSelf test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDrawSelfL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetChanged test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetChanged( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualChanged test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualChanged( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualReportChanged test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualReportChanged( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualClearChanged test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualClearChanged( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualEnableBrushesL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualEnableBrushesL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualBrushes test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualBrushes( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDumpTree test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDumpTree( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualGetInstanceName test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualGetInstanceName( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualGetClassName test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualGetClassName( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualEnterLocalProjection test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualEnterLocalProjectionL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualNotifySkinChangedL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualNotifySkinChangedL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetTactileFeedbackL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetTactileFeedbackL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualHasTactileFeedback test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualHasTactileFeedbackL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualRemoveTactileFeedback test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualRemoveTactileFeedbackL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualEnableDropShadowL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualEnableDropShadowL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualDropShadowHandler test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualDropShadowHandler( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualBrushOpacity test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualBrushOpacity( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualBrushRect test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualBrushRect( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualBrushSkin test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualBrushSkin( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualType test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualType( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSessionId test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSessionId( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualSetSessionId test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualSetSessionId( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualTransform test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualTransformL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualExpandRectWithContent test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualExpandRectWithContentL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiVisualVisualExtension test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiVisualVisualExtensionL( CStifItemParser& aItem );
+
+private: // For testing the HuiBrushArray.h
+ /**
+ * TestHuiBrushArrayNewLL test method NewL of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayNewLL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushArrayNewLCL test method NewLC of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayNewLCL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushArrayResetL test method Reset of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayResetL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushArrayAppendL test method AppendL of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayAppendL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushArrayInsertL test method InsertL of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayInsertL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushArrayRemoveL test method Remove of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayRemoveL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushArrayCountL test method Count of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayCountL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushArrayOperatorL test method operator of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayOperatorL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushArrayAtL test method At of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayAtL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushArrayLayerBrushCountL test method LayerBrushCount of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayLayerBrushCountL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushArrayDrawL test method Draw of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushArrayDrawL( CStifItemParser& aItem );
+
+private:// For testing huibrush.h
+ /**
+ * TestHuiBrushExpandVisualRectL test method ExpandVisualRect of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushExpandVisualRectL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushSetChangedL test method SetChanged of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushSetChangedL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushChangedL test method Changed of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushChangedL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushClearChangedL test method ClearChanged of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushClearChangedL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushSetClipToVisualL test method SetClipToVisual of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushSetClipToVisualL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushClipToVisualL test method ClipToVisual of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushClipToVisualL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushSetLayerL test method SetLayer of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushSetLayerL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushLayerL test method Layer of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushLayerL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushBeginDrawL test method BeginDraw of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushBeginDrawL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushDrawL test method Draw of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushDrawL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushEndDrawL test method EndDraw of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushEndDrawL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushTypeL test method Type of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushTypeL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushSessionIdL test method SessionId of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushSessionIdL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushSetSessionIdL test method SetSessionId of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushSetSessionIdL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushCHuiBrushL test method CHuiBrush of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushCHuiBrushL( CStifItemParser& aItem );
+ /**
+ * TestHuiBrushBrushExtensionL test method BrushExtension of CHuiBrushArray.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiBrushBrushExtensionL( CStifItemParser& aItem );
+
+private:// For testing huiframebrush.h
+ /**
+ * TestHuiFrameBrushNewLL test method NewL of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFrameBrushNewLL( CStifItemParser& aItem );
+ /**
+ * TestHuiFrameBrushNewLCL test method NewLC of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFrameBrushNewLCL( CStifItemParser& aItem );
+ /**
+ * TestHuiFrameBrushSetFrameRectsLL test method SetFrameRectsL of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFrameBrushSetFrameRectsLL( CStifItemParser& aItem );
+ /**
+ * TestHuiFrameBrushSetEdgeOffsetL test method SetEdgeOffset of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFrameBrushSetEdgeOffsetL( CStifItemParser& aItem );
+ /**
+ * TestHuiFrameBrushSetImageL test method SetImage of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFrameBrushSetImageL( CStifItemParser& aItem );
+
+private:// For testing huiGradientBrush.h
+ /**
+ * TestHuiGradientBrushNewLL test method NewL of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGradientBrushNewLL( CStifItemParser& aItem );
+ /**
+ * TestHuiGradientBrushNewLCL test method NewLC of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGradientBrushNewLCL( CStifItemParser& aItem );
+ /**
+ * TestHuiGradientBrushSetDirectionL test method SetDirection of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGradientBrushSetDirectionL( CStifItemParser& aItem );
+ /**
+ * TestHuiGradientBrushSetColorL test method SetColor of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGradientBrushSetColorL( CStifItemParser& aItem );
+ /**
+ * TestHuiGradientBrushSetImageL test method SetImage of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGradientBrushSetImageL( CStifItemParser& aItem );
+ /**
+ * TestHuiGradientBrushColorL test method Color of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGradientBrushColorL( CStifItemParser& aItem );
+ /**
+ * TestHuiGradientBrushOpacityL test method Opacity of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGradientBrushOpacityL( CStifItemParser& aItem );
+ /**
+ * TestHuiGradientBrushImageL test method Image of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGradientBrushImageL( CStifItemParser& aItem );
+ /**
+ * TestHuiGradientBrushAppendColorLL test method AppendColorL of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGradientBrushAppendColorLL( CStifItemParser& aItem );
+
+private:// For testing huigc.h
+ /**
+ * TestHuiGcTHuiPathPointL test method THuiPathPoint of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGcTHuiPathPoint( CStifItemParser& aItem );
+ /**
+ * TestHuiGcDrawImageL test method DrawImage of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGcDrawImageL( CStifItemParser& aItem );
+ /**
+ * TestHuiGcDrawImagesL test method DrawImages of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGcDrawImagesL( CStifItemParser& aItem );
+ /**
+ * TestHuiGcFontL test method Font of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGcFontL( CStifItemParser& aItem );
+ /**
+ * TestHuiGcNearClipDistanceL test method NearClipDistance of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGcNearClipDistanceL( CStifItemParser& aItem );
+ /**
+ * TestHuiGcFarClipDistanceL test method FarClipDistance of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGcFarClipDistanceL( CStifItemParser& aItem );
+ /**
+ * TestHuiGcFovFactorL test method FovFactor of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGcFovFactorL( CStifItemParser& aItem );
+ /**
+ * TestHuiGcOffset2DL test method Offset2D of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGcOffset2DL( CStifItemParser& aItem );
+ /**
+ * TestHuiGcSetWindowTransformationL test method SetWindowTransformation of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGcSetWindowTransformationL( CStifItemParser& aItem );
+ /**
+ * TestHuiGcLocaleTextAlignmentL test method LocaleTextAlignment of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGcLocaleTextAlignmentL( CStifItemParser& aItem );
+
+private:// For testing HuiOwnedPointer.h
+ /**
+ * TestHuiOwnerdPointerCloseL test method Close of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiOwnerdPointerCloseL( CStifItemParser& aItem );
+ /**
+ * TestHuiOwnerdPointerOperatorTL test method operator T of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiOwnerdPointerOperatorTL( CStifItemParser& aItem );
+ /**
+ * TestHuiOwnerdPointerOperatorConstTL test method operator const T of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiOwnerdPointerOperatorConstTL( CStifItemParser& aItem );
+ /**
+ * TestHuiOwnerdPointerOperatorL test method operator -> of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiOwnerdPointerOperatorL( CStifItemParser& aItem );
+ /**
+ * TestHuiOwnerdPointerPtrL test method Ptr of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiOwnerdPointerPtrL( CStifItemParser& aItem );
+ /**
+ * TestHuiOwnerdPointerRefL test method Ref of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiOwnerdPointerRefL( CStifItemParser& aItem );
+ /**
+ * TestHuiOwnerdPointerNonConstRefL test method NonConstRef of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiOwnerdPointerNonConstRefL( CStifItemParser& aItem );
+ /**
+ * TestHuiOwnerdPointerSetL test method Set of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiOwnerdPointerSetL( CStifItemParser& aItem );
+ /**
+ * TestHuiOwnerdPointerOwnershipL test method Ownership of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiOwnerdPointerOwnershipL( CStifItemParser& aItem );
+
+private:// For testing huigifanimationtexture.h
+ /**
+ * TestHuiGifAnimationTextureNewLL test method NewL of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGifAnimationTextureNewLL( CStifItemParser& aItem );
+ /**
+ * TestHuiGifAnimationTextureIdL test method Id of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGifAnimationTextureIdL( CStifItemParser& aItem );
+ /**
+ * TestHuiGifAnimationTextureStartL test method Start of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGifAnimationTextureStartL( CStifItemParser& aItem );
+ /**
+ * TestHuiGifAnimationTextureStopL test method Stop of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGifAnimationTextureStopL( CStifItemParser& aItem );
+ /**
+ * TestHuiGifAnimationTextureEnableAnimationL test method EnableAnimation of CHuiFrameBrush.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGifAnimationTextureEnableAnimationL( CStifItemParser& aItem );
+ //zhong
+private://huitextstyle.h
+ /*
+ * TestTHuiTextTHuiTextStyle test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTHuiTextStyle( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTFont test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTFont( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTFontConst test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTFontConst( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTSetFont test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTSetFont( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTParentId test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTParentId( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTSetParentId test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTSetParentId( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTId test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTId( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTTextColor test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTTextColor( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTSetTextColor test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTSetTextColor( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTBackgroundColor test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTBackgroundColor( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTSetBackgroundColor test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTSetBackgroundColor( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTTextSizeInTwips test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTTextSizeInTwips( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTSetTextSizeInTwips test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTSetTextSizeInTwips( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTextSizeInPixels test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTextSizeInPixels( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTSetTextSizeInPixels test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTSetTextSizeInPixels( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextStrokeWeight test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextStrokeWeight( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTSetStrokeWeight test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTSetStrokeWeight( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTPosture test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTPosture( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTSetPosture test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTSetPosture( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTUnderline test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTUnderline( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTSetUnderline test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTSetUnderline( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTStrikeThrough test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTStrikeThrough( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTSetStrikeThrough test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTSetStrikeThrough( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTFontStyleId test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTFontStyleId( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextGetTypeface test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextGetTypeface( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextSetTextPaneHeightInPixels test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextSetTextPaneHeightInPixels( CStifItemParser& aItem );
+
+ //huitextstylemanager.h
+ /*
+ * TestTHuiTextCHuiEnvL test method for huitextstylemanager.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextCHuiEnvL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextTextStyle test method for huitextstylemanager.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextTextStyle( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextCopyTextStyleL test method for huitextstylemanager.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextCopyTextStyleL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextDeleteTextStyle test method for huitextstylemanager.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextDeleteTextStyle( CStifItemParser& aItem );
+
+ //huitexture.h
+ /*
+ * TestTHuiTextNewL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextNewL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextNewLC test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextNewLC( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextImageFileNameL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextImageFileNameL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextHasContentL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextHasContentL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextHasAlphaL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextHasAlphaL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextMaxTextureSizeL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextMaxTextureSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextClearLL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextClearLL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiClearWithAlphaLL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiClearWithAlphaLL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSegmentedTextureL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSegmentedTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSegmentedTextureConstL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSegmentedTextureConstL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiShadowedTextureL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiShadowedTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiShadowedTextureConstL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiShadowedTextureConstL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiEnableShadowL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiEnableShadowL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiIsShadowEnabledL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiIsShadowEnabledL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetShadowStyleL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetShadowStyleL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiShadowStyleL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiShadowStyleL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetSizeL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSizeL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSegmentCountL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSegmentCountL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSegmentNameL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSegmentNameL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSegmentSizeL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSegmentSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSegmentTextureSizeL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSegmentTextureSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSegmentOffsetL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSegmentOffsetL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextureChangedL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextureChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTextureClearChangedL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTextureClearChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetSegmentOffsetL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetSegmentOffsetL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetSegmentCountL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetSegmentCountL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetSegmentNameL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetSegmentNameL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetSegmentSizeL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetSegmentSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetSegmentTextureSizeL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetSegmentTextureSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetSkinContentL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetSkinContentL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiIsSkinContentL test method for huitexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiIsSkinContentL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiTypeL test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiTypeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSessionIdL test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSessionIdL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetSessionIdL test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetSessionIdL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetPriorityL test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetPriorityL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiPriorityL test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiPriorityL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiEnableAutoSizeCalculationL test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiEnableAutoSizeCalculationL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiSetAutoSizeParamsL test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiSetAutoSizeParamsL( CStifItemParser& aItem );
+
+ /*
+ * TestTHuiAutoSizeParamsL test method for huitextstyle.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiAutoSizeParamsL( CStifItemParser& aItem );
+
+ //huidisplay.h
+ /*
+ * TestTHuiEnvL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHuiEnvL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayActivateL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayActivateL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayActiveL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayActiveL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetSizeLL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetSizeLL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySizeL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetVisibleAreaL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetVisibleAreaL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayVisibleAreaL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayVisibleAreaL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetOrientationL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetOrientationL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayOrientationL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayOrientationL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetUseDepthL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetUseDepthL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetClearBackgroundLL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetClearBackgroundLL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetBackgroundColor test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetBackgroundColorL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetBackgroundColor test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetBackgroundItemsL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayCaptureLCL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayCaptureLCL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayTransformationL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayTransformationL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayRosterL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayRosterL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayConstRosterL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayConstRosterL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayShowL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayShowL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetDirtyL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetDirtyL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetQualityL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetQualityL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayQualityL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayQualityL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetUsageLL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetUsageLL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayReleaseL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayReleaseL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayRestoreLL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayRestoreLL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetScreenBufferLockL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetScreenBufferLockL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayIsScreenBufferLockedL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayIsScreenBufferLockedL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayGetDrawingInterfaceL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayGetDrawingInterfaceL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayGetGraphicsContextL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayGetGraphicsContextL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayAddScreenBufferObserverLL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayAddScreenBufferObserverLL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayRemoveScreenBufferObserverL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayRemoveScreenBufferObserverL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayScreenBufferObserverL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayScreenBufferObserverL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayScreenBufferUidL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayScreenBufferUidL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayDisplayTypeL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayDisplayTypeL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayShowDirtyRegionsL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayShowDirtyRegionsL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplayGetPreferredTextureFormatsL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplayGetPreferredTextureFormatsL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetDrawVisualOutlineL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetDrawVisualOutlineL( CStifItemParser& aItem );
+
+ /*
+ * TestTDisplaySetVisibleAreaClippingRectL test method for huidisplay.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTDisplaySetVisibleAreaClippingRectL( CStifItemParser& aItem );
+
+ //huidisplaybackgrounditem.h
+ /*
+ * TestTTHuiDisplayBackgroundItemL test method for huidisplaybackgrounditem.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiDisplayBackgroundItemL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiDisplayBackgroundItemRectL test method for huidisplaybackgrounditem.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiDisplayBackgroundItemRectL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiDisplayBackgroundItemItemIDL test method for huidisplaybackgrounditem.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiDisplayBackgroundItemItemIDL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiDisplayBackgroundColorL test method for huidisplaybackgrounditem.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiDisplayBackgroundColorL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiDisplayBackgroundTRgbL test method for huidisplaybackgrounditem.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiDisplayBackgroundTRgbL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiTestTSetRectLL test method for huidisplaybackgrounditem.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiTestTSetRectLL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiSetColorL test method for huidisplaybackgrounditem.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiSetColorL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiSetColorItemL test method for huidisplaybackgrounditem.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiSetColorItemL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiSetSkinBackgroundL test method for huidisplaybackgrounditem.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiSetSkinBackgroundL( CStifItemParser& aItem );
+
+ //HuiDisplayCoeControl.h
+ /*
+ * TestTTHuiCCNewLL test method for HuiDisplayCoeControl.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCCNewLL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCCNewLCL test method for HuiDisplayCoeControl.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCCNewLCL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCCEnvL test method for HuiDisplayCoeControl.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCCEnvL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCCDisplayL test method for HuiDisplayCoeControl.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCCDisplayL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCCHandlePointerEventL test method for HuiDisplayCoeControl.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCCHandlePointerEventL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCCDisplayCoeCntrlExtensionL test method for HuiDisplayCoeControl.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCCDisplayCoeCntrlExtensionL( CStifItemParser& aItem );
+
+ //huienv.h
+ /*
+ * TestTTHuiCEnvHuiEnvLC test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvHuiEnvLC( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvRenderer test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvRenderer( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvNewDisplayL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvNewDisplayL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvNewDisplayLL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvNewDisplayLL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvDisplayCount test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvDisplayCount( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvSetRefreshMode test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvSetRefreshMode( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvRefreshMode test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvRefreshMode( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvSetMaxFrameRate test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvSetMaxFrameRate( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvContinueRefresh test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvContinueRefresh( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvPauseRefresh test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvPauseRefresh( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvNewControlGroupL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvNewControlGroupL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvDeleteControlGroup test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvDeleteControlGroup( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvLoadControlGroupL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvLoadControlGroupL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvControlGroup test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvControlGroup( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCEnvLoadBitmapsL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCEnvLoadBitmapsL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCVisualFactory test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCVisualFactory( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCTextureManager test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCTextureManager( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCFontManager test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCFontManager( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCTextStyleManager test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCTextStyleManager( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCFindControl test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCFindControl( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCSendL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCSendL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCSendLL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCSendLL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCCancelCommandsL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCCancelCommandsL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCCancelCommandsEventHandlerL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCCancelCommandsEventHandlerL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCCancelCommandsTHuiOpL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCCancelCommandsTHuiOpL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCCancelCommandsTIntL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCCancelCommandsTIntL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCTimeUntilCommandL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCTimeUntilCommandL( CStifItemParser& aItem );
+
+ /*
+ * TestTTHuiCSkin test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTTHuiCSkin( CStifItemParser& aItem );
+
+ /*
+ * TestTStartRefresh test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTStartRefresh( CStifItemParser& aItem );
+
+ /*
+ * TestTHandleKeyEventLL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHandleKeyEventLL( CStifItemParser& aItem );
+
+ /*
+ * TestTSetIdleThreshold test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTSetIdleThreshold( CStifItemParser& aItem );
+
+ /*
+ * TestTBroadcastEventLL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTBroadcastEventLL( CStifItemParser& aItem );
+
+ /*
+ * TestTPrimaryDisplayL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTPrimaryDisplayL( CStifItemParser& aItem );
+
+ /*
+ * TestTCHuiEnvDisplayL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTCHuiEnvDisplayL( CStifItemParser& aItem );
+
+ /*
+ * TestTCNotifySkinChangedLL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTCNotifySkinChangedLL( CStifItemParser& aItem );
+
+ /*
+ * TestTCRefreshCallBack test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTCRefreshCallBack( CStifItemParser& aItem );
+
+ /*
+ * TestTCRelease test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTCRelease( CStifItemParser& aItem );
+
+ /*
+ * TestTCRestoreLL test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTCRestoreL( CStifItemParser& aItem );
+
+ /*
+ * TestTCSetMaxCpuTime test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTCSetMaxCpuTime( CStifItemParser& aItem );
+
+ /*
+ * TestTCStatic test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTCStatic( CStifItemParser& aItem );
+
+ /*
+ * TestTCThemeManager test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTCThemeManager( CStifItemParser& aItem );
+
+ /*
+ * TestTCSetFPSCounterThreshold test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTCSetFPSCounterThreshold( CStifItemParser& aItem );
+
+ /*
+ * TestTCChangeRefreshLoopPriority test method for huienv.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTCChangeRefreshLoopPriority( CStifItemParser& aItem );
+
+ //huievent.h
+ /*
+ * TestTHETHuiEventL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHETHuiEventL( CStifItemParser& aItem );
+
+ /*
+ * TestTHETPointerEventL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHETPointerEventL( CStifItemParser& aItem );
+
+ /*
+ * TestTHETypeL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHETypeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHEIsCustomEventL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHEIsCustomEventL( CStifItemParser& aItem );
+
+ /*
+ * TestTHEIsKeyEventL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHEIsKeyEventL( CStifItemParser& aItem );
+
+ /*
+ * TestTHEIsPointerEventL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHEIsPointerEventL( CStifItemParser& aItem );
+
+ /*
+ * TestTHEDisplayL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHEDisplayL( CStifItemParser& aItem );
+
+ /*
+ * TestTHEPointerDownL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHEPointerDownL( CStifItemParser& aItem );
+
+ /*
+ * TestTHEPointerUpL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHEPointerUpL( CStifItemParser& aItem );
+
+ /*
+ * TestTHEPointerLongTapL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHEPointerLongTapL( CStifItemParser& aItem );
+
+ /*
+ * TestTHESetVisualL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHESetVisualL( CStifItemParser& aItem );
+
+ /*
+ * TestTHEVisualL test method for huievent.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHEVisualL( CStifItemParser& aItem );
+
+ //huidropshadow.h
+ /*
+ * TestTHSetOffsetL test method for huidropshadow.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHSetOffsetL( CStifItemParser& aItem );
+
+ /*
+ * TestTHSetColorL test method for huidropshadow.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHSetColorL( CStifItemParser& aItem );
+
+ /*
+ * TestTHSetColorTAknsItemIDL test method for huidropshadow.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHSetColorTAknsItemIDL( CStifItemParser& aItem );
+
+ //huidropshadowbrush.h
+ /*
+ * TestShadowBrushNewLL test method for huidropshadowbrush.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestShadowBrushNewLL( CStifItemParser& aItem );
+
+ /*
+ * TestShadowBrushNewLCL test method for huidropshadowbrush.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestShadowBrushNewLCL( CStifItemParser& aItem );
+
+ /*
+ * TestShadowBrushNewLTIntL test method for huidropshadowbrush.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestShadowBrushNewLTIntL( CStifItemParser& aItem );
+
+ /*
+ * TestShadowBrushNewLTIntLCL test method for huidropshadowbrush.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestShadowBrushNewLTIntLCL( CStifItemParser& aItem );
+
+ /*
+ * TestShadowBrushSetDepthL test method for huidropshadowbrush.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestShadowBrushSetDepthL( CStifItemParser& aItem );
+
+ /*
+ * TestShadowSetSoftnessL test method for huidropshadowbrush.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestShadowSetSoftnessL( CStifItemParser& aItem );
+
+ /*
+ * TestShadowSetColorL test method for huidropshadowbrush.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestShadowSetColorL( CStifItemParser& aItem );
+
+ //huiskin.h
+ /*
+ * TestHSkinOrientationL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinOrientationL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinLocationL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinLocationL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinNotifyDisplaySizeChangedLL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinNotifyDisplaySizeChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinNotifyDisplaySizeChangedLL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinSetContextL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinContextL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinContextL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinStyleTextColorL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinStyleTextColorL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinTextureLL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinReleaseTextureL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinReleaseTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinGetTextureL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinGetTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinTextureContentUploadedL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinTextureContentUploadedL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinTextureContentReleasedL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinTextureContentReleasedL( CStifItemParser& aItem );
+
+ /*
+ * TestHSkinRestoreTextureContentLL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHSkinRestoreTextureContentLL( CStifItemParser& aItem );
+
+ //huisegmentedtexture.h
+ /*
+ * TestHuisegmentedTextureHandleL test method for huisegmentedtexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuisegmentedTextureHandleL( CStifItemParser& aItem );
+
+ /*
+ * TestHuisegmentedTextureBindL test method for huisegmentedtexture.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuisegmentedTextureBindL( CStifItemParser& aItem );
+
+ //huis60skin.h
+ /*
+ * TestH60SkinCHuiS60SkinL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinCHuiS60SkinL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinConstructLL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinConstructLL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinLocationL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinLocationL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinTextureLL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinTextureLL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinReleaseTextureL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinReleaseTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinNotifyDisplaySizeChangedLL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinNotifyDisplaySizeChangedLL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinStyleTextColorL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinStyleTextColorL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinRestoreTextureContentLL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinRestoreTextureContentLL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinOrientationL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinOrientationL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinSetContextL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinSetContextL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinContextL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinContextL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinGetTextureL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinGetTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestH60SkinSkinExtensionL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60SkinSkinExtensionL( CStifItemParser& aItem );
+
+ //huishadowborderbrush.h
+ /*
+ * TestH60BordBrushNewLL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60BordBrushNewLL( CStifItemParser& aItem );
+
+ /*
+ * TestH60BordBrushNewLCL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60BordBrushNewLCL( CStifItemParser& aItem );
+
+ /*
+ * TestH60BordBrushNewLTIntL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60BordBrushNewLTIntL( CStifItemParser& aItem );
+
+ /*
+ * TestH60BordBrushNewLCTIntL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60BordBrushNewLCTIntL( CStifItemParser& aItem );
+
+ /*
+ * TestH60BordBrushSetWidthL test method for huiskin.h
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestH60BordBrushSetWidthL( CStifItemParser& aItem );
+
+ //HuiLayout.h CHuiLayout
+ /*
+ * TestCHuiControlAddConnectionL test method for testing the AddNewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutAddNewL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutConstructorL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutDestructorL test method for testing the Destructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutDestructorL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutConstructL test method for testing the ConstructL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutConstructL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutRemoveAndDestroyAllDL test method for testing the RemoveAndDestroyAllD method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutRemoveAndDestroyAllDL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutFindTagL test method for testing the FindTag method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutFindTagL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutAppendL test method for testing the AppendL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutAppendL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutInsertL test method for testing the InsertL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutInsertL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutRemoveL test method for testing the Remove method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutRemoveL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutCountL test method for testing the Count method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutCountL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutVisualL test method for testing the Visual method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutVisualL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutFindVisualL test method for testing the FindVisual method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutFindVisualL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutSetPosL test method for testing the SetPos method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutSetPosL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutSetSizeL test method for testing the SetSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutSetSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutUpdateChildrenLayoutL test method for testing the UpdateChildrenLayout method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutUpdateChildrenLayoutL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutUpdateChildLayoutL test method for testing the UpdateChildLayout method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutUpdateChildLayoutL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutSetInnerPaddingL test method for testing the SetInnerPadding method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutSetInnerPaddingL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutSetInnerPaddingWithMetricL test method for testing the SetInnerPadding method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutSetInnerPaddingWithMetricL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutInnerPaddingL test method for testing the InnerPadding method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutInnerPaddingL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutHorizontalInnerPaddingL test method for testing the HorizontalInnerPadding method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutHorizontalInnerPaddingL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutVerticalInnerPaddingL test method for testing the VerticalInnerPadding method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutVerticalInnerPaddingL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutInnerPaddingInBaseUnitsL test method for testing the InnerPaddingInBaseUnits method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutInnerPaddingInBaseUnitsL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutEnableScrollingL test method for testing the EnableScrollingL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutEnableScrollingL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutScrollingL test method for testing the Scrolling method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutScrollingL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutScrollOffsetL test method for testing the ScrollOffset method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutScrollOffsetL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutScrollOffsetWithconstL test method for testing the ScrollOffset method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutScrollOffsetWithconstL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutSetScrollOffsetInBaseUnitsL test method for testing the SetScrollOffsetInBaseUnits method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutSetScrollOffsetInBaseUnitsL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutVirtualSizeL test method for testing the VirtualSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutVirtualSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutEffectiveLayoutOrdinalL test method for testing the EffectiveLayoutOrdinal method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutEffectiveLayoutOrdinalL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutReorderL test method for testing the Reorder method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutReorderL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutMoveVisualToFrontL test method for testing the MoveVisualToFront method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutMoveVisualToFrontL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutMoveVisualToBackL test method for testing the MoveVisualToBack method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutMoveVisualToBackL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutNotifySkinChangedL test method for testing the NotifySkinChangedL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutNotifySkinChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutSetTransitionTimeL test method for testing the SetTransitionTime method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutSetTransitionTimeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutTransitionTimeL test method for testing the TransitionTime method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutTransitionTimeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutChildOrdinalL test method for testing the ChildOrdinal method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutChildOrdinalL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutPrepareDrawL test method for testing the PrepareDrawL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutPrepareDrawL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutDrawL test method for testing the Draw method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutDrawL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutReportChangedL test method for testing the ReportChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutReportChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutClearChangedL test method for testing the ClearChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutClearChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutChangedL test method for testing the Changed method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutDumpTreeL test method for testing the DumpTree method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutDumpTreeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutSetBaseUnitL test method for testing the SetBaseUnit method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutSetBaseUnitL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutSetBaseUnitXYL test method for testing the SetBaseUnit method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutSetBaseUnitXYL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutBaseUnitL test method for testing the BaseUnit method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutBaseUnitL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutInnerSizeL test method for testing the InnerSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutInnerSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutInnerTopLeftL test method for testing the InnerTopLeft method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutInnerTopLeftL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutChildSizeL test method for testing the ChildSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutChildSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutChildPosL test method for testing the ChildPos method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutChildPosL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutChildRectL test method for testing the ChildRect method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutChildRectL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutBrushOpacityL test method for testing the BrushOpacity method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutBrushOpacityL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutBrushRectL test method for testing the BrushRect method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutBrushRectL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutBrushSkinL test method for testing the BrushSkin method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutBrushSkinL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutGetInstanceNameL test method for testing the GetInstanceName method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutGetInstanceNameL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutGetClassNameL test method for testing the GetClassName method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutGetClassNameL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutTypeL test method for testing the Type method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutTypeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutSessionIdL test method for testing the SessionId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutSessionIdL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutSetSessionIdL test method for testing the SetSessionId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutSetSessionIdL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutDrawSelfL test method for testing the DrawSelf method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutDrawSelfL( CStifItemParser& aItem );
+
+ /*
+ * TestHLMetricReferenceForLayoutInPixelsWithLayoutL test method
+ * for testing the MetricReferenceForLayoutInPixels method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHLMetricReferenceForLayoutInPixelsWithLayoutL( CStifItemParser& aItem );
+
+ /*
+ * TestHLMetricReferenceForLayoutInPixelsL test method
+ * for testing the MetricReferenceForLayoutInPixels method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHLMetricReferenceForLayoutInPixelsL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutExpandRectWithContentL test method
+ * for testing the ExpandRectWithContent method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutExpandRectWithContentL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiLayoutVisualExtensionL test method for testing the VisualExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiLayoutVisualExtensionL( CStifItemParser& aItem );
+
+private://HuiLineVisual.h CHuiLineVisual
+ /*
+ * TestCHLVAddNewL test method for testing the AddNewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHLVAddNewL( CStifItemParser& aItem );
+
+ /*
+ * TestCHLVSetPathL test method for testing the SetPath method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHLVSetPathL( CStifItemParser& aItem );
+
+ /*
+ * TestCHLVPathL test method for testing the Path method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHLVPathL( CStifItemParser& aItem );
+
+ /*
+ * TestCHLVSetImageL test method for testing the SetImage method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHLVSetImageL( CStifItemParser& aItem );
+
+ /*
+ * TestCHLVSetAlphaFunctionL test method for testing the SetAlphaFunction method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHLVSetAlphaFunctionL( CStifItemParser& aItem );
+
+ /*
+ * TestCHLVSetWidthFunctionL test method for testing the SetWidthFunction method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHLVSetWidthFunctionL( CStifItemParser& aItem );
+
+ /*
+ * TestCHLVSetColorL test method for testing the SetColor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHLVSetColorL( CStifItemParser& aItem );
+
+ // huim3gmesh.h CHuiM3GMesh
+ /*
+ * TestCHM3GMLoadSceneL test method for testing the LoadSceneL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHM3GMLoadSceneL( CStifItemParser& aItem );
+
+ /*
+ * TestCHM3GMSetAnimationPositionL test method for testing the SetAnimationPosition method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHM3GMSetAnimationPositionL( CStifItemParser& aItem );
+
+ /*
+ * TestCHM3GMStartAnimationControllerL test method for testing the StartAnimationController method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHM3GMStartAnimationControllerL( CStifItemParser& aItem );
+
+ /*
+ * TestCHM3GMStopAnimationControllerL test method for testing the StopAnimationController method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHM3GMStopAnimationControllerL( CStifItemParser& aItem );
+
+private: // HuiMappingFunctions.h THuiConstantMappingFunction
+ /*
+ * TestTHCMFConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHCMFConstructorL( CStifItemParser& aItem );
+
+ /*
+ * TestTHCMFMapValueL test method for testing the MapValue method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHCMFMapValueL( CStifItemParser& aItem );
+
+ // HuiMappingFunctions.h THuiLinearMappingFunction
+ /*
+ * TestTHLMFConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHLMFConstructorL( CStifItemParser& aItem );
+
+ /*
+ * TestTHLMFMapValueL test method for testing the MapValue method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHLMFMapValueL( CStifItemParser& aItem );
+
+ // HuiMappingFunctions.h THuiSineMappingFunction
+ /*
+ * TestTHSMFConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHSMFConstructorL( CStifItemParser& aItem );
+
+ /*
+ * TestTHSMFMapValueL test method for testing the MapValue method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHSMFMapValueL( CStifItemParser& aItem );
+
+ // HuiMappingFunctions.h THuiCosineMappingFunction
+ /*
+ * TestTHCosineMFConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHCosineMFConstructorL( CStifItemParser& aItem );
+
+ /*
+ * TestTHCosineMFMapValueL test method for testing the MapValue method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHCosineMFMapValueL( CStifItemParser& aItem );
+
+ // HuiMappingFunctions.h THuiAverageMappingFunction
+ /*
+ * TestTHAMFConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHAMFConstructorL( CStifItemParser& aItem );
+
+ /*
+ * TestTHAMFMapValueL test method for testing the MapValue method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHAMFMapValueL( CStifItemParser& aItem );
+
+ /*
+ * TestTHAMFMappingFunctionChangedL test method for testing the MappingFunctionChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHAMFMappingFunctionChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestTHAMFMappingFunctionClearChangedL test method
+ * for testing the MappingFunctionClearChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHAMFMappingFunctionClearChangedL( CStifItemParser& aItem );
+
+private:// HuiMesh.h CHuiMesh
+ /*
+ * TestCHuiMeshNewL test method for testing the NewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshNewL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshNewLCL test method for testing the NewLC method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshNewLCL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshDestructL test method for testing the Destruct method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshDestructL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshMeshTypeL test method for testing the MeshType method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshMeshTypeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshResetL test method for testing the Reset method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshResetL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshStretchUniformlyL test method for testing the StretchUniformly method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshStretchUniformlyL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshScaleUniformlyL test method for testing the ScaleUniformly method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshScaleUniformlyL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshTypeL test method for testing the Type method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshTypeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshSessionIdL test method for testing the SessionId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshSessionIdL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshSetSessionIdL test method for testing the SetSessionId method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshSetSessionIdL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshAnimationControllerCountL test method for testing the AnimationControllerCount method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshAnimationControllerCountL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshSetAnimationPositionL test method for testing the SetAnimationPosition method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshSetAnimationPositionL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshStartAnimationControllerL test method for testing the StartAnimationController method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshStartAnimationControllerL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshStopAnimationControllerL test method for testing the StopAnimationController method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshStopAnimationControllerL( CStifItemParser& aItem );
+
+private:// huimeshvisual.h CHuiMeshVisual
+ /*
+ * TestCHuiMeshVisualAddNewL test method for testing the AddNewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshVisualAddNewL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshVisualCreateMeshL test method for testing the CreateMeshL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshVisualCreateMeshL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshVisualSetImageL test method for testing the SetImage method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshVisualSetImageL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshVisualSetSecondaryImageL test method for testing the SetSecondaryImage method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshVisualSetSecondaryImageL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshVisualSetSpecularImageL test method for testing the SetSpecularImage method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshVisualSetSpecularImageL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshVisualMeshL test method for testing the Mesh method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshVisualMeshL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshVisualProceduralMeshL test method for testing the ProceduralMesh method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshVisualProceduralMeshL( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiMeshVisualM3GMeshL test method for testing the M3GMesh method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiMeshVisualM3GMeshL( CStifItemParser& aItem );
+
+private:// huimetric.h THuiMetric
+ /*
+ * TestTHMConstructor test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHMConstructor( CStifItemParser& aItem );
+
+ /*
+ * TestTHMConstructorWithPixel test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHMConstructorWithPixel( CStifItemParser& aItem );
+
+ /*
+ * TestTHMAbs test method for testing the Abs method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHMAbs( CStifItemParser& aItem );
+
+ /*
+ * TestTHMoperator test method for testing the operator * method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHMoperator( CStifItemParser& aItem );
+
+ // huimetric.h THuiXYMetric
+ /*
+ * TestTHXYMConstructor test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHXYMConstructor( CStifItemParser& aItem );
+
+ /*
+ * TestTHXYMConstructorWithMetric test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHXYMConstructorWithMetric( CStifItemParser& aItem );
+
+ /*
+ * TestTHXYMConstructorWithTwo test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHXYMConstructorWithTwo( CStifItemParser& aItem );
+
+ /*
+ * TestTHXYMoperator test method for testing the operator * method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHXYMoperator( CStifItemParser& aItem );
+
+ /*
+ * TestTHXYMAbs test method for testing the Abs method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHXYMAbs( CStifItemParser& aItem );
+
+ // huimetric.h THuiBoxMetric
+ /*
+ * TestTHBMConstructor test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHBMConstructor( CStifItemParser& aItem );
+
+ /*
+ * TestTHBMConstructorWithMetric test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHBMConstructorWithMetric( CStifItemParser& aItem );
+
+ /*
+ * TestTHBMConstructorWithXYMetric test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHBMConstructorWithXYMetric( CStifItemParser& aItem );
+
+ /*
+ * TestTHBMConstructorWithTwo test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHBMConstructorWithTwo( CStifItemParser& aItem );
+
+ /*
+ * TestTHBMConstructorWithTwo test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHBMConstructorWithFour( CStifItemParser& aItem );
+
+private:// huirealpoint.h THuiRealPoint
+ /*
+ * TestTHRPConstructor test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPConstructor( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPConstructorWithTReal test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPConstructorWithTReal( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPConstructorWithTPoint test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPConstructorWithTPoint( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPAsSize test method for testing the AsSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPAsSize( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPTPoint test method for testing the operator TPoint method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPTPoint( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPRound test method for testing the Round method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPRound( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPoperator1 test method for testing the operator + method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPoperator1( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPoperator2 test method for testing the operator += method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPoperator2( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPoperator3 test method for testing the operator -= method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPoperator3( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPoperator4 test method for testing the operator - method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPoperator4( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPoperator5 test method for testing the operator - method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPoperator5( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPoperator6 test method for testing the operator * method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPoperator6( CStifItemParser& aItem );
+
+ /*
+ * TestTHRPAbs test method for testing the Abs method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRPAbs( CStifItemParser& aItem );
+
+private:// HuiRealRect.h THuiRealRect
+ /*
+ * TestTHRRConstructor test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRConstructor( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRConstructorWithPoint test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRConstructorWithPoint( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRConstructorWithPointAndSize test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRConstructorWithPointAndSize( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRConstructorWithTRect test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRConstructorWithTRect( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRWidth test method for testing the Width method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRWidth( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRHeight test method for testing the Height method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRHeight( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRTopRight test method for testing the TopRight method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRTopRight( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRBottomLeft test method for testing the BottomLeft method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRBottomLeft( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRSize test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRSize( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRCenter test method for testing the Center method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRCenter( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRGrow test method for testing the Grow method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRGrow( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRShrink test method for testing the Shrink method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRShrink( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRShrinkPoint test method for testing the Grow method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRShrinkTPoint( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRShrinkTHuiRealPoint test method for testing the Shrink method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRShrinkTHuiRealPoint( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRShrinkTHuiRealRect test method for testing the Grow method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRShrinkTHuiRealRect( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRMove test method for testing the Move method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRMove( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRoperatorTRect test method for testing the operator TRect method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRoperatorTRect( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRRound test method for testing the Round method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRRound( CStifItemParser& aItem );
+
+ /*
+ * TestTHRRBoundingRect test method for testing the BoundingRect method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRRBoundingRect( CStifItemParser& aItem );
+
+private:// huirealsize.h THuiRealSize
+ /*
+ * TestTHRSConstructor test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRSConstructor( CStifItemParser& aItem );
+
+ /*
+ * TestTHRSConstructorWithTReal test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRSConstructorWithTReal( CStifItemParser& aItem );
+
+ /*
+ * TestTHRSConstructorWithTSize test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRSConstructorWithTSize( CStifItemParser& aItem );
+
+ /*
+ * TestTHRSoperatorTSize test method for testing the operator TSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRSoperatorTSize( CStifItemParser& aItem );
+
+ /*
+ * TestTHRSRound test method for testing the Round method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRSRound( CStifItemParser& aItem );
+
+ /*
+ * TestTHRSoperatorPlus test method for testing the operator * method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHRSoperatorPlus( CStifItemParser& aItem );
+
+private:// huiproceduralmesh.h CHuiProceduralMesh
+ /*
+ * TestHPMDeleteL test method for testing the destruct method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHPMDeleteL( CStifItemParser& aItem );
+
+ /*
+ * TestHPMResetL test method for testing the Reset method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHPMResetL( CStifItemParser& aItem );
+
+ /*
+ * TestHPMMakeCubeL test method for testing the MakeCubeL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHPMMakeCubeL( CStifItemParser& aItem );
+
+ /*
+ * TestHPMMakeSphereL test method for testing the MakeSphereL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHPMMakeSphereL( CStifItemParser& aItem );
+
+ /*
+ * MakeTorusL test method for testing the MakeTorusL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHPMMakeTorusL( CStifItemParser& aItem );
+
+ /*
+ * TestHPMStretchUniformlyL test method for testing the StretchUniformly method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHPMStretchUniformlyL( CStifItemParser& aItem );
+
+ /*
+ * TestHPMScaleUniformlyL test method for testing the ScaleUniformly method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHPMScaleUniformlyL( CStifItemParser& aItem );
+
+private:// huistatic.h CHuiStatic
+ /*
+ * TestCHuiStaticEnv test method for testing the Env method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticEnv( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticTime test method for testing the Time method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticTime( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticSetTimeFactor test method for testing the SetTimeFactor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticSetTimeFactor( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticTimeFactor test method for testing the TimeFactor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticTimeFactor( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticPauseTime test method for testing the PauseTime method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticPauseTime( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticContinueTime test method for testing the ContinueTime method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticContinueTime( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticTimePaused test method for testing the TimePaused method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticTimePaused( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticElapsedSeconds test method for testing the ElapsedSeconds method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticElapsedSeconds( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticSecondsSinceStart test method for testing the SecondsSinceStart method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticSecondsSinceStart( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticMilliSecondsSinceStart test method for testing the MilliSecondsSinceStart method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticMilliSecondsSinceStart( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticFrameCount test method for testing the FrameCount method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticFrameCount( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticAverageFrameRate test method for testing the AverageFrameRate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticAverageFrameRate( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticFrameRate test method for testing the FrameRate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticFrameRate( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticPrintfTDesC8 test method for testing the Printf method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticPrintfTDesC8( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticPrintfTDesC16 test method for testing the Printf method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticPrintfTDesC16( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticEnableLogging test method for testing the EnableLogging method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticEnableLogging( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticLogging test method for testing the Logging method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticLogging( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticTic test method for testing the Tic method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticTic( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticToc test method for testing the Toc method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticToc( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticFsSession test method for testing the FsSession method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticFsSession( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticSetLayoutTransitionTime test method for testing the SetLayoutTransitionTime method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticSetLayoutTransitionTime( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticLayoutTransitionTime test method for testing the LayoutTransitionTime method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticLayoutTransitionTime( CStifItemParser& aItem );
+
+ /*
+ * TestCHuiStaticSetProbe test method for testing the SetProbe method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHuiStaticSetProbe( CStifItemParser& aItem );
+
+private:// huisoftkeycontrol.h CHuiSoftKeyControl
+ /*
+ * TestCHSKCNewL test method for testing the NewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHSKCNewL( CStifItemParser& aItem );
+
+ /*
+ * TestCHSKCNewLCL test method for testing the NewLCL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHSKCNewLCL( CStifItemParser& aItem );
+
+ /*
+ * TestCHSKCDestructL test method for testing the destruct method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHSKCDestructL( CStifItemParser& aItem );
+
+ /*
+ * TestCHSKCSetLabelL test method for testing the SetLabelL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHSKCSetLabelL( CStifItemParser& aItem );
+
+ /*
+ * TestCHSKCSetBackgroundL test method for testing the SetBackgroundL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHSKCSetBackgroundL( CStifItemParser& aItem );
+
+ /*
+ * TestCHSKCSetAnimationTimesL test method for testing the SetAnimationTimes method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHSKCSetAnimationTimesL( CStifItemParser& aItem );
+
+ /*
+ * TestCHSKCEnterViewL test method for testing the EnterView method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHSKCEnterViewL( CStifItemParser& aItem );
+
+ /*
+ * TestCHSKCExitViewL test method for testing the ExitView method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHSKCExitViewL( CStifItemParser& aItem );
+
+ /*
+ * TestCHSKCSetBackgroundTypeL test method for testing the SetBackgroundType method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHSKCSetBackgroundTypeL( CStifItemParser& aItem );
+
+private:// huiutil.h HuiUtil
+ /*
+ * TestHuiUtilPower2 test method for testing the Power2 method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilPower2( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilPower2RoundDown test method for testing the Power2RoundDown method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilPower2RoundDown( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilInterpolate test method for testing the Interpolate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilInterpolate( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilWrapValue test method for testing the WrapValue method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilWrapValue( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilRandomInt test method for testing the RandomInt method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilRandomInt( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilRandomReal test method for testing the RandomReal method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilRandomReal( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilQuickLengthWithPoint test method for testing the QuickLength method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilQuickLengthWithPoint( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilQuickLength test method for testing the QuickLength method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilQuickLength( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilQuickNormalizeWithPoint test method for testing the QuickNormalize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilQuickNormalizeWithPoint( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilQuickNormalize test method for testing the QuickNormalize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilQuickNormalize( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilCrossProduct test method for testing the CrossProduct method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilCrossProduct( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilNormalFromPoints test method for testing the NormalFromPoints method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilNormalFromPoints( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilShadowMatrix test method for testing the ShadowMatrix method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilShadowMatrix( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilFreeMemory test method for testing the FreeMemory method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilFreeMemory( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilScreenSize test method for testing the ScreenSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilScreenSize( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilLengthUnit test method for testing the LengthUnit method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilLengthUnit( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilColorLightness test method for testing the ColorLightness method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilColorLightness( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilScaleFbsBitmapL test method for testing the ScaleFbsBitmapL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilScaleFbsBitmapL( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilCombineMaskFbsBitmapL test method for testing the CombineMaskFbsBitmapL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilCombineMaskFbsBitmapL( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilCropFbsBitmapL test method for testing the CropFbsBitmapL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilCropFbsBitmapL( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilScaleImageL test method for testing the ScaleImage method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilScaleImageL( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilCropImageL test method for testing the CropImage method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilCropImageL( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilTagMatches test method for testing the TagMatches method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilTagMatches( CStifItemParser& aItem );
+
+ /*
+ * TestHuiUtilConvertBitmapToDisplayModeLCL test method for testing the ConvertBitmapToDisplayModeLC method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiUtilConvertBitmapToDisplayModeLCL( CStifItemParser& aItem );
+
+private://huitimedvalue.h MHuiMappingFunction
+ /*
+ * TestMHMFMappingFunctionChangedL test method for testing the MappingFunctionChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestMHMFMappingFunctionChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestMHMFMappingFunctionClearChangedL test method for testing the MappingFunctionClearChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestMHMFMappingFunctionClearChangedL( CStifItemParser& aItem );
+
+ // THuiTimedValue
+ /*
+ * TestTHTVConstructor test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVConstructor( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVConstructorWithValue test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVConstructorWithValue( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVStyle test method for testing the Style method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVStyle( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVSetStyle test method for testing the SetStyle method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVSetStyle( CStifItemParser& aItem );
+
+ /*
+ * SetFunction test method for testing the SetFunction method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVSetFunction( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVSetMappingMode test method for testing the SetMappingMode method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVSetMappingMode( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVNow test method for testing the Now method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVNow( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVUnmappedNow test method for testing the UnmappedNow method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVUnmappedNow( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVTarget test method for testing the Target method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVTarget( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVSetValue test method for testing the Set method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVSetValue( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVSetValueTime test method for testing the Set method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVSetValueTime( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVSetWithSpeed test method for testing the SetWithSpeed method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVSetWithSpeed( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVRemainingTime test method for testing the RemainingTime method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVRemainingTime( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVFinish test method for testing the Finish method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVFinish( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVChanged test method for testing the Changed method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVChanged( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVInterpolating test method for testing the Interpolating method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVInterpolating( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVClearChanged test method for testing the ClearChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVClearChanged( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVEnableClock test method for testing the EnableClock method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVEnableClock( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVSuspend test method for testing the Suspend method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVSuspend( CStifItemParser& aItem );
+
+ /*
+ * TestTHTVoperatorEqualTo test method for testing the operator = method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTVoperatorEqualTo( CStifItemParser& aItem );
+
+private:// huiimage.h THuiImage
+ /*
+ * TestTHIConstructor test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIConstructor( CStifItemParser& aItem );
+
+ /*
+ * TestTHIConstructorWithParaL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIConstructorWithParaL( CStifItemParser& aItem );
+
+ /*
+ * TestTHISegmentCountL test method for testing the SegmentCount method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHISegmentCountL( CStifItemParser& aItem );
+
+ /*
+ * TestTHIGetVertexCoordsL test method for testing the GetVertexCoords method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIGetVertexCoordsL( CStifItemParser& aItem );
+
+ /*
+ * TestTHIGetTexCoordsL test method for testing the GetTexCoords method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIGetTexCoordsL( CStifItemParser& aItem );
+
+ /*
+ * TestTHISetTexCoords test method for testing the SetTexCoords method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHISetTexCoordsL( CStifItemParser& aItem );
+
+ /*
+ * TestTHITopLeft test method for testing the TopLeft method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHITopLeftL( CStifItemParser& aItem );
+
+ /*
+ * TestTHIBottomRight test method for testing the BottomRight method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIBottomRightL( CStifItemParser& aItem );
+
+ /*
+ * TestTHIHasTexture test method for testing the HasTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIHasTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestTHIHasTextureL test method for testing the SetTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHISetTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestTHITextureL test method for testing the Texture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHITextureL( CStifItemParser& aItem );
+
+ /*
+ * TestTHITextureIfL test method for testing the TextureIf method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHITextureIfL( CStifItemParser& aItem );
+
+ /*
+ * TestTHIHasShadow test method for testing the HasShadow method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIHasShadow( CStifItemParser& aItem );
+
+ /*
+ * TestTHIShadowTexture test method for testing the ShadowTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIShadowTexture( CStifItemParser& aItem );
+
+ /*
+ * TestTHITranslate test method for testing the Translate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHITranslate( CStifItemParser& aItem );
+
+ /*
+ * TestTHIScale test method for testing the Scale method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIScale( CStifItemParser& aItem );
+
+private:// huiimagebrush.h CHuiImageBrush
+ /*
+ * TestCHIBNewL test method for testing the NewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHIBNewL( CStifItemParser& aItem );
+
+ /*
+ * TestCHIBNewLCL test method for testing the NewLC method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHIBNewLCL( CStifItemParser& aItem );
+
+ /*
+ * TestCHIBSetScaleModeL test method for testing the SetScaleMode method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHIBSetScaleModeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHIBSetImageL test method for testing the SetImage method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHIBSetImageL( CStifItemParser& aItem );
+
+ /*
+ * TestCHIBSetBordersL test method for testing the SetBorders method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHIBSetBordersL( CStifItemParser& aItem );
+
+ /*
+ * TestCHIBBorderDrawingEnabledL test method for testing the BorderDrawingEnabled method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHIBBorderDrawingEnabledL( CStifItemParser& aItem );
+
+ /*
+ * TestCHIBCenterDrawingEnabledL test method for testing the CenterDrawingEnabled method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHIBCenterDrawingEnabledL( CStifItemParser& aItem );
+
+ /*
+ * TestCHIBExpandVisualRectL test method for testing the ExpandVisualRect method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHIBExpandVisualRectL( CStifItemParser& aItem );
+
+ /*
+ * TestCHIBBorderDrawingEnabledL test method for testing the BorderDrawingEnabled method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHIBDrawL( CStifItemParser& aItem );
+
+private:// huitimedpoint.h THuiTimedPoint
+ /*
+ * TestTHTPConstructor test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPConstructor( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPConstructorWithTReal test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPConstructorWithTReal( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPSetStyle test method for testing the SetStyle method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPSetStyle( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPSetFunctionL test method for testing the SetFunction method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPSetFunctionL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPSet test method for testing the Set method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPSet( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPSetTReal test method for testing the Set method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPSetTReal( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPSetWithSpeed test method for testing the SetWithSpeed method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPSetWithSpeed( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPSetWithSpeedTReal test method for testing the SetWithSpeed method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPSetWithSpeedTReal( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPNow test method for testing the Now method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPNow( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPRealNow test method for testing the RealNow method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPRealNow( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPTarget test method for testing the Target method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPTarget( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPRealTarget test method for testing the RealTarget method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPRealTarget( CStifItemParser& aItem );
+
+ /*
+ * TestTHTPFinish test method for testing the Finish method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTPFinish( CStifItemParser& aItem );
+
+private:// huitexturehandle.h THuiTextureHandle
+ /*
+ * TestTHTHConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHConstructorL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHConstructorWithParaL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHConstructorWithParaL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHIsNullL test method for testing the IsNull method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHIsNullL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHHasContentL test method for testing the HasContent method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHHasContentL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHReleaseL test method for testing the Release method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHReleaseL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSetL test method for testing the Set method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSetL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSetNameL test method for testing the SetName method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSetNameL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSetSizeL test method for testing the SetSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSetSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSetTextureSizeL test method for testing the SetTextureSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSetTextureSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSegmentedTextureL test method for testing the SegmentedTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSegmentedTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSegmentedTextureconstL test method for testing the SetTextureSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSegmentedTextureconstL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHShadowedTextureL test method for testing the ShadowedTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHShadowedTextureL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHShadowedTextureconstL test method for testing the ShadowedTexture method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHShadowedTextureconstL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHTextureChangedL test method for testing the TextureChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHTextureChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHTextureClearChangedL test method for testing the TextureClearChanged method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHTextureClearChangedL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHNameL test method for testing the Name method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHNameL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSizeL test method for testing the Size method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSegmentCountL test method for testing the SegmentCount method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSegmentCountL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSegmentNameL test method for testing the SegmentName method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSegmentNameL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSegmentSizeL test method for testing the SegmentSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSegmentSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSegmentTextureSizeL test method for testing the SegmentTextureSize method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSegmentTextureSizeL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHSegmentOffsetL test method for testing the SegmentOffset method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHSegmentOffsetL( CStifItemParser& aItem );
+
+ /*
+ * TestTHTHTextureExtensionL test method for testing the TextureExtension method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHTHTextureExtensionL( CStifItemParser& aItem );
+
+private:// huitransformation.h CHuiTransformation
+ /*
+ * TestCHTranNewL test method for testing the NewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranNewL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranNewLCL test method for testing the NewL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranNewLCL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranCountL test method for testing the Count method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranCountL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranNonIdentityCountL test method for testing the NonIdentityCount method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranNonIdentityCountL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranStepL test method for testing the Step method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranStepL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranoperatorL test method for testing the operator [] method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranoperatorL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranLoadIdentityL test method for testing the LoadIdentity method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranLoadIdentityL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranTranslateL test method for testing the Translate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranTranslateL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranTranslateWithValueL test method for testing the Translate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranTranslateWithValueL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranScaleL test method for testing the Scale method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranScaleL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranScaleL test method for testing the Scale method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranScaleWithValueL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranScaleL test method for testing the Scale method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranScaleWithThreeL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranScaleL test method for testing the Scale method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranScaleWithThreeValueL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranRotateL test method for testing the Rotate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranRotateL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranRotateValueL test method for testing the Rotate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranRotateValueL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranRotateFourL test method for testing the Rotate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranRotateFourL( CStifItemParser& aItem );
+
+ /*
+ * TestCHTranRotateValueThreeL test method for testing the Rotate method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCHTranRotateValueThreeL( CStifItemParser& aItem );
+
+private:// huifixmath.h HuiFixMath
+ /*
+ * TestHFMFixHypot test method for testing the FixHypot method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHFMFixHypot( CStifItemParser& aItem );
+
+ /*
+ * TestHFMFixSin test method for testing the FixSin method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHFMFixSin( CStifItemParser& aItem );
+
+ /*
+ * TestHFMFixCos test method for testing the FixCos method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHFMFixCos( CStifItemParser& aItem );
+
+ /*
+ * TestHFMFixMul test method for testing the FixMul method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHFMFixMul( CStifItemParser& aItem );
+
+ /*
+ * TestHFMFixDiv test method for testing the FixDiv method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHFMFixDiv( CStifItemParser& aItem );
+
+ /*
+ * TestHFMFloatToFix test method for testing the FloatToFix method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHFMFloatToFix( CStifItemParser& aItem );
+
+ /*
+ * TestHFMFixToFloat test method for testing the FixToFloat method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHFMFixToFloat( CStifItemParser& aItem );
+
+private:// huifont.h THuiFont
+ /*
+ * TestTHFConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHFConstructorL( CStifItemParser& aItem );
+
+ /*
+ * TestTHFConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHFConstructorWithParaL( CStifItemParser& aItem );
+
+ /*
+ * TestTHFConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHFConstructorWithFontL( CStifItemParser& aItem );
+
+ /*
+ * TestTHFoperatorEqualL test method for testing the operator = method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHFoperatorEqual( CStifItemParser& aItem );
+
+ /*
+ * TestTHFIdL test method for testing the Id method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHFIdL( CStifItemParser& aItem );
+
+ /*
+ * TestTHFCategoryL test method for testing the Category method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHFCategoryL( CStifItemParser& aItem );
+
+ /*
+ * TestTHFFontSpecL test method for testing the FontSpec method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHFFontSpecL( CStifItemParser& aItem );
+
+private:// huifontmanager.h THuiFontManager
+ /*
+ * TestTHFMEnumerateFontsL test method for testing the EnumerateFontsL method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHFMEnumerateFontsL( CStifItemParser& aItem );
+
+private:// huiinteractioninterval.h THuiInteractionInterval
+ /*
+ * TestTHIIConstructorL test method for testing the Constructor method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIIConstructorL( CStifItemParser& aItem );
+
+ /*
+ * TestTHIISetScalarL test method for testing the SetScalar method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIISetScalarL( CStifItemParser& aItem );
+
+ /*
+ * TestTHIIScalarL test method for testing the Scalar method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIIScalarL( CStifItemParser& aItem );
+
+ /*
+ * TestTHIIIntervalL test method for testing the Interval method
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTHIIIntervalL( CStifItemParser& aItem );
+
+private: // for test the huitextvisual.h
+
+ /**
+ * TestHuiTextVisualAddNewL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualAddNewL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSetTextL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSetTextL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualText test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualText( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSetAlign test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSetAlign( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSetLineSpacing test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSetLineSpacing( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSetStyle test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSetStyle( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSetTextStyle test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSetTextStyle( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualStyle test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualStyle( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualTextStyle test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualTextStyle( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSetMaxLineCount test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSetMaxLineCount( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualMaxLineCount test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualMaxLineCount( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualWrapping test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualWrapping( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSetWrapping test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSetWrapping( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualBackgroundType test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualBackgroundType( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualOffset test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualOffset( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualOffsetConst test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualOffsetConst( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualTextExtents test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualTextExtentsL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualPrepareDrawL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualPrepareDrawL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSetColor test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSetColor( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSetColorWithIndex test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSetColorWithIndex( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSubstringExtents test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSubstringExtents( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualEnableShadow test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualEnableShadow( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTextVisualSetHighlightRange test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTextVisualSetHighlightRange( CStifItemParser& aItem );
+
+private: //for test the huiviewportlayout.h
+
+
+ /**
+ * TestHuiViewPortLayoutAddNewL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiViewPortLayoutAddNewL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiViewPortLayoutSetVirtualSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiViewPortLayoutSetVirtualSize( CStifItemParser& aItem );
+
+ /**
+ * TestHuiViewPortLayoutSetViewportSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiViewPortLayoutSetViewportSize( CStifItemParser& aItem );
+
+ /**
+ * TestHuiViewPortLayoutSetViewportPos test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiViewPortLayoutSetViewportPos( CStifItemParser& aItem );
+
+private: // for test the huiimagevisual.h
+
+ /**
+ * TestHuiImageVisualAddNewL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualAddNewL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSetScaleMode test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSetScaleMode( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSetImage test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSetImageL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSetSecondaryImage test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSetSecondaryImageL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualImage test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualImage( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSecondaryImage test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSecondaryImage( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSetColor test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSetColor( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSetColorMode test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSetColorMode( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSetStretch test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSetStretch( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSetStretchMode test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSetStretchMode( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSetDropShadow test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSetDropShadow( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSetDropShadowWithHuiMetrix test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSetDropShadowWithHuiMetric( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageVisualSetDropShadowWithHuiXYMetric test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageVisualSetDropShadowWithHuiXYMetric( CStifItemParser& aItem );
+
+private:// for testing huigridlayout.h
+
+
+ /**
+ * TestHuiGridLayoutAddNewL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutAddNewL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutConstructor test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutConstructor( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutConstructL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutDelete test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutDelete( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutSetSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutSetSize( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutChildOrdinal test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutChildOrdinalL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutChildPos test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutChildPos( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutChildSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutChildSize( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutChildRect test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutChildRect( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutBaseUnit test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutBaseUnit( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutRemoveAndDestroyAllD test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutRemoveAndDestroyAllD( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutFindTag test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutFindTagL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutCount test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutCount( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutVisual test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutVisualL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutSetPos test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutSetPos( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutUpdateChildrenLayout test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutUpdateChildrenLayout( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutPrepareDrawL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutPrepareDrawL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutDraw test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutDrawL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutDrawSelf test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutDrawSelfL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutChanged test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutChanged( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutReportChanged test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutReportChanged( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutClearChanged test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutClearChanged( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutNotifySkinChangedL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutNotifySkinChangedL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutExpandRectWithContent test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutExpandRectWithContent( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutVisualExtension test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutVisualExtension( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutSetColumnsL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutSetColumnsL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutSetRowsL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutSetRowsL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutSetColumnsLWithArray test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutSetColumnsLWithArray( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutSetRowsLWithArray test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutSetRowsLWithArray( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutFillWeightsL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutFillWeightsL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutAppendWeightL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutAppendWeightL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutInsertWeightL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutInsertWeightL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutReplaceWeightL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutReplaceWeightL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutRemoveWeightL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutRemoveWeightL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutWeight test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutWeight( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutDimensionCount test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutDimensionCount( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutSetExpanding test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutSetExpanding( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutRowCount test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutRowCount( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutColumnCount test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutColumnCount( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutOrdinalToBlock test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutOrdinalToBlock( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutSetLayoutModeFlags test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutSetLayoutModeFlags( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutClearLayoutModeFlags test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutClearLayoutModeFlags( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutLayoutModeFlags test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutLayoutModeFlags( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutGetClassName test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutGetClassName( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutDumpTree test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutDumpTree( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutGetInstanceName test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutGetInstanceNameL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutType test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutType( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutSessionId test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutSessionId( CStifItemParser& aItem );
+
+ /**
+ * TestHuiGridLayoutSetSessionId test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiGridLayoutSetSessionId( CStifItemParser& aItem );
+
+private: // for test the HuiTextureManager.h
+
+ /**
+ * TestHuiTxureManagerEnv test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerEnvL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerTexture test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerTextureL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerTextureConst test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerTextureConstL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerTextureL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerTextureLL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerSetImagePathL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerSetImagePathL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerImagePath test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerImagePath( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerBlankTextureConstL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerBlankTextureConstL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerBlankTexture test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerBlankTextureL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerLoadTextureL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerLoadTextureL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerLoadTextureLWithSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerLoadTextureLWithIdL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerLoadTextureLWithSizeImage test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerLoadTextureLWithSizeImageL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerCreateTextureL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerCreateTextureL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerUpdateTextureFromBitmapL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerUpdateTextureFromBitmapL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerUnloadTexture test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerUnloadTexture( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerUnloadTextureWithID test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerUnloadTextureWithID( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerDefineFileNameL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerDefineFileNameL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerLoadQueueCount test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerLoadQueueCount( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerState test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerState( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerProcessor test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerProcessorL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerPrependImagePath test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerPrependImagePath( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerSetTextureId test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerSetTextureId( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerIsLoaded test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerIsLoaded( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerIsLoadedWithID test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerIsLoadedWithID( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTxureManagerIsLoadedWithTexture test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTxureManagerIsLoadedWithTexture( CStifItemParser& aItem );
+
+private: // for testing huiflowlayout.h api
+
+ /**
+ * TestHuiFlowLayoutAddNewL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFlowLayoutAddNewL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiFlowLayoutDelete test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFlowLayoutDelete( CStifItemParser& aItem );
+
+ /**
+ * TestHuiFlowLayoutSetSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFlowLayoutSetSize( CStifItemParser& aItem );
+
+ /**
+ * TestHuiFlowLayoutSetFlowDirection test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFlowLayoutSetFlowDirection( CStifItemParser& aItem );
+
+ /**
+ * TestHuiFlowLayoutSetCentering test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFlowLayoutSetCentering( CStifItemParser& aItem );
+
+ /**
+ * TestHuiFlowLayoutSetMode test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFlowLayoutSetMode( CStifItemParser& aItem );
+
+ /**
+ * TestHuiFlowLayoutMode test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiFlowLayoutMode( CStifItemParser& aItem );
+
+private: // for testing the huiimageloaderutil.h
+
+ /**
+ * TestHuiImageLoaderUtilConstructor test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageLoaderUtilConstructorL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageLoaderUtilDelete test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageLoaderUtilDelete( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageLoaderUtilCreateImageLoaderL test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageLoaderUtilCreateImageLoaderL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageLoaderUtilCreateImageLoaderLWithAppUid test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageLoaderUtilCreateImageLoaderLWithAppUidL( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageLoaderUtilSetSize test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageLoaderUtilSetSize( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageLoaderUtilSetSkinInstance test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageLoaderUtilSetSkinInstance( CStifItemParser& aItem );
+
+ /**
+ * TestHuiImageLoaderUtilImageLoaderExtension test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiImageLoaderUtilImageLoaderExtension( CStifItemParser& aItem );
+
+private: // for testing the huitextureautosizeparams.h
+
+ /**
+ * TestHuiTexureAutoSizeParaConstructor test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTexureAutoSizeParaConstructor( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTexureAutoSizeParaSizeLowerThreshold test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTexureAutoSizeParaSizeLowerThreshold( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTexureAutoSizeParaSetSizeLowerThreshold test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTexureAutoSizeParaSetSizeLowerThreshold( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTexureAutoSizeParaSizeUpperThreshold test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTexureAutoSizeParaSizeUpperThreshold( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTexureAutoSizeParaSetSizeUpperThreshold test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTexureAutoSizeParaSetSizeUpperThreshold( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTexureAutoSizeParaMinSizeChange test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTexureAutoSizeParaMinSizeChange( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTexureAutoSizeParaSetMinSizeChange test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTexureAutoSizeParaSetMinSizeChange( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTexureAutoSizeParaDownsizeSettleThreshold test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTexureAutoSizeParaDownsizeSettleThreshold( CStifItemParser& aItem );
+
+ /**
+ * TestHuiTexureAutoSizeParaSetDownsizeSettleThreshold test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestHuiTexureAutoSizeParaSetDownsizeSettleThreshold( CStifItemParser& aItem );
+
+
+private: // Data
+
+ /**
+ * ScreenSaver Property
+ */
+ TInt iOldScreenSaverProperty;
+ /*
+ * The environment
+ */
+
+ CHuiEnv* iHuiEnv;
+
+ /*
+ * The Display
+ */
+
+ CHuiDisplay* iHuiDisplay;
+
+ /*
+ * The iHuiControl of visual
+ */
+
+ CHuiControl* iHuiControl;
+
+
+ /*
+ * The iHuiControl group
+ */
+
+ CHuiControlGroup* iHuiControlGroup;
+
+
+ /**
+ * The instance of CHuiVisual class
+ * own.
+ */
+ CHuiVisual* iHuiVisual;
+
+ /*
+ * The instance of CHuiLayout
+ */
+ CHuiLayout* iHuiLayout;
+
+ /*
+ * New control of visual
+ */
+ CHuiControl* iHuiNewControl;
+
+ /*
+ * The extended visual class instance
+ */
+ CTestPlatALFCoreToolkitVisualExt* iHuiVisualExt;
+
+ /*
+ * The display rectangle
+ */
+
+ TRect iDisplayRect;
+
+ /*
+ * The instance for test the huitextvisual api
+ */
+ CHuiTextVisual* iHuiTextVisual;
+
+ /*
+ * The instance for test the huiviewportlayout api
+ */
+ CHuiViewportLayout* iHuiViewPortLayout;
+
+ /*
+ * The instance for test the huiimagevisual.h api
+ */
+ CHuiImageVisual* iHuiImageVisual;
+
+ /*
+ * The instance for test the huigridlayout.h api
+ */
+ CHuiGridLayout* iHuiGridLayout;
+
+ /*
+ * The texture uid
+ */
+ TInt iTextureUid;
+
+ /*
+ * The instance for testing the huiflowlayout.h api
+ */
+ CHuiFlowLayout* iHuiFlowLayout;
+
+ /*
+ * The instance for testing the huiimageloaderutil.h api
+ */
+ CHuiImageLoaderUtil* iHuiImageLoaderUtil;
+
+ /*
+ * The control for getting display
+ */
+ CHuiDisplayCoeControl* iHuiCtrl;
+
+ };
+
+#endif // C_TESTUIAIFCORETOOLKIT_H
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuialfcoretoolkitvisualext.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,41 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: The derived class of CHuiVisual for testing the protected method
+*
+*/
+
+
+#ifndef C_TESTPLATALFCORETOOLKITVISUALEXT_H
+#define C_TESTPLATALFCORETOOLKITVISUALEXT_H
+
+// INCLUDES
+#include <uiacceltk\huivisual.h>
+
+class CTestUiAifCoreToolkit;
+
+// CLASS DECLARATION
+
+/**
+ * Ctestplatalfcoretoolkitvisualext
+ *
+ */
+class CTestPlatALFCoreToolkitVisualExt : public CHuiVisual
+ {
+public:
+ CTestPlatALFCoreToolkitVisualExt( MHuiVisualOwner& aOwner );
+
+ friend CTestUiAifCoreToolkit;
+ };
+
+#endif // C_TESTPLATALFCORETOOLKITVISUALEXT_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/init/testuiaifcoretoolkit.ini Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,317 @@
+#
+# This is STIFTestFramework initialization file
+# Comment lines start with '#'-character.
+# See STIF TestFramework users guide.doc for instructions
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# Set following test engine settings:
+# - Set Test Reporting mode. TestReportMode's possible values are:
+# + 'Summary': Summary of the tested test cases.
+# + 'Environment': Hardware and software info.
+# + 'TestCases': Test case report.
+# + 'FullReport': Set of all above ones.
+# + Example 'TestReportMode= Summary TestCases'
+#
+# - CreateTestReport setting controls report creation mode
+# + YES, Test report will created.
+# + NO, No Test report.
+#
+# - File path indicates the base path of the test report.
+# - File name indicates the name of the test report.
+#
+# - File format indicates the type of the test report.
+# + TXT, Test report file will be txt type, for example 'TestReport.txt'.
+# + HTML, Test report will be html type, for example 'TestReport.html'.
+#
+# - File output indicates output source of the test report.
+# + FILE, Test report logging to file.
+# + RDEBUG, Test report logging to using rdebug.
+#
+# - File Creation Mode indicates test report overwriting if file exist.
+# + OVERWRITE, Overwrites if the Test report file exist.
+# + APPEND, Continue logging after the old Test report information if
+# report exist.
+
+[Engine_Defaults]
+
+TestReportMode= FullReport # Possible values are:
+ # 'Summary', 'Environment', 'TestCases' or 'FullReport'
+
+CreateTestReport= YES # Possible values: YES or NO
+
+TestReportFilePath= C:\LOGS\TestFramework\
+TestReportFileName= TestReport
+
+TestReportFormat= TXT # Possible values: TXT or HTML
+TestReportOutput= FILE # Possible values: FILE or RDEBUG
+TestReportFileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND
+UITestingSupport= Yes
+SeparateProcesses= YES
+[End_Defaults]
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# Module configurations start
+# Modules are added between module tags
+# tags. Module name is specified after ModuleName= tag, like
+# ModuleName= testuiaifcoretoolkittestuiaifcoretoolkittestuiaifcoretoolkit
+# Modules might have initialisation file, specified as
+# IniFile= YYYYYY
+# Modules might have several configuration files, like
+# TestCaseFile= NormalCases.txt
+# TestCaseFile= SmokeCases.txt
+# TestCaseFile= ManualCases.txt
+
+# (TestCaseFile is synonym for old term ConfigFile)
+
+# Following case specifies demo module settings. Demo module
+# does not read any settings from file, so tags
+# IniFile and TestCaseFile are not used.
+# In the simplest case it is enough to specify only the
+# name of the test module when adding new test module
+
+[New_Module]
+ModuleName= testcombiner
+TestCaseFile= c:\testframework\tctestuihuianchorlayout.cfg
+TestCaseFile= c:\testframework\tctestuihuibordrbrush.cfg
+TestCaseFile= c:\testframework\tctestuihuitexture.cfg
+TestCaseFile= c:\testframework\tctestuihuicontrol.cfg
+TestCaseFile= c:\testframework\tctestuihuicntlgroup.cfg
+TestCaseFile= c:\testframework\tctestuihuicurvepath.cfg
+TestCaseFile= c:\testframework\tctestuihuicurpathlayout.cfg
+TestCaseFile= c:\testframework\tctestuihuidecklayout.cfg
+TestCaseFile= c:\testframework\tctestuihuicommand.cfg
+TestCaseFile= c:\testframework\tctestuihuivisual.cfg
+TestCaseFile= c:\testframework\tctestuihuiBrushArray.cfg
+TestCaseFile= c:\testframework\tctestuihuibrush.cfg
+TestCaseFile= c:\testframework\tctestuihuiframebrush.cfg
+TestCaseFile= c:\testframework\tctestuihuigradientbrush.cfg
+TestCaseFile= c:\testframework\tctestuihuigc.cfg
+TestCaseFile= c:\testframework\tctestuihuiownedpointer.cfg
+TestCaseFile= c:\testframework\tctestuihuigifanimationtexture.cfg
+
+TestCaseFile= c:\testframework\tctestuiaifcoretoolkittextstyle.cfg
+TestCaseFile= c:\testframework\tctestuiaifcoretoolkitstylemanager.cfg
+TestCaseFile= c:\testframework\tctestuiaifcoretoolkithuitexture.cfg
+TestCaseFile= c:\testframework\tctestuiaifcoretoolkitdisplay.cfg
+TestCaseFile= c:\testframework\tctestuiaifctkitdisplaybgitem.cfg
+TestCaseFile= c:\testframework\tctestuiaifctkitcoectrl.cfg
+TestCaseFile= c:\testframework\tctestuiaifcoretoolkithuienv.cfg
+TestCaseFile= c:\testframework\tctestuiaifcoretoolkitblockshuievent.cfg
+TestCaseFile= c:\testframework\tctctestuiaifctkitdropshadow.cfg
+TestCaseFile= c:\testframework\tctestuiaifctkitshadowbrush.cfg
+TestCaseFile= c:\testframework\tctestuiaifcoretoolkitblocksskin.cfg
+TestCaseFile= c:\testframework\tctestuiaifcoretoolkitblocks60skin.cfg
+TestCaseFile= c:\testframework\tctestuiaifctkitborderbrush.cfg
+TestCaseFile= c:\testframework\tctestuiaifctkitsegmentedtexture.cfg
+
+TestCaseFile= c:\testframework\tctestuihuilayout.cfg
+TestCaseFile= c:\testframework\tctestuihuilinevisual.cfg
+TestCaseFile= c:\testframework\tctestuihuim3gmesh.cfg
+TestCaseFile= c:\testframework\tctestuihuimappingfunctions.cfg
+TestCaseFile= c:\testframework\tctestuihuimesh.cfg
+TestCaseFile= c:\testframework\tctestuihuimeshvisual.cfg
+TestCaseFile= c:\testframework\tctestuihuimetric.cfg
+TestCaseFile= c:\testframework\tctestuihuirealpoint.cfg
+TestCaseFile= c:\testframework\tctestuihuirealrect.cfg
+TestCaseFile= c:\testframework\tctestuihuirealsize.cfg
+TestCaseFile= c:\testframework\tctestuihuiproceduralmesh.cfg
+TestCaseFile= c:\testframework\tctestuihuistatic.cfg
+TestCaseFile= c:\testframework\tctestuihuisoftkeycontrol.cfg
+TestCaseFile= c:\testframework\tctestuihuiutil.cfg
+TestCaseFile= c:\testframework\tctestuihuitimedvalue.cfg
+TestCaseFile= c:\testframework\tctestuihuiimage.cfg
+TestCaseFile= c:\testframework\tctestuihuiimagebrush.cfg
+TestCaseFile= c:\testframework\tctestuihuitimedpoint.cfg
+TestCaseFile= c:\testframework\tctestuihuitexturehandle.cfg
+TestCaseFile= c:\testframework\tctestuihuitransfor.cfg
+TestCaseFile= c:\testframework\tctestuihuifixmath.cfg
+TestCaseFile= c:\testframework\tctestuihuifont.cfg
+TestCaseFile= c:\testframework\tctestuiaifcoretoolkit.cfg
+
+TestCaseFile= c:\testframework\tctestuihuitextvisual.cfg
+TestCaseFile= c:\testframework\tctestuihuiviewportlayout.cfg
+TestCaseFile= c:\testframework\tctestuihuiimagevisual.cfg
+TestCaseFile= c:\testframework\tctestuihuigridlayout.cfg
+TestCaseFile= c:\testframework\tctestuihuitexturemanager.cfg
+TestCaseFile= c:\testframework\tctestuihuiflowlayout.cfg
+TestCaseFile= c:\testframework\tctestuihuiimageloaderutils.cfg
+TestCaseFile= c:\testframework\tctestuihuitextureautoparams.cfg
+[End_Module]
+
+#[New_Module]
+#ModuleName= testscripter
+#TestCaseFile= c:\testframework\ui_testuihuianchorlayout.cfg
+#TestCaseFile= c:\testframework\ui_testuihuibordrbrush.cfg
+#TestCaseFile= c:\testframework\ui_testuihuitexture.cfg
+#TestCaseFile= c:\testframework\ui_testuihuicontrol.cfg
+#TestCaseFile= c:\testframework\ui_testuihuicntlgroup.cfg
+#TestCaseFile= c:\testframework\ui_testuihuicurvepath.cfg
+#TestCaseFile= c:\testframework\ui_testuihuicurpathlayout.cfg
+#TestCaseFile= c:\testframework\ui_testuihuidecklayout.cfg
+#TestCaseFile= c:\testframework\ui_testuihuicommand.cfg
+#TestCaseFile= c:\testframework\ui_testuihuivisual.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiBrushArray.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifcoretoolkit.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifcoretoolkitblocks60skin.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifctkitborderbrush.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifctkitcoectrl.cfg
+#TestCaseFile= c:\testframework\ui_tctestuiaifctkitdropshadow.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifcoretoolkitblockshuievent.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifctkitshadowbrush.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifctkitsegmentedtexture.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifcoretoolkitblocksskin.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifcoretoolkitdisplay.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifctkitdisplaybgitem.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifcoretoolkithuienv.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifcoretoolkithuitexture.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifcoretoolkitstylemanager.cfg
+#TestCaseFile= c:\testframework\ui_testuiaifcoretoolkittextstyle.cfg
+#TestCaseFile= c:\testframework\ui_testuihuianchorlayout.cfg
+#TestCaseFile= c:\testframework\ui_testuihuibordrbrush.cfg
+#TestCaseFile= c:\testframework\ui_testuihuibrush.cfg
+#TestCaseFile= c:\testframework\ui_testuihuibrusharray.cfg
+#TestCaseFile= c:\testframework\ui_testuihuicntlgroup.cfg
+#TestCaseFile= c:\testframework\ui_testuihuicommand.cfg
+#TestCaseFile= c:\testframework\ui_testuihuicontrol.cfg
+#TestCaseFile= c:\testframework\ui_testuihuicurpathlayout.cfg
+#TestCaseFile= c:\testframework\ui_testuihuicurvepath.cfg
+#TestCaseFile= c:\testframework\ui_testuihuidecklayout.cfg
+#TestCaseFile= c:\testframework\ui_testuihuifixmath.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiflowlayout.cfg
+#TestCaseFile= c:\testframework\ui_testuihuifont.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiframebrush.cfg
+#TestCaseFile= c:\testframework\ui_testuihuigc.cfg
+#TestCaseFile= c:\testframework\ui_testuihuigifanimationtexture.cfg
+#TestCaseFile= c:\testframework\ui_testuihuigradientbrush.cfg
+#TestCaseFile= c:\testframework\ui_testuihuigridlayout.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiimage.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiimagebrush.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiimageloaderutils.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiimagevisual.cfg
+#TestCaseFile= c:\testframework\ui_testuihuilayout.cfg
+#TestCaseFile= c:\testframework\ui_testuihuilinevisual.cfg
+#TestCaseFile= c:\testframework\ui_testuihuim3gmesh.cfg
+#TestCaseFile= c:\testframework\ui_testuihuimappingfunctions.cfg
+#TestCaseFile= c:\testframework\ui_testuihuimesh.cfg
+#TestCaseFile= c:\testframework\ui_testuihuimeshvisual.cfg
+#TestCaseFile= c:\testframework\ui_testuihuimetric.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiownedpointer.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiproceduralmesh.cfg
+#TestCaseFile= c:\testframework\ui_testuihuirealpoint.cfg
+#TestCaseFile= c:\testframework\ui_testuihuirealrect.cfg
+#TestCaseFile= c:\testframework\ui_testuihuirealsize.cfg
+#TestCaseFile= c:\testframework\ui_testuihuisoftkeycontrol.cfg
+#TestCaseFile= c:\testframework\ui_testuihuistatic.cfg
+#TestCaseFile= c:\testframework\ui_testuihuitexture.cfg
+#TestCaseFile= c:\testframework\ui_testuihuitextureautoparams.cfg
+#TestCaseFile= c:\testframework\ui_testuihuitexturehandle.cfg
+#TestCaseFile= c:\testframework\ui_testuihuitexturemanager.cfg
+#TestCaseFile= c:\testframework\ui_testuihuitextvisual.cfg
+#TestCaseFile= c:\testframework\ui_testuihuitimedpoint.cfg
+#TestCaseFile= c:\testframework\ui_testuihuitimedvalue.cfg
+#TestCaseFile= c:\testframework\ui_testuihuitransfor.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiutil.cfg
+#TestCaseFile= c:\testframework\ui_testuihuiviewportlayout.cfg
+#TestCaseFile= c:\testframework\ui_testuihuivisual.cfg
+#[End_Module]
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+#Load testmoduletestuiaifcoretoolkit, optionally with initialization file and/or test case files
+#[New_Module]
+#ModuleName= testmodulexxx
+
+#TestModuletestuiaifcoretoolkit used initialization file
+#IniFile= init.txt
+
+#TestModuletestuiaifcoretoolkit used configuration file(s)
+#TestCaseFile= testcases1.cfg
+#TestCaseFile= testcases2.cfg
+#TestCaseFile= manualtestcases.cfg
+
+#[End_Module]
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# Set STIFTestFramework logging overwrite parameters for Logger.
+# Hardware and emulator environment logging path and styles can
+# be configured from here to overwrite the Logger's implemented values.
+#
+# Settings description:
+# - Indicates option for creation log directory/directories. If log directory/directories
+# is/are not created by user they will make by software.
+# + YES, Create log directory/directories if not allready exist.
+# + NO, Log directory/directories not created. Only created one is used.
+#
+# - Overwrite emulator path setting.
+# + Example: If 'EmulatorBasePath= C:\LOGS\TestFramework\' and in code is defined
+# Logger's path 'D:\\LOGS\\Module\\' with those definition the path
+# will be 'C:\LOGS\TestFramework\LOGS\Module\'
+#
+# - Overwrite emulator's logging format.
+# + TXT, Log file(s) will be txt type(s), for example 'Module.txt'.
+# + HTML, Log file(s) will be html type(s), for example 'Module.html'.
+#
+# - Overwrited emulator logging output source.
+# + FILE, Logging to file(s).
+# + RDEBUG, Logging to using rdebug(s).
+#
+# - Overwrite hardware path setting (Same description as above in emulator path).
+# - Overwrite hardware's logging format(Same description as above in emulator format).
+# - Overwrite hardware's logging output source(Same description as above in emulator output).
+#
+# - File Creation Mode indicates file overwriting if file exist.
+# + OVERWRITE, Overwrites if file(s) exist.
+# + APPEND, Continue logging after the old logging information if file(s) exist.
+#
+# - Will thread id include to the log filename.
+# + YES, Thread id to log file(s) name, Example filename 'Module_b9.txt'.
+# + NO, No thread id to log file(s), Example filename 'Module.txt'.
+#
+# - Will time stamps include the to log file.
+# + YES, Time stamp added to each line in log file(s). Time stamp is
+# for example'12.Nov.2003 115958 LOGGING INFO'
+# + NO, No time stamp(s).
+#
+# - Will line breaks include to the log file.
+# + YES, Each logging event includes line break and next log event is in own line.
+# + NO, No line break(s).
+#
+# - Will event ranking include to the log file.
+# + YES, Event ranking number added to each line in log file(s). Ranking number
+# depends on environment's tics, for example(includes time stamp also)
+# '012 12.Nov.2003 115958 LOGGING INFO'
+# + NO, No event ranking.
+#
+
+[Logger_Defaults]
+
+#NOTE: If you want to set Logger using next setting(s) remove comment(s)'#'
+
+CreateLogDirectories= YES # Possible values: YES or NO
+
+EmulatorBasePath= C:\LOGS\TestFramework\
+EmulatorFormat= HTML # Possible values: TXT or HTML
+EmulatorOutput= FILE # Possible values: FILE or RDEBUG
+
+#HardwareBasePath= D:\LOGS\TestFramework\
+#HardwareFormat= HTML # Possible values: TXT or HTML
+#HardwareOutput= FILE # Possible values: FILE or RDEBUG
+
+FileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND
+
+#ThreadIdToLogFile= YES # Possible values: YES or NO
+#WithTimeStamp= YES # Possible values: YES or NO
+#WithLineBreak= YES # Possible values: YES or NO
+#WithEventRanking= YES # Possible values: YES or NO
+
+[End_Logger_Defaults]
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+# End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuiactioncommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,54 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#include "testuiaifblockshuiactioncommandchild.h"
+
+TTestUiAifBlocksHuiActionCommandChild::TTestUiAifBlocksHuiActionCommandChild( TInt aId )
+:THuiActionCommand( aId )
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiActionCommandChild::~TTestUiAifBlocksHuiActionCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiActionCommandChild* TTestUiAifBlocksHuiActionCommandChild::NewLC( TInt aId )
+ {
+ TTestUiAifBlocksHuiActionCommandChild* self =
+ new (ELeave)TTestUiAifBlocksHuiActionCommandChild( aId );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+TTestUiAifBlocksHuiActionCommandChild* TTestUiAifBlocksHuiActionCommandChild::NewL( TInt aId )
+ {
+ TTestUiAifBlocksHuiActionCommandChild* self=
+ TTestUiAifBlocksHuiActionCommandChild::NewLC( aId );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiActionCommandChild::ConstructL()
+ {
+
+ }
+void TTestUiAifBlocksHuiActionCommandChild::SetCommandExtension(const TUid& aExtensionUid, TAny** aExtensionParams)
+ {
+ THuiActionCommand::CommandExtension( aExtensionUid, aExtensionParams);
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuicontrolchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,105 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#include "testuiaifblockshuicontrolchild.h"
+
+CTestUiAifBlocksHuiControlChild::CTestUiAifBlocksHuiControlChild( CHuiEnv& aEnv ):
+ CHuiControl( aEnv )
+ {
+ // No implementation required
+ }
+
+CTestUiAifBlocksHuiControlChild::~CTestUiAifBlocksHuiControlChild()
+ {
+ }
+
+CTestUiAifBlocksHuiControlChild* CTestUiAifBlocksHuiControlChild::NewLC( CHuiEnv& aEnv )
+ {
+ CTestUiAifBlocksHuiControlChild* self = new (ELeave)CTestUiAifBlocksHuiControlChild( aEnv );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+CTestUiAifBlocksHuiControlChild* CTestUiAifBlocksHuiControlChild::NewL( CHuiEnv& aEnv )
+ {
+ CTestUiAifBlocksHuiControlChild* self=
+ CTestUiAifBlocksHuiControlChild::NewLC( aEnv );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void CTestUiAifBlocksHuiControlChild::ConstructL()
+ {
+
+ }
+
+void CTestUiAifBlocksHuiControlChild::ChildNotifyControlVisibility( TBool aIsVisible, CHuiDisplay& aDisplay )
+ {
+ CHuiControl::NotifyControlVisibility( aIsVisible, aDisplay );
+ }
+
+void CTestUiAifBlocksHuiControlChild::ChildVisualAddedL( CHuiVisual* aVisual )
+ {
+ CHuiControl::VisualAddedL( aVisual );
+ }
+
+void CTestUiAifBlocksHuiControlChild::ChildVisualRemovedL( CHuiVisual* aVisual )
+ {
+ CHuiControl::VisualRemoved( aVisual );
+ }
+
+void CTestUiAifBlocksHuiControlChild::ChildConnectionAddedL( CHuiControl* aConnectedControl, TInt aRole )
+ {
+ CHuiControl::ConnectionAddedL( aConnectedControl, aRole );
+ }
+
+void CTestUiAifBlocksHuiControlChild::ChildConnectionRemovedL( CHuiControl* aConnectedControl, TInt aRole )
+ {
+ CHuiControl::ConnectionRemoved( aConnectedControl, aRole );
+ }
+
+void CTestUiAifBlocksHuiControlChild::ChildHostChangingL( CHuiControl* aNewHost )
+ {
+ CHuiControl::HostChangingL( aNewHost );
+ }
+
+void CTestUiAifBlocksHuiControlChild::ChildBaseConstructL()
+ {
+ CHuiControl::BaseConstructL();
+ }
+
+void CTestUiAifBlocksHuiControlChild::ChildControlExtensionL( const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ CHuiControl::ControlExtension( aExtensionUid, aExtensionParams );
+ }
+
+void CTestUiAifBlocksHuiControlChild::ChildTypeL()
+ {
+ CHuiControl::Type();
+ }
+
+TInt CTestUiAifBlocksHuiControlChild::ChildSessionIdL()
+ {
+ return CHuiControl::SessionId();
+ }
+
+void CTestUiAifBlocksHuiControlChild::ChildSetSessionIdL( TInt aSessionId )
+ {
+ CHuiControl::SetSessionId( aSessionId );
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuicontrolcommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,58 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#include "testuiaifblockshuicontrolcommandchild.h"
+
+TTestUiAifBlocksHuiControlCommandChild::TTestUiAifBlocksHuiControlCommandChild(
+ CHuiControl& aControl, THuiOp aOperation):THuiControlCommand( aControl, aOperation )
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiControlCommandChild::~TTestUiAifBlocksHuiControlCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiControlCommandChild* TTestUiAifBlocksHuiControlCommandChild::NewLC(
+ CHuiControl& aControl, THuiOp aOperation )
+ {
+ TTestUiAifBlocksHuiControlCommandChild* self = new (ELeave)TTestUiAifBlocksHuiControlCommandChild(
+ aControl, aOperation );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TTestUiAifBlocksHuiControlCommandChild* TTestUiAifBlocksHuiControlCommandChild::NewL(
+ CHuiControl& aControl, THuiOp aOperation )
+ {
+ TTestUiAifBlocksHuiControlCommandChild* self= TTestUiAifBlocksHuiControlCommandChild::NewLC(
+ aControl, aOperation );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiControlCommandChild::ConstructL()
+ {
+
+ }
+void TTestUiAifBlocksHuiControlCommandChild::SetCommandExtension(
+ const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ THuiControlCommand::CommandExtension( aExtensionUid, aExtensionParams );
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuicustomeventcommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#include "testuiaifblockshuicustomeventcommandchild.h"
+
+TTestUiAifBlocksHuiCustomEventCommandChild::TTestUiAifBlocksHuiCustomEventCommandChild( TInt aEventParam,
+ MHuiEventHandler* aRecipient ):THuiCustomEventCommand( aEventParam, aRecipient )
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiCustomEventCommandChild::~TTestUiAifBlocksHuiCustomEventCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiCustomEventCommandChild* TTestUiAifBlocksHuiCustomEventCommandChild::NewLC( TInt aEventParam,
+ MHuiEventHandler* aRecipient )
+ {
+ TTestUiAifBlocksHuiCustomEventCommandChild* self = new (ELeave)TTestUiAifBlocksHuiCustomEventCommandChild( aEventParam,
+ aRecipient );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TTestUiAifBlocksHuiCustomEventCommandChild* TTestUiAifBlocksHuiCustomEventCommandChild::NewL( TInt aEventParam,
+ MHuiEventHandler* aRecipient )
+ {
+ TTestUiAifBlocksHuiCustomEventCommandChild* self=
+ TTestUiAifBlocksHuiCustomEventCommandChild::NewLC( aEventParam, aRecipient );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiCustomEventCommandChild::ConstructL()
+ {
+
+ }
+
+void TTestUiAifBlocksHuiCustomEventCommandChild::SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ THuiCustomEventCommand::CommandExtension( aExtensionUid, aExtensionParams );
+
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuigroupcommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,58 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#include "testuiaifblockshuigroupcommandchild.h"
+
+TTestUiAifBlocksHuiGroupCommandChild::TTestUiAifBlocksHuiGroupCommandChild( CHuiControlGroup& aGroup,
+ THuiOp aOperation, CHuiDisplay* aDisplay ):THuiGroupCommand( aGroup, aOperation, aDisplay )
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiGroupCommandChild::~TTestUiAifBlocksHuiGroupCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiGroupCommandChild* TTestUiAifBlocksHuiGroupCommandChild::NewLC(
+ CHuiControlGroup& aGroup, THuiOp aOperation, CHuiDisplay* aDisplay )
+ {
+ TTestUiAifBlocksHuiGroupCommandChild* self = new (ELeave)TTestUiAifBlocksHuiGroupCommandChild(
+ aGroup, aOperation, aDisplay );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TTestUiAifBlocksHuiGroupCommandChild* TTestUiAifBlocksHuiGroupCommandChild::NewL(
+ CHuiControlGroup& aGroup, THuiOp aOperation, CHuiDisplay* aDisplay )
+ {
+ TTestUiAifBlocksHuiGroupCommandChild* self= TTestUiAifBlocksHuiGroupCommandChild::NewLC(
+ aGroup, aOperation, aDisplay);
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiGroupCommandChild::ConstructL()
+ {
+
+ }
+void TTestUiAifBlocksHuiGroupCommandChild::SetCommandExtension(
+ const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ THuiGroupCommand::CommandExtension( aExtensionUid, aExtensionParams );
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuiimagecommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,58 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include "testuiaifblockshuiimagecommandchild.h"
+
+TTestUiAifBlocksHuiImageCommandChild::TTestUiAifBlocksHuiImageCommandChild( CHuiImageVisual& aImageVisual, const THuiImage& aImage,
+ THuiOp aOperation ):THuiImageCommand( aImageVisual, aImage, aOperation )
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiImageCommandChild::~TTestUiAifBlocksHuiImageCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiImageCommandChild* TTestUiAifBlocksHuiImageCommandChild::NewLC( CHuiImageVisual& aImageVisual, const THuiImage& aImage,
+ THuiOp aOperation )
+ {
+ TTestUiAifBlocksHuiImageCommandChild* self = new (ELeave)TTestUiAifBlocksHuiImageCommandChild( aImageVisual, aImage, aOperation);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TTestUiAifBlocksHuiImageCommandChild* TTestUiAifBlocksHuiImageCommandChild::NewL( CHuiImageVisual& aImageVisual, const THuiImage& aImage,
+ THuiOp aOperation )
+ {
+ TTestUiAifBlocksHuiImageCommandChild* self=
+ TTestUiAifBlocksHuiImageCommandChild::NewLC( aImageVisual, aImage, aOperation );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiImageCommandChild::ConstructL()
+ {
+
+ }
+
+void TTestUiAifBlocksHuiImageCommandChild::SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ THuiImageCommand::CommandExtension( aExtensionUid, aExtensionParams );
+
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuimarkercommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,56 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+#include "testuiaifblockshuimarkercommandchild.h"
+
+TTestUiAifBlocksHuiMarkerCommandChild::TTestUiAifBlocksHuiMarkerCommandChild( TInt Id )
+ :THuiMarkerCommand( Id )
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiMarkerCommandChild::~TTestUiAifBlocksHuiMarkerCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiMarkerCommandChild* TTestUiAifBlocksHuiMarkerCommandChild::NewLC( TInt Id )
+ {
+ TTestUiAifBlocksHuiMarkerCommandChild* self = new (ELeave)TTestUiAifBlocksHuiMarkerCommandChild( Id );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TTestUiAifBlocksHuiMarkerCommandChild* TTestUiAifBlocksHuiMarkerCommandChild::NewL( TInt Id )
+ {
+ TTestUiAifBlocksHuiMarkerCommandChild* self=
+ TTestUiAifBlocksHuiMarkerCommandChild::NewLC( Id );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiMarkerCommandChild::ConstructL()
+ {
+
+ }
+
+void TTestUiAifBlocksHuiMarkerCommandChild::SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ THuiMarkerCommand::CommandExtension( aExtensionUid, aExtensionParams );
+
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuipointcommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,58 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include "testuiaifblockshuipointcommandchild.h"
+
+TTestUiAifBlocksHuiPointCommandChild::TTestUiAifBlocksHuiPointCommandChild( TAny* aOwner, THuiTimedPoint& aPoint,
+ THuiOp aOperation ):THuiPointCommand( aOwner, aPoint, aOperation)
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiPointCommandChild::~TTestUiAifBlocksHuiPointCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiPointCommandChild* TTestUiAifBlocksHuiPointCommandChild::NewLC( TAny* aOwner, THuiTimedPoint& aPoint,
+ THuiOp aOperation )
+ {
+ TTestUiAifBlocksHuiPointCommandChild* self = new (ELeave)TTestUiAifBlocksHuiPointCommandChild( aOwner, aPoint, aOperation );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TTestUiAifBlocksHuiPointCommandChild* TTestUiAifBlocksHuiPointCommandChild::NewL( TAny* aOwner, THuiTimedPoint& aPoint,
+ THuiOp aOperation )
+ {
+ TTestUiAifBlocksHuiPointCommandChild* self=
+ TTestUiAifBlocksHuiPointCommandChild::NewLC( aOwner, aPoint, aOperation );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiPointCommandChild::ConstructL()
+ {
+
+ }
+
+void TTestUiAifBlocksHuiPointCommandChild::SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ THuiPointCommand::CommandExtension( aExtensionUid, aExtensionParams );
+
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuitextcommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,57 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include "testuiaifblockshuitextcommandchild.h"
+
+TTestUiAifBlocksHuiTextCommandChild::TTestUiAifBlocksHuiTextCommandChild( CHuiTextVisual& aTextVisual, const TDesC& aText,
+ THuiOp aOperation ):THuiTextCommand( aTextVisual, aText, aOperation )
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiTextCommandChild::~TTestUiAifBlocksHuiTextCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiTextCommandChild* TTestUiAifBlocksHuiTextCommandChild::NewLC( CHuiTextVisual& aTextVisual, const TDesC& aText,
+ THuiOp aOperation )
+ {
+ TTestUiAifBlocksHuiTextCommandChild* self = new (ELeave)TTestUiAifBlocksHuiTextCommandChild( aTextVisual, aText, aOperation );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TTestUiAifBlocksHuiTextCommandChild* TTestUiAifBlocksHuiTextCommandChild::NewL( CHuiTextVisual& aTextVisual, const TDesC& aText,
+ THuiOp aOperation )
+ {
+ TTestUiAifBlocksHuiTextCommandChild* self=
+ TTestUiAifBlocksHuiTextCommandChild::NewLC( aTextVisual, aText, aOperation );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiTextCommandChild::ConstructL()
+ {
+
+ }
+
+void TTestUiAifBlocksHuiTextCommandChild::SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ THuiTextCommand::CommandExtension( aExtensionUid, aExtensionParams );
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuitranscommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include "testuiaifblockshuitranscommandchild.h"
+
+TTestUiAifBlocksHuiTransCommandChild::TTestUiAifBlocksHuiTransCommandChild( TAny* aOwner, CHuiTransformation& aTransformation,
+ THuiOp aOperation, TInt aStep ):THuiTransformationCommand( aOwner, aTransformation, aOperation, aStep )
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiTransCommandChild::~TTestUiAifBlocksHuiTransCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiTransCommandChild* TTestUiAifBlocksHuiTransCommandChild::NewLC( TAny* aOwner, CHuiTransformation& aTransformation,
+ THuiOp aOperation, TInt aStep )
+ {
+ TTestUiAifBlocksHuiTransCommandChild* self = new (ELeave)TTestUiAifBlocksHuiTransCommandChild( aOwner, aTransformation,
+ aOperation, aStep );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TTestUiAifBlocksHuiTransCommandChild* TTestUiAifBlocksHuiTransCommandChild::NewL( TAny* aOwner, CHuiTransformation& aTransformation,
+ THuiOp aOperation, TInt aStep )
+ {
+ TTestUiAifBlocksHuiTransCommandChild* self=
+ TTestUiAifBlocksHuiTransCommandChild::NewLC( aOwner, aTransformation,
+ aOperation, aStep );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiTransCommandChild::ConstructL()
+ {
+
+ }
+
+void TTestUiAifBlocksHuiTransCommandChild::SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ THuiTransformationCommand::CommandExtension( aExtensionUid, aExtensionParams );
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuivaluecommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,58 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include "testuiaifblockshuivaluecommandchild.h"
+
+TTestUiAifBlocksHuiValueCommandChild::TTestUiAifBlocksHuiValueCommandChild( TAny* aOwner, THuiTimedValue& aValue,
+ THuiOp aOperation, TReal32 aTarget, TReal32 aTiming ):THuiValueCommand( aOwner, aValue, aOperation, aTarget, aTiming )
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiValueCommandChild::~TTestUiAifBlocksHuiValueCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiValueCommandChild* TTestUiAifBlocksHuiValueCommandChild::NewLC( TAny* aOwner, THuiTimedValue& aValue,
+ THuiOp aOperation, TReal32 aTarget, TReal32 aTiming )
+ {
+ TTestUiAifBlocksHuiValueCommandChild* self = new (ELeave)TTestUiAifBlocksHuiValueCommandChild( aOwner, aValue,
+ aOperation, aTarget, aTiming );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TTestUiAifBlocksHuiValueCommandChild* TTestUiAifBlocksHuiValueCommandChild::NewL( TAny* aOwner, THuiTimedValue& aValue,
+ THuiOp aOperation, TReal32 aTarget, TReal32 aTiming )
+ {
+ TTestUiAifBlocksHuiValueCommandChild* self=
+ TTestUiAifBlocksHuiValueCommandChild::NewLC( aOwner, aValue, aOperation, aTarget, aTiming );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiValueCommandChild::ConstructL()
+ {
+
+ }
+
+void TTestUiAifBlocksHuiValueCommandChild::SetCommandExtension( const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ THuiValueCommand::CommandExtension( aExtensionUid, aExtensionParams );
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuivisualcommandchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include "testuiaifblockshuivisualcommandchild.h"
+
+TTestUiAifBlocksHuiVisualCommandChild::TTestUiAifBlocksHuiVisualCommandChild( CHuiVisual& aVisual, THuiOp aOperation,
+ TInt aSetFlags, TInt aClearFlags ):THuiVisualCommand( aVisual, aOperation, aSetFlags, aClearFlags )
+ {
+ // No implementation required
+ }
+
+TTestUiAifBlocksHuiVisualCommandChild::~TTestUiAifBlocksHuiVisualCommandChild()
+ {
+ }
+
+TTestUiAifBlocksHuiVisualCommandChild* TTestUiAifBlocksHuiVisualCommandChild::NewLC( CHuiVisual& aVisual, THuiOp aOperation,
+ TInt aSetFlags, TInt aClearFlags )
+ {
+ TTestUiAifBlocksHuiVisualCommandChild* self = new (ELeave)TTestUiAifBlocksHuiVisualCommandChild( aVisual, aOperation,
+ aSetFlags, aClearFlags );
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TTestUiAifBlocksHuiVisualCommandChild* TTestUiAifBlocksHuiVisualCommandChild::NewL( CHuiVisual& aVisual, THuiOp aOperation,
+ TInt aSetFlags, TInt aClearFlags )
+ {
+ TTestUiAifBlocksHuiVisualCommandChild* self=
+ TTestUiAifBlocksHuiVisualCommandChild::NewLC( aVisual, aOperation,
+ aSetFlags, aClearFlags );
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void TTestUiAifBlocksHuiVisualCommandChild::ConstructL()
+ {
+
+ }
+void TTestUiAifBlocksHuiVisualCommandChild::SetCommandExtension(
+ const TUid& aExtensionUid, TAny** aExtensionParams )
+ {
+ THuiVisualCommand::CommandExtension( aExtensionUid, aExtensionParams );
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblocksmanagerchild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,67 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+#include <eikenv.h>
+
+#include "testuiaifblocksmanagerchild.h"
+
+CTestUiAifBlocksManagerChild::CTestUiAifBlocksManagerChild():CHuiTextureManager(*gEnv)
+ {
+ // No implementation required
+ }
+
+CTestUiAifBlocksManagerChild::~CTestUiAifBlocksManagerChild()
+ {
+ // No implementation required
+ }
+
+void CTestUiAifBlocksManagerChild::RestoreL()
+ {
+ }
+
+void CTestUiAifBlocksManagerChild::RemoveTexture(CHuiTexture& /*aTexture*/)
+ {
+ }
+
+void CTestUiAifBlocksManagerChild::AppendTextureL(CHuiTexture* /*aTexture*/, TInt /*aId*/)
+ {
+ }
+
+CHuiTexture& CTestUiAifBlocksManagerChild::CreateTextureL(
+ CFbsBitmap& /*aBitmap*/, const CFbsBitmap* /*aMask*/, THuiTextureUploadFlags /*aFlags*/, TInt /*aId*/)
+ {
+ CHuiTexture * aTexture = NULL;
+ return *aTexture;
+ }
+
+TBool CTestUiAifBlocksManagerChild::Release()
+ {
+ return ETrue;
+ }
+
+void CTestUiAifBlocksManagerChild::RunL()
+ {
+ }
+
+void CTestUiAifBlocksManagerChild::DoCancel()
+ {
+ }
+
+TInt CTestUiAifBlocksManagerChild::RunError(TInt /*aError*/)
+ {
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockstexturechild.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,62 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+#include <uiacceltk/huitexturemanager.h>
+
+#include "testuiaifblockstexturechild.h"
+#include "testuiaifblocksmanagerchild.h"
+
+CTestUiAifBlocksTextureChild::CTestUiAifBlocksTextureChild( CHuiTextureManager& aManager ):
+ CHuiAnimatedTexture( aManager )
+ {
+ // No implementation required
+ }
+
+void CTestUiAifBlocksTextureChild::AdvanceTime(TReal32 /*aElapsedTime*/)
+ {
+
+ }
+
+CTestUiAifBlocksTextureChild::~CTestUiAifBlocksTextureChild()
+ {
+
+ }
+
+
+CTestUiAifBlocksTextureChild* CTestUiAifBlocksTextureChild::NewL( CHuiTextureManager& aManager )
+ {
+ CTestUiAifBlocksTextureChild* self = new( ELeave )CTestUiAifBlocksTextureChild( aManager );
+// CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop(); // self;
+ return self;
+ }
+
+void CTestUiAifBlocksTextureChild::ConstructL()
+ {
+ CHuiAnimatedTexture::BaseConstructL();
+ }
+
+void CTestUiAifBlocksTextureChild::TextureExtension( const TUid& aExtensionUid, TAny** aExtensionParameters )
+ {
+ CHuiAnimatedTexture::TextureExtension( aExtensionUid, aExtensionParameters );
+ }
+
+void CTestUiAifBlocksTextureChild::SetSegmentCountL( TInt aCount )
+ {
+ this->iTexture->SetSegmentCountL( aCount );
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkit.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,214 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// INCLUDE FILES
+#include <stiftestinterface.h>
+#include <settingserverclient.h>
+#include <screensaverinternalpskeys.h>
+#include <e32property.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// CONSTANTS
+_LIT( KModuleName, "testuiaifcoretoolkit.dll" );
+
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::CTestUiAifCoreToolkit
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------
+//
+CTestUiAifCoreToolkit::CTestUiAifCoreToolkit( CTestModuleIf& aTestModuleIf ):
+ CScriptBase( aTestModuleIf )
+ {
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::~CTestUiAifCoreToolkit
+// Destructor.
+// -----------------------------------------------------------------------------
+//
+CTestUiAifCoreToolkit::~CTestUiAifCoreToolkit()
+ {
+ // Delete logger
+ delete iLog;
+
+ delete iHuiEnv;
+ iHuiEnv = NULL;
+
+ }
+// -----------------------------------------------------------------------------
+
+// Construct the needed member
+
+// -----------------------------------------------------------------------------
+
+void CTestUiAifCoreToolkit::ContructNeededMemberL()
+
+ {
+ //construct the environment
+ iHuiEnv = CHuiEnv::NewL( EHuiRendererBitgdi );
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ iHuiControlGroup = &( iHuiEnv->NewControlGroupL( KHuiCtrlGroupId ) );
+ iDisplayRect = TRect(TPoint(KTestDisplayPosX, KTestDisplayPosY),
+ TSize(KTestDisplayWidth, KTestDisplayHeight));
+
+ //Construct the iHuiControl
+ iHuiControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ iHuiControl->ConstructL();
+ iHuiCtrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ iHuiDisplay = &iHuiCtrl->Display();
+ iHuiControlGroup->AppendL( iHuiControl );
+ iHuiControl->BindDisplay( *iHuiDisplay );
+ }
+
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::ConstructL
+// Symbian 2nd phase constructor can leave.
+// -----------------------------------------------------------------------------
+//
+void CTestUiAifCoreToolkit::ConstructL()
+ {
+ //Read logger settings to check whether test case name is to be
+ //appended to log file name.
+ RSettingServer settingServer;
+ CleanupClosePushL( settingServer );
+ TInt ret = settingServer.Connect();
+ if ( ret != KErrNone )
+ {
+ User::Leave(ret);
+ }
+ // Struct to StifLogger settigs.
+ TLoggerSettings loggerSettings;
+ // Parse StifLogger defaults from STIF initialization file.
+ ret = settingServer.GetLoggerSettings( loggerSettings );
+ if ( ret != KErrNone )
+ {
+ User::Leave( ret );
+ }
+ // Close Setting server session
+ settingServer.Close();
+ CleanupStack::PopAndDestroy( &settingServer );
+
+ TFileName logFileName;
+
+ if ( loggerSettings.iAddTestCaseTitle )
+ {
+ TName title;
+ TestModuleIf().GetTestCaseTitleL( title );
+ logFileName.Format( KtestuiaifcoretoolkitLogFileWithTitle, &title );
+ }
+ else
+ {
+ logFileName.Copy( KtestuiaifcoretoolkitLogFile );
+ }
+
+ iLog = CStifLogger::NewL( KtestuiaifcoretoolkitLogPath,
+ logFileName,
+ CStifLogger::ETxt,
+ CStifLogger::EFile,
+ EFalse );
+
+ SendTestClassVersion();
+
+ TurnOffScreenSaver();
+
+ ContructNeededMemberL();
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::NewL
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+CTestUiAifCoreToolkit* CTestUiAifCoreToolkit::NewL( CTestModuleIf& aTestModuleIf )
+ {
+ CTestUiAifCoreToolkit* self = new( ELeave ) CTestUiAifCoreToolkit( aTestModuleIf );
+
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+
+ return self;
+
+ }
+
+//-----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::SendTestClassVersion
+// Method used to send version of test class
+//-----------------------------------------------------------------------------
+//
+void CTestUiAifCoreToolkit::SendTestClassVersion()
+ {
+ TVersion moduleVersion;
+ moduleVersion.iMajor = TEST_CLASS_VERSION_MAJOR;
+ moduleVersion.iMinor = TEST_CLASS_VERSION_MINOR;
+ moduleVersion.iBuild = TEST_CLASS_VERSION_BUILD;
+
+ TFileName moduleName;
+ moduleName = KModuleName;
+
+ TBool newVersionOfMethod = ETrue;
+ TestModuleIf().SendTestModuleVersion( moduleVersion, moduleName,
+ newVersionOfMethod );
+ }
+
+// ========================== OTHER EXPORTED FUNCTIONS =========================
+
+// -----------------------------------------------------------------------------
+// LibEntryL is a polymorphic Dll entry point.
+// Returns: CScriptBase: New CScriptBase derived object
+// -----------------------------------------------------------------------------
+//
+EXPORT_C CScriptBase* LibEntryL(
+ CTestModuleIf& aTestModuleIf ) // Backpointer to STIF Test Framework
+ {
+ return ( CScriptBase* ) CTestUiAifCoreToolkit::NewL( aTestModuleIf );
+ }
+
+// -----------------------------------------------------------------------------
+// Turn off ScreenSaver
+// -----------------------------------------------------------------------------
+//
+void CTestUiAifCoreToolkit::TurnOffScreenSaver()
+ {
+ TInt err1 = RProperty::Get( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
+ iOldScreenSaverProperty );
+ TInt err2 = RProperty::Set( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
+ KScreenSaverAllowScreenSaver );
+ RDebug::Printf( "screensaver property=%d err1=%d err2=%d\n",
+ iOldScreenSaverProperty, err1, err2 );
+ }
+
+// -----------------------------------------------------------------------------
+// Restore ScreenSaver
+// -----------------------------------------------------------------------------
+//
+void CTestUiAifCoreToolkit::RestoreScreenSaver()
+ {
+ RProperty::Set( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
+ iOldScreenSaverProperty );
+ User::ResetInactivityTime();
+ }
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocks.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,1985 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huifontspecification.h>
+#include <uiacceltk/huiinteractioninterval.h>
+#include <uiacceltk/huifontmanager.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huipanic.h>
+#include <uiacceltk/huithememanager.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// CONSTANTS
+//const ?type ?constant_var = ?constant;
+
+// FORWARD DECLARATIONS
+//class ?FORWARD_CLASSNAME;
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::RunMethodL
+// Run specified method. Contains also table of test mothods and their names.
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::RunMethodL( CStifItemParser& aItem )
+ {
+
+ static TStifFunctionInfo const KFunctions[] =
+ {
+ // First string is the function name used in TestScripter script file.
+ // Second is the actual implementation member function.
+ //For test HuiAnchorLayout.h
+ ENTRY( "TestCHuiAnLayAddNewL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayAddNewL ),
+ ENTRY( "TestCHuiAnLayDestructL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayDestructL ),
+ ENTRY( "TestCHuiAnLayResetL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayResetL ),
+ ENTRY( "TestCHuiAnLaySetAnchorL",
+ CTestUiAifCoreToolkit::TestCHuiAnLaySetAnchorL ),
+ ENTRY( "TestCHuiAnLaySetRelativeAnchorRectL",
+ CTestUiAifCoreToolkit::TestCHuiAnLaySetRelativeAnchorRectL ),
+ ENTRY( "TestCHuiAnLayRemoveAnchorL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayRemoveAnchorL ),
+ ENTRY( "TestCHuiAnLayAttachOriginL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayAttachOriginL ),
+ ENTRY( "TestCHuiAnLayAttachOriginTopLeftL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayAttachOriginTopLeftL ),
+ ENTRY( "TestCHuiAnLayAttachOriginNoneL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayAttachOriginNoneL ),
+ ENTRY( "TestCHuiAnLayDetachL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayDetachL ),
+ ENTRY( "TestCHuiAnLayDetachAnchorL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayDetachAnchorL ),
+ ENTRY( "TestCHuiAnLaySetSizeL",
+ CTestUiAifCoreToolkit::TestCHuiAnLaySetSizeL ),
+ ENTRY( "TestCHuiAnLayChildSizeL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayChildSizeL ),
+ ENTRY( "TestCHuiAnLayChildPosL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayChildPosL ),
+ ENTRY( "TestCHuiAnLayChildRectL",
+ CTestUiAifCoreToolkit::TestCHuiAnLayChildRectL ),
+ //For test HuiBorderBrush.h
+ ENTRY( "TestCHuiBdeBrshNewL",
+ CTestUiAifCoreToolkit::TestCHuiBdeBrshNewL ),
+ ENTRY( "TestCHuiBdeBrshNewCL",
+ CTestUiAifCoreToolkit::TestCHuiBdeBrshNewCL ),
+ ENTRY( "TestCHuiBdeBrshOtherNewL",
+ CTestUiAifCoreToolkit::TestCHuiBdeBrshOtherNewL ),
+ ENTRY( "TestCHuiBdeBrshOtherNewCL",
+ CTestUiAifCoreToolkit::TestCHuiBdeBrshOtherNewCL ),
+ ENTRY( "TestCHuiBdeBrshSetImageL",
+ CTestUiAifCoreToolkit::TestCHuiBdeBrshSetImageL ),
+ ENTRY( "TestCHuiBdeBrshSetColorL",
+ CTestUiAifCoreToolkit::TestCHuiBdeBrshSetColorL ),
+ ENTRY( "TestCHuiBdeBrshSetThicknessL",
+ CTestUiAifCoreToolkit::TestCHuiBdeBrshSetThicknessL ),
+ ENTRY( "TestCHuiBdeBrshSetEdgeOffsetL",
+ CTestUiAifCoreToolkit::TestCHuiBdeBrshSetEdgeOffsetL ),
+ ENTRY( "TestCHuiBdeBrshSetImageOffsetL",
+ CTestUiAifCoreToolkit::TestCHuiBdeBrshSetImageOffsetL ),
+ //For test HuiAnimatedTexture.h
+ ENTRY( "TestCHuiATextDestructL",
+ CTestUiAifCoreToolkit::TestCHuiATextDestructL ),
+ ENTRY( "TestCHuiATextTextureL",
+ CTestUiAifCoreToolkit::TestCHuiATextTextureL ),
+ ENTRY( "TestCHuiATextSegmentTextureL",
+ CTestUiAifCoreToolkit::TestCHuiATextSegmentTextureL ),
+ ENTRY( "TestCHuiATextSegmentTextureConstL",
+ CTestUiAifCoreToolkit::TestCHuiATextSegmentTextureConstL ),
+ ENTRY( "TestCHuiATextShadowedTextureL",
+ CTestUiAifCoreToolkit::TestCHuiATextShadowedTextureL ),
+ ENTRY( "TestCHuiATextShadowedTextureConstL",
+ CTestUiAifCoreToolkit::TestCHuiATextShadowedTextureConstL ),
+ ENTRY( "TestCHuiATextHasContentL",
+ CTestUiAifCoreToolkit::TestCHuiATextHasContentL ),
+ ENTRY( "TestCHuiATextSizeL",
+ CTestUiAifCoreToolkit::TestCHuiATextSizeL ),
+ ENTRY( "TestCHuiATextSegmentCountL",
+ CTestUiAifCoreToolkit::TestCHuiATextSegmentCountL ),
+ ENTRY( "TestCHuiATextTextureChangedL",
+ CTestUiAifCoreToolkit::TestCHuiATextTextureChangedL ),
+ ENTRY( "TestCHuiATextTextureClearChangedL",
+ CTestUiAifCoreToolkit::TestCHuiATextTextureClearChangedL ),
+ ENTRY( "TestCHuiATextTextureConstructorL",
+ CTestUiAifCoreToolkit::TestCHuiATextTextureConstructorL ),
+ ENTRY( "TestCHuiATextBaseConstructL",
+ CTestUiAifCoreToolkit::TestCHuiATextBaseConstructL ),
+ ENTRY( "TestCHuiATextTextureExtensionL",
+ CTestUiAifCoreToolkit::TestCHuiATextTextureExtensionL ),
+ ENTRY( "TestCHuiATextSegmentNameL",
+ CTestUiAifCoreToolkit::TestCHuiATextSegmentNameL ),
+ ENTRY( "TestCHuiATextSegmentSizeL",
+ CTestUiAifCoreToolkit::TestCHuiATextSegmentSizeL ),
+ ENTRY( "TestCHuiATextSegmentTextureSizeL",
+ CTestUiAifCoreToolkit::TestCHuiATextSegmentTextureSizeL ),
+ ENTRY( "TestCHuiATextSegmentOffsetL",
+ CTestUiAifCoreToolkit::TestCHuiATextSegmentOffsetL ),
+ //For test HuiControl.h
+ ENTRY( "TestCHuiControlL",
+ CTestUiAifCoreToolkit::TestCHuiControlL ),
+ ENTRY( "TestCHuiControlDestructL",
+ CTestUiAifCoreToolkit::TestCHuiControlDestructL ),
+ ENTRY( "TestCHuiControlSetIdL",
+ CTestUiAifCoreToolkit::TestCHuiControlSetIdL ),
+ ENTRY( "TestCHuiControlIdL",
+ CTestUiAifCoreToolkit::TestCHuiControlIdL ),
+ ENTRY( "TestCHuiControlEnvL",
+ CTestUiAifCoreToolkit::TestCHuiControlEnvL ),
+ ENTRY( "TestCHuiControlControlGroupL",
+ CTestUiAifCoreToolkit::TestCHuiControlControlGroupL ),
+ ENTRY( "TestCHuiControlTextureManagerL",
+ CTestUiAifCoreToolkit::TestCHuiControlTextureManagerL ),
+ ENTRY( "TestCHuiControlDisplayL",
+ CTestUiAifCoreToolkit::TestCHuiControlDisplayL ),
+ ENTRY( "TestCHuiControlBindDisplayL",
+ CTestUiAifCoreToolkit::TestCHuiControlBindDisplayL ),
+ ENTRY( "TestCHuiControlAppendL",
+ CTestUiAifCoreToolkit::TestCHuiControlAppendL ),
+ ENTRY( "TestCHuiControlAppendLayoutL",
+ CTestUiAifCoreToolkit::TestCHuiControlAppendLayoutL ),
+ ENTRY( "TestCHuiControlRemoveL",
+ CTestUiAifCoreToolkit::TestCHuiControlRemoveL ),
+ ENTRY( "TestCHuiControlAppendVisualL",
+ CTestUiAifCoreToolkit::TestCHuiControlAppendVisualL ),
+ ENTRY( "TestCHuiControlAppendTypeLayoutL",
+ CTestUiAifCoreToolkit::TestCHuiControlAppendTypeLayoutL ),
+ ENTRY( "TestCHuiControlVisualL",
+ CTestUiAifCoreToolkit::TestCHuiControlVisualL ),
+ ENTRY( "TestCHuiControlVisualCountL",
+ CTestUiAifCoreToolkit::TestCHuiControlVisualCountL ),
+ ENTRY( "TestCHuiControlFindTagL",
+ CTestUiAifCoreToolkit::TestCHuiControlFindTagL ),
+ ENTRY( "TestCHuiControlHostL",
+ CTestUiAifCoreToolkit::TestCHuiControlHostL ),
+ ENTRY( "TestCHuiControlAddConnectionL",
+ CTestUiAifCoreToolkit::TestCHuiControlAddConnectionL ),
+ ENTRY( "TestCHuiControlRemoveConnectionL",
+ CTestUiAifCoreToolkit::TestCHuiControlRemoveConnectionL ),
+ ENTRY( "TestCHuiControlFindConnectionL",
+ CTestUiAifCoreToolkit::TestCHuiControlFindConnectionL ),
+ ENTRY( "TestCHuiControlConnectionCountL",
+ CTestUiAifCoreToolkit::TestCHuiControlConnectionCountL ),
+ ENTRY( "TestCHuiControlConnectionL",
+ CTestUiAifCoreToolkit::TestCHuiControlConnectionL ),
+ ENTRY( "TestCHuiControlConnectionByOrdinalL",
+ CTestUiAifCoreToolkit::TestCHuiControlConnectionByOrdinalL ),
+ ENTRY( "TestCHuiControlConnectionRoleL",
+ CTestUiAifCoreToolkit::TestCHuiControlConnectionRoleL ),
+ ENTRY( "TestCHuiControlConnectionOrdinalL",
+ CTestUiAifCoreToolkit::TestCHuiControlConnectionOrdinalL ),
+ ENTRY( "TestCHuiControlRoleL",
+ CTestUiAifCoreToolkit::TestCHuiControlRoleL ),
+ ENTRY( "TestCHuiControlSetRoleL",
+ CTestUiAifCoreToolkit::TestCHuiControlSetRoleL ),
+ ENTRY( "TestCHuiControlHostIdL",
+ CTestUiAifCoreToolkit::TestCHuiControlHostIdL ),
+ ENTRY( "TestCHuiControlSetHostIdL",
+ CTestUiAifCoreToolkit::TestCHuiControlSetHostIdL ),
+ ENTRY( "TestCHuiControlSetHostL",
+ CTestUiAifCoreToolkit::TestCHuiControlSetHostL ),
+ ENTRY( "TestCHuiControlContainerLayoutL",
+ CTestUiAifCoreToolkit::TestCHuiControlContainerLayoutL ),
+ ENTRY( "TestCHuiControlHostToDisplayL",
+ CTestUiAifCoreToolkit::TestCHuiControlHostToDisplayL ),
+ ENTRY( "TestCHuiControlDisplayToHostL",
+ CTestUiAifCoreToolkit::TestCHuiControlDisplayToHostL ),
+ ENTRY( "TestCHuiControlBoundsL",
+ CTestUiAifCoreToolkit::TestCHuiControlBoundsL ),
+ ENTRY( "TestCHuiControlHitTestL",
+ CTestUiAifCoreToolkit::TestCHuiControlHitTestL ),
+ ENTRY( "TestCHuiControlAcquireFocusL",
+ CTestUiAifCoreToolkit::TestCHuiControlAcquireFocusL ),
+ ENTRY( "TestCHuiControlFocusL",
+ CTestUiAifCoreToolkit::TestCHuiControlFocusL ),
+ ENTRY( "TestCHuiControlIsFocusingL",
+ CTestUiAifCoreToolkit::TestCHuiControlIsFocusingL ),
+ ENTRY( "TestCHuiControlFocusChangedL",
+ CTestUiAifCoreToolkit::TestCHuiControlFocusChangedL ),
+ ENTRY( "TestCHuiControlAcceptInputL",
+ CTestUiAifCoreToolkit::TestCHuiControlAcceptInputL ),
+ ENTRY( "TestCHuiControlOfferEventL",
+ CTestUiAifCoreToolkit::TestCHuiControlOfferEventL ),
+ ENTRY( "TestCHuiControlDisplayAreaL",
+ CTestUiAifCoreToolkit::TestCHuiControlDisplayAreaL ),
+ ENTRY( "TestCHuiControlDisplayCenterL",
+ CTestUiAifCoreToolkit::TestCHuiControlDisplayCenterL ),
+ ENTRY( "TestCHuiControlCancelAllCommandsL",
+ CTestUiAifCoreToolkit::TestCHuiControlCancelAllCommandsL ),
+ ENTRY( "TestCHuiControlVisualLayoutUpdatedL",
+ CTestUiAifCoreToolkit::TestCHuiControlVisualLayoutUpdatedL ),
+ ENTRY( "TestCHuiControlVisualDestroyedL",
+ CTestUiAifCoreToolkit::TestCHuiControlVisualDestroyedL ),
+ ENTRY( "TestCHuiControlEventHandlerL",
+ CTestUiAifCoreToolkit::TestCHuiControlEventHandlerL ),
+ ENTRY( "TestCHuiControlNotifyVisibilityL",
+ CTestUiAifCoreToolkit::TestCHuiControlNotifyVisibilityL ),
+ ENTRY( "TestCHuiControlVisualAddedL",
+ CTestUiAifCoreToolkit::TestCHuiControlVisualAddedL ),
+ ENTRY( "TestCHuiControlVisualRemovedL",
+ CTestUiAifCoreToolkit::TestCHuiControlVisualRemovedL ),
+ ENTRY( "TestCHuiControlConnectionAddedL",
+ CTestUiAifCoreToolkit::TestCHuiControlConnectionAddedL ),
+ ENTRY( "TestCHuiControlConnectionRemovedL",
+ CTestUiAifCoreToolkit::TestCHuiControlConnectionRemovedL ),
+ ENTRY( "TestCHuiControlHostChangingL",
+ CTestUiAifCoreToolkit::TestCHuiControlHostChangingL ),
+ ENTRY( "TestCHuiControlBaseConstructL",
+ CTestUiAifCoreToolkit::TestCHuiControlBaseConstructL ),
+ ENTRY( "TestCHuiControlControlExtensionL",
+ CTestUiAifCoreToolkit::TestCHuiControlControlExtensionL ),
+ ENTRY( "TestCHuiControlTypeL",
+ CTestUiAifCoreToolkit::TestCHuiControlTypeL ),
+ ENTRY( "TestCHuiControlSessionIdL",
+ CTestUiAifCoreToolkit::TestCHuiControlSessionIdL ),
+ ENTRY( "TestCHuiControlSetSessionIdL",
+ CTestUiAifCoreToolkit::TestCHuiControlSetSessionIdL ),
+ //For test HuiControlGroup.h
+ ENTRY( "TestCHuiCntlGroupAppendL",
+ CTestUiAifCoreToolkit::TestCHuiCntlGroupAppendL ),
+ ENTRY( "TestCHuiCntlGroupAppendAndPopL",
+ CTestUiAifCoreToolkit::TestCHuiCntlGroupAppendAndPopL ),
+ ENTRY( "TestCHuiCntlGroupRemoveL",
+ CTestUiAifCoreToolkit::TestCHuiCntlGroupRemoveL ),
+ ENTRY( "TestCHuiCntlCountL",
+ CTestUiAifCoreToolkit::TestCHuiCntlCountL ),
+ ENTRY( "TestCHuiCntlControlL",
+ CTestUiAifCoreToolkit::TestCHuiCntlControlL ),
+ ENTRY( "TestCHuiCntlFindControlL",
+ CTestUiAifCoreToolkit::TestCHuiCntlFindControlL ),
+ ENTRY( "TestCHuiCntlEnableTsfomatonL",
+ CTestUiAifCoreToolkit::TestCHuiCntlEnableTsfomatonL ),
+ ENTRY( "TestCHuiCntlIsTransformedL",
+ CTestUiAifCoreToolkit::TestCHuiCntlIsTransformedL ),
+ ENTRY( "TestCHuiCntlTransformationL",
+ CTestUiAifCoreToolkit::TestCHuiCntlTransformationL ),
+ ENTRY( "TestCHuiCntlAcceptInputL",
+ CTestUiAifCoreToolkit::TestCHuiCntlAcceptInputL ),
+ ENTRY( "TestCHuiCntlSetAcceptInputL",
+ CTestUiAifCoreToolkit::TestCHuiCntlSetAcceptInputL ),
+ ENTRY( "TestCHuiCntlTypeL",
+ CTestUiAifCoreToolkit::TestCHuiCntlTypeL ),
+ ENTRY( "TestCHuiCntlSessionIdL",
+ CTestUiAifCoreToolkit::TestCHuiCntlSessionIdL ),
+ ENTRY( "TestCHuiCntlSetSessionIdL",
+ CTestUiAifCoreToolkit::TestCHuiCntlSetSessionIdL ),
+ //For test HuiControlGroup.h
+ ENTRY( "TestCHuiCurvePathNewL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathNewL ),
+ ENTRY( "TestCHuiCurvePathNewCL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathNewCL ),
+ ENTRY( "TestCHuiCurvePathDestructL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathDestructL ),
+ ENTRY( "TestCHuiCurvePathResetL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathResetL ),
+ ENTRY( "TestCHuiCurvePathEnableLoopL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathEnableLoopL ),
+ ENTRY( "TestCHuiCurvePathLoopL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathLoopL ),
+ ENTRY( "TestCHuiCurvePathSetOriginL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathSetOriginL ),
+ ENTRY( "TestCHuiCurvePathAppendLineL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathAppendLineL ),
+ ENTRY( "TestCHuiCurvePathAppendRealLineL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathAppendRealLineL ),
+ ENTRY( "TestCHuiCurvePathAppendArcL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathAppendArcL ),
+ ENTRY( "TestCHuiCurvePathAppendHuiArcL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathAppendHuiArcL ),
+ ENTRY( "TestCHuiCurvePathLengthL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathLengthL ),
+ ENTRY( "TestCHuiCurvePathEvaluateL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathEvaluateL ),
+ //For test HuiCurvePathLayout.h
+ ENTRY( "TestCHuiCurvePathLayAddNewL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathLayAddNewL ),
+ ENTRY( "TestCHuiCurvePathLayCurvePathL",
+ CTestUiAifCoreToolkit::TestCHuiCurvePathLayCurvePathL ),
+ //For test Huidecklayout.h
+ ENTRY( "TestCHuiDeckLayoutAddNewL",
+ CTestUiAifCoreToolkit::TestCHuiDeckLayoutAddNewL ),
+ ENTRY( "TestCHuiDeckLayoutDestructL",
+ CTestUiAifCoreToolkit::TestCHuiDeckLayoutDestructL ),
+ //For test HuiCommand.h
+ ENTRY( "TestCHuiCommandDestructL",
+ CTestUiAifCoreToolkit::TestCHuiCommandDestructL ),
+ ENTRY( "TestCHuiCommandObjectCommandL",
+ CTestUiAifCoreToolkit::TestCHuiCommandObjectCommandL ),
+ ENTRY( "TestCHuiCommandSetSenderL",
+ CTestUiAifCoreToolkit::TestCHuiCommandSetSenderL ),
+ ENTRY( "TestCHuiCommandTypeL",
+ CTestUiAifCoreToolkit::TestCHuiCommandTypeL ),
+ ENTRY( "TestCHuiSenderTypeL",
+ CTestUiAifCoreToolkit::TestCHuiSenderTypeL ),
+ ENTRY( "TestCHuiSenderL",
+ CTestUiAifCoreToolkit::TestCHuiSenderL ),
+ ENTRY( "TestCHuiSenderVisualL",
+ CTestUiAifCoreToolkit::TestCHuiSenderVisualL ),
+ ENTRY( "TestCHuiSenderControlL",
+ CTestUiAifCoreToolkit::TestCHuiSenderControlL ),
+ ENTRY( "TestCHuiSenderControlGroupL",
+ CTestUiAifCoreToolkit::TestCHuiSenderControlGroupL ),
+ ENTRY( "TestCHuiCommandConstructL",
+ CTestUiAifCoreToolkit::TestCHuiCommandConstructL ),
+ ENTRY( "TestCHuiCommandExtensionL",
+ CTestUiAifCoreToolkit::TestCHuiCommandExtensionL ),
+ ENTRY( "TestCHuiCommandTActionCommandL",
+ CTestUiAifCoreToolkit::TestCHuiCommandTActionCommandL ),
+ ENTRY( "TestCHuiCommandExecuteL",
+ CTestUiAifCoreToolkit::TestCHuiCommandExecuteL ),
+ ENTRY( "TestCHuiCommandSizeL",
+ CTestUiAifCoreToolkit::TestCHuiCommandSizeL ),
+ ENTRY( "TestCHuiCommandIdL",
+ CTestUiAifCoreToolkit::TestCHuiCommandIdL ),
+ ENTRY( "TestCHuiActionCommandExtensionL",
+ CTestUiAifCoreToolkit::TestCHuiActionCommandExtensionL ),
+ ENTRY( "TestCHuiObjectCommandL",
+ CTestUiAifCoreToolkit::TestCHuiObjectCommandL ),
+ ENTRY( "TestCHuiObjectCommandExecuteL",
+ CTestUiAifCoreToolkit::TestCHuiObjectCommandExecuteL ),
+ ENTRY( "TestCHuiObjectCommandSizeL",
+ CTestUiAifCoreToolkit::TestCHuiObjectCommandSizeL ),
+ ENTRY( "TestCHuiObjectCommandObjectL",
+ CTestUiAifCoreToolkit::TestCHuiObjectCommandObjectL ),
+ ENTRY( "TestCHuiObjectCommandOperationL",
+ CTestUiAifCoreToolkit::TestCHuiObjectCommandOperationL ),
+ ENTRY( "TestCHuiObjectCommandConstructL",
+ CTestUiAifCoreToolkit::TestCHuiObjectCommandConstructL ),
+ ENTRY( "TestCHuiObjectCommandExtensionL",
+ CTestUiAifCoreToolkit::TestCHuiObjectCommandExtensionL ),
+ ENTRY( "TestTHuiGroupCommandL",
+ CTestUiAifCoreToolkit::TestTHuiGroupCommandL ),
+ ENTRY( "TestTHuiGroupCommandExecuteL",
+ CTestUiAifCoreToolkit::TestTHuiGroupCommandExecuteL ),
+ ENTRY( "TestTHuiGroupCommandSizeL",
+ CTestUiAifCoreToolkit::TestTHuiGroupCommandSizeL ),
+ ENTRY( "TestTHuiGroupCommandControlGroupL",
+ CTestUiAifCoreToolkit::TestTHuiGroupCommandControlGroupL ),
+ ENTRY( "TestTHuiGroupCommandDisplayL",
+ CTestUiAifCoreToolkit::TestTHuiGroupCommandDisplayL ),
+ ENTRY( "TestTHuiGroupCommandExtensionL",
+ CTestUiAifCoreToolkit::TestTHuiGroupCommandExtensionL ),
+ ENTRY( "TestTHuiControlCommandL",
+ CTestUiAifCoreToolkit::TestTHuiControlCommandL ),
+ ENTRY( "TestTHuiControlCommandExecuteL",
+ CTestUiAifCoreToolkit::TestTHuiControlCommandExecuteL ),
+ ENTRY( "TestTHuiControlCommandSizeL",
+ CTestUiAifCoreToolkit::TestTHuiControlCommandSizeL ),
+ ENTRY( "TestTHuiControlCommandControlL",
+ CTestUiAifCoreToolkit::TestTHuiControlCommandControlL ),
+ ENTRY( "TestTHuiControlCommandExtensionL",
+ CTestUiAifCoreToolkit::TestTHuiControlCommandExtensionL ),
+ ENTRY( "TestTHuiVisualCommandL",
+ CTestUiAifCoreToolkit::TestTHuiVisualCommandL ),
+ ENTRY( "TestTHuiVisualCommandExecuteL",
+ CTestUiAifCoreToolkit::TestTHuiVisualCommandExecuteL ),
+ ENTRY( "TestTHuiVisualCommandSizeL",
+ CTestUiAifCoreToolkit::TestTHuiVisualCommandSizeL ),
+ ENTRY( "TestTHuiVisualCommandVisualL",
+ CTestUiAifCoreToolkit::TestTHuiVisualCommandVisualL ),
+ ENTRY( "TestTHuiVisualCommandFlagsToSetL",
+ CTestUiAifCoreToolkit::TestTHuiVisualCommandFlagsToSetL ),
+ ENTRY( "TestTHuiVisualCommandFlagsToClearL",
+ CTestUiAifCoreToolkit::TestTHuiVisualCommandFlagsToClearL ),
+ ENTRY( "TestTHuiVisualCommandExtensionL",
+ CTestUiAifCoreToolkit::TestTHuiVisualCommandExtensionL ),
+ ENTRY( "TestTHuiImageCommandL",
+ CTestUiAifCoreToolkit::TestTHuiImageCommandL ),
+ ENTRY( "TestTHuiImageCommandExecuteL",
+ CTestUiAifCoreToolkit::TestTHuiImageCommandExecuteL ),
+ ENTRY( "TestTHuiImageCommandSizeL",
+ CTestUiAifCoreToolkit::TestTHuiImageCommandSizeL ),
+ ENTRY( "TestTHuiImageCommandVisualL",
+ CTestUiAifCoreToolkit::TestTHuiImageCommandVisualL ),
+ ENTRY( "TestTHuiImageCommandImageL",
+ CTestUiAifCoreToolkit::TestTHuiImageCommandImageL ),
+ ENTRY( "TestTHuiImageCommandExtensionL",
+ CTestUiAifCoreToolkit::TestTHuiImageCommandExtensionL ),
+ ENTRY( "TestTHuiTextCommandL",
+ CTestUiAifCoreToolkit::TestTHuiTextCommandL ),
+ ENTRY( "TestTHuiTextCommandExecuteL",
+ CTestUiAifCoreToolkit::TestTHuiTextCommandExecuteL ),
+ ENTRY( "TestTHuiTextCommandSizeL",
+ CTestUiAifCoreToolkit::TestTHuiTextCommandSizeL ),
+ ENTRY( "TestTHuiTextCommandTextVisualL",
+ CTestUiAifCoreToolkit::TestTHuiTextCommandTextVisualL ),
+ ENTRY( "TestTHuiTextCommandTextL",
+ CTestUiAifCoreToolkit::TestTHuiTextCommandTextL ),
+ ENTRY( "TestTHuiTextCommandExtensionL",
+ CTestUiAifCoreToolkit::TestTHuiTextCommandExtensionL ),
+ ENTRY( "TestTHuiValueCommandL",
+ CTestUiAifCoreToolkit::TestTHuiValueCommandL ),
+ ENTRY( "TestTHuiValueCommandMutiRefL",
+ CTestUiAifCoreToolkit::TestTHuiValueCommandMutiRefL ),
+ ENTRY( "TestTHuiValueCommandExecuteL",
+ CTestUiAifCoreToolkit::TestTHuiValueCommandExecuteL ),
+ ENTRY( "TestTHuiValueCommandSizeL",
+ CTestUiAifCoreToolkit::TestTHuiValueCommandSizeL ),
+ ENTRY( "TestTHuiValueCommandTimedValueL",
+ CTestUiAifCoreToolkit::TestTHuiValueCommandTimedValueL ),
+ ENTRY( "TestTHuiValueCommandTargetL",
+ CTestUiAifCoreToolkit::TestTHuiValueCommandTargetL ),
+ ENTRY( "TestTHuiValueCommandTransitionTimeL",
+ CTestUiAifCoreToolkit::TestTHuiValueCommandTransitionTimeL ),
+ ENTRY( "TestTHuiValueCommandSpeedL",
+ CTestUiAifCoreToolkit::TestTHuiValueCommandSpeedL ),
+ ENTRY( "TestTHuiValueCommandExtensionL",
+ CTestUiAifCoreToolkit::TestTHuiValueCommandExtensionL ),
+ ENTRY( "TestTHuiPointCommandL",
+ CTestUiAifCoreToolkit::TestTHuiPointCommandL ),
+ ENTRY( "TestTHuiPointCommandMutiRefL",
+ CTestUiAifCoreToolkit::TestTHuiPointCommandMutiRefL ),
+ ENTRY( "TestTHuiPointCommandMutiRefOtherL",
+ CTestUiAifCoreToolkit::TestTHuiPointCommandMutiRefOtherL ),
+ ENTRY( "TestTHuiPointCommandExecuteL",
+ CTestUiAifCoreToolkit::TestTHuiPointCommandExecuteL ),
+ ENTRY( "TestTHuiPointCommandSizeL",
+ CTestUiAifCoreToolkit::TestTHuiPointCommandSizeL ),
+ ENTRY( "TestTHuiPointCommandTimedPointL",
+ CTestUiAifCoreToolkit::TestTHuiPointCommandTimedPointL ),
+ ENTRY( "TestTHuiPointCommandTargetL",
+ CTestUiAifCoreToolkit::TestTHuiPointCommandTargetL ),
+ ENTRY( "TestTHuiPointCommandTransitionTimeL",
+ CTestUiAifCoreToolkit::TestTHuiPointCommandTransitionTimeL ),
+ ENTRY( "TestTHuiPointCommandSpeedL",
+ CTestUiAifCoreToolkit::TestTHuiPointCommandSpeedL ),
+ ENTRY( "TestTHuiPointCommandExtensionL",
+ CTestUiAifCoreToolkit::TestTHuiPointCommandExtensionL ),
+ ENTRY( "TestTHuiTransformationCommandL",
+ CTestUiAifCoreToolkit::TestTHuiTransformationCommandL ),
+ ENTRY( "TestTHuiTransformationCommandExecuteL",
+ CTestUiAifCoreToolkit::TestTHuiTransformationCommandExecuteL ),
+ ENTRY( "TestTHuiTransformationCommandSizeL",
+ CTestUiAifCoreToolkit::TestTHuiTransformationCommandSizeL ),
+ ENTRY( "TestTHuiTransformationCommandTransmasnL",
+ CTestUiAifCoreToolkit::TestTHuiTransformationCommandTransmasnL ),
+ ENTRY( "TestTHuiTransformationCommandStepL",
+ CTestUiAifCoreToolkit::TestTHuiTransformationCommandStepL ),
+ ENTRY( "TestTHuiTransformationCommandSetXL",
+ CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetXL ),
+ ENTRY( "TestTHuiTransformationCommandSetYL",
+ CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetYL ),
+ ENTRY( "TestTHuiTransformationCommandSetZL",
+ CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetZL ),
+ ENTRY( "TestTHuiTransformationCommandSetAngleL",
+ CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetAngleL ),
+ ENTRY( "TestTHuiTransformationCommandExtensionL",
+ CTestUiAifCoreToolkit::TestTHuiTransformationCommandExtensionL ),
+ ENTRY( "TestTHuiMarkerCommandL",
+ CTestUiAifCoreToolkit::TestTHuiMarkerCommandL ),
+ ENTRY( "TestTHuiMarkerCommandExecuteL",
+ CTestUiAifCoreToolkit::TestTHuiMarkerCommandExecuteL ),
+ ENTRY( "TestTHuiMarkerCommandSizeL",
+ CTestUiAifCoreToolkit::TestTHuiMarkerCommandSizeL ),
+ ENTRY( "TestTHuiMarkerCommandIdL",
+ CTestUiAifCoreToolkit::TestTHuiMarkerCommandIdL ),
+ ENTRY( "TestTHuiMarkerCommandExtensionL",
+ CTestUiAifCoreToolkit::TestTHuiMarkerCommandExtensionL ),
+ ENTRY( "TestTHuiCustomEventCommandL",
+ CTestUiAifCoreToolkit::TestTHuiCustomEventCommandL ),
+ ENTRY( "TestTHuiCustomEventCommandExecuteL",
+ CTestUiAifCoreToolkit::TestTHuiCustomEventCommandExecuteL ),
+ ENTRY( "TestTHuiCustomEventCommandSizeL",
+ CTestUiAifCoreToolkit::TestTHuiCustomEventCommandSizeL ),
+ ENTRY( "TestTHuiCustomEventCommandRecipientL",
+ CTestUiAifCoreToolkit::TestTHuiCustomEventCommandRecipientL ),
+ ENTRY( "TestTHuiCustomEventCommandParamL",
+ CTestUiAifCoreToolkit::TestTHuiCustomEventCommandParamL ),
+ ENTRY( "TestTHuiCustomEventCommandExtensionL",
+ CTestUiAifCoreToolkit::TestTHuiCustomEventCommandExtensionL ),
+
+
+ // for test the huivisual.h api
+ ENTRY( "TestHuiVisualAddNewL", CTestUiAifCoreToolkit::TestHuiVisualAddNewL ),
+ ENTRY( "TestHuiVisualCHuiVisual", CTestUiAifCoreToolkit::TestHuiVisualCHuiVisualL ),
+ ENTRY( "TestHuiVisualConstructL", CTestUiAifCoreToolkit::TestHuiVisualConstructL ),
+ ENTRY( "TestHuiVisualDelete", CTestUiAifCoreToolkit::TestHuiVisualDelete ),
+ ENTRY( "TestHuiVisualRemoveAndDestroyAllD", CTestUiAifCoreToolkit::TestHuiVisualRemoveAndDestroyAllD ),
+ ENTRY( "TestHuiVisualSetTagL", CTestUiAifCoreToolkit::TestHuiVisualSetTagL ),
+ ENTRY( "TestHuiVisualTag", CTestUiAifCoreToolkit::TestHuiVisualTag ),
+ ENTRY( "TestHuiVisualIsTagged", CTestUiAifCoreToolkit::TestHuiVisualIsTagged ),
+ ENTRY( "TestHuiVisualFindTag", CTestUiAifCoreToolkit::TestHuiVisualFindTag ),
+ ENTRY( "TestHuiVisualSetFlag", CTestUiAifCoreToolkit::TestHuiVisualSetFlag ),
+ ENTRY( "TestHuiVisualSetFlags", CTestUiAifCoreToolkit::TestHuiVisualSetFlags ),
+ ENTRY( "TestHuiVisualClearFlag", CTestUiAifCoreToolkit::TestHuiVisualClearFlag ),
+ ENTRY( "TestHuiVisualClearFlags", CTestUiAifCoreToolkit::TestHuiVisualClearFlags ),
+ ENTRY( "TestHuiVisualFlags", CTestUiAifCoreToolkit::TestHuiVisualFlags ),
+ ENTRY( "TestHuiVisualOwner", CTestUiAifCoreToolkit::TestHuiVisualOwner ),
+ ENTRY( "TestHuiVisualSetOwner", CTestUiAifCoreToolkit::TestHuiVisualSetOwnerL ),
+ ENTRY( "TestHuiVisualCount", CTestUiAifCoreToolkit::TestHuiVisualCount ),
+ ENTRY( "TestHuiVisualVisual", CTestUiAifCoreToolkit::TestHuiVisualVisual ),
+ ENTRY( "TestHuiVisualLayout", CTestUiAifCoreToolkit::TestHuiVisualLayoutL ),
+ ENTRY( "TestHuiVisualEnv", CTestUiAifCoreToolkit::TestHuiVisualEnv ),
+ ENTRY( "TestHuiVisualSkin", CTestUiAifCoreToolkit::TestHuiVisualSkin ),
+ ENTRY( "TestHuiVisualDisplay", CTestUiAifCoreToolkit::TestHuiVisualDisplay ),
+ ENTRY( "TestHuiVisualSetOrigin", CTestUiAifCoreToolkit::TestHuiVisualSetOrigin ),
+ ENTRY( "TestHuiVisualHorizontalOrigin", CTestUiAifCoreToolkit::TestHuiVisualHorizontalOrigin ),
+ ENTRY( "TestHuiVisualVerticalOrigin", CTestUiAifCoreToolkit::TestHuiVisualVerticalOrigin ),
+ ENTRY( "TestHuiVisualAlignByOrigin", CTestUiAifCoreToolkit::TestHuiVisualAlignByOrigin ),
+ ENTRY( "TestHuiVisualSetMinTSizeL", CTestUiAifCoreToolkit::TestHuiVisualSetMinTSizeL ),
+ ENTRY( "TestHuiVisualSetMinHuiSizeL", CTestUiAifCoreToolkit::TestHuiVisualSetMinHuiSizeL ),
+ ENTRY( "TestHuiVisualMinSize", CTestUiAifCoreToolkit::TestHuiVisualMinSizeL ),
+ ENTRY( "TestHuiVisualMinSizeInBaseUnits", CTestUiAifCoreToolkit::TestHuiVisualMinSizeInBaseUnitsL ),
+ ENTRY( "TestHuiVisualSetMaxTSize", CTestUiAifCoreToolkit::TestHuiVisualSetMaxTSizeL ),
+ ENTRY( "TestHuiVisualSetMaxHuiSize", CTestUiAifCoreToolkit::TestHuiVisualSetMaxHuiSizeL ),
+ ENTRY( "TestHuiVisualMaxSize", CTestUiAifCoreToolkit::TestHuiVisualMaxSizeL ),
+ ENTRY( "TestHuiVisualMaxSizeInBaseUnits", CTestUiAifCoreToolkit::TestHuiVisualMaxSizeInBaseUnitsL ),
+ ENTRY( "TestHuiVisualPosConst", CTestUiAifCoreToolkit::TestHuiVisualPosConst ),
+ ENTRY( "TestHuiVisualConstSize", CTestUiAifCoreToolkit::TestHuiVisualConstSize ),
+ ENTRY( "TestHuiVisualSize", CTestUiAifCoreToolkit::TestHuiVisualSize ),
+ ENTRY( "TestHuiVisualSetPos", CTestUiAifCoreToolkit::TestHuiVisualSetPos ),
+ ENTRY( "TestHuiVisualSetSize", CTestUiAifCoreToolkit::TestHuiVisualSetSize ),
+ ENTRY( "TestHuiVisualSetRect", CTestUiAifCoreToolkit::TestHuiVisualSetRect ),
+ ENTRY( "TestHuiVisualTMove", CTestUiAifCoreToolkit::TestHuiVisualTMoveL ),
+ ENTRY( "TestHuiVisualHuiMove", CTestUiAifCoreToolkit::TestHuiVisualHuiMoveL ),
+ ENTRY( "TestHuiVisualMimic", CTestUiAifCoreToolkit::TestHuiVisualMimicL ),
+ ENTRY( "TestHuiVisualSetCenteredPosAndTSize", CTestUiAifCoreToolkit::TestHuiVisualSetCenteredPosAndTSizeL ),
+ ENTRY( "TestHuiVisualSetCenteredPosAndHuiSize", CTestUiAifCoreToolkit::TestHuiVisualSetCenteredPosAndHuiSizeL ),
+ ENTRY( "TestHuiVisualUpdateChildrenLayout", CTestUiAifCoreToolkit::TestHuiVisualUpdateChildrenLayout ),
+ ENTRY( "TestHuiVisualUpdateSiblingLayout", CTestUiAifCoreToolkit::TestHuiVisualUpdateSiblingLayout ),
+ ENTRY( "TestHuiVisualDisplayRect", CTestUiAifCoreToolkit::TestHuiVisualDisplayRect ),
+ ENTRY( "TestHuiVisualDisplayRectTarget", CTestUiAifCoreToolkit::TestHuiVisualDisplayRectTarget ),
+ ENTRY( "TestHuiVisualLocalBaseUnit", CTestUiAifCoreToolkit::TestHuiVisualLocalBaseUnit ),
+ ENTRY( "TestHuiVisualLocalPointInPixels", CTestUiAifCoreToolkit::TestHuiVisualLocalPointInPixels ),
+ ENTRY( "TestHuiVisualLocalPointInPixelsWithState", CTestUiAifCoreToolkit::TestHuiVisualLocalPointInPixelsWithState ),
+ ENTRY( "TestHuiVisualPixelPointInLocal", CTestUiAifCoreToolkit::TestHuiVisualPixelPointInLocal ),
+ ENTRY( "TestHuiVisualPixelPointInLocalWithState", CTestUiAifCoreToolkit::TestHuiVisualPixelPointInLocalWithState ),
+ ENTRY( "TestHuiVisualMetricToPixels", CTestUiAifCoreToolkit::TestHuiVisualMetricToPixels ),
+ ENTRY( "TestHuiVisualMetricToPixelsWithState", CTestUiAifCoreToolkit::TestHuiVisualMetricToPixelsWithState ),
+ ENTRY( "TestHuiVisualPixelsToMetric", CTestUiAifCoreToolkit::TestHuiVisualPixelsToMetric ),
+ ENTRY( "TestHuiVisualPixelsToMetricWithState", CTestUiAifCoreToolkit::TestHuiVisualPixelsToMetricWithState ),
+ ENTRY( "TestHuiVisualMetricReferenceInPixels", CTestUiAifCoreToolkit::TestHuiVisualMetricReferenceInPixels ),
+ ENTRY( "TestHuiVisualMetricReferenceInPixelsWithState", CTestUiAifCoreToolkit::TestHuiVisualMetricReferenceInPixelsWithState ),
+ ENTRY( "TestHuiVisualLocalToDisplayT", CTestUiAifCoreToolkit::TestHuiVisualLocalToDisplayT ),
+ ENTRY( "TestHuiVisualLocalToDisplayHui", CTestUiAifCoreToolkit::TestHuiVisualLocalToDisplayHui ),
+ ENTRY( "TestHuiVisualDisplayToLocalT", CTestUiAifCoreToolkit::TestHuiVisualDisplayToLocalT ),
+ ENTRY( "TestHuiVisualDisplayToLocalHui", CTestUiAifCoreToolkit::TestHuiVisualDisplayToLocalHui ),
+ ENTRY( "TestHuiVisualBoxMetricToPixelRect", CTestUiAifCoreToolkit::TestHuiVisualBoxMetricToPixelRect ),
+ ENTRY( "TestHuiVisualBoxMetricToPixelRectWithState", CTestUiAifCoreToolkit::TestHuiVisualBoxMetricToPixelRectWithState ),
+ ENTRY( "TestHuiVisualMoveToFront", CTestUiAifCoreToolkit::TestHuiVisualMoveToFront ),
+ ENTRY( "TestHuiVisualPos", CTestUiAifCoreToolkit::TestHuiVisualPos ),
+ ENTRY( "TestHuiVisualEffectiveOpacity", CTestUiAifCoreToolkit::TestHuiVisualEffectiveOpacity ),
+ ENTRY( "TestHuiVisualSetClipping", CTestUiAifCoreToolkit::TestHuiVisualSetClipping ),
+ ENTRY( "TestHuiVisualClipping", CTestUiAifCoreToolkit::TestHuiVisualClipping ),
+ ENTRY( "TestHuiVisualEnableTransformationL", CTestUiAifCoreToolkit::TestHuiVisualEnableTransformationL ),
+ ENTRY( "TestHuiVisualTransformation", CTestUiAifCoreToolkit::TestHuiVisualTransformation ),
+ ENTRY( "TestHuiVisualSetPadding", CTestUiAifCoreToolkit::TestHuiVisualSetPadding ),
+ ENTRY( "TestHuiVisualSetPaddingWithPoint", CTestUiAifCoreToolkit::TestHuiVisualSetPaddingWithPoint ),
+ ENTRY( "TestHuiVisualSetPaddingWithHuiBoxMetrix", CTestUiAifCoreToolkit::TestHuiVisualSetPaddingWithHuiBoxMetrix ),
+ ENTRY( "TestHuiVisualPadding", CTestUiAifCoreToolkit::TestHuiVisualPadding ),
+ ENTRY( "TestHuiVisualPaddingInPixels", CTestUiAifCoreToolkit::TestHuiVisualPaddingInPixels ),
+ ENTRY( "TestHuiVisualPaddingInPixelsWithState", CTestUiAifCoreToolkit::TestHuiVisualPaddingInPixelsWithState ),
+ ENTRY( "TestHuiVisualPrepareDrawL", CTestUiAifCoreToolkit::TestHuiVisualPrepareDrawL ),
+ ENTRY( "TestHuiVisualDraw", CTestUiAifCoreToolkit::TestHuiVisualDrawL ),
+ ENTRY( "TestHuiVisualDrawBrushes", CTestUiAifCoreToolkit::TestHuiVisualDrawBrushesL ),
+ ENTRY( "TestHuiVisualDrawSelf", CTestUiAifCoreToolkit::TestHuiVisualDrawSelfL ),
+ ENTRY( "TestHuiVisualSetChanged", CTestUiAifCoreToolkit::TestHuiVisualSetChanged ),
+ ENTRY( "TestHuiVisualChanged", CTestUiAifCoreToolkit::TestHuiVisualChanged ),
+ ENTRY( "TestHuiVisualReportChanged", CTestUiAifCoreToolkit::TestHuiVisualReportChanged ),
+ ENTRY( "TestHuiVisualClearChanged", CTestUiAifCoreToolkit::TestHuiVisualClearChanged ),
+ ENTRY( "TestHuiVisualEnableBrushesL", CTestUiAifCoreToolkit::TestHuiVisualEnableBrushesL ),
+ ENTRY( "TestHuiVisualBrushes", CTestUiAifCoreToolkit::TestHuiVisualBrushes ),
+ ENTRY( "TestHuiVisualDumpTree", CTestUiAifCoreToolkit::TestHuiVisualDumpTree ),
+ ENTRY( "TestHuiVisualGetInstanceName", CTestUiAifCoreToolkit::TestHuiVisualGetInstanceName ),
+ ENTRY( "TestHuiVisualGetClassName", CTestUiAifCoreToolkit::TestHuiVisualGetClassName ),
+ ENTRY( "TestHuiVisualEnterLocalProjection", CTestUiAifCoreToolkit::TestHuiVisualEnterLocalProjectionL ),
+ ENTRY( "TestHuiVisualNotifySkinChangedL", CTestUiAifCoreToolkit::TestHuiVisualNotifySkinChangedL ),
+ ENTRY( "TestHuiVisualSetTactileFeedbackL", CTestUiAifCoreToolkit::TestHuiVisualSetTactileFeedbackL ),
+ ENTRY( "TestHuiVisualHasTactileFeedback", CTestUiAifCoreToolkit::TestHuiVisualHasTactileFeedbackL ),
+ ENTRY( "TestHuiVisualRemoveTactileFeedback", CTestUiAifCoreToolkit::TestHuiVisualRemoveTactileFeedbackL ),
+ ENTRY( "TestHuiVisualEnableDropShadowL", CTestUiAifCoreToolkit::TestHuiVisualEnableDropShadowL ),
+ ENTRY( "TestHuiVisualDropShadowHandler", CTestUiAifCoreToolkit::TestHuiVisualDropShadowHandler ),
+ ENTRY( "TestHuiVisualBrushOpacity", CTestUiAifCoreToolkit::TestHuiVisualBrushOpacity ),
+ ENTRY( "TestHuiVisualBrushRect", CTestUiAifCoreToolkit::TestHuiVisualBrushRect ),
+ ENTRY( "TestHuiVisualBrushSkin", CTestUiAifCoreToolkit::TestHuiVisualBrushSkin ),
+ ENTRY( "TestHuiVisualType", CTestUiAifCoreToolkit::TestHuiVisualType ),
+ ENTRY( "TestHuiVisualSessionId", CTestUiAifCoreToolkit::TestHuiVisualSessionId ),
+ ENTRY( "TestHuiVisualSetSessionId", CTestUiAifCoreToolkit::TestHuiVisualSetSessionId ),
+ ENTRY( "TestHuiVisualTransform", CTestUiAifCoreToolkit::TestHuiVisualTransformL ),
+ ENTRY( "TestHuiVisualExpandRectWithContent", CTestUiAifCoreToolkit::TestHuiVisualExpandRectWithContentL ),
+ ENTRY( "TestHuiVisualVisualExtension", CTestUiAifCoreToolkit::TestHuiVisualVisualExtensionL ),
+
+ // for HuiBrushArray.h
+ ENTRY( "TestHuiBrushArrayNewLL", CTestUiAifCoreToolkit::TestHuiBrushArrayNewLL ),
+ ENTRY( "TestHuiBrushArrayNewLCL", CTestUiAifCoreToolkit::TestHuiBrushArrayNewLCL ),
+ ENTRY( "TestHuiBrushArrayResetL", CTestUiAifCoreToolkit::TestHuiBrushArrayResetL ),
+ ENTRY( "TestHuiBrushArrayAppendL", CTestUiAifCoreToolkit::TestHuiBrushArrayAppendL ),
+ ENTRY( "TestHuiBrushArrayInsertL", CTestUiAifCoreToolkit::TestHuiBrushArrayInsertL ),
+ ENTRY( "TestHuiBrushArrayRemoveL", CTestUiAifCoreToolkit::TestHuiBrushArrayRemoveL ),
+ ENTRY( "TestHuiBrushArrayCountL", CTestUiAifCoreToolkit::TestHuiBrushArrayCountL ),
+ ENTRY( "TestHuiBrushArrayOperatorL", CTestUiAifCoreToolkit::TestHuiBrushArrayOperatorL ),
+ ENTRY( "TestHuiBrushArrayAtL", CTestUiAifCoreToolkit::TestHuiBrushArrayAtL ),
+ ENTRY( "TestHuiBrushArrayLayerBrushCountL", CTestUiAifCoreToolkit::TestHuiBrushArrayLayerBrushCountL ),
+ ENTRY( "TestHuiBrushArrayDrawL", CTestUiAifCoreToolkit::TestHuiBrushArrayDrawL ),
+
+ // for HuiBrushArray.h
+ ENTRY( "TestHuiBrushArrayNewLL", CTestUiAifCoreToolkit::TestHuiBrushArrayNewLL ),
+ ENTRY( "TestHuiBrushArrayNewLCL", CTestUiAifCoreToolkit::TestHuiBrushArrayNewLCL ),
+ ENTRY( "TestHuiBrushArrayResetL", CTestUiAifCoreToolkit::TestHuiBrushArrayResetL ),
+ ENTRY( "TestHuiBrushArrayAppendL", CTestUiAifCoreToolkit::TestHuiBrushArrayAppendL ),
+ ENTRY( "TestHuiBrushArrayInsertL", CTestUiAifCoreToolkit::TestHuiBrushArrayInsertL ),
+ ENTRY( "TestHuiBrushArrayRemoveL", CTestUiAifCoreToolkit::TestHuiBrushArrayRemoveL ),
+ ENTRY( "TestHuiBrushArrayCountL", CTestUiAifCoreToolkit::TestHuiBrushArrayCountL ),
+ ENTRY( "TestHuiBrushArrayOperatorL", CTestUiAifCoreToolkit::TestHuiBrushArrayOperatorL ),
+ ENTRY( "TestHuiBrushArrayAtL", CTestUiAifCoreToolkit::TestHuiBrushArrayAtL ),
+ ENTRY( "TestHuiBrushArrayLayerBrushCountL", CTestUiAifCoreToolkit::TestHuiBrushArrayLayerBrushCountL ),
+ ENTRY( "TestHuiBrushArrayDrawL", CTestUiAifCoreToolkit::TestHuiBrushArrayDrawL ),
+
+ // for HuiBrush.h
+ ENTRY( "TestHuiBrushExpandVisualRectL", CTestUiAifCoreToolkit::TestHuiBrushExpandVisualRectL ),
+ ENTRY( "TestHuiBrushSetChangedL", CTestUiAifCoreToolkit::TestHuiBrushSetChangedL ),
+ ENTRY( "TestHuiBrushChangedL", CTestUiAifCoreToolkit::TestHuiBrushChangedL ),
+ ENTRY( "TestHuiBrushClearChangedL", CTestUiAifCoreToolkit::TestHuiBrushClearChangedL ),
+ ENTRY( "TestHuiBrushSetClipToVisualL", CTestUiAifCoreToolkit::TestHuiBrushSetClipToVisualL ),
+ ENTRY( "TestHuiBrushClipToVisualL", CTestUiAifCoreToolkit::TestHuiBrushClipToVisualL ),
+ ENTRY( "TestHuiBrushSetLayerL", CTestUiAifCoreToolkit::TestHuiBrushSetLayerL ),
+ ENTRY( "TestHuiBrushLayerL", CTestUiAifCoreToolkit::TestHuiBrushLayerL ),
+ ENTRY( "TestHuiBrushBeginDrawL", CTestUiAifCoreToolkit::TestHuiBrushBeginDrawL ),
+ ENTRY( "TestHuiBrushDrawL", CTestUiAifCoreToolkit::TestHuiBrushDrawL ),
+ ENTRY( "TestHuiBrushEndDrawL", CTestUiAifCoreToolkit::TestHuiBrushEndDrawL ),
+ ENTRY( "TestHuiBrushTypeL", CTestUiAifCoreToolkit::TestHuiBrushTypeL ),
+ ENTRY( "TestHuiBrushSessionIdL", CTestUiAifCoreToolkit::TestHuiBrushSessionIdL ),
+ ENTRY( "TestHuiBrushSetSessionIdL", CTestUiAifCoreToolkit::TestHuiBrushSetSessionIdL ),
+ ENTRY( "TestHuiBrushCHuiBrushL", CTestUiAifCoreToolkit::TestHuiBrushCHuiBrushL ),
+ ENTRY( "TestHuiBrushBrushExtensionL", CTestUiAifCoreToolkit::TestHuiBrushBrushExtensionL ),
+ // for HuiFrameBrush.h
+ ENTRY( "TestHuiFrameBrushNewLL", CTestUiAifCoreToolkit::TestHuiFrameBrushNewLL ),
+ ENTRY( "TestHuiFrameBrushNewLCL", CTestUiAifCoreToolkit::TestHuiFrameBrushNewLCL ),
+ ENTRY( "TestHuiFrameBrushSetFrameRectsLL", CTestUiAifCoreToolkit::TestHuiFrameBrushSetFrameRectsLL ),
+ ENTRY( "TestHuiFrameBrushSetEdgeOffsetL", CTestUiAifCoreToolkit::TestHuiFrameBrushSetEdgeOffsetL ),
+ ENTRY( "TestHuiFrameBrushSetImageL", CTestUiAifCoreToolkit::TestHuiFrameBrushSetImageL ),
+ // for HuiGradientBrush.h
+ ENTRY( "TestHuiGradientBrushNewLL", CTestUiAifCoreToolkit::TestHuiGradientBrushNewLL ),
+ ENTRY( "TestHuiGradientBrushNewLCL", CTestUiAifCoreToolkit::TestHuiGradientBrushNewLCL ),
+ ENTRY( "TestHuiGradientBrushSetDirectionL", CTestUiAifCoreToolkit::TestHuiGradientBrushSetDirectionL ),
+ ENTRY( "TestHuiGradientBrushSetColorL", CTestUiAifCoreToolkit::TestHuiGradientBrushSetColorL ),
+ ENTRY( "TestHuiGradientBrushSetImageL", CTestUiAifCoreToolkit::TestHuiGradientBrushSetImageL ),
+ ENTRY( "TestHuiGradientBrushColorL", CTestUiAifCoreToolkit::TestHuiGradientBrushColorL ),
+ ENTRY( "TestHuiGradientBrushOpacityL", CTestUiAifCoreToolkit::TestHuiGradientBrushOpacityL ),
+ ENTRY( "TestHuiGradientBrushImageL", CTestUiAifCoreToolkit::TestHuiGradientBrushImageL ),
+ ENTRY( "TestHuiGradientBrushAppendColorLL", CTestUiAifCoreToolkit::TestHuiGradientBrushAppendColorLL ),
+ // for HuiGc.h
+ ENTRY( "TestHuiGcTHuiPathPoint", CTestUiAifCoreToolkit::TestHuiGcTHuiPathPoint ),
+ ENTRY( "TestHuiGcDrawImageL", CTestUiAifCoreToolkit::TestHuiGcDrawImageL ),
+ ENTRY( "TestHuiGcDrawImagesL", CTestUiAifCoreToolkit::TestHuiGcDrawImagesL ),
+ ENTRY( "TestHuiGcFontL", CTestUiAifCoreToolkit::TestHuiGcFontL ),
+ ENTRY( "TestHuiGcNearClipDistanceL", CTestUiAifCoreToolkit::TestHuiGcNearClipDistanceL ),
+ ENTRY( "TestHuiGcFarClipDistanceL", CTestUiAifCoreToolkit::TestHuiGcFarClipDistanceL ),
+ ENTRY( "TestHuiGcFovFactorL", CTestUiAifCoreToolkit::TestHuiGcFovFactorL ),
+ ENTRY( "TestHuiGcOffset2DL", CTestUiAifCoreToolkit::TestHuiGcOffset2DL ),
+ ENTRY( "TestHuiGcSetWindowTransformationL", CTestUiAifCoreToolkit::TestHuiGcSetWindowTransformationL ),
+ ENTRY( "TestHuiGcLocaleTextAlignmentL", CTestUiAifCoreToolkit::TestHuiGcLocaleTextAlignmentL ),
+ // for HuiOwnerdPointer.h
+ ENTRY( "TestHuiOwnerdPointerCloseL", CTestUiAifCoreToolkit::TestHuiOwnerdPointerCloseL ),
+ ENTRY( "TestHuiOwnerdPointerOperatorTL", CTestUiAifCoreToolkit::TestHuiOwnerdPointerOperatorTL ),
+ ENTRY( "TestHuiOwnerdPointerOperatorConstTL", CTestUiAifCoreToolkit::TestHuiOwnerdPointerOperatorConstTL ),
+ ENTRY( "TestHuiOwnerdPointerOperatorL", CTestUiAifCoreToolkit::TestHuiOwnerdPointerOperatorL ),
+ ENTRY( "TestHuiOwnerdPointerPtrL", CTestUiAifCoreToolkit::TestHuiOwnerdPointerPtrL ),
+ ENTRY( "TestHuiOwnerdPointerRefL", CTestUiAifCoreToolkit::TestHuiOwnerdPointerRefL ),
+ ENTRY( "TestHuiOwnerdPointerNonConstRefL", CTestUiAifCoreToolkit::TestHuiOwnerdPointerNonConstRefL ),
+ ENTRY( "TestHuiOwnerdPointerSetL", CTestUiAifCoreToolkit::TestHuiOwnerdPointerSetL ),
+ ENTRY( "TestHuiOwnerdPointerOwnershipL", CTestUiAifCoreToolkit::TestHuiOwnerdPointerOwnershipL ),
+ // for HuiGifAnimationTexture.h
+ ENTRY( "TestHuiGifAnimationTextureNewLL", CTestUiAifCoreToolkit::TestHuiGifAnimationTextureNewLL ),
+ ENTRY( "TestHuiGifAnimationTextureIdL", CTestUiAifCoreToolkit::TestHuiGifAnimationTextureIdL ),
+ ENTRY( "TestHuiGifAnimationTextureStartL", CTestUiAifCoreToolkit::TestHuiGifAnimationTextureStartL ),
+ ENTRY( "TestHuiGifAnimationTextureStopL", CTestUiAifCoreToolkit::TestHuiGifAnimationTextureStopL ),
+ ENTRY( "TestHuiGifAnimationTextureEnableAnimationL", CTestUiAifCoreToolkit::TestHuiGifAnimationTextureEnableAnimationL ),
+ // [test cases entries]
+
+ // HuiLayout.h CHuiLayout
+ ENTRY( "TestCHuiLayoutAddNewL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutAddNewL ),
+ ENTRY( "TestCHuiLayoutConstructorL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutConstructorL ),
+ ENTRY( "TestCHuiLayoutDestructorL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutDestructorL ),
+ ENTRY( "TestCHuiLayoutConstructL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutConstructL ),
+ ENTRY( "TestCHuiLayoutRemoveAndDestroyAllDL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutRemoveAndDestroyAllDL ),
+ ENTRY( "TestCHuiLayoutFindTagL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutFindTagL ),
+ ENTRY( "TestCHuiLayoutAppendL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutAppendL ),
+ ENTRY( "TestCHuiLayoutInsertL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutInsertL ),
+ ENTRY( "TestCHuiLayoutRemoveL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutRemoveL ),
+ ENTRY( "TestCHuiLayoutCountL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutCountL ),
+ ENTRY( "TestCHuiLayoutVisualL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutVisualL ),
+ ENTRY( "TestCHuiLayoutFindVisualL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutFindVisualL ),
+ ENTRY( "TestCHuiLayoutSetPosL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutSetPosL ),
+ ENTRY( "TestCHuiLayoutSetSizeL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutSetSizeL ),
+ ENTRY( "TestCHuiLayoutUpdateChildrenLayoutL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutUpdateChildrenLayoutL ),
+ ENTRY( "TestCHuiLayoutUpdateChildLayoutL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutUpdateChildLayoutL ),
+ ENTRY( "TestCHuiLayoutSetInnerPaddingL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutSetInnerPaddingL ),
+ ENTRY( "TestCHuiLayoutSetInnerPaddingWithMetricL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutSetInnerPaddingWithMetricL ),
+ ENTRY( "TestCHuiLayoutInnerPaddingL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutInnerPaddingL ),
+ ENTRY( "TestCHuiLayoutHorizontalInnerPaddingL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutHorizontalInnerPaddingL ),
+ ENTRY( "TestCHuiLayoutVerticalInnerPaddingL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutVerticalInnerPaddingL ),
+ ENTRY( "TestCHuiLayoutInnerPaddingInBaseUnitsL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutInnerPaddingInBaseUnitsL ),
+ ENTRY( "TestCHuiLayoutEnableScrollingL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutEnableScrollingL ),
+ ENTRY( "TestCHuiLayoutScrollingL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutScrollingL ),
+ ENTRY( "TestCHuiLayoutScrollOffsetL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutScrollOffsetL ),
+ ENTRY( "TestCHuiLayoutScrollOffsetWithconstL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutScrollOffsetWithconstL ),
+ ENTRY( "TestCHuiLayoutSetScrollOffsetInBaseUnitsL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutSetScrollOffsetInBaseUnitsL ),
+ ENTRY( "TestCHuiLayoutVirtualSizeL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutVirtualSizeL ),
+ ENTRY( "TestCHuiLayoutEffectiveLayoutOrdinalL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutEffectiveLayoutOrdinalL ),
+ ENTRY( "TestCHuiLayoutReorderL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutReorderL ),
+ ENTRY( "TestCHuiLayoutMoveVisualToFrontL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutMoveVisualToFrontL ),
+ ENTRY( "TestCHuiLayoutMoveVisualToBackL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutMoveVisualToBackL ),
+ ENTRY( "TestCHuiLayoutNotifySkinChangedL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutNotifySkinChangedL ),
+ ENTRY( "TestCHuiLayoutSetTransitionTimeL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutSetTransitionTimeL ),
+ ENTRY( "TestCHuiLayoutTransitionTimeL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutTransitionTimeL ),
+ ENTRY( "TestCHuiLayoutChildOrdinalL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutChildOrdinalL ),
+ ENTRY( "TestCHuiLayoutPrepareDrawL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutPrepareDrawL ),
+ ENTRY( "TestCHuiLayoutDrawL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutDrawL ),
+ ENTRY( "TestCHuiLayoutReportChangedL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutReportChangedL ),
+ ENTRY( "TestCHuiLayoutClearChangedL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutClearChangedL ),
+ ENTRY( "TestCHuiLayoutChangedL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutChangedL ),
+ ENTRY( "TestCHuiLayoutDumpTreeL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutDumpTreeL ),
+ ENTRY( "TestCHuiLayoutSetBaseUnitL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutSetBaseUnitL ),
+ ENTRY( "TestCHuiLayoutSetBaseUnitXYL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutSetBaseUnitXYL ),
+ ENTRY( "TestCHuiLayoutBaseUnitL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutBaseUnitL ),
+ ENTRY( "TestCHuiLayoutInnerSizeL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutInnerSizeL ),
+ ENTRY( "TestCHuiLayoutInnerTopLeftL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutInnerTopLeftL ),
+ ENTRY( "TestCHuiLayoutChildSizeL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutChildSizeL ),
+ ENTRY( "TestCHuiLayoutChildPosL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutChildPosL ),
+ ENTRY( "TestCHuiLayoutChildRectL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutChildRectL ),
+ ENTRY( "TestCHuiLayoutBrushOpacityL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutBrushOpacityL ),
+ ENTRY( "TestCHuiLayoutBrushRectL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutBrushRectL ),
+ ENTRY( "TestCHuiLayoutBrushSkinL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutBrushSkinL ),
+ ENTRY( "TestCHuiLayoutGetInstanceNameL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutGetInstanceNameL ),
+ ENTRY( "TestCHuiLayoutGetClassNameL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutGetClassNameL ),
+ ENTRY( "TestCHuiLayoutTypeL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutTypeL ),
+ ENTRY( "TestCHuiLayoutSessionIdL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutSessionIdL ),
+ ENTRY( "TestCHuiLayoutSetSessionIdL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutSetSessionIdL ),
+ ENTRY( "TestCHuiLayoutDrawSelfL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutDrawSelfL ),
+ ENTRY( "TestHLMetricReferenceForLayoutInPixelsWithLayoutL",
+ CTestUiAifCoreToolkit::TestHLMetricReferenceForLayoutInPixelsWithLayoutL ),
+ ENTRY( "TestHLMetricReferenceForLayoutInPixelsL",
+ CTestUiAifCoreToolkit::TestHLMetricReferenceForLayoutInPixelsL ),
+ ENTRY( "TestCHuiLayoutExpandRectWithContentL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutExpandRectWithContentL ),
+ ENTRY( "TestCHuiLayoutVisualExtensionL",
+ CTestUiAifCoreToolkit::TestCHuiLayoutVisualExtensionL ),
+
+ // HuiLineLayout.h CHuiLineVisual
+ ENTRY( "TestCHLVAddNewL", CTestUiAifCoreToolkit::TestCHLVAddNewL ),
+ ENTRY( "TestCHLVSetPathL", CTestUiAifCoreToolkit::TestCHLVSetPathL ),
+ ENTRY( "TestCHLVPathL", CTestUiAifCoreToolkit::TestCHLVPathL ),
+ ENTRY( "TestCHLVSetImageL", CTestUiAifCoreToolkit::TestCHLVSetImageL ),
+ ENTRY( "TestCHLVSetAlphaFunctionL",
+ CTestUiAifCoreToolkit::TestCHLVSetAlphaFunctionL ),
+ ENTRY( "TestCHLVSetWidthFunctionL",
+ CTestUiAifCoreToolkit::TestCHLVSetWidthFunctionL ),
+ ENTRY( "TestCHLVSetColorL", CTestUiAifCoreToolkit::TestCHLVSetColorL ),
+
+ // huim3gmesh.h CHuiM3GMesh
+ ENTRY( "TestCHM3GMLoadSceneL", CTestUiAifCoreToolkit::TestCHM3GMLoadSceneL ),
+ ENTRY( "TestCHM3GMSetAnimationPositionL",
+ CTestUiAifCoreToolkit::TestCHM3GMSetAnimationPositionL ),
+ ENTRY( "TestCHM3GMStartAnimationControllerL",
+ CTestUiAifCoreToolkit::TestCHM3GMStartAnimationControllerL ),
+ ENTRY( "TestCHM3GMStopAnimationControllerL",
+ CTestUiAifCoreToolkit::TestCHM3GMStopAnimationControllerL ),
+
+ // HuiMappingFunctions.h THuiConstantMappingFunction
+ ENTRY( "TestTHCMFConstructorL", CTestUiAifCoreToolkit::TestTHCMFConstructorL ),
+ ENTRY( "TestTHCMFMapValueL", CTestUiAifCoreToolkit::TestTHCMFMapValueL ),
+ ENTRY( "TestTHLMFConstructorL", CTestUiAifCoreToolkit::TestTHLMFConstructorL ),
+ ENTRY( "TestTHLMFMapValueL", CTestUiAifCoreToolkit::TestTHLMFMapValueL ),
+ ENTRY( "TestTHSMFConstructorL", CTestUiAifCoreToolkit::TestTHSMFConstructorL ),
+ ENTRY( "TestTHSMFMapValueL", CTestUiAifCoreToolkit::TestTHSMFMapValueL ),
+ ENTRY( "TestTHCosineMFConstructorL",
+ CTestUiAifCoreToolkit::TestTHCosineMFConstructorL ),
+ ENTRY( "TestTHCosineMFMapValueL", CTestUiAifCoreToolkit::TestTHCosineMFMapValueL ),
+ ENTRY( "TestTHAMFConstructorL", CTestUiAifCoreToolkit::TestTHAMFConstructorL ),
+ ENTRY( "TestTHAMFMapValueL", CTestUiAifCoreToolkit::TestTHAMFMapValueL ),
+ ENTRY( "TestTHAMFMappingFunctionChangedL",
+ CTestUiAifCoreToolkit::TestTHAMFMappingFunctionChangedL ),
+ ENTRY( "TestTHAMFMappingFunctionClearChangedL",
+ CTestUiAifCoreToolkit::TestTHAMFMappingFunctionClearChangedL ),
+
+ // huimesh.h CHuiMesh
+ ENTRY( "TestCHuiMeshNewL", CTestUiAifCoreToolkit::TestCHuiMeshNewL ),
+ ENTRY( "TestCHuiMeshNewLCL", CTestUiAifCoreToolkit::TestCHuiMeshNewLCL ),
+ ENTRY( "TestCHuiMeshDestructL", CTestUiAifCoreToolkit::TestCHuiMeshDestructL ),
+ ENTRY( "TestCHuiMeshMeshTypeL", CTestUiAifCoreToolkit::TestCHuiMeshMeshTypeL ),
+ ENTRY( "TestCHuiMeshResetL", CTestUiAifCoreToolkit::TestCHuiMeshResetL ),
+ ENTRY( "TestCHuiMeshStretchUniformlyL",
+ CTestUiAifCoreToolkit::TestCHuiMeshStretchUniformlyL ),
+ ENTRY( "TestCHuiMeshScaleUniformlyL",
+ CTestUiAifCoreToolkit::TestCHuiMeshScaleUniformlyL ),
+ ENTRY( "TestCHuiMeshTypeL", CTestUiAifCoreToolkit::TestCHuiMeshTypeL ),
+ ENTRY( "TestCHuiMeshSessionIdL", CTestUiAifCoreToolkit::TestCHuiMeshSessionIdL ),
+ ENTRY( "TestCHuiMeshSetSessionIdL", CTestUiAifCoreToolkit::TestCHuiMeshSetSessionIdL ),
+ ENTRY( "TestCHuiMeshAnimationControllerCountL",
+ CTestUiAifCoreToolkit::TestCHuiMeshAnimationControllerCountL ),
+ ENTRY( "TestCHuiMeshSetAnimationPositionL",
+ CTestUiAifCoreToolkit::TestCHuiMeshSetAnimationPositionL ),
+ ENTRY( "TestCHuiMeshStartAnimationControllerL",
+ CTestUiAifCoreToolkit::TestCHuiMeshStartAnimationControllerL ),
+ ENTRY( "TestCHuiMeshStopAnimationControllerL",
+ CTestUiAifCoreToolkit::TestCHuiMeshStopAnimationControllerL ),
+
+ // huimeshvisual.h CHuiMeshVisual
+ ENTRY( "TestCHuiMeshVisualAddNewL",
+ CTestUiAifCoreToolkit::TestCHuiMeshVisualAddNewL ),
+ ENTRY( "TestCHuiMeshVisualCreateMeshL",
+ CTestUiAifCoreToolkit::TestCHuiMeshVisualCreateMeshL ),
+ ENTRY( "TestCHuiMeshVisualSetImageL",
+ CTestUiAifCoreToolkit::TestCHuiMeshVisualSetImageL ),
+ ENTRY( "TestCHuiMeshVisualSetSecondaryImageL",
+ CTestUiAifCoreToolkit::TestCHuiMeshVisualSetSecondaryImageL ),
+ ENTRY( "TestCHuiMeshVisualSetSpecularImageL",
+ CTestUiAifCoreToolkit::TestCHuiMeshVisualSetSpecularImageL ),
+ ENTRY( "TestCHuiMeshVisualMeshL",
+ CTestUiAifCoreToolkit::TestCHuiMeshVisualMeshL ),
+ ENTRY( "TestCHuiMeshVisualProceduralMeshL",
+ CTestUiAifCoreToolkit::TestCHuiMeshVisualProceduralMeshL ),
+ ENTRY( "TestCHuiMeshVisualM3GMeshL",
+ CTestUiAifCoreToolkit::TestCHuiMeshVisualM3GMeshL ),
+
+ // huimetric.h THuiMetric
+ ENTRY( "TestTHMConstructor", CTestUiAifCoreToolkit::TestTHMConstructor ),
+ ENTRY( "TestTHMConstructorWithPixel",
+ CTestUiAifCoreToolkit::TestTHMConstructorWithPixel ),
+ ENTRY( "TestTHMAbs", CTestUiAifCoreToolkit::TestTHMAbs ),
+ ENTRY( "TestTHMoperator", CTestUiAifCoreToolkit::TestTHMoperator ),
+ // THuiXYMetric
+ ENTRY( "TestTHXYMConstructor", CTestUiAifCoreToolkit::TestTHXYMConstructor ),
+ ENTRY( "TestTHXYMConstructorWithMetric",
+ CTestUiAifCoreToolkit::TestTHXYMConstructorWithMetric ),
+ ENTRY( "TestTHXYMConstructorWithTwo",
+ CTestUiAifCoreToolkit::TestTHXYMConstructorWithTwo ),
+ ENTRY( "TestTHXYMoperator", CTestUiAifCoreToolkit::TestTHXYMoperator ),
+ ENTRY( "TestTHXYMAbs", CTestUiAifCoreToolkit::TestTHXYMAbs ),
+ // THuiBoxMetric
+ ENTRY( "TestTHBMConstructor", CTestUiAifCoreToolkit::TestTHBMConstructor ),
+ ENTRY( "TestTHBMConstructorWithMetric",
+ CTestUiAifCoreToolkit::TestTHBMConstructorWithMetric ),
+ ENTRY( "TestTHBMConstructorWithXYMetric",
+ CTestUiAifCoreToolkit::TestTHBMConstructorWithXYMetric ),
+ ENTRY( "TestTHBMConstructorWithTwo",
+ CTestUiAifCoreToolkit::TestTHBMConstructorWithTwo ),
+ ENTRY( "TestTHBMConstructorWithFour",
+ CTestUiAifCoreToolkit::TestTHBMConstructorWithFour ),
+
+ // huirealpoint.h THuiRealPoint
+ ENTRY( "TestTHRPConstructor", CTestUiAifCoreToolkit::TestTHRPConstructor ),
+ ENTRY( "TestTHRPConstructorWithTReal",
+ CTestUiAifCoreToolkit::TestTHRPConstructorWithTReal ),
+ ENTRY( "TestTHRPConstructorWithTPoint",
+ CTestUiAifCoreToolkit::TestTHRPConstructorWithTPoint ),
+ ENTRY( "TestTHRPAsSize", CTestUiAifCoreToolkit::TestTHRPAsSize ),
+ ENTRY( "TestTHRPTPoint", CTestUiAifCoreToolkit::TestTHRPTPoint ),
+ ENTRY( "TestTHRPRound", CTestUiAifCoreToolkit::TestTHRPRound ),
+ ENTRY( "TestTHRPoperator1", CTestUiAifCoreToolkit::TestTHRPoperator1 ),
+ ENTRY( "TestTHRPoperator2", CTestUiAifCoreToolkit::TestTHRPoperator2 ),
+ ENTRY( "TestTHRPoperator3", CTestUiAifCoreToolkit::TestTHRPoperator3 ),
+ ENTRY( "TestTHRPoperator4", CTestUiAifCoreToolkit::TestTHRPoperator4 ),
+ ENTRY( "TestTHRPoperator5", CTestUiAifCoreToolkit::TestTHRPoperator5 ),
+ ENTRY( "TestTHRPoperator6", CTestUiAifCoreToolkit::TestTHRPoperator6 ),
+ ENTRY( "TestTHRPAbs", CTestUiAifCoreToolkit::TestTHRPAbs ),
+
+ // huirealrect.h THuiRealRect
+ ENTRY( "TestTHRRConstructor", CTestUiAifCoreToolkit::TestTHRRConstructor ),
+ ENTRY( "TestTHRRConstructorWithPoint",
+ CTestUiAifCoreToolkit::TestTHRRConstructorWithPoint ),
+ ENTRY( "TestTHRRConstructorWithPointAndSize",
+ CTestUiAifCoreToolkit::TestTHRRConstructorWithPointAndSize ),
+ ENTRY( "TestTHRRConstructorWithTRect",
+ CTestUiAifCoreToolkit::TestTHRRConstructorWithTRect ),
+ ENTRY( "TestTHRRWidth", CTestUiAifCoreToolkit::TestTHRRWidth ),
+ ENTRY( "TestTHRRHeight", CTestUiAifCoreToolkit::TestTHRRHeight ),
+ ENTRY( "TestTHRRTopRight", CTestUiAifCoreToolkit::TestTHRRTopRight ),
+ ENTRY( "TestTHRRBottomLeft", CTestUiAifCoreToolkit::TestTHRRBottomLeft ),
+ ENTRY( "TestTHRRSize", CTestUiAifCoreToolkit::TestTHRRSize ),
+ ENTRY( "TestTHRRCenter", CTestUiAifCoreToolkit::TestTHRRCenter ),
+ ENTRY( "TestTHRRGrow", CTestUiAifCoreToolkit::TestTHRRGrow ),
+ ENTRY( "TestTHRRShrink", CTestUiAifCoreToolkit::TestTHRRShrink ),
+ ENTRY( "TestTHRRShrinkTPoint", CTestUiAifCoreToolkit::TestTHRRShrinkTPoint ),
+ ENTRY( "TestTHRRShrinkTHuiRealPoint",
+ CTestUiAifCoreToolkit::TestTHRRShrinkTHuiRealPoint ),
+ ENTRY( "TestTHRRShrinkTHuiRealRect",
+ CTestUiAifCoreToolkit::TestTHRRShrinkTHuiRealRect ),
+ ENTRY( "TestTHRRMove", CTestUiAifCoreToolkit::TestTHRRMove ),
+ ENTRY( "TestTHRRoperatorTRect", CTestUiAifCoreToolkit::TestTHRRoperatorTRect ),
+ ENTRY( "TestTHRRRound", CTestUiAifCoreToolkit::TestTHRRRound ),
+ ENTRY( "TestTHRRBoundingRect", CTestUiAifCoreToolkit::TestTHRRBoundingRect ),
+
+ // huirealsize.h THuiRealSize
+ ENTRY( "TestTHRSConstructor", CTestUiAifCoreToolkit::TestTHRSConstructor ),
+ ENTRY( "TestTHRSConstructorWithTReal",
+ CTestUiAifCoreToolkit::TestTHRSConstructorWithTReal ),
+ ENTRY( "TestTHRSConstructorWithTSize",
+ CTestUiAifCoreToolkit::TestTHRSConstructorWithTSize ),
+ ENTRY( "TestTHRSoperatorTSize", CTestUiAifCoreToolkit::TestTHRSoperatorTSize ),
+ ENTRY( "TestTHRSRound", CTestUiAifCoreToolkit::TestTHRSRound ),
+ ENTRY( "TestTHRSoperatorPlus", CTestUiAifCoreToolkit::TestTHRSoperatorPlus ),
+
+ // huiproceduralmesh.h CHuiProceduralMesh
+ ENTRY( "TestHPMDeleteL", CTestUiAifCoreToolkit::TestHPMDeleteL ),
+ ENTRY( "TestHPMResetL", CTestUiAifCoreToolkit::TestHPMResetL ),
+ ENTRY( "TestHPMMakeCubeL", CTestUiAifCoreToolkit::TestHPMMakeCubeL ),
+ ENTRY( "TestHPMMakeSphereL", CTestUiAifCoreToolkit::TestHPMMakeSphereL ),
+ ENTRY( "TestHPMMakeTorusL", CTestUiAifCoreToolkit::TestHPMMakeTorusL ),
+ ENTRY( "TestHPMStretchUniformlyL",
+ CTestUiAifCoreToolkit::TestHPMStretchUniformlyL ),
+ ENTRY( "TestHPMScaleUniformlyL", CTestUiAifCoreToolkit::TestHPMScaleUniformlyL ),
+
+ // huistatic.h CHuiStatic
+ ENTRY( "TestCHuiStaticEnv", CTestUiAifCoreToolkit::TestCHuiStaticEnv ),
+ ENTRY( "TestCHuiStaticTime", CTestUiAifCoreToolkit::TestCHuiStaticTime ),
+ ENTRY( "TestCHuiStaticSetTimeFactor",
+ CTestUiAifCoreToolkit::TestCHuiStaticSetTimeFactor ),
+ ENTRY( "TestCHuiStaticTimeFactor", CTestUiAifCoreToolkit::TestCHuiStaticTimeFactor ),
+ ENTRY( "TestCHuiStaticPauseTime", CTestUiAifCoreToolkit::TestCHuiStaticPauseTime ),
+ ENTRY( "TestCHuiStaticContinueTime",
+ CTestUiAifCoreToolkit::TestCHuiStaticContinueTime ),
+ ENTRY( "TestCHuiStaticTimePaused", CTestUiAifCoreToolkit::TestCHuiStaticTimePaused ),
+ ENTRY( "TestCHuiStaticElapsedSeconds",
+ CTestUiAifCoreToolkit::TestCHuiStaticElapsedSeconds ),
+ ENTRY( "TestCHuiStaticSecondsSinceStart",
+ CTestUiAifCoreToolkit::TestCHuiStaticSecondsSinceStart ),
+ ENTRY( "TestCHuiStaticMilliSecondsSinceStart",
+ CTestUiAifCoreToolkit::TestCHuiStaticMilliSecondsSinceStart ),
+ ENTRY( "TestCHuiStaticFrameCount", CTestUiAifCoreToolkit::TestCHuiStaticFrameCount ),
+ ENTRY( "TestCHuiStaticAverageFrameRate",
+ CTestUiAifCoreToolkit::TestCHuiStaticAverageFrameRate ),
+ ENTRY( "TestCHuiStaticFrameRate", CTestUiAifCoreToolkit::TestCHuiStaticFrameRate ),
+ ENTRY( "TestCHuiStaticPrintfTDesC8",
+ CTestUiAifCoreToolkit::TestCHuiStaticPrintfTDesC8 ),
+ ENTRY( "TestCHuiStaticPrintfTDesC16",
+ CTestUiAifCoreToolkit::TestCHuiStaticPrintfTDesC16 ),
+ ENTRY( "TestCHuiStaticEnableLogging",
+ CTestUiAifCoreToolkit::TestCHuiStaticEnableLogging ),
+ ENTRY( "TestCHuiStaticLogging", CTestUiAifCoreToolkit::TestCHuiStaticLogging ),
+ ENTRY( "TestCHuiStaticTic", CTestUiAifCoreToolkit::TestCHuiStaticTic ),
+ ENTRY( "TestCHuiStaticToc", CTestUiAifCoreToolkit::TestCHuiStaticToc ),
+ ENTRY( "TestCHuiStaticFsSession", CTestUiAifCoreToolkit::TestCHuiStaticFsSession ),
+ ENTRY( "TestCHuiStaticSetLayoutTransitionTime",
+ CTestUiAifCoreToolkit::TestCHuiStaticSetLayoutTransitionTime ),
+ ENTRY( "TestCHuiStaticLayoutTransitionTime",
+ CTestUiAifCoreToolkit::TestCHuiStaticLayoutTransitionTime ),
+ ENTRY( "TestCHuiStaticSetProbe", CTestUiAifCoreToolkit::TestCHuiStaticSetProbe ),
+
+ // huisoftkeycontrol.h CHuiSoftKeyControl
+ ENTRY( "TestCHSKCNewL", CTestUiAifCoreToolkit::TestCHSKCNewL ),
+ ENTRY( "TestCHSKCNewLCL", CTestUiAifCoreToolkit::TestCHSKCNewLCL ),
+ ENTRY( "TestCHSKCDestruct", CTestUiAifCoreToolkit::TestCHSKCDestructL ),
+ ENTRY( "TestCHSKCSetLabelL", CTestUiAifCoreToolkit::TestCHSKCSetLabelL ),
+ ENTRY( "TestCHSKCSetBackgroundL", CTestUiAifCoreToolkit::TestCHSKCSetBackgroundL ),
+ ENTRY( "TestCHSKCSetAnimationTimesL",
+ CTestUiAifCoreToolkit::TestCHSKCSetAnimationTimesL ),
+ ENTRY( "TestCHSKCEnterViewL", CTestUiAifCoreToolkit::TestCHSKCEnterViewL ),
+ ENTRY( "TestCHSKCExitViewL", CTestUiAifCoreToolkit::TestCHSKCExitViewL ),
+ ENTRY( "TestCHSKCSetBackgroundTypeL",
+ CTestUiAifCoreToolkit::TestCHSKCSetBackgroundTypeL ),
+
+ // huiutil.h HuiUtil
+ ENTRY( "TestHuiUtilPower2", CTestUiAifCoreToolkit::TestHuiUtilPower2 ),
+ ENTRY( "TestHuiUtilPower2RoundDown",
+ CTestUiAifCoreToolkit::TestHuiUtilPower2RoundDown ),
+ ENTRY( "TestHuiUtilInterpolate", CTestUiAifCoreToolkit::TestHuiUtilInterpolate ),
+ ENTRY( "TestHuiUtilWrapValue", CTestUiAifCoreToolkit::TestHuiUtilWrapValue ),
+ ENTRY( "TestHuiUtilRandomInt", CTestUiAifCoreToolkit::TestHuiUtilRandomInt ),
+ ENTRY( "TestHuiUtilRandomReal", CTestUiAifCoreToolkit::TestHuiUtilRandomReal ),
+ ENTRY( "TestHuiUtilQuickLengthWithPoint",
+ CTestUiAifCoreToolkit::TestHuiUtilQuickLengthWithPoint ),
+ ENTRY( "TestHuiUtilQuickLength", CTestUiAifCoreToolkit::TestHuiUtilQuickLength ),
+ ENTRY( "TestHuiUtilQuickNormalizeWithPoint",
+ CTestUiAifCoreToolkit::TestHuiUtilQuickNormalizeWithPoint ),
+ ENTRY( "TestHuiUtilQuickNormalize",
+ CTestUiAifCoreToolkit::TestHuiUtilQuickNormalize ),
+ ENTRY( "TestHuiUtilCrossProduct",
+ CTestUiAifCoreToolkit::TestHuiUtilCrossProduct ),
+ ENTRY( "TestHuiUtilNormalFromPoints",
+ CTestUiAifCoreToolkit::TestHuiUtilNormalFromPoints ),
+ ENTRY( "TestHuiUtilShadowMatrix",
+ CTestUiAifCoreToolkit::TestHuiUtilShadowMatrix ),
+ ENTRY( "TestHuiUtilFreeMemory", CTestUiAifCoreToolkit::TestHuiUtilFreeMemory ),
+ ENTRY( "TestHuiUtilScreenSize", CTestUiAifCoreToolkit::TestHuiUtilScreenSize ),
+ ENTRY( "TestHuiUtilLengthUnit", CTestUiAifCoreToolkit::TestHuiUtilLengthUnit ),
+ ENTRY( "TestHuiUtilColorLightness",
+ CTestUiAifCoreToolkit::TestHuiUtilColorLightness ),
+ ENTRY( "TestHuiUtilScaleFbsBitmapL",
+ CTestUiAifCoreToolkit::TestHuiUtilScaleFbsBitmapL ),
+ ENTRY( "TestHuiUtilCombineMaskFbsBitmapL",
+ CTestUiAifCoreToolkit::TestHuiUtilCombineMaskFbsBitmapL ),
+ ENTRY( "TestHuiUtilCropFbsBitmapL",
+ CTestUiAifCoreToolkit::TestHuiUtilCropFbsBitmapL ),
+ ENTRY( "TestHuiUtilScaleImageL", CTestUiAifCoreToolkit::TestHuiUtilScaleImageL ),
+ ENTRY( "TestHuiUtilCropImageL", CTestUiAifCoreToolkit::TestHuiUtilCropImageL ),
+ ENTRY( "TestHuiUtilTagMatches", CTestUiAifCoreToolkit::TestHuiUtilTagMatches ),
+ ENTRY( "TestHuiUtilConvertBitmapToDisplayModeLCL",
+ CTestUiAifCoreToolkit::TestHuiUtilConvertBitmapToDisplayModeLCL ),
+
+ // huitimedvalue.h MHuiMappingFunction
+ ENTRY( "TestMHMFMappingFunctionChangedL",
+ CTestUiAifCoreToolkit::TestMHMFMappingFunctionChangedL ),
+ ENTRY( "TestMHMFMappingFunctionClearChangedL",
+ CTestUiAifCoreToolkit::TestMHMFMappingFunctionClearChangedL ),
+ ENTRY( "TestTHTVConstructor", CTestUiAifCoreToolkit::TestTHTVConstructor ),
+ ENTRY( "TestTHTVConstructorWithValue",
+ CTestUiAifCoreToolkit::TestTHTVConstructorWithValue ),
+ ENTRY( "TestTHTVStyle", CTestUiAifCoreToolkit::TestTHTVStyle ),
+ ENTRY( "TestTHTVSetStyle", CTestUiAifCoreToolkit::TestTHTVSetStyle ),
+ ENTRY( "TestTHTVSetFunction", CTestUiAifCoreToolkit::TestTHTVSetFunction ),
+ ENTRY( "TestTHTVSetMappingMode",
+ CTestUiAifCoreToolkit::TestTHTVSetMappingMode ),
+ ENTRY( "TestTHTVNow", CTestUiAifCoreToolkit::TestTHTVNow ),
+ ENTRY( "TestTHTVUnmappedNow", CTestUiAifCoreToolkit::TestTHTVUnmappedNow ),
+ ENTRY( "TestTHTVTarget", CTestUiAifCoreToolkit::TestTHTVTarget ),
+ ENTRY( "TestTHTVSetValue", CTestUiAifCoreToolkit::TestTHTVSetValue ),
+ ENTRY( "TestTHTVSetValueTime", CTestUiAifCoreToolkit::TestTHTVSetValueTime ),
+ ENTRY( "TestTHTVSetWithSpeed", CTestUiAifCoreToolkit::TestTHTVSetWithSpeed ),
+ ENTRY( "TestTHTVRemainingTime",
+ CTestUiAifCoreToolkit::TestTHTVRemainingTime ),
+ ENTRY( "TestTHTVFinish", CTestUiAifCoreToolkit::TestTHTVFinish ),
+ ENTRY( "TestTHTVChanged", CTestUiAifCoreToolkit::TestTHTVChanged ),
+ ENTRY( "TestTHTVInterpolating",
+ CTestUiAifCoreToolkit::TestTHTVInterpolating ),
+ ENTRY( "TestTHTVClearChanged", CTestUiAifCoreToolkit::TestTHTVClearChanged ),
+ ENTRY( "TestTHTVEnableClock", CTestUiAifCoreToolkit::TestTHTVEnableClock ),
+ ENTRY( "TestTHTVSuspend", CTestUiAifCoreToolkit::TestTHTVSuspend ),
+ ENTRY( "TestTHTVoperatorEqualTo",
+ CTestUiAifCoreToolkit::TestTHTVoperatorEqualTo ),
+
+ //huiimage.h THuiImage
+ ENTRY( "TestTHIConstructor", CTestUiAifCoreToolkit::TestTHIConstructor ),
+ ENTRY( "TestTHIConstructorWithParaL",
+ CTestUiAifCoreToolkit::TestTHIConstructorWithParaL ),
+ ENTRY( "TestTHISegmentCountL", CTestUiAifCoreToolkit::TestTHISegmentCountL ),
+ ENTRY( "TestTHIGetVertexCoordsL",
+ CTestUiAifCoreToolkit::TestTHIGetVertexCoordsL ),
+ ENTRY( "TestTHIGetTexCoordsL", CTestUiAifCoreToolkit::TestTHIGetTexCoordsL ),
+ ENTRY( "TestTHISetTexCoords", CTestUiAifCoreToolkit::TestTHISetTexCoordsL ),
+ ENTRY( "TestTHITopLeft", CTestUiAifCoreToolkit::TestTHITopLeftL ),
+ ENTRY( "TestTHIBottomRight", CTestUiAifCoreToolkit::TestTHIBottomRightL ),
+ ENTRY( "TestTHIHasTexture", CTestUiAifCoreToolkit::TestTHIHasTextureL ),
+ ENTRY( "TestTHISetTextureL", CTestUiAifCoreToolkit::TestTHISetTextureL ),
+ ENTRY( "TestTHITextureL", CTestUiAifCoreToolkit::TestTHITextureL ),
+ ENTRY( "TestTHITextureIfL", CTestUiAifCoreToolkit::TestTHITextureIfL ),
+ ENTRY( "TestTHIHasShadow", CTestUiAifCoreToolkit::TestTHIHasShadow ),
+ ENTRY( "TestTHIShadowTexture", CTestUiAifCoreToolkit::TestTHIShadowTexture ),
+ ENTRY( "TestTHITranslate", CTestUiAifCoreToolkit::TestTHITranslate ),
+ ENTRY( "TestTHIScale", CTestUiAifCoreToolkit::TestTHIScale ),
+
+ //huiimagebrush.h CHuiImageBrush
+ ENTRY( "TestCHIBNewL", CTestUiAifCoreToolkit::TestCHIBNewL ),
+ ENTRY( "TestCHIBNewLCL", CTestUiAifCoreToolkit::TestCHIBNewLCL ),
+ ENTRY( "TestCHIBSetScaleModeL",
+ CTestUiAifCoreToolkit::TestCHIBSetScaleModeL ),
+ ENTRY( "TestCHIBSetImageL", CTestUiAifCoreToolkit::TestCHIBSetImageL ),
+ ENTRY( "TestCHIBSetBordersL", CTestUiAifCoreToolkit::TestCHIBSetBordersL ),
+ ENTRY( "TestCHIBBorderDrawingEnabledL",
+ CTestUiAifCoreToolkit::TestCHIBBorderDrawingEnabledL ),
+ ENTRY( "TestCHIBCenterDrawingEnabledL",
+ CTestUiAifCoreToolkit::TestCHIBCenterDrawingEnabledL ),
+ ENTRY( "TestCHIBExpandVisualRectL",
+ CTestUiAifCoreToolkit::TestCHIBExpandVisualRectL ),
+ ENTRY( "TestCHIBDrawL", CTestUiAifCoreToolkit::TestCHIBDrawL ),
+
+ // huitimedpoint.h THuiTimedPoint
+ ENTRY( "TestTHTPConstructor", CTestUiAifCoreToolkit::TestTHTPConstructor ),
+ ENTRY( "TestTHTPConstructorWithTReal",
+ CTestUiAifCoreToolkit::TestTHTPConstructorWithTReal ),
+ ENTRY( "TestTHTPSetStyle", CTestUiAifCoreToolkit::TestTHTPSetStyle ),
+ ENTRY( "TestTHTPSetFunctionL", CTestUiAifCoreToolkit::TestTHTPSetFunctionL ),
+ ENTRY( "TestTHTPSet", CTestUiAifCoreToolkit::TestTHTPSet ),
+ ENTRY( "TestTHTPSetTReal", CTestUiAifCoreToolkit::TestTHTPSetTReal ),
+ ENTRY( "TestTHTPSetWithSpeed", CTestUiAifCoreToolkit::TestTHTPSetWithSpeed ),
+ ENTRY( "TestTHTPSetWithSpeedTReal",
+ CTestUiAifCoreToolkit::TestTHTPSetWithSpeedTReal ),
+ ENTRY( "TestTHTPNow", CTestUiAifCoreToolkit::TestTHTPNow ),
+ ENTRY( "TestTHTPRealNow", CTestUiAifCoreToolkit::TestTHTPRealNow ),
+ ENTRY( "TestTHTPTarget", CTestUiAifCoreToolkit::TestTHTPTarget ),
+ ENTRY( "TestTHTPRealTarget", CTestUiAifCoreToolkit::TestTHTPRealTarget ),
+ ENTRY( "TestTHTPFinish", CTestUiAifCoreToolkit::TestTHTPFinish ),
+
+ // huitexturehandle.h THuiTextureHandle
+ ENTRY( "TestTHTHConstructorL", CTestUiAifCoreToolkit::TestTHTHConstructorL ),
+ ENTRY( "TestTHTHConstructorWithParaL",
+ CTestUiAifCoreToolkit::TestTHTHConstructorWithParaL ),
+ ENTRY( "TestTHTHIsNullL", CTestUiAifCoreToolkit::TestTHTHIsNullL ),
+ ENTRY( "TestTHTHHasContentL", CTestUiAifCoreToolkit::TestTHTHHasContentL ),
+ ENTRY( "TestTHTHReleaseL", CTestUiAifCoreToolkit::TestTHTHReleaseL ),
+ ENTRY( "TestTHTHSetL", CTestUiAifCoreToolkit::TestTHTHSetL ),
+ ENTRY( "TestTHTHSetNameL", CTestUiAifCoreToolkit::TestTHTHSetNameL ),
+ ENTRY( "TestTHTHSetSizeL", CTestUiAifCoreToolkit::TestTHTHSetSizeL ),
+ ENTRY( "TestTHTHSetTextureSizeL",
+ CTestUiAifCoreToolkit::TestTHTHSetTextureSizeL ),
+ ENTRY( "TestTHTHSegmentedTextureL",
+ CTestUiAifCoreToolkit::TestTHTHSegmentedTextureL ),
+ ENTRY( "TestTHTHSegmentedTextureconstL",
+ CTestUiAifCoreToolkit::TestTHTHSegmentedTextureconstL ),
+ ENTRY( "TestTHTHShadowedTextureL",
+ CTestUiAifCoreToolkit::TestTHTHShadowedTextureL ),
+ ENTRY( "TestTHTHShadowedTextureconstL",
+ CTestUiAifCoreToolkit::TestTHTHShadowedTextureconstL ),
+ ENTRY( "TestTHTHTextureChangedL",
+ CTestUiAifCoreToolkit::TestTHTHTextureChangedL ),
+ ENTRY( "TestTHTHTextureClearChangedL",
+ CTestUiAifCoreToolkit::TestTHTHTextureClearChangedL ),
+ ENTRY( "TestTHTHNameL", CTestUiAifCoreToolkit::TestTHTHNameL ),
+ ENTRY( "TestTHTHSizeL", CTestUiAifCoreToolkit::TestTHTHSizeL ),
+ ENTRY( "TestTHTHSegmentCountL",
+ CTestUiAifCoreToolkit::TestTHTHSegmentCountL ),
+ ENTRY( "TestTHTHSegmentNameL",
+ CTestUiAifCoreToolkit::TestTHTHSegmentNameL ),
+ ENTRY( "TestTHTHSegmentSizeL",
+ CTestUiAifCoreToolkit::TestTHTHSegmentSizeL ),
+ ENTRY( "TestTHTHSegmentTextureSizeL",
+ CTestUiAifCoreToolkit::TestTHTHSegmentTextureSizeL ),
+ ENTRY( "TestTHTHSegmentOffsetL",
+ CTestUiAifCoreToolkit::TestTHTHSegmentOffsetL ),
+ ENTRY( "TestTHTHTextureExtensionL",
+ CTestUiAifCoreToolkit::TestTHTHTextureExtensionL ),
+
+ // huitransformation.h CHuiTransformation
+ ENTRY( "TestCHTranNewL", CTestUiAifCoreToolkit::TestCHTranNewL ),
+ ENTRY( "TestCHTranNewLCL", CTestUiAifCoreToolkit::TestCHTranNewLCL ),
+ ENTRY( "TestCHTranCountL", CTestUiAifCoreToolkit::TestCHTranCountL ),
+ ENTRY( "TestCHTranNonIdentityCountL",
+ CTestUiAifCoreToolkit::TestCHTranNonIdentityCountL ),
+ ENTRY( "TestCHTranStepL", CTestUiAifCoreToolkit::TestCHTranStepL ),
+ ENTRY( "TestCHTranoperatorL", CTestUiAifCoreToolkit::TestCHTranoperatorL ),
+ ENTRY( "TestCHTranLoadIdentityL",
+ CTestUiAifCoreToolkit::TestCHTranLoadIdentityL ),
+ ENTRY( "TestCHTranTranslateL", CTestUiAifCoreToolkit::TestCHTranTranslateL ),
+ ENTRY( "TestCHTranTranslateWithValueL",
+ CTestUiAifCoreToolkit::TestCHTranTranslateWithValueL ),
+ ENTRY( "TestCHTranScaleL", CTestUiAifCoreToolkit::TestCHTranScaleL ),
+ ENTRY( "TestCHTranScaleWithValueL",
+ CTestUiAifCoreToolkit::TestCHTranScaleWithValueL ),
+ ENTRY( "TestCHTranScaleWithThreeL",
+ CTestUiAifCoreToolkit::TestCHTranScaleWithThreeL ),
+ ENTRY( "TestCHTranScaleWithThreeValueL",
+ CTestUiAifCoreToolkit::TestCHTranScaleWithThreeValueL ),
+ ENTRY( "TestCHTranRotateL", CTestUiAifCoreToolkit::TestCHTranRotateL ),
+ ENTRY( "TestCHTranRotateValueL",
+ CTestUiAifCoreToolkit::TestCHTranRotateValueL ),
+ ENTRY( "TestCHTranRotateFourL",
+ CTestUiAifCoreToolkit::TestCHTranRotateFourL ),
+ ENTRY( "TestCHTranRotateValueThreeL",
+ CTestUiAifCoreToolkit::TestCHTranRotateValueThreeL ),
+
+ // huifixmath.h HuiFixMath
+ ENTRY( "TestHFMFixHypot", CTestUiAifCoreToolkit::TestHFMFixHypot ),
+ ENTRY( "TestHFMFixSin", CTestUiAifCoreToolkit::TestHFMFixSin ),
+ ENTRY( "TestHFMFixCos", CTestUiAifCoreToolkit::TestHFMFixCos ),
+ ENTRY( "TestHFMFixMul", CTestUiAifCoreToolkit::TestHFMFixMul ),
+ ENTRY( "TestHFMFixDiv", CTestUiAifCoreToolkit::TestHFMFixDiv ),
+ ENTRY( "TestHFMFloatToFix", CTestUiAifCoreToolkit::TestHFMFloatToFix ),
+ ENTRY( "TestHFMFixToFloat", CTestUiAifCoreToolkit::TestHFMFixToFloat ),
+
+ // huifont.h THuiFont
+ ENTRY( "TestTHFConstructorL", CTestUiAifCoreToolkit::TestTHFConstructorL ),
+ ENTRY( "TestTHFConstructorWithParaL",
+ CTestUiAifCoreToolkit::TestTHFConstructorWithParaL ),
+ ENTRY( "TestTHFConstructorWithFontL",
+ CTestUiAifCoreToolkit::TestTHFConstructorWithFontL ),
+ ENTRY( "TestTHFoperatorEqualL", CTestUiAifCoreToolkit::TestTHFoperatorEqual ),
+ ENTRY( "TestTHFIdL", CTestUiAifCoreToolkit::TestTHFIdL ),
+ ENTRY( "TestTHFCategoryL", CTestUiAifCoreToolkit::TestTHFCategoryL ),
+ ENTRY( "TestTHFFontSpecL", CTestUiAifCoreToolkit::TestTHFFontSpecL ),
+
+ // huifontmanager.h THuiFontManager
+ ENTRY( "TestTHFMEnumerateFontsL",
+ CTestUiAifCoreToolkit::TestTHFMEnumerateFontsL ),
+
+ // huiinteractioninterval.h THuiInteractionInterval
+ ENTRY( "TestTHIIConstructorL", CTestUiAifCoreToolkit::TestTHIIConstructorL ),
+ ENTRY( "TestTHIISetScalarL", CTestUiAifCoreToolkit::TestTHIISetScalarL ),
+ ENTRY( "TestTHIIScalarL", CTestUiAifCoreToolkit::TestTHIIScalarL ),
+ ENTRY( "TestTHIIIntervalL", CTestUiAifCoreToolkit::TestTHIIIntervalL ),
+
+ // For test the huitextvisual.h
+ ENTRY( "TestHuiTextVisualAddNewL", CTestUiAifCoreToolkit::TestHuiTextVisualAddNewL ),
+ ENTRY( "TestHuiTextVisualSetTextL", CTestUiAifCoreToolkit::TestHuiTextVisualSetTextL ),
+ ENTRY( "TestHuiTextVisualText", CTestUiAifCoreToolkit::TestHuiTextVisualText ),
+ ENTRY( "TestHuiTextVisualSetAlign", CTestUiAifCoreToolkit::TestHuiTextVisualSetAlign ),
+ ENTRY( "TestHuiTextVisualSetLineSpacing", CTestUiAifCoreToolkit::TestHuiTextVisualSetLineSpacing ),
+ ENTRY( "TestHuiTextVisualSetStyle", CTestUiAifCoreToolkit::TestHuiTextVisualSetStyle ),
+ ENTRY( "TestHuiTextVisualSetTextStyle", CTestUiAifCoreToolkit::TestHuiTextVisualSetTextStyle ),
+ ENTRY( "TestHuiTextVisualStyle", CTestUiAifCoreToolkit::TestHuiTextVisualStyle ),
+ ENTRY( "TestHuiTextVisualTextStyle", CTestUiAifCoreToolkit::TestHuiTextVisualTextStyle ),
+ ENTRY( "TestHuiTextVisualSetMaxLineCount", CTestUiAifCoreToolkit::TestHuiTextVisualSetMaxLineCount ),
+ ENTRY( "TestHuiTextVisualMaxLineCount", CTestUiAifCoreToolkit::TestHuiTextVisualMaxLineCount ),
+ ENTRY( "TestHuiTextVisualWrapping", CTestUiAifCoreToolkit::TestHuiTextVisualWrapping ),
+ ENTRY( "TestHuiTextVisualSetWrapping", CTestUiAifCoreToolkit::TestHuiTextVisualSetWrapping ),
+ ENTRY( "TestHuiTextVisualBackgroundType", CTestUiAifCoreToolkit::TestHuiTextVisualBackgroundType ),
+ ENTRY( "TestHuiTextVisualOffset", CTestUiAifCoreToolkit::TestHuiTextVisualOffset ),
+ ENTRY( "TestHuiTextVisualOffsetConst", CTestUiAifCoreToolkit::TestHuiTextVisualOffsetConst ),
+ ENTRY( "TestHuiTextVisualTextExtents", CTestUiAifCoreToolkit::TestHuiTextVisualTextExtentsL ),
+ ENTRY( "TestHuiTextVisualPrepareDrawL", CTestUiAifCoreToolkit::TestHuiTextVisualPrepareDrawL ),
+ ENTRY( "TestHuiTextVisualSetColor", CTestUiAifCoreToolkit::TestHuiTextVisualSetColor ),
+ ENTRY( "TestHuiTextVisualSetColorWithIndex", CTestUiAifCoreToolkit::TestHuiTextVisualSetColorWithIndex ),
+ ENTRY( "TestHuiTextVisualSubstringExtents", CTestUiAifCoreToolkit::TestHuiTextVisualSubstringExtents ),
+ ENTRY( "TestHuiTextVisualEnableShadow", CTestUiAifCoreToolkit::TestHuiTextVisualEnableShadow ),
+ ENTRY( "TestHuiTextVisualSetHighlightRange", CTestUiAifCoreToolkit::TestHuiTextVisualSetHighlightRange ),
+
+ // for test the huiviewportlayout.h
+ ENTRY( "TestHuiViewPortLayoutAddNewL", CTestUiAifCoreToolkit::TestHuiViewPortLayoutAddNewL ),
+ ENTRY( "TestHuiViewPortLayoutSetVirtualSize", CTestUiAifCoreToolkit::TestHuiViewPortLayoutSetVirtualSize ),
+ ENTRY( "TestHuiViewPortLayoutSetViewportSize", CTestUiAifCoreToolkit::TestHuiViewPortLayoutSetViewportSize ),
+ ENTRY( "TestHuiViewPortLayoutSetViewportPos", CTestUiAifCoreToolkit::TestHuiViewPortLayoutSetViewportPos ),
+
+ // for test the huiimagevisual.h
+ ENTRY( "TestHuiImageVisualAddNewL", CTestUiAifCoreToolkit::TestHuiImageVisualAddNewL ),
+ ENTRY( "TestHuiImageVisualSetScaleMode", CTestUiAifCoreToolkit::TestHuiImageVisualSetScaleMode ),
+ ENTRY( "TestHuiImageVisualSetImage", CTestUiAifCoreToolkit::TestHuiImageVisualSetImageL ),
+ ENTRY( "TestHuiImageVisualSetSecondaryImage", CTestUiAifCoreToolkit::TestHuiImageVisualSetSecondaryImageL ),
+ ENTRY( "TestHuiImageVisualImage", CTestUiAifCoreToolkit::TestHuiImageVisualImage ),
+ ENTRY( "TestHuiImageVisualSecondaryImage", CTestUiAifCoreToolkit::TestHuiImageVisualSecondaryImage ),
+ ENTRY( "TestHuiImageVisualSetColor", CTestUiAifCoreToolkit::TestHuiImageVisualSetColor ),
+ ENTRY( "TestHuiImageVisualSetColorMode", CTestUiAifCoreToolkit::TestHuiImageVisualSetColorMode ),
+ ENTRY( "TestHuiImageVisualSetStretch", CTestUiAifCoreToolkit::TestHuiImageVisualSetStretch ),
+ ENTRY( "TestHuiImageVisualSetStretchMode", CTestUiAifCoreToolkit::TestHuiImageVisualSetStretchMode ),
+ ENTRY( "TestHuiImageVisualSetDropShadow", CTestUiAifCoreToolkit::TestHuiImageVisualSetDropShadow ),
+ ENTRY( "TestHuiImageVisualSetDropShadowWithHuiMetric", CTestUiAifCoreToolkit::TestHuiImageVisualSetDropShadowWithHuiMetric ),
+ ENTRY( "TestHuiImageVisualSetDropShadowWithHuiXYMetric", CTestUiAifCoreToolkit::TestHuiImageVisualSetDropShadowWithHuiXYMetric ),
+
+ // for test the huigridlayout.h
+ ENTRY( "TestHuiGridLayoutAddNewL", CTestUiAifCoreToolkit::TestHuiGridLayoutAddNewL ),
+ ENTRY( "TestHuiGridLayoutConstructor", CTestUiAifCoreToolkit::TestHuiGridLayoutConstructor ),
+ ENTRY( "TestHuiGridLayoutConstructL", CTestUiAifCoreToolkit::TestHuiGridLayoutConstructL ),
+ ENTRY( "TestHuiGridLayoutDelete", CTestUiAifCoreToolkit::TestHuiGridLayoutDelete ),
+ ENTRY( "TestHuiGridLayoutSetSize", CTestUiAifCoreToolkit::TestHuiGridLayoutSetSize ),
+ ENTRY( "TestHuiGridLayoutChildOrdinalL", CTestUiAifCoreToolkit::TestHuiGridLayoutChildOrdinalL ),
+ ENTRY( "TestHuiGridLayoutChildPos", CTestUiAifCoreToolkit::TestHuiGridLayoutChildPos ),
+ ENTRY( "TestHuiGridLayoutChildSize", CTestUiAifCoreToolkit::TestHuiGridLayoutChildSize ),
+ ENTRY( "TestHuiGridLayoutChildRect", CTestUiAifCoreToolkit::TestHuiGridLayoutChildRect ),
+ ENTRY( "TestHuiGridLayoutBaseUnit", CTestUiAifCoreToolkit::TestHuiGridLayoutBaseUnit ),
+ ENTRY( "TestHuiGridLayoutRemoveAndDestroyAllD", CTestUiAifCoreToolkit::TestHuiGridLayoutRemoveAndDestroyAllD ),
+ ENTRY( "TestHuiGridLayoutFindTagL", CTestUiAifCoreToolkit::TestHuiGridLayoutFindTagL ),
+ ENTRY( "TestHuiGridLayoutCount", CTestUiAifCoreToolkit::TestHuiGridLayoutCount ),
+ ENTRY( "TestHuiGridLayoutVisualL", CTestUiAifCoreToolkit::TestHuiGridLayoutVisualL ),
+ ENTRY( "TestHuiGridLayoutSetPos", CTestUiAifCoreToolkit::TestHuiGridLayoutSetPos ),
+ ENTRY( "TestHuiGridLayoutUpdateChildrenLayout", CTestUiAifCoreToolkit::TestHuiGridLayoutUpdateChildrenLayout ),
+ ENTRY( "TestHuiGridLayoutPrepareDrawL", CTestUiAifCoreToolkit::TestHuiGridLayoutPrepareDrawL ),
+ ENTRY( "TestHuiGridLayoutDraw", CTestUiAifCoreToolkit::TestHuiGridLayoutDrawL ),
+ ENTRY( "TestHuiGridLayoutDrawSelf", CTestUiAifCoreToolkit::TestHuiGridLayoutDrawSelfL ),
+ ENTRY( "TestHuiGridLayoutChanged", CTestUiAifCoreToolkit::TestHuiGridLayoutChanged ),
+ ENTRY( "TestHuiGridLayoutReportChanged", CTestUiAifCoreToolkit::TestHuiGridLayoutReportChanged ),
+ ENTRY( "TestHuiGridLayoutClearChanged", CTestUiAifCoreToolkit::TestHuiGridLayoutClearChanged ),
+ ENTRY( "TestHuiGridLayoutNotifySkinChangedL", CTestUiAifCoreToolkit::TestHuiGridLayoutNotifySkinChangedL ),
+ ENTRY( "TestHuiGridLayoutExpandRectWithContent", CTestUiAifCoreToolkit::TestHuiGridLayoutExpandRectWithContent ),
+ ENTRY( "TestHuiGridLayoutVisualExtension", CTestUiAifCoreToolkit::TestHuiGridLayoutVisualExtension ),
+ ENTRY( "TestHuiGridLayoutSetColumnsL", CTestUiAifCoreToolkit::TestHuiGridLayoutSetColumnsL ),
+ ENTRY( "TestHuiGridLayoutSetRowsL", CTestUiAifCoreToolkit::TestHuiGridLayoutSetRowsL ),
+ ENTRY( "TestHuiGridLayoutSetColumnsLWithArray", CTestUiAifCoreToolkit::TestHuiGridLayoutSetColumnsLWithArray ),
+ ENTRY( "TestHuiGridLayoutSetRowsLWithArray", CTestUiAifCoreToolkit::TestHuiGridLayoutSetRowsLWithArray ),
+ ENTRY( "TestHuiGridLayoutFillWeightsL", CTestUiAifCoreToolkit::TestHuiGridLayoutFillWeightsL ),
+ ENTRY( "TestHuiGridLayoutAppendWeightL", CTestUiAifCoreToolkit::TestHuiGridLayoutAppendWeightL ),
+ ENTRY( "TestHuiGridLayoutInsertWeightL", CTestUiAifCoreToolkit::TestHuiGridLayoutInsertWeightL ),
+ ENTRY( "TestHuiGridLayoutReplaceWeightL", CTestUiAifCoreToolkit::TestHuiGridLayoutReplaceWeightL ),
+ ENTRY( "TestHuiGridLayoutRemoveWeightL", CTestUiAifCoreToolkit::TestHuiGridLayoutRemoveWeightL ),
+ ENTRY( "TestHuiGridLayoutWeight", CTestUiAifCoreToolkit::TestHuiGridLayoutWeight ),
+ ENTRY( "TestHuiGridLayoutDimensionCount", CTestUiAifCoreToolkit::TestHuiGridLayoutDimensionCount ),
+ ENTRY( "TestHuiGridLayoutSetExpanding", CTestUiAifCoreToolkit::TestHuiGridLayoutSetExpanding ),
+ ENTRY( "TestHuiGridLayoutRowCount", CTestUiAifCoreToolkit::TestHuiGridLayoutRowCount ),
+ ENTRY( "TestHuiGridLayoutColumnCount", CTestUiAifCoreToolkit::TestHuiGridLayoutColumnCount ),
+ ENTRY( "TestHuiGridLayoutOrdinalToBlock", CTestUiAifCoreToolkit::TestHuiGridLayoutOrdinalToBlock ),
+ ENTRY( "TestHuiGridLayoutSetLayoutModeFlags", CTestUiAifCoreToolkit::TestHuiGridLayoutSetLayoutModeFlags ),
+ ENTRY( "TestHuiGridLayoutClearLayoutModeFlags", CTestUiAifCoreToolkit::TestHuiGridLayoutClearLayoutModeFlags ),
+ ENTRY( "TestHuiGridLayoutLayoutModeFlags", CTestUiAifCoreToolkit::TestHuiGridLayoutLayoutModeFlags ),
+ ENTRY( "TestHuiGridLayoutGetClassName", CTestUiAifCoreToolkit::TestHuiGridLayoutGetClassName ),
+ ENTRY( "TestHuiGridLayoutDumpTree", CTestUiAifCoreToolkit::TestHuiGridLayoutDumpTree ),
+ ENTRY( "TestHuiGridLayoutGetInstanceNameL", CTestUiAifCoreToolkit::TestHuiGridLayoutGetInstanceNameL ),
+ ENTRY( "TestHuiGridLayoutType", CTestUiAifCoreToolkit::TestHuiGridLayoutType ),
+ ENTRY( "TestHuiGridLayoutSessionId", CTestUiAifCoreToolkit::TestHuiGridLayoutSessionId ),
+ ENTRY( "TestHuiGridLayoutSetSessionId", CTestUiAifCoreToolkit::TestHuiGridLayoutSetSessionId ),
+
+ // for testing the huitexturemanager.h api
+ ENTRY( "TestHuiTxureManagerEnvL", CTestUiAifCoreToolkit::TestHuiTxureManagerEnvL ),
+ ENTRY( "TestHuiTxureManagerTextureL", CTestUiAifCoreToolkit::TestHuiTxureManagerTextureL ),
+ ENTRY( "TestHuiTxureManagerTextureConstL", CTestUiAifCoreToolkit::TestHuiTxureManagerTextureConstL ),
+ ENTRY( "TestHuiTxureManagerTextureLL", CTestUiAifCoreToolkit::TestHuiTxureManagerTextureLL ),
+ ENTRY( "TestHuiTxureManagerSetImagePathL", CTestUiAifCoreToolkit::TestHuiTxureManagerSetImagePathL ),
+ ENTRY( "TestHuiTxureManagerImagePath", CTestUiAifCoreToolkit::TestHuiTxureManagerImagePath ),
+ ENTRY( "TestHuiTxureManagerBlankTextureConstL", CTestUiAifCoreToolkit::TestHuiTxureManagerBlankTextureConstL ),
+ ENTRY( "TestHuiTxureManagerBlankTextureL", CTestUiAifCoreToolkit::TestHuiTxureManagerBlankTextureL ),
+ ENTRY( "TestHuiTxureManagerLoadTextureL", CTestUiAifCoreToolkit::TestHuiTxureManagerLoadTextureL ),
+ ENTRY( "TestHuiTxureManagerLoadTextureLWithIdL", CTestUiAifCoreToolkit::TestHuiTxureManagerLoadTextureLWithIdL ),
+ ENTRY( "TestHuiTxureManagerLoadTextureLWithSizeImageL", CTestUiAifCoreToolkit::TestHuiTxureManagerLoadTextureLWithSizeImageL ),
+ ENTRY( "TestHuiTxureManagerCreateTextureL", CTestUiAifCoreToolkit::TestHuiTxureManagerCreateTextureL ),
+ ENTRY( "TestHuiTxureManagerUpdateTextureFromBitmapL", CTestUiAifCoreToolkit::TestHuiTxureManagerUpdateTextureFromBitmapL ),
+ ENTRY( "TestHuiTxureManagerUnloadTexture", CTestUiAifCoreToolkit::TestHuiTxureManagerUnloadTexture ),
+ ENTRY( "TestHuiTxureManagerUnloadTextureWithID", CTestUiAifCoreToolkit::TestHuiTxureManagerUnloadTextureWithID ),
+ ENTRY( "TestHuiTxureManagerDefineFileNameL", CTestUiAifCoreToolkit::TestHuiTxureManagerDefineFileNameL ),
+ ENTRY( "TestHuiTxureManagerLoadQueueCount", CTestUiAifCoreToolkit::TestHuiTxureManagerLoadQueueCount ),
+ ENTRY( "TestHuiTxureManagerState", CTestUiAifCoreToolkit::TestHuiTxureManagerState ),
+ ENTRY( "TestHuiTxureManagerProcessorL", CTestUiAifCoreToolkit::TestHuiTxureManagerProcessorL ),
+ ENTRY( "TestHuiTxureManagerPrependImagePath", CTestUiAifCoreToolkit::TestHuiTxureManagerPrependImagePath ),
+ ENTRY( "TestHuiTxureManagerSetTextureId", CTestUiAifCoreToolkit::TestHuiTxureManagerSetTextureId ),
+ ENTRY( "TestHuiTxureManagerIsLoaded", CTestUiAifCoreToolkit::TestHuiTxureManagerIsLoaded ),
+ ENTRY( "TestHuiTxureManagerIsLoadedWithID", CTestUiAifCoreToolkit::TestHuiTxureManagerIsLoadedWithID ),
+ ENTRY( "TestHuiTxureManagerIsLoadedWithTexture", CTestUiAifCoreToolkit::TestHuiTxureManagerIsLoadedWithTexture ),
+
+ // for testing the huiflowlayout.h
+ ENTRY( "TestHuiFlowLayoutAddNewL", CTestUiAifCoreToolkit::TestHuiFlowLayoutAddNewL ),
+ ENTRY( "TestHuiFlowLayoutDelete", CTestUiAifCoreToolkit::TestHuiFlowLayoutDelete ),
+ ENTRY( "TestHuiFlowLayoutSetSize", CTestUiAifCoreToolkit::TestHuiFlowLayoutSetSize ),
+ ENTRY( "TestHuiFlowLayoutSetFlowDirection", CTestUiAifCoreToolkit::TestHuiFlowLayoutSetFlowDirection ),
+ ENTRY( "TestHuiFlowLayoutSetCentering", CTestUiAifCoreToolkit::TestHuiFlowLayoutSetCentering ),
+ ENTRY( "TestHuiFlowLayoutSetMode", CTestUiAifCoreToolkit::TestHuiFlowLayoutSetMode ),
+ ENTRY( "TestHuiFlowLayoutMode", CTestUiAifCoreToolkit::TestHuiFlowLayoutMode ),
+
+ // for testing the huiimageloaderutils.h
+ ENTRY( "TestHuiImageLoaderUtilConstructorL", CTestUiAifCoreToolkit::TestHuiImageLoaderUtilConstructorL ),
+ ENTRY( "TestHuiImageLoaderUtilDelete", CTestUiAifCoreToolkit::TestHuiImageLoaderUtilDelete ),
+ ENTRY( "TestHuiImageLoaderUtilCreateImageLoaderL", CTestUiAifCoreToolkit::TestHuiImageLoaderUtilCreateImageLoaderL ),
+ ENTRY( "TestHuiImageLoaderUtilCreateImageLoaderLWithAppUidL", CTestUiAifCoreToolkit::TestHuiImageLoaderUtilCreateImageLoaderLWithAppUidL ),
+ ENTRY( "TestHuiImageLoaderUtilSetSize", CTestUiAifCoreToolkit::TestHuiImageLoaderUtilSetSize ),
+ ENTRY( "TestHuiImageLoaderUtilSetSkinInstance", CTestUiAifCoreToolkit::TestHuiImageLoaderUtilSetSkinInstance ),
+ ENTRY( "TestHuiImageLoaderUtilImageLoaderExtension", CTestUiAifCoreToolkit::TestHuiImageLoaderUtilImageLoaderExtension ),
+
+ // for testing the huitextureautoparams.h
+ ENTRY( "TestHuiTexureAutoSizeParaConstructor", CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaConstructor ),
+ ENTRY( "TestHuiTexureAutoSizeParaSizeLowerThreshold", CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSizeLowerThreshold ),
+ ENTRY( "TestHuiTexureAutoSizeParaSetSizeLowerThreshold", CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSetSizeLowerThreshold ),
+ ENTRY( "TestHuiTexureAutoSizeParaSizeUpperThreshold", CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSizeUpperThreshold ),
+ ENTRY( "TestHuiTexureAutoSizeParaSetSizeUpperThreshold", CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSetSizeUpperThreshold ),
+ ENTRY( "TestHuiTexureAutoSizeParaMinSizeChange", CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaMinSizeChange ),
+ ENTRY( "TestHuiTexureAutoSizeParaSetMinSizeChange", CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSetMinSizeChange ),
+ ENTRY( "TestHuiTexureAutoSizeParaDownsizeSettleThreshold", CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaDownsizeSettleThreshold ),
+ ENTRY( "TestHuiTexureAutoSizeParaSetDownsizeSettleThreshold", CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSetDownsizeSettleThreshold ),
+
+ //huitextstyle.h
+ ENTRY( "TestTHuiTextTHuiTextStyle",
+ CTestUiAifCoreToolkit::TestTHuiTextTHuiTextStyle ),
+ ENTRY( "TestTHuiTextTFont",
+ CTestUiAifCoreToolkit::TestTHuiTextTFont ),
+ ENTRY( "TestTHuiTextTFontConst",
+ CTestUiAifCoreToolkit::TestTHuiTextTFontConst ),
+ ENTRY( "TestTHuiTextTSetFont",
+ CTestUiAifCoreToolkit::TestTHuiTextTSetFont ),
+ ENTRY( "TestTHuiTextTParentId",
+ CTestUiAifCoreToolkit::TestTHuiTextTParentId ),
+ ENTRY( "TestTHuiTextTSetParentId",
+ CTestUiAifCoreToolkit::TestTHuiTextTSetParentId ),
+ ENTRY( "TestTHuiTextTId",
+ CTestUiAifCoreToolkit::TestTHuiTextTId ),
+ ENTRY( "TestTHuiTextTTextColor",
+ CTestUiAifCoreToolkit::TestTHuiTextTTextColor ),
+ ENTRY( "TestTHuiTextTSetTextColor",
+ CTestUiAifCoreToolkit::TestTHuiTextTSetTextColor ),
+ ENTRY( "TestTHuiTextTBackgroundColor",
+ CTestUiAifCoreToolkit::TestTHuiTextTBackgroundColor ),
+ ENTRY( "TestTHuiTextTSetBackgroundColor",
+ CTestUiAifCoreToolkit::TestTHuiTextTSetBackgroundColor ),
+ ENTRY( "TestTHuiTextTTextSizeInTwips",
+ CTestUiAifCoreToolkit::TestTHuiTextTTextSizeInTwips ),
+ ENTRY( "TestTHuiTextTSetTextSizeInTwips",
+ CTestUiAifCoreToolkit::TestTHuiTextTSetTextSizeInTwips ),
+ ENTRY( "TestTHuiTextTextSizeInPixels",
+ CTestUiAifCoreToolkit::TestTHuiTextTextSizeInPixels ),
+ ENTRY( "TestTHuiTextTSetTextSizeInPixels",
+ CTestUiAifCoreToolkit::TestTHuiTextTSetTextSizeInPixels ),
+ ENTRY( "TestTHuiTextStrokeWeight",
+ CTestUiAifCoreToolkit::TestTHuiTextStrokeWeight ),
+ ENTRY( "TestTHuiTextTSetStrokeWeight",
+ CTestUiAifCoreToolkit::TestTHuiTextTSetStrokeWeight ),
+ ENTRY( "TestTHuiTextTPosture",
+ CTestUiAifCoreToolkit::TestTHuiTextTPosture ),
+ ENTRY( "TestTHuiTextTSetPosture",
+ CTestUiAifCoreToolkit::TestTHuiTextTSetPosture ),
+ ENTRY( "TestTHuiTextTUnderline",
+ CTestUiAifCoreToolkit::TestTHuiTextTUnderline ),
+ ENTRY( "TestTHuiTextTSetUnderline",
+ CTestUiAifCoreToolkit::TestTHuiTextTSetUnderline ),
+ ENTRY( "TestTHuiTextTStrikeThrough",
+ CTestUiAifCoreToolkit::TestTHuiTextTStrikeThrough ),
+ ENTRY( "TestTHuiTextTSetStrikeThrough",
+ CTestUiAifCoreToolkit::TestTHuiTextTSetStrikeThrough ),
+ ENTRY( "TestTHuiTextTFontStyleId",
+ CTestUiAifCoreToolkit::TestTHuiTextTFontStyleId ),
+ ENTRY( "TestTHuiTextGetTypeface",
+ CTestUiAifCoreToolkit::TestTHuiTextGetTypeface ),
+ ENTRY( "TestTHuiTextSetTextPaneHeightInPixels",
+ CTestUiAifCoreToolkit::TestTHuiTextSetTextPaneHeightInPixels ),
+
+ //huisegmentedtexture.h
+ ENTRY( "TestHuisegmentedTextureHandleL",
+ CTestUiAifCoreToolkit::TestHuisegmentedTextureHandleL ),
+ ENTRY( "TestHuisegmentedTextureBindL",
+ CTestUiAifCoreToolkit::TestHuisegmentedTextureBindL ),
+
+ //huitextstylemanager.h
+ ENTRY( "TestTHuiTextCHuiEnvL",
+ CTestUiAifCoreToolkit::TestTHuiTextCHuiEnvL ),
+ ENTRY( "TestTHuiTextTextStyle",
+ CTestUiAifCoreToolkit::TestTHuiTextTextStyle ),
+ ENTRY( "TestTHuiTextCopyTextStyleL",
+ CTestUiAifCoreToolkit::TestTHuiTextCopyTextStyleL ),
+ ENTRY( "TestTHuiTextDeleteTextStyle",
+ CTestUiAifCoreToolkit::TestTHuiTextDeleteTextStyle ),
+
+ //huitexture.h
+ ENTRY( "TestTHuiTextNewL",CTestUiAifCoreToolkit::TestTHuiTextNewL ),
+ ENTRY( "TestTHuiTextNewLC",CTestUiAifCoreToolkit::TestTHuiTextNewLC ),
+ ENTRY( "TestTHuiTextImageFileNameL",
+ CTestUiAifCoreToolkit::TestTHuiTextImageFileNameL ),
+ ENTRY( "TestTHuiTextHasContentL",
+ CTestUiAifCoreToolkit::TestTHuiTextHasContentL ),
+ ENTRY( "TestTHuiTextHasAlphaL",
+ CTestUiAifCoreToolkit::TestTHuiTextHasAlphaL ),
+ ENTRY( "TestTHuiTextMaxTextureSizeL",
+ CTestUiAifCoreToolkit::TestTHuiTextMaxTextureSizeL ),
+ ENTRY( "TestTHuiTextClearLL",
+ CTestUiAifCoreToolkit::TestTHuiTextClearLL ),
+ ENTRY( "TestTHuiClearWithAlphaLL",
+ CTestUiAifCoreToolkit::TestTHuiClearWithAlphaLL ),
+ ENTRY( "TestTHuiSegmentedTextureL",
+ CTestUiAifCoreToolkit::TestTHuiSegmentedTextureL ),
+ ENTRY( "TestTHuiSegmentedTextureConstL",
+ CTestUiAifCoreToolkit::TestTHuiSegmentedTextureConstL ),
+ ENTRY( "TestTHuiShadowedTextureL",
+ CTestUiAifCoreToolkit::TestTHuiShadowedTextureL ),
+ ENTRY( "TestTHuiShadowedTextureConstL",
+ CTestUiAifCoreToolkit::TestTHuiShadowedTextureConstL ),
+ ENTRY( "TestTHuiEnableShadowL",
+ CTestUiAifCoreToolkit::TestTHuiEnableShadowL ),
+ ENTRY( "TestTHuiIsShadowEnabledL",
+ CTestUiAifCoreToolkit::TestTHuiIsShadowEnabledL ),
+ ENTRY( "TestTHuiSetShadowStyleL",
+ CTestUiAifCoreToolkit::TestTHuiSetShadowStyleL ),
+ ENTRY( "TestTHuiShadowStyleL",
+ CTestUiAifCoreToolkit::TestTHuiShadowStyleL ),
+ ENTRY( "TestTHuiSetSizeL",
+ CTestUiAifCoreToolkit::TestTHuiSetSizeL ),
+ ENTRY( "TestTHuiSizeL",CTestUiAifCoreToolkit::TestTHuiSizeL ),
+ ENTRY( "TestTHuiSegmentCountL",
+ CTestUiAifCoreToolkit::TestTHuiSegmentCountL ),
+ ENTRY( "TestTHuiSegmentNameL",
+ CTestUiAifCoreToolkit::TestTHuiSegmentNameL ),
+ ENTRY( "TestTHuiSegmentSizeL",
+ CTestUiAifCoreToolkit::TestTHuiSegmentSizeL ),
+ ENTRY( "TestTHuiSegmentTextureSizeL",
+ CTestUiAifCoreToolkit::TestTHuiSegmentTextureSizeL ),
+ ENTRY( "TestTHuiSegmentOffsetL",
+ CTestUiAifCoreToolkit::TestTHuiSegmentOffsetL ),
+ ENTRY( "TestTHuiTextureChangedL",
+ CTestUiAifCoreToolkit::TestTHuiTextureChangedL ),
+ ENTRY( "TestTHuiTextureClearChangedL",
+ CTestUiAifCoreToolkit::TestTHuiTextureClearChangedL ),
+ ENTRY( "TestTHuiSetSegmentOffsetL",
+ CTestUiAifCoreToolkit::TestTHuiSetSegmentOffsetL ),
+ ENTRY( "TestTHuiSetSegmentCountL",
+ CTestUiAifCoreToolkit::TestTHuiSetSegmentCountL ),
+ ENTRY( "TestTHuiSetSegmentNameL",
+ CTestUiAifCoreToolkit::TestTHuiSetSegmentNameL ),
+ ENTRY( "TestTHuiSetSegmentSizeL",
+ CTestUiAifCoreToolkit::TestTHuiSetSegmentSizeL ),
+ ENTRY( "TestTHuiSetSegmentTextureSizeL",
+ CTestUiAifCoreToolkit::TestTHuiSetSegmentTextureSizeL ),
+ ENTRY( "TestTHuiSetSkinContentL",
+ CTestUiAifCoreToolkit::TestTHuiSetSkinContentL ),
+ ENTRY( "TestTHuiIsSkinContentL",
+ CTestUiAifCoreToolkit::TestTHuiIsSkinContentL ),
+ ENTRY( "TestTHuiTypeL",CTestUiAifCoreToolkit::TestTHuiTypeL ),
+ ENTRY( "TestTHuiSessionIdL",CTestUiAifCoreToolkit::TestTHuiSessionIdL ),
+ ENTRY( "TestTHuiSetSessionIdL",
+ CTestUiAifCoreToolkit::TestTHuiSetSessionIdL ),
+ ENTRY( "TestTHuiSetPriorityL",
+ CTestUiAifCoreToolkit::TestTHuiSetPriorityL ),
+ ENTRY( "TestTHuiPriorityL",CTestUiAifCoreToolkit::TestTHuiPriorityL ),
+ ENTRY( "TestTHuiEnableAutoSizeCalculationL",
+ CTestUiAifCoreToolkit::TestTHuiEnableAutoSizeCalculationL ),
+ ENTRY( "TestTHuiSetAutoSizeParamsL",
+ CTestUiAifCoreToolkit::TestTHuiSetAutoSizeParamsL ),
+ ENTRY( "TestTHuiAutoSizeParamsL",
+ CTestUiAifCoreToolkit::TestTHuiAutoSizeParamsL ),
+
+ //huidisplay.h
+ ENTRY( "TestTHuiEnvL", CTestUiAifCoreToolkit::TestTHuiEnvL ),
+ ENTRY( "TestTDisplayActivateL",
+ CTestUiAifCoreToolkit::TestTDisplayActivateL ),
+ ENTRY( "TestTDisplayActiveL",
+ CTestUiAifCoreToolkit::TestTDisplayActiveL ),
+ ENTRY( "TestTDisplaySetSizeLL",
+ CTestUiAifCoreToolkit::TestTDisplaySetSizeLL ),
+ ENTRY( "TestTDisplaySizeL",
+ CTestUiAifCoreToolkit::TestTDisplaySizeL ),
+ ENTRY( "TestTDisplaySetVisibleAreaL",
+ CTestUiAifCoreToolkit::TestTDisplaySetVisibleAreaL ),
+ ENTRY( "TestTDisplayVisibleAreaL",
+ CTestUiAifCoreToolkit::TestTDisplayVisibleAreaL ),
+ ENTRY( "TestTDisplaySetOrientationL",
+ CTestUiAifCoreToolkit::TestTDisplaySetOrientationL ),
+ ENTRY( "TestTDisplayOrientationL",
+ CTestUiAifCoreToolkit::TestTDisplayOrientationL ),
+ ENTRY( "TestTDisplaySetUseDepthL",
+ CTestUiAifCoreToolkit::TestTDisplaySetUseDepthL ),
+ ENTRY( "TestTDisplaySetClearBackgroundLL",
+ CTestUiAifCoreToolkit::TestTDisplaySetClearBackgroundLL ),
+ ENTRY( "TestTDisplaySetBackgroundColorL",
+ CTestUiAifCoreToolkit::TestTDisplaySetBackgroundColorL ),
+ ENTRY( "TestTDisplaySetBackgroundItemsL",
+ CTestUiAifCoreToolkit::TestTDisplaySetBackgroundItemsL ),
+ ENTRY( "TestTDisplayCaptureLCL",
+ CTestUiAifCoreToolkit::TestTDisplayCaptureLCL ),
+ ENTRY( "TestTDisplayTransformationL",
+ CTestUiAifCoreToolkit::TestTDisplayTransformationL ),
+ ENTRY( "TestTDisplayRosterL",
+ CTestUiAifCoreToolkit::TestTDisplayRosterL ),
+ ENTRY( "TestTDisplayConstRosterL",
+ CTestUiAifCoreToolkit::TestTDisplayConstRosterL ),
+ ENTRY( "TestTDisplayShowL",
+ CTestUiAifCoreToolkit::TestTDisplayShowL ),
+ ENTRY( "TestTDisplaySetDirtyL",
+ CTestUiAifCoreToolkit::TestTDisplaySetDirtyL ),
+ ENTRY( "TestTDisplaySetQualityL",
+ CTestUiAifCoreToolkit::TestTDisplaySetQualityL ),
+ ENTRY( "TestTDisplayQualityL",
+ CTestUiAifCoreToolkit::TestTDisplayQualityL ),
+ ENTRY( "TestTDisplaySetUsageLL",
+ CTestUiAifCoreToolkit::TestTDisplaySetUsageLL ),
+ ENTRY( "TestTDisplayReleaseL",
+ CTestUiAifCoreToolkit::TestTDisplayReleaseL ),
+ ENTRY( "TestTDisplayRestoreLL",
+ CTestUiAifCoreToolkit::TestTDisplayRestoreLL ),
+ ENTRY( "TestTDisplaySetScreenBufferLockL",
+ CTestUiAifCoreToolkit::TestTDisplaySetScreenBufferLockL ),
+ ENTRY( "TestTDisplayIsScreenBufferLockedL",
+ CTestUiAifCoreToolkit::TestTDisplayIsScreenBufferLockedL ),
+ ENTRY( "TestTDisplayGetDrawingInterfaceL",
+ CTestUiAifCoreToolkit::TestTDisplayGetDrawingInterfaceL ),
+ ENTRY( "TestTDisplayGetGraphicsContextL",
+ CTestUiAifCoreToolkit::TestTDisplayGetGraphicsContextL ),
+ ENTRY( "TestTDisplayAddScreenBufferObserverLL",
+ CTestUiAifCoreToolkit::TestTDisplayAddScreenBufferObserverLL ),
+ ENTRY( "TestTDisplayRemoveScreenBufferObserverL",
+ CTestUiAifCoreToolkit::TestTDisplayRemoveScreenBufferObserverL ),
+ ENTRY( "TestTDisplayScreenBufferObserverL",
+ CTestUiAifCoreToolkit::TestTDisplayScreenBufferObserverL ),
+ ENTRY( "TestTDisplayScreenBufferUidL",
+ CTestUiAifCoreToolkit::TestTDisplayScreenBufferUidL ),
+ ENTRY( "TestTDisplayDisplayTypeL",
+ CTestUiAifCoreToolkit::TestTDisplayDisplayTypeL ),
+ ENTRY( "TestTDisplayShowDirtyRegionsL",
+ CTestUiAifCoreToolkit::TestTDisplayShowDirtyRegionsL ),
+ ENTRY( "TestTDisplayGetPreferredTextureFormatsL",
+ CTestUiAifCoreToolkit::TestTDisplayGetPreferredTextureFormatsL ),
+ ENTRY( "TestTDisplaySetDrawVisualOutlineL",
+ CTestUiAifCoreToolkit::TestTDisplaySetDrawVisualOutlineL ),
+ ENTRY( "TestTDisplaySetVisibleAreaClippingRectL",
+ CTestUiAifCoreToolkit::TestTDisplaySetVisibleAreaClippingRectL ),
+
+ //huidisplaybackgrounditem.h
+ ENTRY( "TestTTHuiDisplayBackgroundItemL",
+ CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundItemL ),
+ ENTRY( "TestTTHuiDisplayBackgroundItemRectL",
+ CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundItemRectL ),
+ ENTRY( "TestTTHuiDisplayBackgroundItemItemIDL",
+ CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundItemItemIDL ),
+ ENTRY( "TestTTHuiDisplayBackgroundColorL",
+ CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundColorL ),
+ ENTRY( "TestTTHuiDisplayBackgroundTRgbL",
+ CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundTRgbL ),
+ ENTRY( "TestTTHuiTestTSetRectLL",
+ CTestUiAifCoreToolkit::TestTTHuiTestTSetRectLL ),
+ ENTRY( "TestTTHuiSetColorL",
+ CTestUiAifCoreToolkit::TestTTHuiSetColorL ),
+ ENTRY( "TestTTHuiSetColorItemL",
+ CTestUiAifCoreToolkit::TestTTHuiSetColorItemL ),
+ ENTRY( "TestTTHuiSetSkinBackgroundL",
+ CTestUiAifCoreToolkit::TestTTHuiSetSkinBackgroundL ),
+
+ //HuiDisplayCoeControl.h
+ ENTRY( "TestTTHuiCCNewLL", CTestUiAifCoreToolkit::TestTTHuiCCNewLL ),
+ ENTRY( "TestTTHuiCCNewLCL", CTestUiAifCoreToolkit::TestTTHuiCCNewLCL ),
+ ENTRY( "TestTTHuiCCEnvL", CTestUiAifCoreToolkit::TestTTHuiCCEnvL ),
+ ENTRY( "TestTTHuiCCDisplayL", CTestUiAifCoreToolkit::TestTTHuiCCDisplayL ),
+ ENTRY( "TestTTHuiCCHandlePointerEventL",
+ CTestUiAifCoreToolkit::TestTTHuiCCHandlePointerEventL ),
+ ENTRY( "TestTTHuiCCDisplayCoeCntrlExtensionL",
+ CTestUiAifCoreToolkit::TestTTHuiCCDisplayCoeCntrlExtensionL ),
+
+ //huienv.h
+ ENTRY( "TestTTHuiCEnvHuiEnvLC",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvHuiEnvLC ),
+ ENTRY( "TestTTHuiCEnvRenderer",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvRenderer ),
+ ENTRY( "TestTTHuiCEnvNewDisplayL",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvNewDisplayL ),
+ ENTRY( "TestTTHuiCEnvNewDisplayLL",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvNewDisplayLL ),
+ ENTRY( "TestTTHuiCEnvDisplayCount",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvDisplayCount ),
+ ENTRY( "TestTTHuiCEnvSetRefreshMode",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvSetRefreshMode ),
+ ENTRY( "TestTTHuiCEnvRefreshMode",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvRefreshMode ),
+ ENTRY( "TestTTHuiCEnvSetMaxFrameRate",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvSetMaxFrameRate ),
+ ENTRY( "TestTTHuiCEnvContinueRefresh",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvContinueRefresh ),
+ ENTRY( "TestTTHuiCEnvPauseRefresh",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvPauseRefresh ),
+ ENTRY( "TestTTHuiCEnvNewControlGroupL",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvNewControlGroupL ),
+ ENTRY( "TestTTHuiCEnvDeleteControlGroup",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvDeleteControlGroup ),
+ ENTRY( "TestTTHuiCEnvLoadControlGroupL",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvLoadControlGroupL ),
+ ENTRY( "TestTTHuiCEnvControlGroup",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvControlGroup ),
+ ENTRY( "TestTTHuiCEnvLoadBitmapsL",
+ CTestUiAifCoreToolkit::TestTTHuiCEnvLoadBitmapsL ),
+ ENTRY( "TestTTHuiCVisualFactory",
+ CTestUiAifCoreToolkit::TestTTHuiCVisualFactory ),
+ ENTRY( "TestTTHuiCTextureManager",
+ CTestUiAifCoreToolkit::TestTTHuiCTextureManager ),
+ ENTRY( "TestTTHuiCFontManager",
+ CTestUiAifCoreToolkit::TestTTHuiCFontManager ),
+ ENTRY( "TestTTHuiCTextStyleManager",
+ CTestUiAifCoreToolkit::TestTTHuiCTextStyleManager ),
+ ENTRY( "TestTTHuiCFindControl",
+ CTestUiAifCoreToolkit::TestTTHuiCFindControl ),
+ ENTRY( "TestTTHuiCSendL", CTestUiAifCoreToolkit::TestTTHuiCSendL ),
+ ENTRY( "TestTTHuiCSendLL", CTestUiAifCoreToolkit::TestTTHuiCSendLL ),
+ ENTRY( "TestTTHuiCCancelCommandsL",
+ CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsL ),
+ ENTRY( "TestTTHuiCCancelCommandsEventHandlerL",
+ CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsEventHandlerL ),
+ ENTRY( "TestTTHuiCCancelCommandsTHuiOpL",
+ CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsTHuiOpL ),
+ ENTRY( "TestTTHuiCCancelCommandsTIntL",
+ CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsTIntL ),
+ ENTRY( "TestTTHuiCTimeUntilCommandL",
+ CTestUiAifCoreToolkit::TestTTHuiCTimeUntilCommandL ),
+ ENTRY( "TestTTHuiCSkin",
+ CTestUiAifCoreToolkit::TestTTHuiCSkin ),
+ ENTRY( "TestTStartRefresh",
+ CTestUiAifCoreToolkit::TestTStartRefresh ),
+ ENTRY( "TestTHandleKeyEventLL",
+ CTestUiAifCoreToolkit::TestTHandleKeyEventLL ),
+ ENTRY( "TestTSetIdleThreshold",
+ CTestUiAifCoreToolkit::TestTSetIdleThreshold ),
+ ENTRY( "TestTBroadcastEventLL",
+ CTestUiAifCoreToolkit::TestTBroadcastEventLL ),
+ ENTRY( "TestTPrimaryDisplayL",
+ CTestUiAifCoreToolkit::TestTPrimaryDisplayL ),
+ ENTRY( "TestTCHuiEnvDisplayL",
+ CTestUiAifCoreToolkit::TestTCHuiEnvDisplayL ),
+ ENTRY( "TestTCNotifySkinChangedLL",
+ CTestUiAifCoreToolkit::TestTCNotifySkinChangedLL ),
+ ENTRY( "TestTCRefreshCallBack",
+ CTestUiAifCoreToolkit::TestTCRefreshCallBack ),
+ ENTRY( "TestTCRelease", CTestUiAifCoreToolkit::TestTCRelease ),
+ ENTRY( "TestTCRestoreL", CTestUiAifCoreToolkit::TestTCRestoreL ),
+ ENTRY( "TestTCSetMaxCpuTime",
+ CTestUiAifCoreToolkit::TestTCSetMaxCpuTime ),
+ ENTRY( "TestTCStatic", CTestUiAifCoreToolkit::TestTCStatic ),
+ ENTRY( "TestTCThemeManager", CTestUiAifCoreToolkit::TestTCThemeManager ),
+ ENTRY( "TestTCSetFPSCounterThreshold",
+ CTestUiAifCoreToolkit::TestTCSetFPSCounterThreshold ),
+ ENTRY( "TestTCChangeRefreshLoopPriority",
+ CTestUiAifCoreToolkit::TestTCChangeRefreshLoopPriority ),
+
+ //huievent.h
+ ENTRY( "TestTHETHuiEventL", CTestUiAifCoreToolkit::TestTHETHuiEventL ),
+ ENTRY( "TestTHETPointerEventL",
+ CTestUiAifCoreToolkit::TestTHETPointerEventL ),
+ ENTRY( "TestTHETypeL", CTestUiAifCoreToolkit::TestTHETypeL ),
+ ENTRY( "TestTHEIsCustomEventL",
+ CTestUiAifCoreToolkit::TestTHEIsCustomEventL ),
+ ENTRY( "TestTHEIsKeyEventL",CTestUiAifCoreToolkit::TestTHEIsKeyEventL ),
+ ENTRY( "TestTHEIsPointerEventL",
+ CTestUiAifCoreToolkit::TestTHEIsPointerEventL ),
+ ENTRY( "TestTHEDisplayL",CTestUiAifCoreToolkit::TestTHEDisplayL ),
+ ENTRY( "TestTHEPointerDownL",CTestUiAifCoreToolkit::TestTHEPointerDownL ),
+ ENTRY( "TestTHEPointerUpL",CTestUiAifCoreToolkit::TestTHEPointerUpL ),
+ ENTRY( "TestTHEPointerLongTapL",
+ CTestUiAifCoreToolkit::TestTHEPointerLongTapL ),
+ ENTRY( "TestTHESetVisualL",
+ CTestUiAifCoreToolkit::TestTHESetVisualL ),
+ ENTRY( "TestTHEVisualL",CTestUiAifCoreToolkit::TestTHEVisualL ),
+
+ //huidropshadow.h
+ ENTRY( "TestTHSetOffsetL",CTestUiAifCoreToolkit::TestTHSetOffsetL ),
+ ENTRY( "TestTHSetColorL",CTestUiAifCoreToolkit::TestTHSetColorL ),
+ ENTRY( "TestTHSetColorTAknsItemIDL",
+ CTestUiAifCoreToolkit::TestTHSetColorTAknsItemIDL ),
+
+ //huidropshadowbrush.h
+ ENTRY( "TestShadowBrushNewLL",
+ CTestUiAifCoreToolkit::TestShadowBrushNewLL ),
+ ENTRY( "TestShadowBrushNewLCL",
+ CTestUiAifCoreToolkit::TestShadowBrushNewLCL ),
+ ENTRY( "TestShadowBrushNewLTIntL",
+ CTestUiAifCoreToolkit::TestShadowBrushNewLTIntL ),
+ ENTRY( "TestShadowBrushNewLTIntLCL",
+ CTestUiAifCoreToolkit::TestShadowBrushNewLTIntLCL ),
+ ENTRY( "TestShadowBrushSetDepthL",
+ CTestUiAifCoreToolkit::TestShadowBrushSetDepthL ),
+ ENTRY( "TestShadowSetSoftnessL",
+ CTestUiAifCoreToolkit::TestShadowSetSoftnessL ),
+ ENTRY( "TestShadowSetColorL",
+ CTestUiAifCoreToolkit::TestShadowSetColorL ),
+
+ //huiskin.h
+ ENTRY( "TestHSkinOrientationL",
+ CTestUiAifCoreToolkit::TestHSkinOrientationL ),
+ ENTRY( "TestHSkinLocationL",
+ CTestUiAifCoreToolkit::TestHSkinLocationL ),
+ ENTRY( "TestHSkinNotifyDisplaySizeChangedL",
+ CTestUiAifCoreToolkit::TestHSkinNotifyDisplaySizeChangedL ),
+ ENTRY( "TestHSkinSetContextL",
+ CTestUiAifCoreToolkit::TestHSkinSetContextL ),
+ ENTRY( "TestHSkinContextL",
+ CTestUiAifCoreToolkit::TestHSkinContextL ),
+ ENTRY( "TestHSkinStyleTextColorL",
+ CTestUiAifCoreToolkit::TestHSkinStyleTextColorL ),
+ ENTRY( "TestHSkinTextureL",
+ CTestUiAifCoreToolkit::TestHSkinTextureL ),
+ ENTRY( "TestHSkinReleaseTextureL",
+ CTestUiAifCoreToolkit::TestHSkinReleaseTextureL ),
+ ENTRY( "TestHSkinGetTextureL",
+ CTestUiAifCoreToolkit::TestHSkinGetTextureL ),
+ ENTRY( "TestHSkinTextureContentUploadedL",
+ CTestUiAifCoreToolkit::TestHSkinTextureContentUploadedL ),
+ ENTRY( "TestHSkinTextureContentReleasedL",
+ CTestUiAifCoreToolkit::TestHSkinTextureContentReleasedL ),
+ ENTRY( "TestHSkinRestoreTextureContentLL",
+ CTestUiAifCoreToolkit::TestHSkinRestoreTextureContentLL ),
+
+ //huis60skin.h
+ ENTRY( "TestH60SkinCHuiS60SkinL",
+ CTestUiAifCoreToolkit::TestH60SkinCHuiS60SkinL ),
+ ENTRY( "TestH60SkinConstructLL",
+ CTestUiAifCoreToolkit::TestH60SkinConstructLL ),
+ ENTRY( "TestH60SkinLocationL",
+ CTestUiAifCoreToolkit::TestH60SkinLocationL ),
+ ENTRY( "TestH60SkinTextureLL",
+ CTestUiAifCoreToolkit::TestH60SkinTextureLL ),
+ ENTRY( "TestH60SkinReleaseTextureL",
+ CTestUiAifCoreToolkit::TestH60SkinReleaseTextureL ),
+ ENTRY( "TestH60SkinNotifyDisplaySizeChangedLL",
+ CTestUiAifCoreToolkit::TestH60SkinNotifyDisplaySizeChangedLL ),
+ ENTRY( "TestH60SkinStyleTextColorL",
+ CTestUiAifCoreToolkit::TestH60SkinStyleTextColorL ),
+ ENTRY( "TestH60SkinRestoreTextureContentLL",
+ CTestUiAifCoreToolkit::TestH60SkinRestoreTextureContentLL ),
+ ENTRY( "TestH60SkinOrientationL",
+ CTestUiAifCoreToolkit::TestH60SkinOrientationL ),
+ ENTRY( "TestH60SkinSetContextL",
+ CTestUiAifCoreToolkit::TestH60SkinSetContextL ),
+ ENTRY( "TestH60SkinContextL",
+ CTestUiAifCoreToolkit::TestH60SkinContextL ),
+ ENTRY( "TestH60SkinGetTextureL",
+ CTestUiAifCoreToolkit::TestH60SkinGetTextureL ),
+ ENTRY( "TestH60SkinSkinExtensionL",
+ CTestUiAifCoreToolkit::TestH60SkinSkinExtensionL ),
+
+ //huishadowborderbrush.h
+ ENTRY( "TestH60BordBrushNewLL",
+ CTestUiAifCoreToolkit::TestH60BordBrushNewLL ),
+ ENTRY( "TestH60BordBrushNewLCL",
+ CTestUiAifCoreToolkit::TestH60BordBrushNewLCL ),
+ ENTRY( "TestH60BordBrushNewLTIntL",
+ CTestUiAifCoreToolkit::TestH60BordBrushNewLTIntL ),
+ ENTRY( "TestH60BordBrushNewLCTIntL",
+ CTestUiAifCoreToolkit::TestH60BordBrushNewLCTIntL ),
+ ENTRY( "TestH60BordBrushSetWidthL",
+ CTestUiAifCoreToolkit::TestH60BordBrushSetWidthL ),
+ };
+
+ const TInt count = sizeof( KFunctions ) / sizeof( TStifFunctionInfo );
+
+ return RunInternalL( KFunctions, count, aItem );
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHFMEnumerateFontsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHFMEnumerateFontsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestTHFMEnumerateFontsL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ RArray<THuiFontSpecification> supportedFonts;
+ iHuiEnv->FontManager().EnumerateFontsL( supportedFonts );
+ supportedFonts.Close();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIIConstructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIIConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestTHIIConstructorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ THuiInteractionInterval* interval = new( ELeave ) THuiInteractionInterval;
+ CleanupStack::PushL( interval );
+ STIF_ASSERT_NOT_NULL( interval );
+ CleanupStack::PopAndDestroy( interval );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIISetScalarL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIISetScalarL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestTHIISetScalarL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ THuiInteractionInterval* interval = new( ELeave ) THuiInteractionInterval;
+ CleanupStack::PushL( interval );
+ STIF_ASSERT_NOT_NULL( interval );
+ interval->SetScalar( 1 );
+ CleanupStack::PopAndDestroy( interval );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIIScalarL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIIScalarL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestTHIIScalarL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ THuiInteractionInterval* interval = new( ELeave ) THuiInteractionInterval;
+ CleanupStack::PushL( interval );
+ STIF_ASSERT_NOT_NULL( interval );
+ interval->SetScalar( 1 );
+ TInt saclar = interval->Scalar();
+ STIF_ASSERT_EQUALS( saclar, 1 );
+ CleanupStack::PopAndDestroy( interval );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIIIntervalL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIIIntervalL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestTHIIIntervalL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ THuiInteractionInterval* interval = new( ELeave ) THuiInteractionInterval;
+ CleanupStack::PushL( interval );
+ STIF_ASSERT_NOT_NULL( interval );
+ interval->Interval( 0 );
+ CleanupStack::PopAndDestroy( interval );
+
+ return KErrNone;
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocks60skin.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,397 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huis60skin.h>
+#include <uiacceltk/huidisplaycoecontrol.h>
+
+#include "testuiaifcoretoolkit.h"
+
+//this class is to be used to test CHuiS60Skin class
+
+class CHuiS60SkinImp : public CHuiS60Skin
+ {
+public:
+ //constructor
+ CHuiS60SkinImp(CHuiEnv& aEnv):CHuiS60Skin( aEnv )
+ {
+ }
+ //this function is used to test SkinExtension function
+ void TestSkinExtension()
+ {
+ TUid aExtensionUid;
+ TAny* uid = &aExtensionUid;
+ TAny** aExtensionParameters = &uid;
+ SkinExtension( aExtensionUid, aExtensionParameters );
+ }
+ };
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinCHuiS60SkinL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinCHuiS60SkinL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinCHuiS60SkinL, "In TestH60SkinCHuiS60SkinL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestH60SkinCHuiS60SkinL );
+ // Print to log file
+ iLog->Log( KTestH60SkinCHuiS60SkinL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ delete skin;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinConstructLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinConstructLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinCHuiS60SkinL, "In TestH60SkinCHuiS60SkinL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestH60SkinCHuiS60SkinL );
+ // Print to log file
+ iLog->Log( KTestH60SkinCHuiS60SkinL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+ CleanupStack::PopAndDestroy( skin );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinLocationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinLocationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinLocationL, "In TestH60SkinLocationL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestH60SkinLocationL );
+ // Print to log file
+ iLog->Log( KTestH60SkinLocationL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+ skin->Location( EHuiSkinElementSoftKeys );
+ CleanupStack::PopAndDestroy( skin );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinTextureLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinTextureLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinTextureLL, "In TestH60SkinTextureLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestH60SkinTextureLL );
+ // Print to log file
+ iLog->Log( KTestH60SkinTextureLL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+ TInt temp = EHuiSkinBackgroundTexture;
+ skin->TextureL( temp );
+ CleanupStack::PopAndDestroy( skin );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinReleaseTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinReleaseTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinReleaseTextureL, "In TestH60SkinReleaseTextureL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestH60SkinReleaseTextureL );
+ // Print to log file
+ iLog->Log( KTestH60SkinReleaseTextureL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+ skin->ReleaseTexture( EHuiSkinBackgroundTexture );
+ CleanupStack::PopAndDestroy( skin );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinNotifyDisplaySizeChangedLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinNotifyDisplaySizeChangedLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinNotifyDisplaySizeChangedLL,
+ "In TestH60SkinNotifyDisplaySizeChangedLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestH60SkinNotifyDisplaySizeChangedLL );
+ // Print to log file
+ iLog->Log( KTestH60SkinNotifyDisplaySizeChangedLL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+ skin->NotifyDisplaySizeChangedL();
+ CleanupStack::PopAndDestroy( skin );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinStyleTextColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinStyleTextColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinStyleTextColorL,
+ "In TestH60SkinStyleTextColorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestH60SkinStyleTextColorL );
+ // Print to log file
+ iLog->Log( KTestH60SkinStyleTextColorL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+ skin->StyleTextColor( EHuiTextStyleNormal,EHuiBackgroundTypeLight);
+ CleanupStack::PopAndDestroy( skin );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinRestoreTextureContentLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinRestoreTextureContentLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinRestoreTextureContentLL,
+ "In TestH60SkinRestoreTextureContentLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestH60SkinRestoreTextureContentLL );
+ // Print to log file
+ iLog->Log( KTestH60SkinRestoreTextureContentLL );
+
+ CHuiTexture* outTexture = CHuiTexture::NewL();
+ CleanupStack::PushL( outTexture );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+ skin->RestoreTextureContentL( *outTexture );
+ CleanupStack::PopAndDestroy( skin );
+
+ CleanupStack::PopAndDestroy( outTexture );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinOrientationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinOrientationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinOrientationL,
+ "In TestH60SkinOrientationL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestH60SkinOrientationL );
+ // Print to log file
+ iLog->Log( KTestH60SkinOrientationL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+ skin->Orientation();
+ CleanupStack::PopAndDestroy( skin );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinSetContextL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinSetContextL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinSetContextL,
+ "In TestH60SkinSetContextL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestH60SkinSetContextL );
+ // Print to log file
+ iLog->Log( KTestH60SkinSetContextL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+
+ CHuiDisplayCoeControl* ctrl=
+ CHuiDisplayCoeControl::NewL( *iHuiEnv, iDisplayRect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc* gc = &iHuiEnv->Skin().Context();
+ skin->SetContext( *gc );
+ CleanupStack::PopAndDestroy( ctrl );
+ CleanupStack::PopAndDestroy( skin );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinContextL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinContextL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinContextL,
+ "In TestH60SkinContextL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestH60SkinContextL );
+ // Print to log file
+ iLog->Log( KTestH60SkinContextL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+
+ CHuiDisplayCoeControl* ctrl=
+ CHuiDisplayCoeControl::NewL( *iHuiEnv, iDisplayRect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc* gc = &iHuiEnv->Skin().Context();
+ skin->SetContext( *gc );
+ skin->Context();
+ CleanupStack::PopAndDestroy( ctrl );
+ CleanupStack::PopAndDestroy( skin );
+
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinGetTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinGetTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinGetTextureL,
+ "In TestH60SkinGetTextureL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestH60SkinGetTextureL );
+ // Print to log file
+ iLog->Log( KTestH60SkinGetTextureL );
+
+ CHuiS60Skin* skin = new (ELeave) CHuiS60Skin( *iHuiEnv );
+ CleanupStack::PushL( skin );
+ skin->ConstructL();
+ TInt temp = 0;
+ const CHuiTexture* outTexture = NULL;
+ skin->GetTexture( temp, outTexture );
+ CleanupStack::PopAndDestroy( skin );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60SkinSkinExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60SkinSkinExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60SkinSkinExtensionL,
+ "In TestH60SkinSkinExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestH60SkinSkinExtensionL );
+ // Print to log file
+ iLog->Log( KTestH60SkinSkinExtensionL );
+
+ CHuiS60SkinImp* skin = new (ELeave) CHuiS60SkinImp( *iHuiEnv );
+ CleanupStack::PushL( skin );
+
+ skin->TestSkinExtension();
+ CleanupStack::PopAndDestroy( skin );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksborderbrush.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,142 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huishadowborderbrush.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60BordBrushNewLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60BordBrushNewLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60BordBrushNewLL, "In TestH60BordBrushNewLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestH60BordBrushNewLL );
+ // Print to log file
+ iLog->Log( KTestH60BordBrushNewLL );
+
+ THuiMetric metric;
+ CHuiShadowBorderBrush* brush = CHuiShadowBorderBrush::NewL( metric );
+ delete brush;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60BordBrushNewLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60BordBrushNewLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60BordBrushNewLCL, "In TestH60BordBrushNewLCL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestH60BordBrushNewLCL );
+ // Print to log file
+ iLog->Log( KTestH60BordBrushNewLCL );
+
+ THuiMetric metric;
+ CHuiShadowBorderBrush* brush = CHuiShadowBorderBrush::NewLC( metric );
+ CleanupStack::PopAndDestroy( brush );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60BordBrushNewLTIntL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60BordBrushNewLTIntL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60BordBrushNewLTIntL, "In TestH60BordBrushNewLTIntL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestH60BordBrushNewLTIntL );
+ // Print to log file
+ iLog->Log( KTestH60BordBrushNewLTIntL );
+
+ TInt temp = 10;
+ CHuiShadowBorderBrush* brush = CHuiShadowBorderBrush::NewL( temp );
+ delete brush;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60BordBrushNewLCTIntL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60BordBrushNewLCTIntL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60BordBrushNewLTIntL, "In TestH60BordBrushNewLTIntL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestH60BordBrushNewLTIntL );
+ // Print to log file
+ iLog->Log( KTestH60BordBrushNewLTIntL );
+
+ TInt temp = 10;
+ CHuiShadowBorderBrush* brush = CHuiShadowBorderBrush::NewLC( temp );
+ CleanupStack::PopAndDestroy( brush );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestH60BordBrushSetWidthL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestH60BordBrushSetWidthL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestH60BordBrushNewLTIntL, "In TestH60BordBrushNewLTIntL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestH60BordBrushNewLTIntL );
+ // Print to log file
+ iLog->Log( KTestH60BordBrushNewLTIntL );
+
+ THuiMetric metric;
+ CHuiShadowBorderBrush* brush = CHuiShadowBorderBrush::NewL( metric );
+ CleanupStack::PushL( brush );
+ brush->SetWidth( metric );
+ CleanupStack::PopAndDestroy( brush );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockscoecontrol.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,206 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huidisplaycoecontrol.h>
+
+#include "testuiaifcoretoolkit.h"
+
+//this for testing the CHuiDisplayCoeControl class
+class CHuiDisplayCoeControlImp : public CHuiDisplayCoeControl
+ {
+public:
+ /**
+ * test for HanlePointerEventL
+ */
+ void TestHandlePointerEventL()
+ {
+
+ TPointerEvent event;
+ HandlePointerEventL( event );
+ }
+
+ /**
+ * test for DisplayCoeCntrlExtension
+ */
+ void TestDisplayCoeCntrlExtension()
+ {
+ TUid uid;
+ TBool temp = ETrue;
+ TAny *temp1 = &temp;
+ TAny** any = &temp1;
+ DisplayCoeCntrlExtension( uid, any);
+ }
+ };
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCCNewLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCCNewLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiEnvL, "In TestTTHuiCCNewLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiEnvL );
+ // Print to log file
+ iLog->Log( KTestTHuiEnvL );
+
+ CHuiDisplayCoeControl *displayControl =
+ CHuiDisplayCoeControl::NewL( *iHuiEnv, iDisplayRect );
+ delete displayControl;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCCNewLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCCNewLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCCNewLCL, "In TestTTHuiCCNewLCL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCCNewLCL );
+ // Print to log file
+ iLog->Log( KTestTTHuiCCNewLCL );
+
+ CHuiDisplayCoeControl *displayControl =
+ CHuiDisplayCoeControl::NewLC( *iHuiEnv, iDisplayRect );
+ CleanupStack::PopAndDestroy( displayControl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCCEnvL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCCEnvL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCCEnvL, "In TestTTHuiCCEnvL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCCEnvL );
+ // Print to log file
+ iLog->Log( KTestTTHuiCCEnvL );
+
+ CHuiDisplayCoeControl *displayControl =
+ CHuiDisplayCoeControl::NewL( *iHuiEnv, iDisplayRect );
+ CleanupStack::PushL( displayControl );
+ displayControl->Env();
+
+ CleanupStack::PopAndDestroy( displayControl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCCDisplayL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCCDisplayL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCCDisplayL, "In TestTTHuiCCDisplayL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCCDisplayL );
+ // Print to log file
+ iLog->Log( KTestTTHuiCCDisplayL );
+
+ CHuiDisplayCoeControl *displayControl =
+ CHuiDisplayCoeControl::NewL( *iHuiEnv, iDisplayRect );
+ CleanupStack::PushL( displayControl );
+ displayControl->Display();
+
+ CleanupStack::PopAndDestroy( displayControl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCCHandlePointerEventL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCCHandlePointerEventL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCCHandlePointerEventL, "In TestTTHuiCCHandlePointerEventL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTTHuiCCHandlePointerEventL );
+ // Print to log file
+ iLog->Log( KTestTTHuiCCHandlePointerEventL );
+
+ CHuiDisplayCoeControlImp *displayControl =
+ ( CHuiDisplayCoeControlImp* )CHuiDisplayCoeControlImp::NewL(
+ *iHuiEnv, iDisplayRect );
+ CleanupStack::PushL( displayControl );
+ displayControl->TestHandlePointerEventL();
+
+ CleanupStack::PopAndDestroy( displayControl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCCDisplayCoeCntrlExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCCDisplayCoeCntrlExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCCDisplayCoeCntrlExtensionL,
+ "In TestTTHuiCCDisplayCoeCntrlExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTTHuiCCDisplayCoeCntrlExtensionL );
+ // Print to log file
+ iLog->Log( KTestTTHuiCCDisplayCoeCntrlExtensionL );
+
+ CHuiDisplayCoeControlImp *displayControl =
+ ( CHuiDisplayCoeControlImp* )CHuiDisplayCoeControlImp::NewL(
+ *iHuiEnv, iDisplayRect );
+ CleanupStack::PushL( displayControl );
+ displayControl->TestDisplayCoeCntrlExtension();
+
+ CleanupStack::PopAndDestroy( displayControl );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksdisplay.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,1069 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huidisplay.h>
+#include <uiacceltk/huidisplaycoecontrol.h>
+#include <uiacceltk/huigc.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// Test class
+
+NONSHARABLE_CLASS(CTestScreenBufferObserver) : public CBase, public MHuiScreenBufferObserver
+ {
+public:
+
+ TBool ScreenBufferComplete(TUid aBufferUid, TRect& aDisplayRect, TRect& aDirtyRect)
+ {
+ iScreenBufferComplete_Count++;
+ iScreenBufferComplete_LastBufferUid = aBufferUid;
+ iScreenBufferComplete_LastDisplayRect = aDisplayRect;
+ iScreenBufferComplete_LastDirtyRect = aDirtyRect;
+
+ return iScreenBufferComplete_ReturnValue;
+ };
+
+ void HandleScreenBufferEvent(TUid aBufferUid, TInt aEvent)
+ {
+ iHandleScreenBufferEvent_LastBufferUid = aBufferUid;
+ if ( aEvent == MHuiScreenBufferObserver::EDeleted )
+ iHandleScreenBufferEvent_DeleteEventCount++;
+ else
+ /*EUNIT_ASSERT_DESC( EFalse, "HandleScreenBufferEvent(). Error: Invalid event.")*/
+ ;
+
+ };
+public:
+ TInt iScreenBufferComplete_Count;
+ TUid iScreenBufferComplete_LastBufferUid;
+ TRect iScreenBufferComplete_LastDisplayRect;
+ TRect iScreenBufferComplete_LastDirtyRect;
+
+ TBool iScreenBufferComplete_ReturnValue;
+
+ TInt iHandleScreenBufferEvent_DeleteEventCount;
+ TUid iHandleScreenBufferEvent_LastBufferUid;
+
+ };
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiEnvL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiEnvL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiEnvL, "In TestTHuiEnvL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiEnvL );
+ // Print to log file
+ iLog->Log( KTestTHuiEnvL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ huiDisplay->Env();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayActivateL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayActivateL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayActivateL, "In TestTDisplayActivateL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTDisplayActivateL );
+ // Print to log file
+ iLog->Log( KTestTDisplayActivateL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ huiDisplay->Activate( ETrue );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayActiveL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayActiveL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayActiveL, "In TestTDisplayActive" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTDisplayActiveL );
+ // Print to log file
+ iLog->Log( KTestTDisplayActiveL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ huiDisplay->Active();
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetSizeLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetSizeLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetSizeLL, "In TestTDisplaySetSizeLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTDisplaySetSizeLL );
+ // Print to log file
+ iLog->Log( KTestTDisplaySetSizeLL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ TSize newSize = TSize(42,43);
+ huiDisplay->SetSizeL( newSize );
+
+ STIF_ASSERT_EQUALS( huiDisplay->Size(), newSize );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySizeL, "In TestTDisplaySizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTDisplaySizeL );
+ // Print to log file
+ iLog->Log( KTestTDisplaySizeL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ huiDisplay->Size();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetVisibleAreaL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetVisibleAreaL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetVisibleAreaL, "In TestTDisplaySetVisibleAreaL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTDisplaySetVisibleAreaL );
+ // Print to log file
+ iLog->Log( KTestTDisplaySetVisibleAreaL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ TRect newRect(1,2,30,40);
+ huiDisplay->SetVisibleArea( newRect );
+
+ STIF_ASSERT_EQUALS( huiDisplay->VisibleArea(), newRect );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayVisibleAreaL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayVisibleAreaL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayVisibleAreaL, "In TestTDisplayVisibleAreaL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTDisplayVisibleAreaL );
+ // Print to log file
+ iLog->Log( KTestTDisplayVisibleAreaL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ TRect visibleArea = huiDisplay->VisibleArea();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetOrientationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetOrientationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetOrientationL, "In TestTDisplaySetOrientationL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetOrientationL );
+ // Print to log file
+ iLog->Log( KTestTDisplaySetOrientationL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->SetOrientation( CHuiGc::EOrientationCCW90 );
+ STIF_ASSERT_EQUALS( huiDisplay->Orientation( ), CHuiGc::EOrientationCCW90 );
+ huiDisplay->SetOrientation( CHuiGc::EOrientationNormal );
+ STIF_ASSERT_EQUALS( huiDisplay->Orientation( ), CHuiGc::EOrientationNormal );
+ huiDisplay->SetOrientation( CHuiGc::EOrientationCW90 );
+ STIF_ASSERT_EQUALS( huiDisplay->Orientation( ), CHuiGc::EOrientationCW90 );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayOrientationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayOrientationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayOrientationL, "In TestTDisplayOrientationL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayOrientationL );
+ // Print to log file
+ iLog->Log( KTestTDisplayOrientationL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ huiDisplay->Orientation();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetUseDepthL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetUseDepthL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetUseDepthL, "In TestTDisplaySetUseDepthL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetUseDepthL );
+ // Print to log file
+ iLog->Log( KTestTDisplaySetUseDepthL);
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ huiDisplay->SetUseDepth( ETrue );
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetClearBackgroundLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetClearBackgroundLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetClearBackgroundLL, "In TestTDisplaySetClearBackgroundLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetClearBackgroundLL );
+ // Print to log file
+ iLog->Log( KTestTDisplaySetClearBackgroundLL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->SetClearBackgroundL( CHuiDisplay::EClearNone );
+ huiDisplay->SetClearBackgroundL( CHuiDisplay::EClearWithColor );
+ huiDisplay->SetClearBackgroundL( CHuiDisplay::EClearWithSkinBackground );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetBackgroundColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetBackgroundColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetBackgroundColor, "In TestTDisplaySetBackgroundColor" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetBackgroundColor );
+ // Print to log file
+ iLog->Log( KTestTDisplaySetBackgroundColor );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->SetBackgroundColor( KRgbBlue );
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetBackgroundItemsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetBackgroundItemsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetBackgroundItemsL, "In TestTDisplaySetBackgroundItemsL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetBackgroundItemsL );
+ // Print to log file
+ iLog->Log( KTestTDisplaySetBackgroundItemsL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+
+ RArray<THuiDisplayBackgroundItem> backgroundItems;
+
+ TRect rect = TRect(1,2,30,40);
+ TRect rect2 = TRect(2,3,40,50);
+
+ // Skin backgrounds
+
+ TAknsItemID item = KAknsIIDQsnBgScreenIdle;
+ TAknsItemID item2 = KAknsIIDQsnBgScreenMp;
+
+ THuiDisplayBackgroundItem newItem1(rect, item);
+ newItem1.SetRect(rect2);
+
+ newItem1.SetSkinBackground(item2);
+ backgroundItems.AppendL(newItem1);
+
+ // Skin colors
+
+ TAknsItemID skinnedColorGroup1 = KAknsIIDQsnTextColors;
+ TInt skinnedColorIndex1 = 1;
+
+ THuiDisplayBackgroundItem newItem2(
+ rect, skinnedColorGroup1, skinnedColorIndex1);
+ newItem2.SetRect(rect2);
+
+ newItem2.SetColor(skinnedColorGroup1, skinnedColorIndex1);
+ backgroundItems.AppendL(newItem2);
+
+ // Colors
+ THuiDisplayBackgroundItem newItem3(rect, KRgbBlack);
+ newItem3.SetRect(rect2);
+ newItem3.SetColor(KRgbBlue);
+ backgroundItems.AppendL(newItem3);
+
+ // Empty
+
+ THuiDisplayBackgroundItem newItem4(rect);
+ newItem4.SetRect(rect2);
+ backgroundItems.AppendL(newItem4);
+
+ // Finally set to display
+ huiDisplay->SetBackgroundItemsL(backgroundItems);
+ backgroundItems.Close();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayCaptureLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayCaptureLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayCaptureLCL, "In TestTDisplayCaptureLCL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayCaptureLCL );
+ // Print to log file
+ iLog->Log( KTestTDisplayCaptureLCL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ TSize captureSize = TSize(42,55);
+ TUint8* ptr = NULL;
+ ptr = huiDisplay->CaptureLC( captureSize );
+ STIF_ASSERT_NOT_NULL( ptr );
+ CleanupStack::PopAndDestroy( ptr );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayTransformationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayTransformationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayTransformationL, "In TestTDisplayTransformationL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayTransformationL);
+ // Print to log file
+ iLog->Log( KTestTDisplayTransformationL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ huiDisplay->Transformation();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayRosterL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayRosterL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayRosterL, "In TestTDisplayRosterL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayRosterL);
+ // Print to log file
+ iLog->Log( KTestTDisplayRosterL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ huiDisplay->Roster();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayConstRosterL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayConstRosterL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayConstRosterL, "In TestTDisplayConstRosterL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayConstRosterL);
+ // Print to log file
+ iLog->Log( KTestTDisplayConstRosterL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ ( (const CHuiDisplay* )huiDisplay )->Roster();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayShowL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayShowL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayShowL, "In TestTDisplayConstRosterL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayShowL);
+ // Print to log file
+ iLog->Log( KTestTDisplayShowL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->Show( ETrue );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetDirtyL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetDirtyL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetDirtyL, "In TestTDisplaySetDirtyL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetDirtyL);
+ // Print to log file
+ iLog->Log( KTestTDisplaySetDirtyL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->SetDirty();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetQualityL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetQualityL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetQualityL, "In TestTDisplaySetQualityL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetQualityL);
+ // Print to log file
+ iLog->Log( KTestTDisplaySetQualityL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->SetQuality( EHuiQualityAccurate );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayQualityL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayQualityL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayQualityL, "In TestTDisplayQualityL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayQualityL);
+ // Print to log file
+ iLog->Log( KTestTDisplayQualityL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->Quality();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetUsageLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetUsageLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetUsageLL, "In KTestTDisplaySetUsageLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetUsageLL);
+ // Print to log file
+ iLog->Log( KTestTDisplaySetUsageLL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->SetUsageL( EHuiDisplayUsageGeneric );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayReleaseL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayReleaseL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayReleaseL, "In TestTDisplayReleaseL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayReleaseL);
+ // Print to log file
+ iLog->Log( KTestTDisplayReleaseL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->Release();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayRestoreLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayRestoreLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayRestoreLL, "In TestTDisplayRestoreLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayRestoreLL);
+ // Print to log file
+ iLog->Log( KTestTDisplayRestoreLL );
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->RestoreL();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetScreenBufferLockL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetScreenBufferLockL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetScreenBufferLockL,
+ "In TestTDisplaySetScreenBufferLockL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetScreenBufferLockL);
+ // Print to log file
+ iLog->Log( KTestTDisplaySetScreenBufferLockL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->SetScreenBufferLock(ETrue);
+ huiDisplay->SetScreenBufferLock(EFalse);
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayIsScreenBufferLockedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayIsScreenBufferLockedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayIsScreenBufferLockedL,
+ "In TestTDisplaySetScreenBufferLockL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayIsScreenBufferLockedL );
+ // Print to log file
+ iLog->Log( KTestTDisplayIsScreenBufferLockedL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->SetScreenBufferLock(ETrue);
+ TBool result = huiDisplay->IsScreenBufferLocked();
+ STIF_ASSERT_TRUE( result );
+
+ huiDisplay->SetScreenBufferLock(EFalse);
+ result = huiDisplay->IsScreenBufferLocked();
+ STIF_ASSERT_TRUE( !result );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayGetDrawingInterfaceL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayGetDrawingInterfaceL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayGetDrawingInterfaceL,
+ "In TestTDisplayGetDrawingInterfaceL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayGetDrawingInterfaceL );
+ // Print to log file
+ iLog->Log( KTestTDisplayGetDrawingInterfaceL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ TUid dummyUid = {0x1234};
+ MHuiBufferDrawer* result = huiDisplay->GetDrawingInterface( dummyUid );
+ STIF_ASSERT_EQUALS( result, (MHuiBufferDrawer*)NULL );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayGetGraphicsContextL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayGetGraphicsContextL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayGetDrawingInterfaceL,
+ "In TestTDisplayGetDrawingInterfaceL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayGetDrawingInterfaceL );
+ // Print to log file
+ iLog->Log( KTestTDisplayGetDrawingInterfaceL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ TUid dummyUid = {0x1234};
+ MHuiGc* result = huiDisplay->GetGraphicsContext( dummyUid );
+ STIF_ASSERT_EQUALS( result, (MHuiGc*)NULL );
+
+ TUid KHuiInternalFbsBitmapBufferGcUid = {0x2000e5a3};
+ result = huiDisplay->GetGraphicsContext( KHuiInternalFbsBitmapBufferGcUid );
+ result->ReleaseGc();
+ STIF_ASSERT_NOT_EQUALS( result , (MHuiGc*)NULL );
+
+ // *** Get internal bitmap handle
+
+ MHuiFbsBitmapBufferGc* gc =
+ (MHuiFbsBitmapBufferGc*)huiDisplay->GetGraphicsContext(
+ KHuiInternalFbsBitmapBufferGcUid );
+ STIF_ASSERT_NOT_EQUALS( gc , (MHuiFbsBitmapBufferGc*)NULL );
+ CFbsBitmap* bitmap = gc->Bitmap();
+ STIF_ASSERT_NOT_EQUALS( bitmap , (CFbsBitmap*)NULL );
+ STIF_ASSERT_NOT_EQUALS( bitmap->Handle() , 0 );
+ result->ReleaseGc();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayAddScreenBufferObserverLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayAddScreenBufferObserverLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayAddScreenBufferObserverLL,
+ "In TestTDisplayAddScreenBufferObserverLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayAddScreenBufferObserverLL );
+ // Print to log file
+ iLog->Log( KTestTDisplayAddScreenBufferObserverLL );
+
+ TUid bufferUid = {KTestScreenBufferUidValue};
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayOffScreenBuffer, bufferUid);
+
+ huiDisplay->AddScreenBufferObserverL( NULL );
+
+ // Currently address is not checked in this method
+ huiDisplay->AddScreenBufferObserverL( (MHuiScreenBufferObserver*)1234 );
+ huiDisplay->RemoveScreenBufferObserver();
+
+ // *** Delete display: Generate one EDeleted event
+
+ CTestScreenBufferObserver* obs = new(ELeave) CTestScreenBufferObserver();
+ CleanupStack::PushL(obs);
+ huiDisplay->AddScreenBufferObserverL( obs );
+
+ delete huiDisplay;
+ huiDisplay = NULL;
+
+ STIF_ASSERT_EQUALS( obs->iScreenBufferComplete_Count, 0 );
+ STIF_ASSERT_TRUE( obs->iScreenBufferComplete_LastBufferUid.iUid == 0 );
+ STIF_ASSERT_EQUALS( obs->iScreenBufferComplete_LastDisplayRect, TRect() );
+ STIF_ASSERT_EQUALS( obs->iScreenBufferComplete_LastDirtyRect.Size(), TSize() );
+ STIF_ASSERT_EQUALS( obs->iHandleScreenBufferEvent_DeleteEventCount, 1 );
+ STIF_ASSERT_TRUE( obs->iHandleScreenBufferEvent_LastBufferUid.iUid ==
+ KTestScreenBufferUidValue );
+
+ CleanupStack::PopAndDestroy(obs);
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayRemoveScreenBufferObserverL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayRemoveScreenBufferObserverL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayRemoveScreenBufferObserverL,
+ "In TestTDisplayRemoveScreenBufferObserverL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayRemoveScreenBufferObserverL );
+ // Print to log file
+ iLog->Log( KTestTDisplayRemoveScreenBufferObserverL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ CTestScreenBufferObserver* obs = new(ELeave) CTestScreenBufferObserver();
+ CleanupStack::PushL(obs);
+ huiDisplay->AddScreenBufferObserverL( obs );
+ huiDisplay->RemoveScreenBufferObserver();
+ CleanupStack::PopAndDestroy(obs);
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayScreenBufferObserverL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayScreenBufferObserverL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayScreenBufferObserverL,
+ "In TestTDisplayScreenBufferObserverL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayScreenBufferObserverL );
+ // Print to log file
+ iLog->Log( KTestTDisplayScreenBufferObserverL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->ScreenBufferObserver();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayScreenBufferUidL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayScreenBufferUidL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayScreenBufferUidL,
+ "In TestTDisplayScreenBufferUidL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayScreenBufferUidL );
+ // Print to log file
+ iLog->Log( KTestTDisplayScreenBufferUidL );
+
+ TUid bufferUid = {KTestScreenBufferUidValue};
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayOffScreenBuffer, bufferUid);
+
+ TUid result = huiDisplay->ScreenBufferUid( );
+ STIF_ASSERT_TRUE( result.iUid == KTestScreenBufferUidValue );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayDisplayTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayDisplayTypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayDisplayTypeL,
+ "In TestTDisplayDisplayTypeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayDisplayTypeL );
+ // Print to log file
+ iLog->Log( KTestTDisplayDisplayTypeL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayOffScreenBuffer);
+
+ TInt result = huiDisplay->DisplayType();
+ STIF_ASSERT_TRUE( result == CHuiDisplay::EDisplayOffScreenBuffer );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayShowDirtyRegionsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayShowDirtyRegionsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayShowDirtyRegionsL,
+ "In TestTDisplayShowDirtyRegionsL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayShowDirtyRegionsL );
+ // Print to log file
+ iLog->Log( KTestTDisplayShowDirtyRegionsL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->ShowDirtyRegions();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplayGetPreferredTextureFormatsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplayGetPreferredTextureFormatsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplayGetPreferredTextureFormatsL,
+ "In TestTDisplayGetPreferredTextureFormatsL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplayGetPreferredTextureFormatsL );
+ // Print to log file
+ iLog->Log( KTestTDisplayGetPreferredTextureFormatsL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ RPointerArray<CHuiDisplay::CTextureBitmapFormat> textureFormats;
+ huiDisplay->GetPreferredTextureFormats( textureFormats );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetDrawVisualOutlineL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetDrawVisualOutlineL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetDrawVisualOutlineL,
+ "In TestTDisplaySetDrawVisualOutlineL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetDrawVisualOutlineL );
+ // Print to log file
+ iLog->Log( KTestTDisplaySetDrawVisualOutlineL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ TUint temp = 0;
+ huiDisplay->SetDrawVisualOutline( temp );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTDisplaySetVisibleAreaClippingRectL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTDisplaySetVisibleAreaClippingRectL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTDisplaySetVisibleAreaClippingRectL,
+ "In TestTDisplaySetVisibleAreaClippingRectL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTDisplaySetVisibleAreaClippingRectL );
+ // Print to log file
+ iLog->Log( KTestTDisplaySetVisibleAreaClippingRectL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+
+ huiDisplay->SetVisibleAreaClippingRect( iDisplayRect );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksdisplaybackgrounditem.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,269 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huidisplaybackgrounditem.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundItemL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundItemL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiDisplayBackgroundItemL, "In TestTTHuiDisplayBackgroundItemL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiDisplayBackgroundItemL );
+ // Print to log file
+ iLog->Log( KTestTTHuiDisplayBackgroundItemL );
+
+ THuiDisplayBackgroundItem* displayItem =
+ new ( ELeave ) THuiDisplayBackgroundItem();
+
+ delete displayItem;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundItemRectL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundItemRectL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiDisplayBackgroundItemRectL,
+ "In TestTTHuiDisplayBackgroundItemRectL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTTHuiDisplayBackgroundItemRectL );
+ // Print to log file
+ iLog->Log( KTestTTHuiDisplayBackgroundItemRectL );
+
+ TRect rect( 0, 10, 0, 20);
+ THuiDisplayBackgroundItem* displayItem =
+ new ( ELeave ) THuiDisplayBackgroundItem( rect );
+
+ delete displayItem;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundItemItemIDL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundItemItemIDL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiDisplayBackgroundItemItemIDL,
+ "In TestTTHuiDisplayBackgroundItemItemIDL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTTHuiDisplayBackgroundItemItemIDL );
+ // Print to log file
+ iLog->Log( KTestTTHuiDisplayBackgroundItemItemIDL );
+
+ TRect rect( 0, 10, 0, 20);
+ TAknsItemID itemID = KAknsIIDQsnBgScreen;
+ THuiDisplayBackgroundItem* displayItem =
+ new ( ELeave ) THuiDisplayBackgroundItem( rect, itemID );
+
+ delete displayItem;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiDisplayBackgroundColorL,
+ "In TestTTHuiDisplayBackgroundColorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTTHuiDisplayBackgroundColorL );
+ // Print to log file
+ iLog->Log( KTestTTHuiDisplayBackgroundColorL );
+
+ TRect rect( 0, 10, 0, 20);
+ TAknsItemID itemID = KAknsIIDQsnBgScreen;
+ TInt color = 1;
+ THuiDisplayBackgroundItem* displayItem =
+ new ( ELeave ) THuiDisplayBackgroundItem( rect, itemID, color );
+
+ delete displayItem;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundTRgbL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiDisplayBackgroundTRgbL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiDisplayBackgroundTRgbL,
+ "In TestTTHuiDisplayBackgroundTRgbL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTTHuiDisplayBackgroundTRgbL );
+ // Print to log file
+ iLog->Log( KTestTTHuiDisplayBackgroundTRgbL );
+
+ TRect rect( 0, 10, 0, 20);
+ TRgb color;
+ THuiDisplayBackgroundItem* displayItem =
+ new ( ELeave ) THuiDisplayBackgroundItem( rect, color );
+
+ delete displayItem;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiTestTSetRectLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiTestTSetRectLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiTestTSetRectLL, "In TestTTHuiTestTSetRectLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTTHuiTestTSetRectLL );
+ // Print to log file
+ iLog->Log( KTestTTHuiTestTSetRectLL );
+
+ THuiDisplayBackgroundItem* displayItem =
+ new ( ELeave ) THuiDisplayBackgroundItem();
+ CleanupStack::PushL( displayItem );
+ TRect rect;
+ displayItem->SetRect( rect );
+
+ CleanupStack::PopAndDestroy( displayItem );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiSetColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiSetColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiSetColorL, "In TestTTHuiSetColorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTTHuiSetColorL );
+ // Print to log file
+ iLog->Log( KTestTTHuiSetColorL );
+
+ THuiDisplayBackgroundItem* displayItem =
+ new ( ELeave ) THuiDisplayBackgroundItem();
+ CleanupStack::PushL( displayItem );
+ TRgb color;
+ displayItem->SetColor( color );
+
+ CleanupStack::PopAndDestroy( displayItem );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiSetColorItemL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiSetColorItemL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiSetColorItemL, "In TestTTHuiSetColorItemL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTTHuiSetColorItemL );
+ // Print to log file
+ iLog->Log( KTestTTHuiSetColorItemL );
+
+ THuiDisplayBackgroundItem* displayItem =
+ new ( ELeave ) THuiDisplayBackgroundItem();
+ CleanupStack::PushL( displayItem );
+
+ TAknsItemID itemID = KAknsIIDQsnBgScreen;
+
+ displayItem->SetColor( itemID, 1 );
+
+ CleanupStack::PopAndDestroy( displayItem );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiSetSkinBackgroundL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiSetSkinBackgroundL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiSetSkinBackgroundL, "In TestTTHuiSetSkinBackgroundL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTTHuiSetSkinBackgroundL );
+ // Print to log file
+ iLog->Log( KTestTTHuiSetSkinBackgroundL );
+
+ THuiDisplayBackgroundItem* displayItem =
+ new ( ELeave ) THuiDisplayBackgroundItem();
+ CleanupStack::PushL( displayItem );
+
+ TAknsItemID itemID = KAknsIIDQsnBgScreen;
+
+ displayItem->SetSkinBackground( itemID );
+
+ CleanupStack::PopAndDestroy( displayItem );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksdropshadow.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,156 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <e32math.h>
+#include <stifparser.h>
+#include <AknsConstants.h>
+#include <uiacceltk/huienv.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huidropshadow.h>
+
+#include <uiacceltk/huidisplay.h>
+#include <uiacceltk/huidisplaybackgrounditem.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huicontrolgroup.h>
+#include <uiacceltk/huiimagevisual.h>
+#include <uiacceltk/huiutil.h>
+
+#include "testuiaifcoretoolkit.h"
+
+#define FLOAT_COMPARE(a, b) (Abs(a-b)<0.001f)
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHSetOffsetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHSetOffsetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHSetOffsetL, "In TestTHSetOffsetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHSetOffsetL );
+ // Print to log file
+ iLog->Log( KTestTHSetOffsetL );
+
+ TBool temp = ETrue;
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ huiVisual->EnableDropShadowL( temp );
+ CHuiDropShadow* dropShadow = huiVisual->DropShadowHandler();
+
+ // polar coorinates
+ const TReal32 angle = 123.2f;
+ const THuiMetric distance( 1234.6f, EHuiUnitS60 );
+ const TInt transitionTime = 23;
+
+ dropShadow->SetOffset( angle, distance, transitionTime );
+
+ // wait the result
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ User::After( 1.2f*transitionTime );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+
+ // verify:
+ TReal shouldBeX;
+ Math::Cos( shouldBeX, 2.0*KPi*angle/360.0 );
+ shouldBeX*=distance.iMagnitude;
+
+ TReal shouldBeY;
+ Math::Sin( shouldBeY, 2.0*KPi*angle/360.0 );
+ shouldBeY*=-1.0*distance.iMagnitude;
+
+ STIF_ASSERT_TRUE( FLOAT_COMPARE( dropShadow->iOffset.iX.Now(), shouldBeX ) );
+ STIF_ASSERT_TRUE( FLOAT_COMPARE( dropShadow->iOffset.iY.Now(), shouldBeY ) );
+ STIF_ASSERT_TRUE( FLOAT_COMPARE( dropShadow->iOffsetUnit, distance.iUnit ) );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHSetColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHSetColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHSetColorLL, "In TestTHSetColorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHSetColorLL );
+ // Print to log file
+ iLog->Log( KTestTHSetColorLL );
+
+ TBool temp = ETrue;
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ huiVisual->EnableDropShadowL( temp );
+ CHuiDropShadow* dropShadow = huiVisual->DropShadowHandler();
+
+ const TRgb color1( KRgbCyan );
+ dropShadow->SetColor( color1 );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHSetColorTAknsItemIDL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHSetColorTAknsItemIDL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHSetColorTAknsItemIDL, "In TestTHSetColorTAknsItemIDL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHSetColorTAknsItemIDL );
+ // Print to log file
+ iLog->Log( KTestTHSetColorTAknsItemIDL );
+
+ TBool temp = ETrue;
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ huiVisual->EnableDropShadowL( temp );
+ CHuiDropShadow* dropShadow = huiVisual->DropShadowHandler();
+
+ // change timed
+ const TRgb color2( KRgbGreen );
+ const TInt transitionTime = 23;
+
+ dropShadow->SetColor( color2, transitionTime );
+
+ const TAknsItemID color1( KAknsIIDQsnTextColors );
+ const TInt index1( EAknsCIQsnTextColorsCG5 );
+ dropShadow->SetColor( color1, index1 );
+
+ // change timed
+ const TAknsItemID color3( KAknsIIDQsnComponentColors );
+ const TInt index2( EAknsCIQsnComponentColorsCG14 );
+ const TInt transitionTime1 = 23;
+
+ dropShadow->SetColor( color3, index2, transitionTime1 );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockshuienv.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,956 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <avkon.mbg>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huievent.h>
+#include <uiacceltk/huieventhandler.h>
+#include "testuiaifcoretoolkit.h"
+
+
+//this class test for MHuiEventHandler class
+
+class CHuiEventHandlerImp : public CBase, MHuiEventHandler
+ {
+public:
+ //default construct
+ CHuiEventHandlerImp()
+ {
+ }
+ //inherite from MHuiEventHandler
+ TBool OfferEventL(const THuiEvent& /*aEvent*/)
+ {
+ return ETrue;
+ }
+ };
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvHuiEnvLC
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvHuiEnvLC( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvHuiEnvLC, "In TestTTHuiCEnvHuiEnvLC" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvHuiEnvLC );
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvHuiEnvLC );
+
+ //NewLC function has been call by the NewL function.
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvRenderer
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvRenderer( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvRenderer, "In TestTTHuiCEnvRenderer" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvRenderer );
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvRenderer );
+
+ iHuiEnv->Renderer();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvNewDisplayL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvNewDisplayL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvNewDisplayL, "In TestTTHuiCEnvNewDisplayL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvNewDisplayL );
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvNewDisplayL );
+
+ iHuiEnv->NewDisplayL( iDisplayRect, NULL, 0, NULL, CHuiDisplay::EDisplayNormal);
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvNewDisplayLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvNewDisplayLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvNewDisplayLL, "In TestTTHuiCEnvNewDisplayLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvNewDisplayLL );
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvNewDisplayLL );
+
+ TUid bufferUid = {KTestScreenBufferUidValue};
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal,bufferUid );
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvDisplayCount
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvDisplayCount( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvDisplayCount, "In TestTTHuiCEnvDisplayCount" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvDisplayCount );
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvDisplayCount );
+
+ iHuiEnv->DisplayCount();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvSetRefreshMode
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvSetRefreshMode( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvSetRefreshMode, "In TestTTHuiCEnvSetRefreshMode" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvSetRefreshMode );
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvSetRefreshMode );
+
+ iHuiEnv->SetRefreshMode( EHuiRefreshModeManual );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvRefreshMode
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvRefreshMode( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvRefreshMode, "In TestTTHuiCEnvRefreshMode" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvRefreshMode );
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvRefreshMode );
+
+ iHuiEnv->RefreshMode();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvSetMaxFrameRate
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvSetMaxFrameRate( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvSetMaxFrameRate, "In TestTTHuiCEnvSetMaxFrameRate" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvSetMaxFrameRate );
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvSetMaxFrameRate );
+
+ TReal32 real = 20;
+ iHuiEnv->SetMaxFrameRate( real );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvContinueRefresh
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvContinueRefresh( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvContinueRefresh, "In TestTTHuiCEnvContinueRefresh" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvContinueRefresh);
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvContinueRefresh );
+
+ iHuiEnv->ContinueRefresh();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvPauseRefresh
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvPauseRefresh( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvPauseRefresh, "In TestTTHuiCEnvPauseRefresh" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvPauseRefresh);
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvPauseRefresh );
+
+ iHuiEnv->PauseRefresh();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvNewControlGroupL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvNewControlGroupL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvNewControlGroupL, "In TestTTHuiCEnvNewControlGroupL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvNewControlGroupL);
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvNewControlGroupL );
+
+ TInt temp = 0;
+ iHuiEnv->NewControlGroupL( temp );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvDeleteControlGroup
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvDeleteControlGroup( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvDeleteControlGroup, "In TestTTHuiCEnvDeleteControlGroup" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvDeleteControlGroup);
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvDeleteControlGroup );
+
+ TInt temp = 0;
+ iHuiEnv->DeleteControlGroup( temp );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvLoadControlGroupL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvLoadControlGroupL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvLoadControlGroupL, "In TestTTHuiCEnvLoadControlGroupL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvLoadControlGroupL);
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvLoadControlGroupL );
+
+ TInt groupid = 0;
+ iHuiEnv->LoadControlGroupL( groupid );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvControlGroup
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvControlGroup( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvControlGroup, "In TestTTHuiCEnvControlGroup" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvControlGroup);
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvControlGroup );
+
+ iHuiEnv->ControlGroup( KHuiCtrlGroupId );
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCEnvLoadBitmapsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCEnvLoadBitmapsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCEnvLoadBitmapsL, "In TestTTHuiCEnvLoadBitmapsL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCEnvLoadBitmapsL);
+ // Print to log file
+ iLog->Log( KTestTTHuiCEnvLoadBitmapsL );
+
+ TInt bitmapid = 0;
+ iHuiEnv->LoadBitmapsL( bitmapid );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCVisualFactory
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCVisualFactory( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCVisualFactory, "In TestTTHuiCVisualFactory" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCVisualFactory);
+ // Print to log file
+ iLog->Log( KTestTTHuiCVisualFactory );
+
+ iHuiEnv->VisualFactory();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCTextureManager
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCTextureManager( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCTextureManager, "In TestTTHuiCTextureManager" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCTextureManager);
+ // Print to log file
+ iLog->Log( KTestTTHuiCTextureManager );
+
+ iHuiEnv->TextureManager();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCFontManager
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCFontManager( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCFontManager, "In TestTTHuiCFontManager" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCFontManager);
+ // Print to log file
+ iLog->Log( KTestTTHuiCFontManager );
+
+ iHuiEnv->FontManager();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCTextStyleManager
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCTextStyleManager( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCTextStyleManager, "In TestTTHuiCTextStyleManager" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCTextStyleManager);
+ // Print to log file
+ iLog->Log( KTestTTHuiCTextStyleManager );
+
+ iHuiEnv->TextStyleManager();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCFindControl
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCFindControl( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCFindControl, "In TestTTHuiCFindControl" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCFindControl);
+ // Print to log file
+ iLog->Log( KTestTTHuiCFindControl );
+
+ TInt temp = 0;
+ iHuiEnv->FindControl( temp );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCSendL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCSendL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCSendL, "In TestTTHuiCSendL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCSendL);
+ // Print to log file
+ iLog->Log( KTestTTHuiCSendL );
+
+ THuiCommand* aCommand = new ( ELeave )THuiActionCommand( 1 );
+ CleanupStack::PushL( aCommand );
+ iHuiEnv->Send( *aCommand );
+ CleanupStack::PopAndDestroy( aCommand );
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCSendLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCSendLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCSendLL, "In TestTTHuiCSendLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCSendLL);
+ // Print to log file
+ iLog->Log( KTestTTHuiCSendLL );
+
+ THuiCommand* aCommand = new ( ELeave )THuiActionCommand( 1 );
+ CleanupStack::PushL( aCommand );
+
+ iHuiEnv->SendL( *aCommand );
+
+ CleanupStack::PopAndDestroy( aCommand );
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCCancelCommandsL, "In TestTTHuiCCancelCommandsL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTTHuiCCancelCommandsL);
+ // Print to log file
+ iLog->Log( KTestTTHuiCCancelCommandsL );
+
+ THuiCommand* aCommand = new ( ELeave )THuiActionCommand( 1 );
+ CleanupStack::PushL( aCommand );
+ iHuiEnv->CancelCommands( &aCommand );
+ CleanupStack::PopAndDestroy( aCommand );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsEventHandlerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCCancelCommandsEventHandlerL,
+ "In TestTTHuiCCancelCommandsEventHandlerL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTTHuiCCancelCommandsEventHandlerL);
+ // Print to log file
+ iLog->Log( KTestTTHuiCCancelCommandsEventHandlerL );
+
+ CHuiEventHandlerImp* eventHandler = new ( ELeave ) CHuiEventHandlerImp();
+ CleanupStack::PushL( eventHandler );
+ iHuiEnv->CancelCommands( &eventHandler );
+ CleanupStack::PopAndDestroy( eventHandler );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsTHuiOpL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsTHuiOpL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCCancelCommandsTHuiOpL,
+ "In TestTTHuiCCancelCommandsTHuiOpL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTTHuiCCancelCommandsTHuiOpL);
+ // Print to log file
+ iLog->Log( KTestTTHuiCCancelCommandsTHuiOpL );
+
+ THuiCommand* aCommand = new ( ELeave )THuiActionCommand( EHuiOpNone );
+ CleanupStack::PushL( aCommand );
+ iHuiEnv->CancelCommands( &aCommand, EHuiOpNone);
+ CleanupStack::PopAndDestroy( aCommand );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsTIntL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCCancelCommandsTIntL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCCancelCommandsTIntL,
+ "In TestTTHuiCCancelCommandsTIntL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTTHuiCCancelCommandsTIntL);
+ // Print to log file
+ iLog->Log( KTestTTHuiCCancelCommandsTIntL );
+
+ TInt temp = 1;
+ THuiCommand* aCommand = new ( ELeave )THuiActionCommand( temp );
+ CleanupStack::PushL( aCommand );
+ iHuiEnv->CancelCommands( &aCommand, EHuiCommandTypeNone, temp );
+ CleanupStack::PopAndDestroy( aCommand );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCTimeUntilCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCTimeUntilCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCTimeUntilCommandL,
+ "In TestTTHuiCTimeUntilCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTTHuiCTimeUntilCommandL);
+ // Print to log file
+ iLog->Log( KTestTTHuiCTimeUntilCommandL );
+
+ TInt temp = 1;
+ THuiCommand* aCommand = new ( ELeave )THuiActionCommand( temp );
+ CleanupStack::PushL( aCommand );
+ iHuiEnv->TimeUntilCommand( aCommand, EHuiCommandTypeNone);
+ CleanupStack::PopAndDestroy( aCommand );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTTHuiCSkin
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTTHuiCSkin( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTTHuiCSkin,
+ "In TestTTHuiCSkin" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTTHuiCSkin);
+ // Print to log file
+ iLog->Log( KTestTTHuiCSkin );
+
+ iHuiEnv->Skin();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTStartRefresh
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTStartRefresh( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTStartRefresh, "In TestTStartRefresh" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTStartRefresh);
+ // Print to log file
+ iLog->Log( KTestTStartRefresh );
+
+ TInt refTime = 10;
+ iHuiEnv->StartRefresh( refTime );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHandleKeyEventLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHandleKeyEventLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHandleKeyEventLL, "In TestTHandleKeyEventLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTHandleKeyEventLL);
+ // Print to log file
+ iLog->Log( KTestTHandleKeyEventLL );
+
+ TKeyEvent keyEvent;
+
+ iHuiEnv->HandleKeyEventL( keyEvent, EEventKey );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTSetIdleThreshold
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTSetIdleThreshold( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTSetIdleThreshold, "In TestTSetIdleThreshold" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTSetIdleThreshold);
+ // Print to log file
+ iLog->Log( KTestTSetIdleThreshold );
+
+ TInt refTime = 10;
+ iHuiEnv->SetIdleThreshold( refTime );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTBroadcastEventLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTBroadcastEventLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTBroadcastEventLL, "In TestTBroadcastEventLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTBroadcastEventLL);
+ // Print to log file
+ iLog->Log( KTestTBroadcastEventLL );
+
+ TInt temp = 0;
+ THuiEvent huiEvent( temp );
+ iHuiEnv->BroadcastEventL( huiEvent );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTPrimaryDisplayL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTPrimaryDisplayL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTPrimaryDisplayL, "In TestTPrimaryDisplayL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTPrimaryDisplayL);
+ // Print to log file
+ iLog->Log( KTestTPrimaryDisplayL );
+
+ iHuiEnv->NewDisplayL( iDisplayRect );
+ iHuiEnv->PrimaryDisplay();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTCHuiEnvDisplayL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTCHuiEnvDisplayL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTCHuiEnvDisplayL, "In TestTCHuiEnvDisplayL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTCHuiEnvDisplayL);
+ // Print to log file
+ iLog->Log( KTestTCHuiEnvDisplayL );
+
+ TInt index = 0;
+ iHuiEnv->NewDisplayL( iDisplayRect );
+ iHuiEnv->CHuiEnv::Display( index );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTCNotifySkinChangedLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTCNotifySkinChangedLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTCNotifySkinChangedLL, "In TestTCNotifySkinChangedLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTCNotifySkinChangedLL);
+ // Print to log file
+ iLog->Log( KTestTCNotifySkinChangedLL );
+
+ iHuiEnv->NotifySkinChangedL();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTCRefreshCallBack
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTCRefreshCallBack( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTCRefreshCallBack, "In TestTCRefreshCallBack" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTCRefreshCallBack);
+ // Print to log file
+ iLog->Log( KTestTCRefreshCallBack );
+
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTCRelease
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTCRelease( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTCRelease, "In TestTCRelease" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTCRelease);
+ // Print to log file
+ iLog->Log( KTestTCRelease );
+
+ iHuiEnv->Release();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTCRestoreLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTCRestoreL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTCRestoreL, "In TestTCRestoreLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTCRestoreL);
+ // Print to log file
+ iLog->Log( KTestTCRestoreL );
+
+ iHuiEnv->RestoreL();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTCSetMaxCpuTime
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTCSetMaxCpuTime( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTCSetMaxCpuTime, "In TestTCSetMaxCpuTime" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTCSetMaxCpuTime);
+ // Print to log file
+ iLog->Log( KTestTCSetMaxCpuTime );
+ TUint time = 20;
+ iHuiEnv->SetMaxCpuTime( time );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTCStatic
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTCStatic( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTCStatic, "In TestTCStatic" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTCStatic);
+ // Print to log file
+ iLog->Log( KTestTCStatic );
+
+ CHuiEnv::Static();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTCThemeManager
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTCThemeManager( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTCThemeManager, "In TestTCThemeManager" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTCThemeManager);
+ // Print to log file
+ iLog->Log( KTestTCThemeManager );
+
+ iHuiEnv->ThemeManager();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTCSetFPSCounterThreshold
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTCSetFPSCounterThreshold( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTCSetFPSCounterThreshold, "In TestTCSetFPSCounterThreshold" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,KTestTCSetFPSCounterThreshold);
+ // Print to log file
+ iLog->Log( KTestTCSetFPSCounterThreshold );
+
+ TUint time = 10;
+ iHuiEnv->SetFPSCounterThreshold( time );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTCChangeRefreshLoopPriority
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTCChangeRefreshLoopPriority( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTCChangeRefreshLoopPriority, "In TestTCSetFPSCounterThreshold" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTCChangeRefreshLoopPriority);
+ // Print to log file
+ iLog->Log( KTestTCChangeRefreshLoopPriority );
+
+ iHuiEnv->ChangeRefreshLoopPriority( CActive::EPriorityStandard );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockshuievent.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,314 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huievent.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHETHuiEventL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHETHuiEventL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHETHuiEventL, "In TestTHETHuiEventL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHETHuiEventL );
+ // Print to log file
+ iLog->Log( KTestTHETHuiEventL );
+
+ TInt temp = 0;
+ THuiEvent* event = new(ELeave) THuiEvent( temp );
+ delete event;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHETPointerEventL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHETPointerEventL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHETPointerEventL, "In TestTHETPointerEventL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHETPointerEventL );
+ // Print to log file
+ iLog->Log( KTestTHETPointerEventL );
+
+ TPointerEvent pointEvent;
+ THuiEvent* event = new(ELeave) THuiEvent( NULL, pointEvent );
+ delete event;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHETypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHETypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHETypeL, "In TestTHETypeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHETypeL );
+ // Print to log file
+ iLog->Log( KTestTHETypeL );
+
+ TInt temp = 0;
+ THuiEvent* event = new(ELeave) THuiEvent( temp );
+ CleanupStack::PushL( event );
+
+ event->Type();
+
+ CleanupStack::PopAndDestroy( event );
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHEIsCustomEventL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHEIsCustomEventL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHEIsCustomEventL, "In TestTHEIsCustomEventL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHEIsCustomEventL );
+ // Print to log file
+ iLog->Log( KTestTHEIsCustomEventL );
+
+ TInt temp = 0;
+ THuiEvent* event = new(ELeave) THuiEvent( temp );
+ CleanupStack::PushL( event );
+
+ event->IsCustomEvent();
+
+ CleanupStack::PopAndDestroy( event );
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHEIsKeyEventL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHEIsKeyEventL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHEIsKeyEventL, "In TestTHEIsKeyEventL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHEIsKeyEventL );
+ // Print to log file
+ iLog->Log( KTestTHEIsKeyEventL );
+
+ TInt temp = 0;
+ THuiEvent* event = new(ELeave) THuiEvent( temp );
+ CleanupStack::PushL( event );
+
+ event->IsKeyEvent();
+
+ CleanupStack::PopAndDestroy( event );
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHEIsPointerEventL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHEIsPointerEventL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHEIsPointerEventL, "In TestTHEIsPointerEventL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHEIsPointerEventL );
+ // Print to log file
+ iLog->Log( KTestTHEIsPointerEventL );
+
+ TInt temp = 0;
+ THuiEvent* event = new(ELeave) THuiEvent( temp );
+ CleanupStack::PushL( event );
+
+ event->IsPointerEvent();
+
+ CleanupStack::PopAndDestroy( event );
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHEDisplayL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHEDisplayL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHEDisplayL, "In TestTHEDisplayL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHEDisplayL );
+ // Print to log file
+ iLog->Log( KTestTHEDisplayL );
+
+ CHuiDisplay* huiDisplay = &iHuiEnv->NewDisplayL(iDisplayRect, NULL, 0, NULL,
+ CHuiDisplay::EDisplayNormal);
+ TPointerEvent pointerEvent;
+ THuiEvent* event = new(ELeave) THuiEvent( huiDisplay, pointerEvent );
+ CleanupStack::PushL( event );
+
+ event->Display();
+
+ CleanupStack::PopAndDestroy( event );
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHEPointerDownL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHEPointerDownL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHEPointerDownL, "In TestTHEPointerDownL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHEPointerDownL );
+ // Print to log file
+ iLog->Log( KTestTHEPointerDownL );
+
+ TInt temp = 0;
+ THuiEvent* event = new(ELeave) THuiEvent( temp );
+ CleanupStack::PushL( event );
+
+ event->PointerDown();
+
+ CleanupStack::PopAndDestroy( event );
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHEPointerUpL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHEPointerUpL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHEPointerUpL, "In TestTHEPointerUpL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHEPointerUpL );
+ // Print to log file
+ iLog->Log( KTestTHEPointerUpL );
+
+ TInt temp = 0;
+ THuiEvent* event = new(ELeave) THuiEvent( temp );
+ CleanupStack::PushL( event );
+
+ event->PointerUp();
+
+ CleanupStack::PopAndDestroy( event );
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHEPointerLongTapL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHEPointerLongTapL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHEPointerUpL, "In TestTHEPointerUpL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHEPointerUpL );
+ // Print to log file
+ iLog->Log( KTestTHEPointerUpL );
+
+ TInt temp = 0;
+ THuiEvent* event = new(ELeave) THuiEvent( temp );
+ CleanupStack::PushL( event );
+
+ event->PointerLongTap();
+
+ CleanupStack::PopAndDestroy( event );
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHESetVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHESetVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHESetVisualL, "In TestTHESetVisualL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHESetVisualL );
+ // Print to log file
+ iLog->Log( KTestTHESetVisualL );
+
+ TInt temp = 0;
+ THuiEvent* event = new(ELeave) THuiEvent( temp );
+ CleanupStack::PushL( event );
+
+ event->SetVisual( NULL );
+
+ CleanupStack::PopAndDestroy( event );
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHEVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHEVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHEVisualL, "In TestTHEVisualL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHEVisualL );
+ // Print to log file
+ iLog->Log( KTestTHEVisualL );
+
+ TInt temp = 0;
+ THuiEvent* event = new(ELeave) THuiEvent( temp );
+ CleanupStack::PushL( event );
+
+ event->Visual();
+
+ CleanupStack::PopAndDestroy( event );
+ return KErrNone;
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockshuitexture.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,1208 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huitexture.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextNewL, "In TestTHuiTextNewL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextNewL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextNewL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ delete texTure;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextNewLC
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextNewLC( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextNewLC, "In TestTHuiTextNewLC" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextNewLC );
+ // Print to log file
+ iLog->Log( KTestTHuiTextNewLC );
+
+ CHuiTexture* textTure = CHuiTexture::NewLC();
+
+ // Verify that all the member variables are correctly initialized.
+ STIF_ASSERT_TRUE( textTure->ImageFileName().Size() == 0 );
+ STIF_ASSERT_TRUE( !textTure->HasContent() );
+ STIF_ASSERT_TRUE( !textTure->IsShadowEnabled() );
+ STIF_ASSERT_TRUE( textTure->ShadowStyle() == EHuiTextureShadowStyleIcon );
+ STIF_ASSERT_TRUE( !textTure->HasAlpha() );
+ STIF_ASSERT_TRUE( textTure->Size().iWidth == 0 );
+ STIF_ASSERT_TRUE( textTure->Size().iHeight == 0 );
+ STIF_ASSERT_TRUE( textTure->Size().iWidth == 0 );
+ STIF_ASSERT_TRUE( textTure->SegmentCount() == 0);
+ STIF_ASSERT_TRUE( !textTure->TextureChanged() );
+ STIF_ASSERT_TRUE( !textTure->IsSkinContent() );
+
+ CleanupStack::PopAndDestroy( textTure );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextImageFileNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextImageFileNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextImageFileNameL, "In TestTHuiTextImageFileNameL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextImageFileNameL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextImageFileNameL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextHasContentL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextHasContentL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextHasContentL, "In TestTHuiTextHasContentL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextHasContentL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextHasContentL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ STIF_ASSERT_TRUE( texTure->HasContent() == EFalse);
+
+ CleanupStack::PopAndDestroy( texTure );
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextHasAlphaL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextHasAlphaL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextHasAlphaL, "In TestTHuiTextHasAlphaL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextHasAlphaL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextHasAlphaL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ STIF_ASSERT_TRUE( texTure->HasAlpha() == EFalse);
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextMaxTextureSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextMaxTextureSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextMaxTextureSizeL, "In TestTHuiTextMaxTextureSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextMaxTextureSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextMaxTextureSizeL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->MaxTextureSize();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+ }
+
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextClearLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextClearLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextMaxTextureSizeL, "In TestTHuiTextMaxTextureSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextMaxTextureSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextMaxTextureSizeL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TSize size(128, 128);
+ TRgb rgb = KRgbRed;
+ texTure->ClearL(size, rgb);
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiClearWithAlphaLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiClearWithAlphaLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextMaxTextureSizeL, "In TestTHuiTextMaxTextureSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextMaxTextureSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextMaxTextureSizeL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TSize size(128, 128);
+ TRgb rgb = KRgbRed;
+ TUint temp = 255;
+ texTure->ClearWithAlphaL( size, rgb, temp);
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSegmentedTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSegmentedTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSegmentedTextureL, "In TestTHuiSegmentedTextureL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSegmentedTextureL );
+ // Print to log file
+ iLog->Log( KTestTHuiSegmentedTextureL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->SegmentedTexture();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSegmentedTextureConstL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSegmentedTextureConstL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSegmentedTextureConstL, "In TestTHuiSegmentedTextureConstL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSegmentedTextureConstL);
+ // Print to log file
+ iLog->Log( KTestTHuiSegmentedTextureConstL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ ( ( const CHuiTexture* )texTure )->SegmentedTexture();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiShadowedTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiShadowedTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiShadowedTextureL, "In TestTHuiShadowedTextureL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiShadowedTextureL );
+ // Print to log file
+ iLog->Log( KTestTHuiShadowedTextureL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->ShadowedTexture();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiShadowedTextureConstL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiShadowedTextureConstL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiShadowedTextureConstL, "In TestTHuiShadowedTextureConstL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiShadowedTextureConstL );
+ // Print to log file
+ iLog->Log( KTestTHuiShadowedTextureConstL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ ( ( const CHuiTexture* )texTure )->ShadowedTexture();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiEnableShadowL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiEnableShadowL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiEnableShadowL, "In TestTHuiEnableShadowL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiEnableShadowL );
+ // Print to log file
+ iLog->Log( KTestTHuiEnableShadowL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->EnableShadow();
+ texTure->SetSkinContent( ETrue );
+
+ // Set shadow enabled
+ texTure->EnableShadow();
+ STIF_ASSERT_TRUE(texTure->IsShadowEnabled());
+ STIF_ASSERT_TRUE(texTure->IsSkinContent());
+
+ // Set skin content
+ texTure->EnableShadow(EFalse);
+ texTure->SetSkinContent(ETrue);
+ STIF_ASSERT_TRUE( ! texTure->IsShadowEnabled() );
+ STIF_ASSERT_TRUE( texTure->IsSkinContent() );
+
+ // Set skin content and shadow enabled
+ texTure->EnableShadow();
+ STIF_ASSERT_TRUE(texTure->IsShadowEnabled() );
+ STIF_ASSERT_TRUE(texTure->IsSkinContent() );
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiIsShadowEnabledL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiIsShadowEnabledL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiIsShadowEnabledL, "In TestTHuiIsShadowEnabledL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiIsShadowEnabledL );
+ // Print to log file
+ iLog->Log( KTestTHuiIsShadowEnabledL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ STIF_ASSERT_TRUE( texTure->IsShadowEnabled() == EFalse );
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetShadowStyleL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetShadowStyleL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetShadowStyleL, "In TestTHuiSetShadowStyleL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSetShadowStyleL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetShadowStyleL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->SetShadowStyle( EHuiTextureShadowStyleIcon );
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiShadowStyleL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiShadowStyleL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiShadowStyleL, "In TestTHuiShadowStyleL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiShadowStyleL );
+ // Print to log file
+ iLog->Log( KTestTHuiShadowStyleL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ STIF_ASSERT_EQUALS( texTure->ShadowStyle(), EHuiTextureShadowStyleIcon);
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetSizeL, "In TestTHuiSetSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSetSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetSizeL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TSize size(10,29);
+ texTure->SetSize( size );
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSizeL, "In TestTHuiSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiSizeL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->Size();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSegmentCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSegmentCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSegmentCountL, "In TestTHuiSegmentCountL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSegmentCountL );
+ // Print to log file
+ iLog->Log( KTestTHuiSegmentCountL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ STIF_ASSERT_EQUALS(texTure->SegmentCount(), 0);
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSegmentNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSegmentNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSegmentNameL, "In TestTHuiSegmentNameL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSegmentNameL );
+ // Print to log file
+ iLog->Log( KTestTHuiSegmentNameL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TUint8* image = 0;
+ THuiTextureFormat aFormat = EHuiTextureFormatRgb888;
+ TInt imageSize = (aFormat == EHuiTextureFormatRgb888 ? 3 : 4) * 100 * 200;
+ image = new (ELeave) TUint8[imageSize];
+ CleanupStack::PushL(image);
+ for(TInt t=0; t<imageSize; t++)
+ {
+ image[t] = ((t % 3) + 1) * 2; // 2,4,6
+ }
+ // try to upload!
+ texTure->UploadL(aFormat,
+ TSize(100, 200),
+ image,
+ EHuiTextureUploadFlagRetainResolution);
+
+ TInt temp = 0;
+ texTure->SegmentName( temp );
+
+ CleanupStack::PopAndDestroy(image);
+ CleanupStack::PopAndDestroy( texTure );
+
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSegmentSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSegmentSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSegmentSizeL, "In TestTHuiSegmentSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSegmentSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiSegmentSizeL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TUint8* image = 0;
+ THuiTextureFormat aFormat = EHuiTextureFormatRgb888;
+ TInt imageSize = (aFormat == EHuiTextureFormatRgb888 ? 3 : 4) * 100 * 200;
+ image = new (ELeave) TUint8[imageSize];
+ CleanupStack::PushL(image);
+ for(TInt t=0; t<imageSize; t++)
+ {
+ image[t] = ((t % 3) + 1) * 2; // 2,4,6
+ }
+ // try to upload!
+ texTure->UploadL(aFormat,
+ TSize(100, 200),
+ image,
+ EHuiTextureUploadFlagRetainResolution);
+
+ TInt temp = 0;
+ texTure->SegmentSize( temp );
+
+ CleanupStack::PopAndDestroy(image);
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSegmentTextureSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSegmentTextureSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSegmentTextureSizeL, "In TestTHuiSegmentTextureSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiSegmentTextureSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiSegmentTextureSizeL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TUint8* image = 0;
+ THuiTextureFormat aFormat = EHuiTextureFormatRgb888;
+ TInt imageSize = (aFormat == EHuiTextureFormatRgb888 ? 3 : 4) * 100 * 200;
+ image = new (ELeave) TUint8[imageSize];
+ CleanupStack::PushL(image);
+ for(TInt t=0; t<imageSize; t++)
+ {
+ image[t] = ((t % 3) + 1) * 2; // 2,4,6
+ }
+ // try to upload!
+ texTure->UploadL(aFormat,
+ TSize(100, 200),
+ image,
+ EHuiTextureUploadFlagRetainResolution);
+
+ TInt temp = 0;
+ texTure->SegmentTextureSize( temp );
+
+ CleanupStack::PopAndDestroy(image);
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSegmentOffsetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSegmentOffsetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSegmentOffsetL, "In TestTHuiSegmentOffsetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSegmentOffsetL );
+ // Print to log file
+ iLog->Log( KTestTHuiSegmentOffsetL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TUint8* image = 0;
+ THuiTextureFormat aFormat = EHuiTextureFormatRgb888;
+ TInt imageSize = (aFormat == EHuiTextureFormatRgb888 ? 3 : 4) * 100 * 200;
+ image = new (ELeave) TUint8[imageSize];
+ CleanupStack::PushL(image);
+ for(TInt t=0; t<imageSize; t++)
+ {
+ image[t] = ((t % 3) + 1) * 2; // 2,4,6
+ }
+ // try to upload!
+ texTure->UploadL(aFormat,
+ TSize(100, 200),
+ image,
+ EHuiTextureUploadFlagRetainResolution);
+
+ TInt temp = 0;
+ texTure->SegmentOffset( temp );
+
+ CleanupStack::PopAndDestroy(image);
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextureChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextureChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextureChangedL, "In TestTHuiTextureChangedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextureChangedL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextureChangedL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ STIF_ASSERT_TRUE( texTure->TextureChanged() == EFalse);
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextureClearChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextureClearChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextureClearChangedL, "In TestTHuiTextureClearChangedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextureClearChangedL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextureClearChangedL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->TextureClearChanged();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetTextureChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetSegmentOffsetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetSegmentOffsetL, "In TestTHuiSetSegmentOffsetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSetSegmentOffsetL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetSegmentOffsetL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TUint8* image = 0;
+ THuiTextureFormat aFormat = EHuiTextureFormatRgb888;
+ TInt imageSize = (aFormat == EHuiTextureFormatRgb888 ? 3 : 4) * 100 * 200;
+ image = new (ELeave) TUint8[imageSize];
+ CleanupStack::PushL(image);
+ for(TInt t=0; t<imageSize; t++)
+ {
+ image[t] = ((t % 3) + 1) * 2; // 2,4,6
+ }
+ // try to upload!
+ texTure->UploadL(aFormat,
+ TSize(100, 200),
+ image,
+ EHuiTextureUploadFlagRetainResolution);
+
+ TInt temp = 0;
+ TPoint size( 10,20 );
+ texTure->SetSegmentOffset( temp, size );
+
+ CleanupStack::PopAndDestroy(image);
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetSegmentCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetSegmentCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetSegmentCountL, "In TestTHuiSetSegmentCountL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiSetSegmentCountL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetSegmentCountL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TInt temp = texTure->SegmentCount() ;
+ texTure->SetSegmentCountL( temp );
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetSegmentNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetSegmentNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetSegmentCountL, "In TestTHuiSetSegmentCountL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiSetSegmentCountL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetSegmentCountL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TUint8* image = 0;
+ THuiTextureFormat aFormat = EHuiTextureFormatRgb888;
+ TInt imageSize = (aFormat == EHuiTextureFormatRgb888 ? 3 : 4) * 100 * 200;
+ image = new (ELeave) TUint8[imageSize];
+ CleanupStack::PushL(image);
+ for(TInt t=0; t<imageSize; t++)
+ {
+ image[t] = ((t % 3) + 1) * 2; // 2,4,6
+ }
+ // try to upload!
+ texTure->UploadL(aFormat,
+ TSize(100, 200),
+ image,
+ EHuiTextureUploadFlagRetainResolution);
+
+ TInt temp = 0;
+ TUint name = 3;
+ texTure->SetSegmentName( temp, name);
+
+ CleanupStack::PopAndDestroy( image );
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetSegmentSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetSegmentSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetSegmentSizeL, "In TestTHuiSetSegmentSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiSetSegmentSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetSegmentSizeL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TUint8* image = 0;
+ THuiTextureFormat aFormat = EHuiTextureFormatRgb888;
+ TInt imageSize = (aFormat == EHuiTextureFormatRgb888 ? 3 : 4) * 100 * 200;
+ image = new (ELeave) TUint8[imageSize];
+ CleanupStack::PushL(image);
+ for(TInt t=0; t<imageSize; t++)
+ {
+ image[t] = ((t % 3) + 1) * 2; // 2,4,6
+ }
+ // try to upload!
+ texTure->UploadL(aFormat,
+ TSize(100, 200),
+ image,
+ EHuiTextureUploadFlagRetainResolution);
+
+ TInt temp = 0 ;
+ TSize size( 10,20 );
+ texTure->SetSegmentSize( temp, size );
+
+ CleanupStack::PopAndDestroy( image );
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetSegmentTextureSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetSegmentTextureSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetSegmentSizeL, "In TestTHuiSetSegmentSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiSetSegmentSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetSegmentSizeL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TUint8* image = 0;
+ THuiTextureFormat aFormat = EHuiTextureFormatRgb888;
+ TInt imageSize = (aFormat == EHuiTextureFormatRgb888 ? 3 : 4) * 100 * 200;
+ image = new (ELeave) TUint8[imageSize];
+ CleanupStack::PushL(image);
+ for(TInt t=0; t<imageSize; t++)
+ {
+ image[t] = ((t % 3) + 1) * 2; // 2,4,6
+ }
+ // try to upload!
+ texTure->UploadL(aFormat,
+ TSize(100, 200),
+ image,
+ EHuiTextureUploadFlagRetainResolution);
+
+ TInt temp = 0 ;
+ TSize size( 10,20 );
+ texTure->SetSegmentTextureSize( temp, size );
+
+ CleanupStack::PopAndDestroy( image );
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetSkinContentL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetSkinContentL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetSkinContentL, "In TestTHuiSetSkinContentL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSetSkinContentL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetSkinContentL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->SetSkinContent( ETrue );
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiIsSkinContentL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiIsSkinContentL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiIsSkinContentL, "In TestTHuiIsSkinContentL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiIsSkinContentL );
+ // Print to log file
+ iLog->Log( KTestTHuiIsSkinContentL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ STIF_ASSERT_TRUE( !texTure->IsSkinContent());
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTypeL, "In TestTHuiTypeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTypeL );
+ // Print to log file
+ iLog->Log( KTestTHuiTypeL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->Type();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSessionIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSessionIdL, "In TestTHuiSessionIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSessionIdL );
+ // Print to log file
+ iLog->Log( KTestTHuiSessionIdL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->SessionId();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetSessionIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetSessionIdL, "In TestTHuiSetSessionIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSetSessionIdL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetSessionIdL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+ TInt temp = 2 ;
+ texTure->SetSessionId( temp );
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetPriorityL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetPriorityL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetPriorityL, "In TestTHuiSetPriorityL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSetPriorityL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetPriorityL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+ TInt temp = 2 ;
+ texTure->SetPriority( temp );
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPriorityL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPriorityL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPriorityL, "In TestTHuiPriorityL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPriorityL );
+ // Print to log file
+ iLog->Log( KTestTHuiPriorityL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->Priority();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiEnableAutoSizeCalculationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiEnableAutoSizeCalculationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiEnableAutoSizeCalculationL,
+ "In TestTHuiEnableAutoSizeCalculationL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiEnableAutoSizeCalculationL );
+ // Print to log file
+ iLog->Log( KTestTHuiEnableAutoSizeCalculationL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ TBool target = EFalse;
+ texTure->EnableAutoSizeCalculation(target);
+
+ TBool target2 = ETrue;
+ texTure->EnableAutoSizeCalculation(target2);
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiSetAutoSizeParamsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiSetAutoSizeParamsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetAutoSizeParamsL, "In TestTHuiSetAutoSizeParamsL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSetAutoSizeParamsL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetAutoSizeParamsL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+
+ THuiTextureAutoSizeParams newparams = texTure->AutoSizeParams();
+ newparams.SetSizeLowerThreshold(THuiTextureAutoSizeParams::EHigh);
+ texTure->SetAutoSizeParams(newparams);
+
+ THuiTextureAutoSizeParams resultparams = texTure->AutoSizeParams();
+ TInt target = THuiTextureAutoSizeParams::EHigh;
+ STIF_ASSERT_EQUALS( target, resultparams.SizeLowerThreshold() );
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiAutoSizeParamsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiAutoSizeParamsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiSetAutoSizeParamsL, "In TestTHuiAutoSizeParamsL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiSetAutoSizeParamsL );
+ // Print to log file
+ iLog->Log( KTestTHuiSetAutoSizeParamsL );
+
+ CHuiTexture* texTure = CHuiTexture::NewL();
+ CleanupStack::PushL( texTure );
+
+ texTure->AutoSizeParams();
+
+ CleanupStack::PopAndDestroy( texTure );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockssegmentedtexture.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,100 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huidropshadow.h>
+#include <uiacceltk/huisegmentedtexture.h>
+
+#include "testuiaifcoretoolkit.h"
+#include "testuiaifblockstexturechild.h"
+#include "testuiaifblocksmanagerchild.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuisegmentedTextureHandleL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuisegmentedTextureHandleL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuisegmentedTextureHandleL, "In TestHuisegmentedTextureHandleL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestHuisegmentedTextureHandleL );
+ // Print to log file
+ iLog->Log( KTestHuisegmentedTextureHandleL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+
+ TInt segment = 0;
+ TInt number = 1;
+ textureChild->SetSegmentCountL( number );
+ MHuiSegmentedTexture* segmentedTeexture = textureChild->SegmentedTexture();
+ segmentedTeexture->Handle( segment );
+
+ CleanupStack::PushL( textureChild );
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuisegmentedTextureBindL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuisegmentedTextureBindL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuisegmentedTextureBindL, "In TestHuisegmentedTextureBindL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestHuisegmentedTextureBindL );
+ // Print to log file
+ iLog->Log( KTestHuisegmentedTextureBindL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+
+ TInt number = 1;
+ textureChild->SetSegmentCountL( number );
+ MHuiSegmentedTexture* segmentedTeexture = textureChild->SegmentedTexture();
+ segmentedTeexture->Bind();
+
+ CleanupStack::PushL( textureChild );
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksshadowbrush.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,196 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huidropshadow.h>
+#include <uiacceltk/huidropshadowbrush.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestShadowBrushNewLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestShadowBrushNewLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestShadowBrushNewLL, "In TestShadowBrushNewLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestShadowBrushNewLL );
+ // Print to log file
+ iLog->Log( KTestShadowBrushNewLL );
+
+ THuiMetric metric;
+
+ CHuiDropShadowBrush* shadowBrush = CHuiDropShadowBrush::NewL( metric );
+
+ delete shadowBrush;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestShadowBrushNewLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestShadowBrushNewLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestShadowBrushNewLCL, "In TestShadowBrushNewLCL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestShadowBrushNewLCL );
+ // Print to log file
+ iLog->Log( KTestShadowBrushNewLCL );
+
+ THuiMetric metric;
+
+ CHuiDropShadowBrush* shadowBrush = CHuiDropShadowBrush::NewLC( metric );
+ CleanupStack::PopAndDestroy( shadowBrush );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestShadowBrushNewLTIntL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestShadowBrushNewLTIntL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestShadowBrushNewLTIntL, "In TestShadowBrushNewLTIntL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestShadowBrushNewLTIntL );
+ // Print to log file
+ iLog->Log( KTestShadowBrushNewLTIntL );
+
+ TInt temp = 7;
+
+ CHuiDropShadowBrush* shadowBrush = CHuiDropShadowBrush::NewL( temp );
+ delete shadowBrush;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestShadowBrushNewLTIntLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestShadowBrushNewLTIntLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestShadowBrushNewLTIntLCL, "In TestShadowBrushNewLTIntLCL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestShadowBrushNewLTIntLCL );
+ // Print to log file
+ iLog->Log( KTestShadowBrushNewLTIntLCL );
+
+ TInt temp = 7;
+
+ CHuiDropShadowBrush* shadowBrush = CHuiDropShadowBrush::NewLC( temp );
+ CleanupStack::PopAndDestroy( shadowBrush );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestShadowBrushSetDepthL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestShadowBrushSetDepthL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestShadowBrushSetDepthL, "In TestShadowBrushSetDepthL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestShadowBrushSetDepthL );
+ // Print to log file
+ iLog->Log( KTestShadowBrushSetDepthL );
+
+ THuiMetric metric;
+ CHuiDropShadowBrush* shadowBrush = CHuiDropShadowBrush::NewL( metric );
+ CleanupStack::PushL( shadowBrush );
+ shadowBrush->SetDepth( metric );
+ CleanupStack::PopAndDestroy( shadowBrush );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestShadowSetSoftnessL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestShadowSetSoftnessL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestShadowSetSoftnessL, "In TestShadowSetSoftnessL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestShadowSetSoftnessL );
+ // Print to log file
+ iLog->Log( KTestShadowSetSoftnessL );
+
+ THuiMetric metric;
+ CHuiDropShadowBrush* shadowBrush = CHuiDropShadowBrush::NewL( metric );
+ CleanupStack::PushL( shadowBrush );
+ shadowBrush->SetSoftness( metric );
+ CleanupStack::PopAndDestroy( shadowBrush );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestShadowSetColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestShadowSetColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestShadowSetColorL, "In TestShadowSetColorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestShadowSetColorL );
+ // Print to log file
+ iLog->Log( KTestShadowSetColorL );
+
+ THuiMetric metric;
+ CHuiDropShadowBrush* shadowBrush = CHuiDropShadowBrush::NewL( metric );
+ CleanupStack::PushL( shadowBrush );
+ TRgb rgb;
+ shadowBrush->SetColor( rgb );
+ CleanupStack::PopAndDestroy( shadowBrush );
+
+ return KErrNone;
+
+ }
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksskin.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,337 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huiskin.h>
+#include <uiacceltk/huidisplaycoecontrol.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// this class test the abstract CHuiSkin class
+class CHuiSkinImp : public CHuiSkin
+ {
+public:
+ TRgb StyleTextColor(THuiPreconfiguredTextStyle /*aStyle*/,
+ THuiBackgroundType /*aBackgroundType*/) const
+ {
+ TRgb rgb;
+ return rgb;
+ }
+ };
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinOrientationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinOrientationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinOrientationL, "In TestHSkinOrientationL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHSkinOrientationL );
+ // Print to log file
+ iLog->Log( KTestHSkinOrientationL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+ skin->Orientation();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinLocationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinLocationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinLocationL, "In TestHSkinLocationL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHSkinLocationL );
+ // Print to log file
+ iLog->Log( KTestHSkinLocationL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+ skin->Location( EHuiSkinElementSoftKeys );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinNotifyDisplaySizeChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinNotifyDisplaySizeChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinNotifyDisplaySizeChangedL,
+ "In TestHSkinNotifyDisplaySizeChangedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestHSkinNotifyDisplaySizeChangedL );
+ // Print to log file
+ iLog->Log( KTestHSkinNotifyDisplaySizeChangedL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+ skin->NotifyDisplaySizeChangedL();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinSetContextL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinSetContextL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinSetContextL, "In TestHSkinSetContextL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHSkinSetContextL );
+ // Print to log file
+ iLog->Log( KTestHSkinSetContextL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+
+ CHuiDisplayCoeControl* ctrl=
+ CHuiDisplayCoeControl::NewL( *iHuiEnv, iDisplayRect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc* gc = &iHuiEnv->Skin().Context();
+ skin->SetContext( *gc );
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinContextL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinContextL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinContextL, "In TestHSkinContextL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHSkinContextL );
+ // Print to log file
+ iLog->Log( KTestHSkinContextL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+
+ CHuiDisplayCoeControl* ctrl=
+ CHuiDisplayCoeControl::NewL( *iHuiEnv, iDisplayRect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc* gc = &iHuiEnv->Skin().Context();
+ skin->SetContext( *gc );
+ skin->Context();
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinStyleTextColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinStyleTextColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinStyleTextColorL, "In TestHSkinStyleTextColorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHSkinStyleTextColorL );
+ // Print to log file
+ iLog->Log( KTestHSkinStyleTextColorL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkinImp* skin = (CHuiSkinImp* )&huiVisual->BrushSkin();
+
+ skin->StyleTextColor( EHuiTextStyleNormal, EHuiBackgroundTypeLight );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinTextureL, "In TestHSkinTextureL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHSkinTextureL );
+ // Print to log file
+ iLog->Log( KTestHSkinTextureL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+
+ skin->TextureL( EHuiSkinBackgroundTexture );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinReleaseTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinReleaseTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinReleaseTextureL, "In TestHSkinReleaseTextureL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHSkinReleaseTextureL );
+ // Print to log file
+ iLog->Log( KTestHSkinReleaseTextureL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+
+ skin->ReleaseTexture( EHuiSkinBackgroundTexture );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinGetTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinGetTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinGetTextureL, "In TestHSkinGetTextureL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHSkinGetTextureL );
+ // Print to log file
+ iLog->Log( KTestHSkinGetTextureL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+
+ TInt temp = 0;
+ const CHuiTexture* outTexture = NULL;
+
+ skin->GetTexture( temp, outTexture );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinTextureContentUploadedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinTextureContentUploadedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinTextureContentUploadedL,
+ "In TestHSkinTextureContentUploadedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestHSkinTextureContentUploadedL );
+ // Print to log file
+ iLog->Log( KTestHSkinTextureContentUploadedL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+
+ CHuiTexture* outTexture = CHuiTexture::NewL();
+ CleanupStack::PushL( outTexture );
+ skin->TextureContentUploaded( *outTexture );
+ CleanupStack::PopAndDestroy( outTexture );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinTextureContentReleasedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinTextureContentReleasedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinTextureContentReleasedL,
+ "In TestHSkinTextureContentReleasedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestHSkinTextureContentReleasedL );
+ // Print to log file
+ iLog->Log( KTestHSkinTextureContentReleasedL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+
+ CHuiTexture* outTexture = CHuiTexture::NewL();
+ CleanupStack::PushL( outTexture );
+ skin->TextureContentReleased( *outTexture );
+ CleanupStack::PopAndDestroy( outTexture );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHSkinRestoreTextureContentLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHSkinRestoreTextureContentLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHSkinRestoreTextureContentLL,
+ "In TestHSkinRestoreTextureContentLL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestHSkinRestoreTextureContentLL );
+ // Print to log file
+ iLog->Log( KTestHSkinRestoreTextureContentLL );
+
+ CHuiVisual* huiVisual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiSkin* skin = &huiVisual->BrushSkin();
+
+ CHuiTexture* outTexture = CHuiTexture::NewL();
+ CleanupStack::PushL( outTexture );
+ skin->RestoreTextureContentL( *outTexture );
+ CleanupStack::PopAndDestroy( outTexture );
+
+ return KErrNone;
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksstylemanager.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,113 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huistatic.h>
+#include <uiacceltk/huitextstylemanager.h>
+
+#include "testuiaifcoretoolkit.h"
+
+//the const variable
+const TInt KTextStyle = 2;
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextCHuiEnvL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextCHuiEnvL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextCHuiEnvL, "In TestTHuiTextCHuiEnvL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextCHuiEnvL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextCHuiEnvL );
+
+ CHuiTextStyleManager* styleManager = &iHuiEnv->TextStyleManager();
+ styleManager->CreatePlatformTextStyleL( KTextStyle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTextStyle
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTextStyle( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTextStyle, "In TestTHuiTextTextStyle" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTextStyle );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTextStyle );
+
+ CHuiTextStyleManager* styleManager = &iHuiEnv->TextStyleManager();
+ styleManager->TextStyle( KTextStyle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextCopyTextStyleL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextCopyTextStyleL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextCopyTextStyleL, "In TestTHuiTextCopyTextStyleL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiTextCopyTextStyleL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextCopyTextStyleL );
+
+ CHuiTextStyleManager* styleManager = &iHuiEnv->TextStyleManager();
+ styleManager->CopyTextStyleL( KTextStyle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextDeleteTextStyle
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextDeleteTextStyle( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextDeleteTextStyle, "In TestTHuiTextDeleteTextStyle" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextDeleteTextStyle );
+ // Print to log file
+ iLog->Log( KTestTHuiTextDeleteTextStyle );
+
+ CHuiTextStyleManager* styleManager = &iHuiEnv->TextStyleManager();
+ styleManager->DeleteTextStyle( KTextStyle );
+
+ return KErrNone;
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockstextstyle.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,611 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <gdi.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huitextstyle.h>
+#include <uiacceltk/huistatic.h>
+
+#include "testuiaifcoretoolkit.h"
+
+//the const variable
+const TInt KTextStyle = 2;
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTHuiTextStyle
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTHuiTextStyle( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTHuiTextStyle, "In TestTHuiTextTHuiTextStyle" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTHuiTextStyle );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTHuiTextStyle );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ THuiTextStyle oneTextStyle ( *textStyle ) ;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTFont
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTFont( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTFont, "In TestTHuiTextTFont" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTFont );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTFont );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->Font();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTFontConst
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTFontConst( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTFontConst, "In TestTHuiTextTFontConst" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTFontConst );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTFontConst );
+
+ const THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->Font();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTSetFont
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTSetFont( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTSetFont, "In TestTHuiTextTSetFont" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTSetFont );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTSetFont );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+ THuiFont huiFont;
+ textStyle->SetFont( huiFont );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTParentId
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTParentId( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTParentId, "In TestTHuiTextTParentId" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTParentId );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTParentId );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->ParentId();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTSetParentId
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTSetParentId( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTSetParentId, "In TestTHuiTextTSetParentId" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTSetParentId );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTSetParentId );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->SetParentId( textStyle->ParentId() );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTId
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTId( CStifItemParser& /*aItem*/ )
+ {
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTId, "In TestTHuiTextTId" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTId );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTId );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->Id();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTTextColor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTTextColor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTTextColor, "In TestTHuiTextTTextColor" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTTextColor );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTTextColor );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->TextColor();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTSetTextColor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTSetTextColor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTSetTextColor, "In TestTHuiTextTSetTextColor" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTSetTextColor );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTSetTextColor );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->SetTextColor( textStyle->TextColor() );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTBackgroundColor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTBackgroundColor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTBackgroundColor, "In TestTHuiTextTBackgroundColor" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTBackgroundColor );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTBackgroundColor );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->BackgroundColor();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTSetBackgroundColor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTSetBackgroundColor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTSetBackgroundColor,
+ "In TestTHuiTextTSetBackgroundColor" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiTextTSetBackgroundColor );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTSetBackgroundColor );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->SetBackgroundColor( textStyle->BackgroundColor() );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTBackgroundColor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTTextSizeInTwips( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTTextSizeInTwips, "In TestTHuiTextTTextSizeInTwips" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTTextSizeInTwips );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTTextSizeInTwips );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->TextSizeInTwips();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTSetTextSizeInTwips
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTSetTextSizeInTwips( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTSetTextSizeInTwips, "In TestTHuiTextTSetTextSizeInTwips" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTSetTextSizeInTwips );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTSetTextSizeInTwips );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->SetTextSizeInTwips( KTextStyle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTextSizeInPixels
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTextSizeInPixels( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTextSizeInPixels, "In TestTHuiTextTextSizeInPixels" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTextSizeInPixels );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTextSizeInPixels );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->TextSizeInPixels();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTSetTextSizeInPixels
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTSetTextSizeInPixels( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTSetTextSizeInPixels, "In TestTHuiTextTSetTextSizeInPixels" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTSetTextSizeInPixels );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTSetTextSizeInPixels );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->SetTextSizeInPixels( KTextStyle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextStrokeWeight
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextStrokeWeight( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextStrokeWeight, "In TestTHuiTextStrokeWeight" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextStrokeWeight );
+ // Print to log file
+ iLog->Log( KTestTHuiTextStrokeWeight );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->StrokeWeight();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTSetStrokeWeight
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTSetStrokeWeight( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTSetStrokeWeight, "In TestTHuiTextTSetStrokeWeight" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiTextTSetStrokeWeight );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTSetStrokeWeight );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->SetStrokeWeight( ETrue );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTPosture
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTPosture( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTPosture, "In TestTHuiTextTPosture" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTPosture );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTPosture);
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->Posture();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTSetPosture
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTSetPosture( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTSetPosture, "In TestTHuiTextTSetPosture" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTSetPosture );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTSetPosture );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->SetPosture( ETrue );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTUnderline
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTUnderline( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTUnderline, "In TestTHuiTextTUnderline" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTUnderline );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTUnderline );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->Underline();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTSetUnderline
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTSetUnderline( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTSetUnderline, "In TestTHuiTextTSetUnderline" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTSetUnderline );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTSetUnderline );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->SetUnderline( ETrue );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTStrikeThrough
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTStrikeThrough( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTStrikeThrough, "In TestTHuiTextTStrikeThrough" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTStrikeThrough );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTStrikeThrough );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->StrikeThrough();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTSetStrikeThrough
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTSetStrikeThrough( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTSetStrikeThrough, "In TestTHuiTextTSetStrikeThrough" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTSetStrikeThrough );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTSetStrikeThrough );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->SetStrikeThrough( ETrue );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextTFontStyleId
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextTFontStyleId( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextTFontStyleId, "In TestTHuiTextTFontStyleId" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextTFontStyleId );
+ // Print to log file
+ iLog->Log( KTestTHuiTextTFontStyleId );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+ textStyle->FontStyleId();
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextGetTypeface
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextGetTypeface( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextGetTypeface, "In TestTHuiTextGetTypeface" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextGetTypeface );
+ // Print to log file
+ iLog->Log( KTestTHuiTextGetTypeface );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ TTypeface typeFace;
+ textStyle->GetTypeface( typeFace );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextSetTextPaneHeightInPixels
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextSetTextPaneHeightInPixels( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextSetTextPaneHeightInPixels,
+ "In TestTHuiTextSetTextPaneHeightInPixels" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit,
+ KTestTHuiTextSetTextPaneHeightInPixels );
+ // Print to log file
+ iLog->Log( KTestTHuiTextSetTextPaneHeightInPixels );
+
+ THuiTextStyle* textStyle =
+ CHuiStatic::Env().TextStyleManager().TextStyle( KTextStyle );
+
+ textStyle->SetTextPaneHeightInPixels( KTextStyle );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblocksbodebrush.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,233 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huiborderbrush.h>
+
+#include "testuiaifcoretoolkit.h"
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiBdeBrshNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiBdeBrshNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiBdeBrshNewL, "In TestCHuiBdeBrshNewL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiBdeBrshNewL );
+ // Print to log file
+ iLog->Log( KTestCHuiBdeBrshNewL );
+
+ THuiXYMetric aThickness;
+ THuiXYMetric aEdgeOffset;
+ CHuiBorderBrush* borderBrush = CHuiBorderBrush::NewL( aThickness, aEdgeOffset );
+ STIF_ASSERT_NOT_NULL( borderBrush );
+ CleanupStack::PushL( borderBrush );
+ CleanupStack::PopAndDestroy( borderBrush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiBdeBrshNewCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiBdeBrshNewCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiBdeBrshNewCL, "In TestCHuiBdeBrshNewCL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiBdeBrshNewCL );
+ // Print to log file
+ iLog->Log( KTestCHuiBdeBrshNewCL );
+
+ THuiXYMetric aThickness;
+ THuiXYMetric aEdgeOffset;
+ CHuiBorderBrush* borderBrush = CHuiBorderBrush::NewLC( aThickness, aEdgeOffset );
+ STIF_ASSERT_NOT_NULL( borderBrush );
+ CleanupStack::PopAndDestroy( borderBrush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiBdeBrshOtherNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiBdeBrshOtherNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiBdeBrshOtherNewL, "In TestCHuiBdeBrshOtherNewL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiBdeBrshOtherNewL );
+ // Print to log file
+ iLog->Log( KTestCHuiBdeBrshOtherNewL );
+
+ THuiXYMetric aThickness;
+ THuiXYMetric aEdgeOffset;
+ CHuiBorderBrush* borderBrush = CHuiBorderBrush::NewL( 2, 2, 1 ,1 );
+ STIF_ASSERT_NOT_NULL( borderBrush );
+ CleanupStack::PushL( borderBrush );
+ CleanupStack::PopAndDestroy( borderBrush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiBdeBrshOtherNewCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiBdeBrshOtherNewCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiBdeBrshOtherNewCL, "In TestCHuiBdeBrshOtherNewCL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiBdeBrshOtherNewCL );
+ // Print to log file
+ iLog->Log( KTestCHuiBdeBrshOtherNewCL );
+
+ THuiXYMetric aThickness;
+ THuiXYMetric aEdgeOffset;
+ CHuiBorderBrush* borderBrush = CHuiBorderBrush::NewLC( 0, 0 ,0, 0 );
+ STIF_ASSERT_NOT_NULL( borderBrush );
+ CleanupStack::PopAndDestroy( borderBrush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiBdeBrshSetImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiBdeBrshSetImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiBdeBrshSetImageL, "In TestCHuiBdeBrshSetImageL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiBdeBrshSetImageL );
+ // Print to log file
+ iLog->Log( KTestCHuiBdeBrshSetImageL );
+
+ CHuiBorderBrush* borderBrush = CHuiBorderBrush::NewL( 2, 2, 1 ,1 );
+ STIF_ASSERT_NOT_NULL( borderBrush );
+ CleanupStack::PushL( borderBrush );
+ CHuiTexture& texture = iHuiEnv->TextureManager().BlankTexture();
+ THuiImage aImage( texture );
+ borderBrush->SetImage( aImage );
+ CleanupStack::PopAndDestroy( borderBrush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiBdeBrshSetColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiBdeBrshSetColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiBdeBrshSetColorL, "In TestCHuiBdeBrshSetColorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiBdeBrshSetColorL );
+ // Print to log file
+ iLog->Log( KTestCHuiBdeBrshSetColorL );
+
+ CHuiBorderBrush* borderBrush = CHuiBorderBrush::NewL( 2, 2, 1 ,1 );
+ STIF_ASSERT_NOT_NULL( borderBrush );
+ CleanupStack::PushL( borderBrush );
+ borderBrush->SetColor( KRgbBlue );
+ CleanupStack::PopAndDestroy( borderBrush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiBdeBrshSetThicknessL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiBdeBrshSetThicknessL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiBdeBrshSetThicknessL, "In TestCHuiBdeBrshSetThicknessL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiBdeBrshSetThicknessL );
+ // Print to log file
+ iLog->Log( KTestCHuiBdeBrshSetThicknessL );
+
+ CHuiBorderBrush* borderBrush = CHuiBorderBrush::NewL( 2, 2, 1 ,1 );
+ STIF_ASSERT_NOT_NULL( borderBrush );
+ CleanupStack::PushL( borderBrush );
+ THuiXYMetric aThickness;
+ borderBrush->SetThickness( aThickness );
+ CleanupStack::PopAndDestroy( borderBrush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiBdeBrshSetEdgeOffsetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiBdeBrshSetEdgeOffsetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiBdeBrshSetEdgeOffsetL, "In TestCHuiBdeBrshSetEdgeOffsetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiBdeBrshSetEdgeOffsetL );
+ // Print to log file
+ iLog->Log( KTestCHuiBdeBrshSetEdgeOffsetL );
+
+ CHuiBorderBrush* borderBrush = CHuiBorderBrush::NewL( 2, 2, 1 ,1 );
+ STIF_ASSERT_NOT_NULL( borderBrush );
+ CleanupStack::PushL( borderBrush );
+ THuiXYMetric aEdgeOffset;
+ borderBrush->SetEdgeOffset( aEdgeOffset );
+ CleanupStack::PopAndDestroy( borderBrush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiBdeBrshSetImageOffsetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiBdeBrshSetImageOffsetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiBdeBrshSetImageOffsetL, "In TestCHuiBdeBrshSetImageOffsetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiBdeBrshSetImageOffsetL );
+ // Print to log file
+ iLog->Log( KTestCHuiBdeBrshSetImageOffsetL );
+
+ CHuiBorderBrush* borderBrush = CHuiBorderBrush::NewL( 2, 2, 1 ,1 );
+ STIF_ASSERT_NOT_NULL( borderBrush );
+ CleanupStack::PushL( borderBrush );
+ THuiXYMetric aImageOffset;
+ borderBrush->SetImageOffset( aImageOffset );
+ CleanupStack::PopAndDestroy( borderBrush );
+
+ return KErrNone;
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshskcontrol.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,245 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huisoftkeycontrol.h>
+
+#include "testuiaifcoretoolkit.h"
+
+_LIT( KLabel, "label" );
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHSKCNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHSKCNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHSKCNewL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiSoftKeyControl* keyControl = CHuiSoftKeyControl::NewL( *iHuiEnv );
+ CleanupStack::PushL( keyControl );
+ STIF_ASSERT_NOT_NULL( keyControl );
+ CleanupStack::PopAndDestroy( keyControl );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHSKCNewLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHSKCNewLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHSKCNewLCL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiSoftKeyControl* keyControl = CHuiSoftKeyControl::NewLC( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( keyControl );
+ CleanupStack::Pop();
+ delete keyControl;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHSKCDestructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHSKCDestructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHSKCDestructL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiSoftKeyControl* keyControl = CHuiSoftKeyControl::NewL( *iHuiEnv );
+ CleanupStack::PushL( keyControl );
+ STIF_ASSERT_NOT_NULL( keyControl );
+ CleanupStack::Pop( keyControl );
+ delete keyControl;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHSKCSetLabelL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHSKCSetLabelL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHSKCSetLabelL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiSoftKeyControl* keyControl = CHuiSoftKeyControl::NewL( *iHuiEnv );
+ CleanupStack::PushL( keyControl );
+ STIF_ASSERT_NOT_NULL( keyControl );
+
+ TPtrC ptr( KLabel );
+ keyControl->SetLabelL( EHuiSoftKeyUpper, ptr );
+ CleanupStack::Pop( keyControl );
+ delete keyControl;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHSKCSetBackgroundL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHSKCSetBackgroundL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHSKCSetBackgroundL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiSoftKeyControl* keyControl = CHuiSoftKeyControl::NewL( *iHuiEnv );
+ CleanupStack::PushL( keyControl );
+ STIF_ASSERT_NOT_NULL( keyControl );
+
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ keyControl->SetBackgroundL( *image, 100, 100 );
+ CleanupStack::PopAndDestroy( image );
+ CleanupStack::PopAndDestroy( keyControl );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHSKCSetAnimationTimesL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHSKCSetAnimationTimesL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHSKCSetAnimationTimesL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiSoftKeyControl* keyControl = CHuiSoftKeyControl::NewL( *iHuiEnv );
+ CleanupStack::PushL( keyControl );
+ STIF_ASSERT_NOT_NULL( keyControl );
+ keyControl->SetAnimationTimes( 0, 100 );
+ CleanupStack::PopAndDestroy( keyControl );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHSKCEnterViewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHSKCEnterViewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHSKCEnterViewL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+// CHuiSoftKeyControl* keyControl = CHuiSoftKeyControl::NewL( *iHuiEnv );
+// CleanupStack::PushL( keyControl );
+// STIF_ASSERT_NOT_NULL( keyControl );
+// TRect rect( 1, 1, 1, 1 );
+// iHuiEnv->CHuiEnv::Display( 0 );
+// keyControl->EnterView();
+// CleanupStack::PopAndDestroy( keyControl );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHSKCExitViewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHSKCExitViewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHSKCExitViewL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+// CHuiSoftKeyControl* keyControl = CHuiSoftKeyControl::NewL( *iHuiEnv );
+// CleanupStack::PushL( keyControl );
+// STIF_ASSERT_NOT_NULL( keyControl );
+// keyControl->EnterView();
+// keyControl->ExitView();
+// CleanupStack::PopAndDestroy( keyControl );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHSKCSetBackgroundTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHSKCSetBackgroundTypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHSKCSetBackgroundTypeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiSoftKeyControl* keyControl = CHuiSoftKeyControl::NewL( *iHuiEnv );
+ CleanupStack::PushL( keyControl );
+ STIF_ASSERT_NOT_NULL( keyControl );
+ keyControl->SetBackgroundType( EHuiBackgroundTypeLight );
+ keyControl->SetBackgroundType( EHuiBackgroundTypeDark );
+ CleanupStack::PopAndDestroy( keyControl );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuianchorlayout.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,347 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huianchorlayout.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+
+#include "testuiaifcoretoolkit.h"
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayAddNewL, "In TestCHuiAnLayAddNewL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayAddNewL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayAddNewL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayDestructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayDestructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayDestructL, "In TestCHuiAnLayDestructL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayDestructL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayDestructL );
+
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayResetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayResetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayResetL, "In TestCHuiAnLayResetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayResetL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayResetL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ iAnchorLayout->Reset();
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLaySetAnchorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLaySetAnchorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLaySetAnchorL, "In TestCHuiAnLaySetAnchorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLaySetAnchorL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLaySetAnchorL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ const TInt KChildOne = 0;
+ const THuiTimedPoint KBottomRightDefinitionTwo(0.8f, 0.7f);
+ iAnchorLayout->SetAnchor(EHuiAnchorBottomRight, KChildOne,
+ EHuiAnchorOriginLeft, EHuiAnchorOriginTop,
+ EHuiAnchorMetricRelativeToSize,
+ EHuiAnchorMetricRelativeToSize,
+ KBottomRightDefinitionTwo);
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLaySetRelativeAnchorRectL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLaySetRelativeAnchorRectL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLaySetRelativeAnchorRectL, "In TestCHuiAnLaySetRelativeAnchorRectL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLaySetRelativeAnchorRectL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLaySetRelativeAnchorRectL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ const THuiRealPoint KTopLeftDefinitionOne(0.2f, 0.3f);
+ const THuiRealPoint KBottomRightDefinitionOne(-0.3f, -0.2f);
+ const TInt KChildOne = 0;
+ iAnchorLayout->SetRelativeAnchorRect(KChildOne, EHuiAnchorOriginLeft, EHuiAnchorOriginTop, KTopLeftDefinitionOne,
+ EHuiAnchorOriginRight, EHuiAnchorOriginBottom, KBottomRightDefinitionOne );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayRemoveAnchorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayRemoveAnchorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayRemoveAnchorL, "In TestCHuiAnLayRemoveAnchorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayRemoveAnchorL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayRemoveAnchorL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ iAnchorLayout->RemoveAnchor( EHuiAnchorTopLeft, 0 );
+ iAnchorLayout->RemoveAnchor( EHuiAnchorBottomRight, 0 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayAttachOriginL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayAttachOriginL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayAttachOriginL, "In TestCHuiAnLayAttachOriginL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayAttachOriginL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayAttachOriginL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ THuiMetric offset;
+ iAnchorLayout->Attach( 0, EHuiAnchorTypeWidth, offset, EHuiAnchorAttachmentOriginLeft );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayAttachOriginTopLeftL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayAttachOriginTopLeftL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayAttachOriginTopLeftL, "In TestCHuiAnLayAttachOriginTopLeftL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayAttachOriginTopLeftL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayAttachOriginTopLeftL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ THuiXYMetric offset;
+ iAnchorLayout->Attach( 0, EHuiAnchorTypeWidth, offset );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayAttachOriginNoneL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayAttachOriginNoneL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayAttachOriginNoneL, "In TestCHuiAnLayAttachOriginNoneL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayAttachOriginNoneL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayAttachOriginNoneL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ THuiBoxMetric offset;
+ iAnchorLayout->Attach( 0, offset );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayDetachL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayDetachL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayDetachL, "In TestCHuiAnLayDetachL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayDetachL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayDetachL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ iAnchorLayout->Detach( 0 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayDetachAnchorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayDetachAnchorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayDetachAnchorL, "In TestCHuiAnLayDetachAnchorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayDetachAnchorL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayDetachAnchorL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ iAnchorLayout->Detach( 0, EHuiAnchorTypeLeft );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLaySetSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLaySetSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLaySetSizeL, "In TestCHuiAnLaySetSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLaySetSizeL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLaySetSizeL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ THuiRealSize size;
+ iAnchorLayout->SetSize( size, 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayChildSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayChildSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayChildSizeL, "In TestCHuiAnLayChildSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayChildSizeL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayChildSizeL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ TSize size;
+ iAnchorLayout->ChildSize( 0, size );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayChildPosL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayChildPosL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayChildPosL, "In TestCHuiAnLayChildPosL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayChildPosL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayChildPosL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ TPoint aPos;
+ iAnchorLayout->ChildPos( 0, aPos );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiAnLayChildRectL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiAnLayChildRectL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiAnLayChildRectL, "In TestCHuiAnLayChildRectL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiAnLayChildRectL );
+ // Print to log file
+ iLog->Log( KTestCHuiAnLayChildRectL );
+
+ CHuiAnchorLayout* iAnchorLayout = CHuiAnchorLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( iAnchorLayout );
+ THuiRealRect aRect;
+ iAnchorLayout->ChildRect( 0, aRect );
+
+ return KErrNone;
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuicommand.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,2823 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huicontrolgroup.h>
+#include "uiacceltk/huivisual.h"
+#include <uiacceltk/huianchorlayout.h>
+#include <uiacceltk/huievent.h>
+#include <uiacceltk/huicommand.h>
+#include <uiacceltk/huiimagevisual.h>
+#include <uiacceltk/huitextvisual.h>
+#include <uiacceltk/huitimedvalue.h>
+#include <uiacceltk/huitransformation.h>
+#include <eikenv.h>
+#include <e32err.h>
+
+#include "testuiaifcoretoolkit.h"
+#include "testuiaifblockshuiactioncommandchild.h"
+#include "testuiaifblockshuigroupcommandchild.h"
+#include "testuiaifblockshuicontrolcommandchild.h"
+#include "testuiaifblockshuivisualcommandchild.h"
+#include "testuiaifblockshuiimagecommandchild.h"
+#include "testuiaifblockshuitextcommandchild.h"
+#include "testuiaifblockshuivaluecommandchild.h"
+#include "testuiaifblockshuipointcommandchild.h"
+#include "testuiaifblockshuitranscommandchild.h"
+#include "testuiaifblockshuimarkercommandchild.h"
+#include "testuiaifblockshuicustomeventcommandchild.h"
+//
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCommandDestructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCommandDestructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCommandDestructL, "In TestCHuiCommandDestructL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCommandDestructL );
+ // Print to log file
+ iLog->Log( KTestCHuiCommandDestructL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCommandObjectCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCommandObjectCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCommandObjectCommandL, "In TestCHuiCommandObjectCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCommandObjectCommandL );
+ // Print to log file
+ iLog->Log( KTestCHuiCommandObjectCommandL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->ObjectCommand();
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCommandSetSenderL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCommandSetSenderL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCommandSetSenderL, "In TestCHuiCommandSetSenderL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCommandSetSenderL );
+ // Print to log file
+ iLog->Log( KTestCHuiCommandSetSenderL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->SetSender( EHuiCommandObjectTypeNone, iHuiControl );
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCommandTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCommandTypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCommandTypeL, "In TestCHuiCommandTypeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCommandTypeL );
+ // Print to log file
+ iLog->Log( KTestCHuiCommandTypeL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->SetSender( EHuiCommandObjectTypeNone, iHuiControl );
+ actionCommand->Type();
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiSenderTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiSenderTypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiSenderTypeL, "In TestCHuiSenderTypeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiSenderTypeL );
+ // Print to log file
+ iLog->Log( KTestCHuiSenderTypeL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->SetSender( EHuiCommandObjectTypeNone, iHuiControl );
+ actionCommand->Type();
+ actionCommand->SenderType();
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiSenderL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiSenderL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiSenderL, "In TestCHuiSenderL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiSenderL );
+ // Print to log file
+ iLog->Log( KTestCHuiSenderL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->SetSender( EHuiCommandObjectTypeNone, iHuiControl );
+ actionCommand->Type();
+ actionCommand->SenderType();
+ actionCommand->Sender();
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiSenderVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiSenderVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiSenderVisualL, "In TestCHuiSenderVisualL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiSenderVisualL );
+ // Print to log file
+ iLog->Log( KTestCHuiSenderVisualL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->SetSender( EHuiCommandObjectTypeNone, iHuiControl );
+ actionCommand->Type();
+ actionCommand->SenderType();
+ actionCommand->Sender();
+ actionCommand->SenderVisual();
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiSenderControlL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiSenderControlL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiSenderControlL, "In TestCHuiSenderControlL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiSenderControlL );
+ // Print to log file
+ iLog->Log( KTestCHuiSenderControlL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->SetSender( EHuiCommandObjectTypeNone, iHuiControl );
+ actionCommand->Type();
+ actionCommand->SenderType();
+ actionCommand->Sender();
+ actionCommand->SenderVisual();
+ actionCommand->SenderControl();
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiSenderControlGroupL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiSenderControlGroupL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiSenderControlGroupL, "In TestCHuiSenderControlGroupL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiSenderControlGroupL );
+ // Print to log file
+ iLog->Log( KTestCHuiSenderControlGroupL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->SetSender( EHuiCommandObjectTypeNone, iHuiControl );
+ actionCommand->Type();
+ actionCommand->SenderType();
+ actionCommand->Sender();
+ actionCommand->SenderVisual();
+ actionCommand->SenderControl();
+ actionCommand->SenderControlGroup();
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCommandConstructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCommandConstructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCommandConstructL, "In TestCHuiCommandConstructL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCommandConstructL );
+ // Print to log file
+ iLog->Log( KTestCHuiCommandConstructL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->SetSender( EHuiCommandObjectTypeNone, iHuiControl );
+ actionCommand->Type();
+ actionCommand->SenderType();
+ actionCommand->Sender();
+ actionCommand->SenderVisual();
+ actionCommand->SenderControl();
+ actionCommand->SenderControlGroup();
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCommandExtensionL, "In TestCHuiCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestCHuiCommandExtensionL );
+
+ TTestUiAifBlocksHuiActionCommandChild* actionCommandChild =
+ new ( ELeave ) TTestUiAifBlocksHuiActionCommandChild( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommandChild );
+ CleanupStack::PushL( actionCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ actionCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop( 1 );
+ if( actionCommandChild )
+ {
+ delete actionCommandChild;
+ actionCommandChild = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCommandTActionCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCommandTActionCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCommandTActionCommandL, "In TestCHuiCommandTActionCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCommandTActionCommandL );
+ // Print to log file
+ iLog->Log( KTestCHuiCommandTActionCommandL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCommandExecuteL, "In TestCHuiCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestCHuiCommandExecuteL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCommandSizeL, "In TestCHuiCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestCHuiCommandSizeL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->ExecuteL( *iHuiEnv );
+ actionCommand->Size();
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCommandIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCommandIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCommandIdL, "In TestCHuiCommandIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCommandIdL );
+ // Print to log file
+ iLog->Log( KTestCHuiCommandIdL );
+
+ THuiActionCommand* actionCommand = new ( ELeave )THuiActionCommand( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommand );
+ CleanupStack::PushL( actionCommand );
+ actionCommand->ExecuteL( *iHuiEnv );
+ actionCommand->Size();
+ actionCommand->Id();
+ CleanupStack::Pop( 1 );
+ if( actionCommand )
+ {
+ delete actionCommand;
+ actionCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiActionCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiActionCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiActionCommandExtensionL, "In TestCHuiActionCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiActionCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestCHuiActionCommandExtensionL );
+
+ TTestUiAifBlocksHuiActionCommandChild* actionCommandChild =
+ new ( ELeave ) TTestUiAifBlocksHuiActionCommandChild( 1 );
+ STIF_ASSERT_NOT_NULL( actionCommandChild );
+ CleanupStack::PushL( actionCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ actionCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop( 1 );
+ if( actionCommandChild )
+ {
+ delete actionCommandChild;
+ actionCommandChild = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiObjectCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiObjectCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiObjectCommandL, "In TestCHuiObjectCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiObjectCommandL );
+ // Print to log file
+ iLog->Log( KTestCHuiObjectCommandL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ groupCommand->ObjectCommand();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiObjectCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiObjectCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiObjectCommandExecuteL, "In TestCHuiObjectCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiObjectCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestCHuiObjectCommandExecuteL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ groupCommand->ObjectCommand();
+ groupCommand->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiObjectCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiObjectCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiObjectCommandSizeL, "In TestCHuiObjectCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiObjectCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestCHuiObjectCommandSizeL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ groupCommand->ObjectCommand();
+ groupCommand->ExecuteL( *iHuiEnv );
+ groupCommand->Size();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiObjectCommandObjectL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiObjectCommandObjectL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiObjectCommandObjectL, "In TestCHuiObjectCommandObjectL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiObjectCommandObjectL );
+ // Print to log file
+ iLog->Log( KTestCHuiObjectCommandObjectL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ groupCommand->ObjectCommand();
+ groupCommand->ExecuteL( *iHuiEnv );
+ groupCommand->Size();
+ groupCommand->Object();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiObjectCommandOperationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiObjectCommandOperationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiObjectCommandOperationL, "In TestCHuiObjectCommandOperationL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiObjectCommandOperationL );
+ // Print to log file
+ iLog->Log( KTestCHuiObjectCommandOperationL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ groupCommand->ObjectCommand();
+ groupCommand->ExecuteL( *iHuiEnv );
+ groupCommand->Size();
+ groupCommand->Object();
+ groupCommand->Operation();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiObjectCommandConstructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiObjectCommandConstructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiObjectCommandConstructL, "In TestCHuiObjectCommandConstructL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiObjectCommandConstructL );
+ // Print to log file
+ iLog->Log( KTestCHuiObjectCommandConstructL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiObjectCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiObjectCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiObjectCommandExtensionL, "In TestCHuiObjectCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiObjectCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestCHuiObjectCommandExtensionL );
+
+ THuiOp aOperation = EHuiOpHide;
+ TTestUiAifBlocksHuiGroupCommandChild* groupCommandChild = new ( ELeave )
+ TTestUiAifBlocksHuiGroupCommandChild( *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommandChild );
+ CleanupStack::PushL( groupCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ groupCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiGroupCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiGroupCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiGroupCommandL, "In TestTHuiGroupCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiGroupCommandL );
+ // Print to log file
+ iLog->Log( KTestTHuiGroupCommandL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiGroupCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiGroupCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiGroupCommandExecuteL, "In TestTHuiGroupCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiGroupCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestTHuiGroupCommandExecuteL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ groupCommand->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiGroupCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiGroupCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiGroupCommandSizeL, "In TestTHuiGroupCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiGroupCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiGroupCommandSizeL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ groupCommand->ExecuteL( *iHuiEnv );
+ groupCommand->Size();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiGroupCommandControlGroupL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiGroupCommandControlGroupL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiGroupCommandControlGroupL, "In TestTHuiGroupCommandControlGroupL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiGroupCommandControlGroupL );
+ // Print to log file
+ iLog->Log( KTestTHuiGroupCommandControlGroupL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ groupCommand->ExecuteL( *iHuiEnv );
+ groupCommand->Size();
+ groupCommand->ControlGroup();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiGroupCommandDisplayL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiGroupCommandDisplayL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiGroupCommandDisplayL, "In TestTHuiGroupCommandDisplayL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiGroupCommandDisplayL );
+ // Print to log file
+ iLog->Log( KTestTHuiGroupCommandDisplayL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiGroupCommand* groupCommand = new ( ELeave ) THuiGroupCommand(
+ *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommand );
+ CleanupStack::PushL( groupCommand );
+ groupCommand->ExecuteL( *iHuiEnv );
+ groupCommand->Size();
+ groupCommand->ControlGroup();
+ groupCommand->Display();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiGroupCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiGroupCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiGroupCommandExtensionL, "In TestTHuiGroupCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiGroupCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestTHuiGroupCommandExtensionL );
+
+ THuiOp aOperation = EHuiOpHide;
+ TTestUiAifBlocksHuiGroupCommandChild* groupCommandChild = new ( ELeave )
+ TTestUiAifBlocksHuiGroupCommandChild( *iHuiControlGroup, aOperation, iHuiDisplay );
+ STIF_ASSERT_NOT_NULL( groupCommandChild );
+ CleanupStack::PushL( groupCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ groupCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiControlCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiControlCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiiHuiControlCommandL, "In TestTHuiiHuiControlCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiiHuiControlCommandL );
+ // Print to log file
+ iLog->Log( KTestTHuiiHuiControlCommandL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiControlCommand* iHuiControlCommand = new ( ELeave ) THuiControlCommand(
+ *iHuiControl, aOperation );
+ STIF_ASSERT_NOT_NULL( iHuiControlCommand );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiControlCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiControlCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiiHuiControlCommandExecuteL, "In TestTHuiiHuiControlCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiiHuiControlCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestTHuiiHuiControlCommandExecuteL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiControlCommand* iHuiControlCommand = new ( ELeave ) THuiControlCommand(
+ *iHuiControl, aOperation );
+ STIF_ASSERT_NOT_NULL( iHuiControlCommand );
+ iHuiControlCommand->ExecuteL( *iHuiEnv );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiControlCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiControlCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiControlCommandSizeL, "In TestTHuiControlCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiControlCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiControlCommandSizeL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiControlCommand* iHuiControlCommand = new ( ELeave ) THuiControlCommand(
+ *iHuiControl, aOperation );
+ STIF_ASSERT_NOT_NULL( iHuiControlCommand );
+ iHuiControlCommand->ExecuteL( *iHuiEnv );
+ iHuiControlCommand->Size();
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiiHuiControlCommandControlL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiControlCommandControlL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiControlCommandControlL, "In TestTHuiControlCommandControlL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiControlCommandControlL );
+ // Print to log file
+ iLog->Log( KTestTHuiControlCommandControlL );
+
+ THuiOp aOperation = EHuiOpHide;
+ THuiControlCommand* iHuiControlCommand = new ( ELeave ) THuiControlCommand(
+ *iHuiControl, aOperation );
+ STIF_ASSERT_NOT_NULL( iHuiControlCommand );
+ iHuiControlCommand->ExecuteL( *iHuiEnv );
+ iHuiControlCommand->Size();
+ iHuiControlCommand->Control();
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiControlCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiControlCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiControlCommandExtensionL, "In TestTHuiControlCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiControlCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestTHuiControlCommandExtensionL );
+
+ THuiOp aOperation = EHuiOpHide;
+ TTestUiAifBlocksHuiControlCommandChild* iHuiControlCommandChild =
+ new ( ELeave ) TTestUiAifBlocksHuiControlCommandChild( *iHuiControl, aOperation );
+ STIF_ASSERT_NOT_NULL( iHuiControlCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ iHuiControlCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiVisualCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiVisualCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiVisualCommandL, "In TestTHuiVisualCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiVisualCommandL );
+ // Print to log file
+ iLog->Log( KTestTHuiVisualCommandL );
+
+ CHuiVisual* visual = new ( ELeave )CHuiVisual( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( visual );
+ CleanupStack::PushL( visual );
+ THuiOp aOperation = EHuiOpRemoveAndDestroyAll;
+ THuiVisualCommand* visualCommand = new ( ELeave ) THuiVisualCommand(
+ *visual, aOperation );
+ STIF_ASSERT_NOT_NULL( visualCommand );
+ CleanupStack::PushL( visualCommand );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiVisualCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiVisualCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiVisualCommandExecuteL, "In TestTHuiVisualCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiVisualCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestTHuiVisualCommandExecuteL );
+
+ CHuiVisual* visual = new ( ELeave )CHuiVisual( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( visual );
+ CleanupStack::PushL( visual );
+ THuiOp aOperation = EHuiOpRemoveAndDestroyAll;
+ THuiVisualCommand* visualCommand = new ( ELeave ) THuiVisualCommand(
+ *visual, aOperation );
+ STIF_ASSERT_NOT_NULL( visualCommand );
+ CleanupStack::PushL( visualCommand );
+ visualCommand->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiVisualCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiVisualCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiVisualCommandSizeL, "In TestTHuiVisualCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiVisualCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiVisualCommandSizeL );
+
+ CHuiVisual* visual = new ( ELeave )CHuiVisual( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( visual );
+ CleanupStack::PushL( visual );
+ THuiOp aOperation = EHuiOpRemoveAndDestroyAll;
+ THuiVisualCommand* visualCommand = new ( ELeave ) THuiVisualCommand(
+ *visual, aOperation );
+ STIF_ASSERT_NOT_NULL( visualCommand );
+ CleanupStack::PushL( visualCommand );
+ visualCommand->ExecuteL( *iHuiEnv );
+ visualCommand->Size();
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiVisualCommandVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiVisualCommandVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiVisualCommandVisualL, "In TestTHuiVisualCommandVisualL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiVisualCommandVisualL );
+ // Print to log file
+ iLog->Log( KTestTHuiVisualCommandVisualL );
+
+ CHuiVisual* visual = new ( ELeave )CHuiVisual( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( visual );
+ CleanupStack::PushL( visual );
+ THuiOp aOperation = EHuiOpRemoveAndDestroyAll;
+ THuiVisualCommand* visualCommand = new ( ELeave ) THuiVisualCommand(
+ *visual, aOperation );
+ STIF_ASSERT_NOT_NULL( visualCommand );
+ CleanupStack::PushL( visualCommand );
+ visualCommand->ExecuteL( *iHuiEnv );
+ visualCommand->Size();
+ visualCommand->Visual();
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiVisualCommandFlagsToSetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiVisualCommandFlagsToSetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiVisualCommandFlagsToSetL, "In TestTHuiVisualCommandFlagsToSetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiVisualCommandFlagsToSetL );
+ // Print to log file
+ iLog->Log( KTestTHuiVisualCommandFlagsToSetL );
+
+ CHuiVisual* visual = new ( ELeave )CHuiVisual( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( visual );
+ CleanupStack::PushL( visual );
+ THuiOp aOperation = EHuiOpRemoveAndDestroyAll;
+ THuiVisualCommand* visualCommand = new ( ELeave ) THuiVisualCommand(
+ *visual, aOperation );
+ STIF_ASSERT_NOT_NULL( visualCommand );
+ CleanupStack::PushL( visualCommand );
+ visualCommand->ExecuteL( *iHuiEnv );
+ visualCommand->Size();
+ visualCommand->Visual();
+ visualCommand->FlagsToSet();
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiVisualCommandFlagsToClearL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiVisualCommandFlagsToClearL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiVisualCommandFlagsToClearL, "In TestTHuiVisualCommandFlagsToClearL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiVisualCommandFlagsToClearL );
+ // Print to log file
+ iLog->Log( KTestTHuiVisualCommandFlagsToClearL );
+
+ CHuiVisual* visual = new ( ELeave )CHuiVisual( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( visual );
+ CleanupStack::PushL( visual );
+ THuiOp aOperation = EHuiOpRemoveAndDestroyAll;
+ THuiVisualCommand* visualCommand = new ( ELeave ) THuiVisualCommand(
+ *visual, aOperation );
+ STIF_ASSERT_NOT_NULL( visualCommand );
+ CleanupStack::PushL( visualCommand );
+ visualCommand->ExecuteL( *iHuiEnv );
+ visualCommand->Size();
+ visualCommand->Visual();
+ visualCommand->FlagsToSet();
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiVisualCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiVisualCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiVisualCommandExtensionL, "In TestTHuiVisualCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiVisualCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestTHuiVisualCommandExtensionL );
+
+ CHuiVisual* visual = new ( ELeave )CHuiVisual( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( visual );
+ CleanupStack::PushL( visual );
+ THuiOp aOperation = EHuiOpRemoveAndDestroyAll;
+ TTestUiAifBlocksHuiVisualCommandChild* visualCommandChild =
+ new ( ELeave ) TTestUiAifBlocksHuiVisualCommandChild( *visual, aOperation );
+ STIF_ASSERT_NOT_NULL( visualCommandChild );
+ CleanupStack::PushL( visualCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ visualCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiImageCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiImageCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiImageCommandL, "In TestTHuiImageCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiImageCommandL );
+ // Print to log file
+ iLog->Log( KTestTHuiImageCommandL );
+
+ CHuiImageVisual* aImageVisual = CHuiImageVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aImageVisual );
+ CleanupStack::PushL( aImageVisual );
+ const THuiImage* aImage = new ( ELeave )THuiImage;
+ THuiImageCommand* imageCommand =
+ new ( ELeave ) THuiImageCommand( *aImageVisual, *aImage );
+ STIF_ASSERT_NOT_NULL( imageCommand );
+ CleanupStack::PushL( imageCommand );
+ CleanupStack::Pop( 2 );
+ if( aImage )
+ {
+ delete aImage;
+ aImage = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiImageCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiImageCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiImageCommandExecuteL, "In TestTHuiImageCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiImageCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestTHuiImageCommandExecuteL );
+
+ CHuiImageVisual* aImageVisual = CHuiImageVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aImageVisual );
+ CleanupStack::PushL( aImageVisual );
+ const THuiImage* aImage = new ( ELeave )THuiImage;
+ THuiImageCommand* imageCommand =
+ new ( ELeave ) THuiImageCommand( *aImageVisual, *aImage );
+ STIF_ASSERT_NOT_NULL( imageCommand );
+ CleanupStack::PushL( imageCommand );
+ imageCommand->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop( 2 );
+ if( aImage )
+ {
+ delete aImage;
+ aImage = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiImageCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiImageCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiImageCommandSizeL, "In TestTHuiImageCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiImageCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiImageCommandSizeL );
+
+ CHuiImageVisual* aImageVisual = CHuiImageVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aImageVisual );
+ CleanupStack::PushL( aImageVisual );
+ const THuiImage* aImage = new ( ELeave )THuiImage;
+ THuiImageCommand* imageCommand =
+ new ( ELeave ) THuiImageCommand( *aImageVisual, *aImage );
+ STIF_ASSERT_NOT_NULL( imageCommand );
+ CleanupStack::PushL( imageCommand );
+ imageCommand->ExecuteL( *iHuiEnv );
+ imageCommand->Size();
+ CleanupStack::Pop( 2 );
+ if( aImage )
+ {
+ delete aImage;
+ aImage = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiImageCommandVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiImageCommandVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiImageCommandVisualL, "In TestTHuiImageCommandVisualL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiImageCommandVisualL );
+ // Print to log file
+ iLog->Log( KTestTHuiImageCommandVisualL );
+
+ CHuiImageVisual* aImageVisual = CHuiImageVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aImageVisual );
+ CleanupStack::PushL( aImageVisual );
+ const THuiImage* aImage = new ( ELeave )THuiImage;
+ THuiImageCommand* imageCommand =
+ new ( ELeave ) THuiImageCommand( *aImageVisual, *aImage );
+ STIF_ASSERT_NOT_NULL( imageCommand );
+ CleanupStack::PushL( imageCommand );
+ imageCommand->ExecuteL( *iHuiEnv );
+ imageCommand->Size();
+ imageCommand->ImageVisual();
+ CleanupStack::Pop( 2 );
+ if( aImage )
+ {
+ delete aImage;
+ aImage = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiImageCommandImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiImageCommandImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiImageCommandImageL, "In TestTHuiImageCommandImageL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiImageCommandImageL );
+ // Print to log file
+ iLog->Log( KTestTHuiImageCommandImageL );
+
+ CHuiImageVisual* aImageVisual = CHuiImageVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aImageVisual );
+ CleanupStack::PushL( aImageVisual );
+ const THuiImage* aImage = new ( ELeave )THuiImage;
+ THuiImageCommand* imageCommand =
+ new ( ELeave ) THuiImageCommand( *aImageVisual, *aImage );
+ STIF_ASSERT_NOT_NULL( imageCommand );
+ CleanupStack::PushL( imageCommand );
+ imageCommand->ExecuteL( *iHuiEnv );
+ imageCommand->Size();
+ imageCommand->ImageVisual();
+ imageCommand->Image();
+ CleanupStack::Pop(2 );
+ if( aImage )
+ {
+ delete aImage;
+ aImage = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiImageCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiImageCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiImageCommandExtensionL, "In TestTHuiImageCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiImageCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestTHuiImageCommandExtensionL );
+
+ CHuiImageVisual* aImageVisual = CHuiImageVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aImageVisual );
+ CleanupStack::PushL( aImageVisual );
+ const THuiImage* aImage = new ( ELeave )THuiImage;
+ TTestUiAifBlocksHuiImageCommandChild* imageCommandChild =
+ new ( ELeave ) TTestUiAifBlocksHuiImageCommandChild( *aImageVisual, *aImage );
+ STIF_ASSERT_NOT_NULL( imageCommandChild );
+ CleanupStack::PushL( imageCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ imageCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop(2 );
+ if( aImage )
+ {
+ delete aImage;
+ aImage = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextCommandL, "In TestTHuiTextCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextCommandL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextCommandL );
+
+ CHuiTextVisual* aTextVisual = CHuiTextVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aTextVisual );
+ CleanupStack::PushL( aTextVisual );
+ _LIT( KHello, "Hello" );
+ const TDesC& aText = KHello;
+ THuiTextCommand* textCommand =
+ new ( ELeave ) THuiTextCommand( *aTextVisual, aText );
+ STIF_ASSERT_NOT_NULL( textCommand );
+ CleanupStack::PushL( textCommand );
+ CleanupStack::Pop(2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextCommandExecuteL, "In TestTHuiTextCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextCommandExecuteL );
+
+ CHuiTextVisual* aTextVisual = CHuiTextVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aTextVisual );
+ CleanupStack::PushL( aTextVisual );
+ _LIT( KHello, "Hello" );
+ const TDesC& aText = KHello;
+ THuiTextCommand* textCommand =
+ new ( ELeave ) THuiTextCommand( *aTextVisual, aText );
+ STIF_ASSERT_NOT_NULL( textCommand );
+ CleanupStack::PushL( textCommand );
+ textCommand->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop(2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextCommandSizeL, "In TestTHuiTextCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextCommandSizeL );
+
+ CHuiTextVisual* aTextVisual = CHuiTextVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aTextVisual );
+ CleanupStack::PushL( aTextVisual );
+ _LIT( KHello, "Hello" );
+ const TDesC& aText = KHello;
+ THuiTextCommand* textCommand =
+ new ( ELeave ) THuiTextCommand( *aTextVisual, aText );
+ STIF_ASSERT_NOT_NULL( textCommand );
+ CleanupStack::PushL( textCommand );
+ textCommand->ExecuteL( *iHuiEnv );
+ textCommand->Size();
+ CleanupStack::Pop(2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextCommandTextVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextCommandTextVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextCommandTextVisualL, "In TestTHuiTextCommandTextVisualL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextCommandTextVisualL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextCommandTextVisualL );
+
+ CHuiTextVisual* aTextVisual = CHuiTextVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aTextVisual );
+ CleanupStack::PushL( aTextVisual );
+ _LIT( KHello, "Hello" );
+ const TDesC& aText = KHello;
+ THuiTextCommand* textCommand =
+ new ( ELeave ) THuiTextCommand( *aTextVisual, aText );
+ STIF_ASSERT_NOT_NULL( textCommand );
+ CleanupStack::PushL( textCommand );
+ textCommand->ExecuteL( *iHuiEnv );
+ textCommand->Size();
+ textCommand->TextVisual();
+ CleanupStack::Pop(2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextCommandTextL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextCommandTextL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextCommandTextL, "In TestTHuiTextCommandTextL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextCommandTextL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextCommandTextL );
+
+ CHuiTextVisual* aTextVisual = CHuiTextVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aTextVisual );
+ CleanupStack::PushL( aTextVisual );
+ _LIT( KHello, "Hello" );
+ const TDesC& aText = KHello;
+ THuiTextCommand* textCommand =
+ new ( ELeave ) THuiTextCommand( *aTextVisual, aText );
+ STIF_ASSERT_NOT_NULL( textCommand );
+ CleanupStack::PushL( textCommand );
+ textCommand->ExecuteL( *iHuiEnv );
+ textCommand->Size();
+ textCommand->TextVisual();
+ textCommand->Text();
+ CleanupStack::Pop(2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTextCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTextCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTextCommandExtensionL, "In TestTHuiTextCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTextCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestTHuiTextCommandExtensionL );
+
+ CHuiTextVisual* aTextVisual = CHuiTextVisual::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( aTextVisual );
+ CleanupStack::PushL( aTextVisual );
+ _LIT( KHello, "Hello" );
+ const TDesC& aText = KHello;
+ TTestUiAifBlocksHuiTextCommandChild* textCommandChild =
+ new ( ELeave ) TTestUiAifBlocksHuiTextCommandChild( *aTextVisual, aText );
+ STIF_ASSERT_NOT_NULL( textCommandChild );
+ CleanupStack::PushL( textCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ textCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop(2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiValueCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiValueCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiValueCommandL, "In TestTHuiValueCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiValueCommandL );
+ // Print to log file
+ iLog->Log( KTestTHuiValueCommandL );
+
+ THuiTimedValue* aValue = new ( ELeave ) THuiTimedValue;
+ TReal32 aTarget = 1;
+ THuiValueCommand* valueCommand =
+ new ( ELeave ) THuiValueCommand( iHuiControl, *aValue, aTarget );
+ STIF_ASSERT_NOT_NULL( valueCommand );
+ CleanupStack::PushL( valueCommand );
+ CleanupStack::Pop( 1 );
+ if( aValue )
+ {
+ delete aValue;
+ aValue = NULL;
+ }
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiValueCommandMutiRefL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiValueCommandMutiRefL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiValueCommandMutiRefL, "In TestTHuiValueCommandMutiRefL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiValueCommandMutiRefL );
+ // Print to log file
+ iLog->Log( KTestTHuiValueCommandMutiRefL );
+
+ THuiTimedValue* aValue = new ( ELeave ) THuiTimedValue;
+ THuiValueCommand* valueCommand =
+ new ( ELeave ) THuiValueCommand( iHuiControl, *aValue );
+ STIF_ASSERT_NOT_NULL( valueCommand );
+ CleanupStack::PushL( valueCommand );
+ CleanupStack::Pop( 1 );
+ if( aValue )
+ {
+ delete aValue;
+ aValue = NULL;
+ }
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiValueCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiValueCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiValueCommandExecuteL, "In TestTHuiValueCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiValueCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestTHuiValueCommandExecuteL );
+
+ THuiTimedValue* aValue = new ( ELeave ) THuiTimedValue;
+ THuiValueCommand* valueCommand =
+ new ( ELeave ) THuiValueCommand( iHuiControl, *aValue );
+ STIF_ASSERT_NOT_NULL( valueCommand );
+ CleanupStack::PushL( valueCommand );
+ valueCommand->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop( 1 );
+ if( aValue )
+ {
+ delete aValue;
+ aValue = NULL;
+ }
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiValueCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiValueCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiValueCommandSizeL, "In TestTHuiValueCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiValueCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiValueCommandSizeL );
+
+ THuiTimedValue* aValue = new ( ELeave ) THuiTimedValue;
+ THuiValueCommand* valueCommand =
+ new ( ELeave ) THuiValueCommand( iHuiControl, *aValue );
+ STIF_ASSERT_NOT_NULL( valueCommand );
+ CleanupStack::PushL( valueCommand );
+ valueCommand->ExecuteL( *iHuiEnv );
+ valueCommand->Size();
+ CleanupStack::Pop( 1 );
+ if( aValue )
+ {
+ delete aValue;
+ aValue = NULL;
+ }
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiValueCommandTimedValueL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiValueCommandTimedValueL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiValueCommandTimedValueL, "In TestTHuiValueCommandTimedValueL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiValueCommandTimedValueL );
+ // Print to log file
+ iLog->Log( KTestTHuiValueCommandTimedValueL );
+
+ THuiTimedValue* aValue = new ( ELeave ) THuiTimedValue;
+ THuiValueCommand* valueCommand =
+ new ( ELeave ) THuiValueCommand( iHuiControl, *aValue );
+ STIF_ASSERT_NOT_NULL( valueCommand );
+ CleanupStack::PushL( valueCommand );
+ valueCommand->ExecuteL( *iHuiEnv );
+ valueCommand->Size();
+ valueCommand->TimedValue();
+ CleanupStack::Pop( 1 );
+ if( aValue )
+ {
+ delete aValue;
+ aValue = NULL;
+ }
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiValueCommandTargetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiValueCommandTargetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiValueCommandTargetL, "In TestTHuiValueCommandTargetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiValueCommandTargetL );
+ // Print to log file
+ iLog->Log( KTestTHuiValueCommandTargetL );
+
+ THuiTimedValue* aValue = new ( ELeave ) THuiTimedValue;
+ THuiValueCommand* valueCommand =
+ new ( ELeave ) THuiValueCommand( iHuiControl, *aValue );
+ STIF_ASSERT_NOT_NULL( valueCommand );
+ CleanupStack::PushL( valueCommand );
+ valueCommand->ExecuteL( *iHuiEnv );
+ valueCommand->Size();
+ valueCommand->TimedValue();
+ valueCommand->Target();
+ CleanupStack::Pop( 1 );
+ if( aValue )
+ {
+ delete aValue;
+ aValue = NULL;
+ }
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiValueCommandTransitionTimeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiValueCommandTransitionTimeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiValueCommandTransitionTimeL, "In TestTHuiValueCommandTransitionTimeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiValueCommandTransitionTimeL );
+ // Print to log file
+ iLog->Log( KTestTHuiValueCommandTransitionTimeL );
+
+ THuiTimedValue* aValue = new ( ELeave ) THuiTimedValue;
+ THuiValueCommand* valueCommand =
+ new ( ELeave ) THuiValueCommand( iHuiControl, *aValue );
+ STIF_ASSERT_NOT_NULL( valueCommand );
+ CleanupStack::PushL( valueCommand );
+ valueCommand->ExecuteL( *iHuiEnv );
+ valueCommand->Size();
+ valueCommand->TimedValue();
+ valueCommand->Target();
+ valueCommand->TransitionTime();
+ CleanupStack::Pop( 1 );
+ if( aValue )
+ {
+ delete aValue;
+ aValue = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiValueCommandSpeedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiValueCommandSpeedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiValueCommandSpeedL, "In TestTHuiValueCommandSpeedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiValueCommandSpeedL );
+ // Print to log file
+ iLog->Log( KTestTHuiValueCommandSpeedL );
+
+ THuiTimedValue* aValue = new ( ELeave ) THuiTimedValue;
+ THuiValueCommand* valueCommand =
+ new ( ELeave ) THuiValueCommand( iHuiControl, *aValue );
+ STIF_ASSERT_NOT_NULL( valueCommand );
+ CleanupStack::PushL( valueCommand );
+ valueCommand->ExecuteL( *iHuiEnv );
+ valueCommand->Size();
+ valueCommand->TimedValue();
+ valueCommand->Target();
+ valueCommand->TransitionTime();
+ valueCommand->Speed();
+ CleanupStack::Pop( 1 );
+ if( aValue )
+ {
+ delete aValue;
+ aValue = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiValueCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiValueCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiValueCommandExtensionL, "In TestTHuiValueCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiValueCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestTHuiValueCommandExtensionL );
+
+ THuiTimedValue* aValue = new ( ELeave ) THuiTimedValue;
+ TTestUiAifBlocksHuiValueCommandChild* valueCommandChild =
+ new ( ELeave ) TTestUiAifBlocksHuiValueCommandChild( iHuiControl, *aValue );
+ STIF_ASSERT_NOT_NULL( valueCommandChild );
+ CleanupStack::PushL( valueCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ valueCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop( 1 );
+ if( aValue )
+ {
+ delete aValue;
+ aValue = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPointCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPointCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPointCommandL, "In TestTHuiPointCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPointCommandL );
+ // Print to log file
+ iLog->Log( KTestTHuiPointCommandL );
+
+ THuiTimedPoint* aPoint = new ( ELeave ) THuiTimedPoint;
+ THuiPointCommand* pointCommand =
+ new ( ELeave ) THuiPointCommand( iHuiControl, *aPoint, EHuiOpSetWithSpeed );
+ STIF_ASSERT_NOT_NULL( pointCommand );
+ CleanupStack::PushL( pointCommand );
+ CleanupStack::Pop( 1 );
+ if( aPoint )
+ {
+ delete aPoint;
+ aPoint = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPointCommandMutiRefL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPointCommandMutiRefL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPointCommandMutiRefL, "In TestTHuiPointCommandMutiRefL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPointCommandMutiRefL );
+ // Print to log file
+ iLog->Log( KTestTHuiPointCommandMutiRefL );
+
+ THuiTimedPoint* aPoint = new ( ELeave ) THuiTimedPoint;
+ THuiRealPoint aTarget;
+ THuiPointCommand* pointCommand =
+ new ( ELeave ) THuiPointCommand( iHuiControl, *aPoint, aTarget );
+ STIF_ASSERT_NOT_NULL( pointCommand );
+ CleanupStack::PushL( pointCommand );
+ CleanupStack::Pop( 1 );
+ if( aPoint )
+ {
+ delete aPoint;
+ aPoint = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPointCommandMutiRefOtherL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPointCommandMutiRefOtherL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPointCommandMutiRefOtherL, "In TestTHuiPointCommandMutiRefOtherL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPointCommandMutiRefOtherL );
+ // Print to log file
+ iLog->Log( KTestTHuiPointCommandMutiRefOtherL );
+
+ THuiTimedPoint* aPoint = new ( ELeave ) THuiTimedPoint;
+ THuiRealPoint aTarget;
+ THuiPointCommand* pointCommand =
+ new ( ELeave ) THuiPointCommand( iHuiControl, *aPoint, EHuiOpSetWithSpeed, aTarget );
+ STIF_ASSERT_NOT_NULL( pointCommand );
+ CleanupStack::PushL( pointCommand );
+ CleanupStack::Pop( 1 );
+ if( aPoint )
+ {
+ delete aPoint;
+ aPoint = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPointCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPointCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPointCommandExecuteL, "In TestTHuiPointCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPointCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestTHuiPointCommandExecuteL );
+
+ THuiTimedPoint* aPoint = new ( ELeave ) THuiTimedPoint;
+ THuiRealPoint aTarget;
+ THuiPointCommand* pointCommand =
+ new ( ELeave ) THuiPointCommand( iHuiControl, *aPoint, EHuiOpSetWithSpeed, aTarget );
+ STIF_ASSERT_NOT_NULL( pointCommand );
+ CleanupStack::PushL( pointCommand );
+ pointCommand->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop( 1 );
+ if( aPoint )
+ {
+ delete aPoint;
+ aPoint = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPointCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPointCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPointCommandSizeL, "In TestTHuiPointCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPointCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiPointCommandSizeL );
+
+ THuiTimedPoint* aPoint = new ( ELeave ) THuiTimedPoint;
+ THuiRealPoint aTarget;
+ THuiPointCommand* pointCommand =
+ new ( ELeave ) THuiPointCommand( iHuiControl, *aPoint, EHuiOpSetWithSpeed, aTarget );
+ STIF_ASSERT_NOT_NULL( pointCommand );
+ CleanupStack::PushL( pointCommand );
+ pointCommand->Size();
+ CleanupStack::Pop( 1 );
+ if( aPoint )
+ {
+ delete aPoint;
+ aPoint = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPointCommandTimedPointL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPointCommandTimedPointL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPointCommandTimedPointL, "In TestTHuiPointCommandTimedPointL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPointCommandTimedPointL );
+ // Print to log file
+ iLog->Log( KTestTHuiPointCommandTimedPointL );
+
+ THuiTimedPoint* aPoint = new ( ELeave ) THuiTimedPoint;
+ THuiRealPoint aTarget;
+ THuiPointCommand* pointCommand =
+ new ( ELeave ) THuiPointCommand( iHuiControl, *aPoint, EHuiOpSetWithSpeed, aTarget );
+ STIF_ASSERT_NOT_NULL( pointCommand );
+ CleanupStack::PushL( pointCommand );
+ pointCommand->TimedPoint();
+ CleanupStack::Pop( 1 );
+ if( aPoint )
+ {
+ delete aPoint;
+ aPoint = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPointCommandTargetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPointCommandTargetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPointCommandTargetL, "In TestTHuiPointCommandTargetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPointCommandTargetL );
+ // Print to log file
+ iLog->Log( KTestTHuiPointCommandTargetL );
+
+ THuiTimedPoint* aPoint = new ( ELeave ) THuiTimedPoint;
+ THuiRealPoint aTarget;
+ THuiPointCommand* pointCommand =
+ new ( ELeave ) THuiPointCommand( iHuiControl, *aPoint, EHuiOpSetWithSpeed, aTarget );
+ STIF_ASSERT_NOT_NULL( pointCommand );
+ CleanupStack::PushL( pointCommand );
+ pointCommand->Target();
+ CleanupStack::Pop( 1 );
+ if( aPoint )
+ {
+ delete aPoint;
+ aPoint = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPointCommandTransitionTimeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPointCommandTransitionTimeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPointCommandTransitionTimeL, "In TestTHuiPointCommandTransitionTimeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPointCommandTransitionTimeL );
+ // Print to log file
+ iLog->Log( KTestTHuiPointCommandTransitionTimeL );
+
+ THuiTimedPoint* aPoint = new ( ELeave ) THuiTimedPoint;
+ THuiRealPoint aTarget;
+ THuiPointCommand* pointCommand =
+ new ( ELeave ) THuiPointCommand( iHuiControl, *aPoint, EHuiOpSetWithSpeed, aTarget );
+ STIF_ASSERT_NOT_NULL( pointCommand );
+ CleanupStack::PushL( pointCommand );
+ pointCommand->TransitionTime();
+ CleanupStack::Pop( 1 );
+ if( aPoint )
+ {
+ delete aPoint;
+ aPoint = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPointCommandSpeedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPointCommandSpeedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPointCommandSpeedL, "In TestTHuiPointCommandSpeedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPointCommandSpeedL );
+ // Print to log file
+ iLog->Log( KTestTHuiPointCommandSpeedL );
+
+ THuiTimedPoint* aPoint = new ( ELeave ) THuiTimedPoint;
+ THuiRealPoint aTarget;
+ THuiPointCommand* pointCommand =
+ new ( ELeave ) THuiPointCommand( iHuiControl, *aPoint, EHuiOpSetWithSpeed, aTarget );
+ STIF_ASSERT_NOT_NULL( pointCommand );
+ CleanupStack::PushL( pointCommand );
+ pointCommand->Speed();
+ CleanupStack::Pop( 1 );
+ if( aPoint )
+ {
+ delete aPoint;
+ aPoint = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiPointCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiPointCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiPointCommandExtensionL, "In TestTHuiPointCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiPointCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestTHuiPointCommandExtensionL );
+
+ THuiTimedPoint* aPoint = new ( ELeave ) THuiTimedPoint;
+ THuiRealPoint aTarget;
+ TTestUiAifBlocksHuiPointCommandChild* pointCommandChild =
+ new ( ELeave ) TTestUiAifBlocksHuiPointCommandChild( iHuiControl, *aPoint, EHuiOpSetWithSpeed );
+ STIF_ASSERT_NOT_NULL( pointCommandChild );
+ CleanupStack::PushL( pointCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ pointCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop( 1 );
+ if( aPoint )
+ {
+ delete aPoint;
+ aPoint = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTransformationCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTransformationCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTransformationCommandL, "In TestTHuiTransformationCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTransformationCommandL );
+ // Print to log file
+ iLog->Log( KTestTHuiTransformationCommandL );
+
+ CHuiTransformation* aTransformation = CHuiTransformation::NewL();
+ THuiTransformationCommand* transCommand =
+ new ( ELeave ) THuiTransformationCommand( iHuiControl, *aTransformation );
+ STIF_ASSERT_NOT_NULL( transCommand );
+ CleanupStack::PushL( transCommand );
+ CleanupStack::Pop( 1 );
+ if( aTransformation )
+ {
+ delete aTransformation;
+ aTransformation = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTransformationCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTransformationCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTransformationCommandExecuteL, "In TestTHuiTransformationCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTransformationCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestTHuiTransformationCommandExecuteL );
+
+ CHuiTransformation* aTransformation = CHuiTransformation::NewL();
+ THuiTransformationCommand* transCommand =
+ new ( ELeave ) THuiTransformationCommand( iHuiControl, *aTransformation );
+ STIF_ASSERT_NOT_NULL( transCommand );
+ CleanupStack::PushL( transCommand );
+ transCommand->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop( 1 );
+ if( aTransformation )
+ {
+ delete aTransformation;
+ aTransformation = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTransformationCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTransformationCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTransformationCommandSizeL, "In TestTHuiTransformationCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTransformationCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiTransformationCommandSizeL );
+
+ CHuiTransformation* aTransformation = CHuiTransformation::NewL();
+ THuiTransformationCommand* transCommand =
+ new ( ELeave ) THuiTransformationCommand( iHuiControl, *aTransformation );
+ STIF_ASSERT_NOT_NULL( transCommand );
+ CleanupStack::PushL( transCommand );
+ transCommand->ExecuteL( *iHuiEnv );
+ transCommand->Size();
+ CleanupStack::Pop( 1 );
+ if( aTransformation )
+ {
+ delete aTransformation;
+ aTransformation = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTransformationCommandTransmasnL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTransformationCommandTransmasnL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTransformationCommandTransmasnL, "In TestTHuiTransformationCommandTransmasnL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTransformationCommandTransmasnL );
+ // Print to log file
+ iLog->Log( KTestTHuiTransformationCommandTransmasnL );
+
+ CHuiTransformation* aTransformation = CHuiTransformation::NewL();
+ THuiTransformationCommand* transCommand =
+ new ( ELeave ) THuiTransformationCommand( iHuiControl, *aTransformation );
+ STIF_ASSERT_NOT_NULL( transCommand );
+ CleanupStack::PushL( transCommand );
+ transCommand->ExecuteL( *iHuiEnv );
+ transCommand->Transformation();
+ CleanupStack::Pop( 1 );
+ if( aTransformation )
+ {
+ delete aTransformation;
+ aTransformation = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTransformationCommandStepL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTransformationCommandStepL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTransformationCommandStepL, "In TestTHuiTransformationCommandStepL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTransformationCommandStepL );
+ // Print to log file
+ iLog->Log( KTestTHuiTransformationCommandStepL );
+
+ CHuiTransformation* aTransformation = CHuiTransformation::NewL();
+ THuiTransformationCommand* transCommand =
+ new ( ELeave ) THuiTransformationCommand( iHuiControl, *aTransformation );
+ STIF_ASSERT_NOT_NULL( transCommand );
+ CleanupStack::PushL( transCommand );
+ transCommand->ExecuteL( *iHuiEnv );
+ transCommand->Step();
+ CleanupStack::Pop( 1 );
+ if( aTransformation )
+ {
+ delete aTransformation;
+ aTransformation = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetXL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetXL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTransformationCommandSetXL, "In TestTHuiTransformationCommandSetXL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTransformationCommandSetXL );
+ // Print to log file
+ iLog->Log( KTestTHuiTransformationCommandSetXL );
+
+ CHuiTransformation* aTransformation = CHuiTransformation::NewL();
+ THuiTransformationCommand* transCommand =
+ new ( ELeave ) THuiTransformationCommand( iHuiControl, *aTransformation );
+ STIF_ASSERT_NOT_NULL( transCommand );
+ CleanupStack::PushL( transCommand );
+ transCommand->ExecuteL( *iHuiEnv );
+ const THuiTimedValue* timeValue = new ( ELeave ) THuiTimedValue;
+ transCommand->SetX( *timeValue );
+ CleanupStack::Pop( 1 );
+ if( aTransformation )
+ {
+ delete aTransformation;
+ aTransformation = NULL;
+ }
+ if( timeValue )
+ {
+ delete timeValue;
+ timeValue = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetYL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetYL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTransformationCommandSetYL, "In TestTHuiTransformationCommandSetYL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTransformationCommandSetYL );
+ // Print to log file
+ iLog->Log( KTestTHuiTransformationCommandSetYL );
+
+ CHuiTransformation* aTransformation = CHuiTransformation::NewL();
+ THuiTransformationCommand* transCommand =
+ new ( ELeave ) THuiTransformationCommand( iHuiControl, *aTransformation );
+ STIF_ASSERT_NOT_NULL( transCommand );
+ CleanupStack::PushL( transCommand );
+ const THuiTimedValue* timeValue = new ( ELeave ) THuiTimedValue;
+ transCommand->SetY( *timeValue );
+ CleanupStack::Pop( 1 );
+ if( aTransformation )
+ {
+ delete aTransformation;
+ aTransformation = NULL;
+ }
+ if( timeValue )
+ {
+ delete timeValue;
+ timeValue = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetZL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetZL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTransformationCommandSetZL, "In TestTHuiTransformationCommandSetZL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTransformationCommandSetZL );
+ // Print to log file
+ iLog->Log( KTestTHuiTransformationCommandSetZL );
+
+ CHuiTransformation* aTransformation = CHuiTransformation::NewL();
+ THuiTransformationCommand* transCommand =
+ new ( ELeave ) THuiTransformationCommand( iHuiControl, *aTransformation );
+ STIF_ASSERT_NOT_NULL( transCommand );
+ CleanupStack::PushL( transCommand );
+ const THuiTimedValue* timeValue = new ( ELeave ) THuiTimedValue;
+ transCommand->SetZ( *timeValue );
+ CleanupStack::Pop( 1 );
+ if( aTransformation )
+ {
+ delete aTransformation;
+ aTransformation = NULL;
+ }
+ if( timeValue )
+ {
+ delete timeValue;
+ timeValue = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetAngleL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTransformationCommandSetAngleL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTransformationCommandSetAngleL, "In TestTHuiTransformationCommandSetAngleL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTransformationCommandSetAngleL );
+ // Print to log file
+ iLog->Log( KTestTHuiTransformationCommandSetAngleL );
+
+ CHuiTransformation* aTransformation = CHuiTransformation::NewL();
+ THuiTransformationCommand* transCommand =
+ new ( ELeave ) THuiTransformationCommand( iHuiControl, *aTransformation );
+ STIF_ASSERT_NOT_NULL( transCommand );
+ CleanupStack::PushL( transCommand );
+ const THuiTimedValue* timeValue = new ( ELeave ) THuiTimedValue;
+ transCommand->SetAngle( *timeValue );
+ CleanupStack::Pop( 1 );
+ if( aTransformation )
+ {
+ delete aTransformation;
+ aTransformation = NULL;
+ }
+ if( timeValue )
+ {
+ delete timeValue;
+ timeValue = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiTransformationCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiTransformationCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiTransformationCommandExtensionL, "In KTestTHuiTransformationCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiTransformationCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestTHuiTransformationCommandExtensionL );
+
+ CHuiTransformation* aTransformation = CHuiTransformation::NewL();
+ TTestUiAifBlocksHuiTransCommandChild* transCommandChild =
+ new ( ELeave ) TTestUiAifBlocksHuiTransCommandChild( iHuiControl, *aTransformation );
+ STIF_ASSERT_NOT_NULL( transCommandChild );
+ CleanupStack::PushL( transCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ transCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop( 1 );
+ if( aTransformation )
+ {
+ delete aTransformation;
+ aTransformation = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiMarkerCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiMarkerCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiMarkerCommandL, "In TestTHuiMarkerCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiMarkerCommandL );
+ // Print to log file
+ iLog->Log( KTestTHuiMarkerCommandL );
+
+ THuiMarkerCommand* markerCommand = new ( ELeave ) THuiMarkerCommand( 0 );
+ STIF_ASSERT_NOT_NULL( markerCommand );
+ CleanupStack::PushL( markerCommand );
+ CleanupStack::Pop( 1 );
+ if( markerCommand )
+ {
+ delete markerCommand;
+ markerCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiMarkerCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiMarkerCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiMarkerCommandExecuteL, "In TestTHuiMarkerCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiMarkerCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestTHuiMarkerCommandExecuteL );
+
+ THuiMarkerCommand* markerCommand = new ( ELeave ) THuiMarkerCommand( 0 );
+ STIF_ASSERT_NOT_NULL( markerCommand );
+ CleanupStack::PushL( markerCommand );
+ markerCommand->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop( 1 );
+ if( markerCommand )
+ {
+ delete markerCommand;
+ markerCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiMarkerCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiMarkerCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiMarkerCommandSizeL, "In TestTHuiMarkerCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiMarkerCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiMarkerCommandSizeL );
+
+ THuiMarkerCommand* markerCommand = new ( ELeave ) THuiMarkerCommand( 0 );
+ STIF_ASSERT_NOT_NULL( markerCommand );
+ CleanupStack::PushL( markerCommand );
+ markerCommand->Size();
+ CleanupStack::Pop( 1 );
+ if( markerCommand )
+ {
+ delete markerCommand;
+ markerCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiMarkerCommandIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiMarkerCommandIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiMarkerCommandIdL, "In TestTHuiMarkerCommandIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiMarkerCommandIdL );
+ // Print to log file
+ iLog->Log( KTestTHuiMarkerCommandIdL );
+
+ THuiMarkerCommand* markerCommand = new ( ELeave ) THuiMarkerCommand( 0 );
+ STIF_ASSERT_NOT_NULL( markerCommand );
+ CleanupStack::PushL( markerCommand );
+ markerCommand->Id();
+ CleanupStack::Pop( 1 );
+ if( markerCommand )
+ {
+ delete markerCommand;
+ markerCommand = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiMarkerCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiMarkerCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiMarkerCommandExtensionL, "In TestTHuiMarkerCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiMarkerCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestTHuiMarkerCommandExtensionL );
+
+ TTestUiAifBlocksHuiMarkerCommandChild* markerCommandChild =
+ new ( ELeave ) TTestUiAifBlocksHuiMarkerCommandChild( 0 );
+ STIF_ASSERT_NOT_NULL( markerCommandChild );
+ CleanupStack::PushL( markerCommandChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ markerCommandChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop( 1 );
+ if( markerCommandChild )
+ {
+ delete markerCommandChild;
+ markerCommandChild = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiCustomEventCommandL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiCustomEventCommandL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiCustomEventCommandL, "In TestTHuiCustomEventCommandL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiCustomEventCommandL );
+ // Print to log file
+ iLog->Log( KTestTHuiCustomEventCommandL );
+
+ THuiCustomEventCommand* customEvent =
+ new ( ELeave ) THuiCustomEventCommand( 0 );
+ STIF_ASSERT_NOT_NULL( customEvent );
+ CleanupStack::PushL( customEvent );
+ CleanupStack::Pop( 1 );
+ if( customEvent )
+ {
+ delete customEvent;
+ customEvent = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiCustomEventCommandExecuteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiCustomEventCommandExecuteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiCustomEventCommandExecuteL, "In TestTHuiCustomEventCommandExecuteL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiCustomEventCommandExecuteL );
+ // Print to log file
+ iLog->Log( KTestTHuiCustomEventCommandExecuteL );
+
+ THuiCustomEventCommand* customEvent =
+ new ( ELeave ) THuiCustomEventCommand( 0 );
+ STIF_ASSERT_NOT_NULL( customEvent );
+ CleanupStack::PushL( customEvent );
+ customEvent->ExecuteL( *iHuiEnv );
+ CleanupStack::Pop( 1 );
+ if( customEvent )
+ {
+ delete customEvent;
+ customEvent = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiCustomEventCommandSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiCustomEventCommandSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiCustomEventCommandSizeL, "In TestTHuiCustomEventCommandSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiCustomEventCommandSizeL );
+ // Print to log file
+ iLog->Log( KTestTHuiCustomEventCommandSizeL );
+
+ THuiCustomEventCommand* customEvent =
+ new ( ELeave ) THuiCustomEventCommand( 0 );
+ STIF_ASSERT_NOT_NULL( customEvent );
+ CleanupStack::PushL( customEvent );
+ customEvent->Size();
+ CleanupStack::Pop( 1 );
+ if( customEvent )
+ {
+ delete customEvent;
+ customEvent = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiCustomEventCommandRecipientL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiCustomEventCommandRecipientL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiCustomEventCommandRecipientL, "In TestTHuiCustomEventCommandRecipientL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiCustomEventCommandRecipientL );
+ // Print to log file
+ iLog->Log( KTestTHuiCustomEventCommandRecipientL );
+
+ THuiCustomEventCommand* customEvent =
+ new ( ELeave ) THuiCustomEventCommand( 0 );
+ STIF_ASSERT_NOT_NULL( customEvent );
+ CleanupStack::PushL( customEvent );
+ customEvent->Recipient();
+ CleanupStack::Pop( 1 );
+ if( customEvent )
+ {
+ delete customEvent;
+ customEvent = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiCustomEventCommandParamL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiCustomEventCommandParamL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiCustomEventCommandParamL, "In TestTHuiCustomEventCommandParamL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiCustomEventCommandParamL );
+ // Print to log file
+ iLog->Log( KTestTHuiCustomEventCommandParamL );
+
+ THuiCustomEventCommand* customEvent =
+ new ( ELeave ) THuiCustomEventCommand( 0 );
+ STIF_ASSERT_NOT_NULL( customEvent );
+ CleanupStack::PushL( customEvent );
+ customEvent->Param();
+ CleanupStack::Pop( 1 );
+ if( customEvent )
+ {
+ delete customEvent;
+ customEvent = NULL;
+ }
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHuiCustomEventCommandExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHuiCustomEventCommandExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestTHuiCustomEventCommandExtensionL, "In TestTHuiCustomEventCommandExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestTHuiCustomEventCommandExtensionL );
+ // Print to log file
+ iLog->Log( KTestTHuiCustomEventCommandExtensionL );
+
+ TTestUiAifBlocksHuiCustomEventCommandChild* customEventChild =
+ new ( ELeave ) TTestUiAifBlocksHuiCustomEventCommandChild( 0 );
+ STIF_ASSERT_NOT_NULL( customEventChild );
+ CleanupStack::PushL( customEventChild );
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParams = NULL;
+ customEventChild->SetCommandExtension( aExtensionUid, aExtensionParams );
+ CleanupStack::Pop( 1 );
+ if( customEventChild )
+ {
+ delete customEventChild;
+ customEventChild = NULL;
+ }
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuicontrol.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,1729 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huicontrolgroup.h>
+#include <uiacceltk/huivisual.h>
+#include <uiacceltk/huianchorlayout.h>
+#include <uiacceltk/huievent.h>
+#include <eikenv.h>
+#include <e32err.h>
+#include <uiacceltk/HuiDisplayCoeControl.h>
+#include <uiacceltk/HuiDeckLayout.h>
+
+
+#include "testuiaifcoretoolkit.h"
+#include "testuiaifblockshuicontrolchild.h"
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlL, "In TestCHuiControlL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlDestructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlDestructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlDestructL, "In TestCHuiControlDestructL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlDestructL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlDestructL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlSetIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlSetIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlSetIdL, "In TestCHuiControlSetIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlSetIdL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlSetIdL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ iHuiControl->SetId( 67 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlIdL, "In TestCHuiControlIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlIdL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlIdL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ iHuiControl->SetId( 67 );
+ STIF_ASSERT_EQUALS( iHuiControl->Id(), 67 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlEnvL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlEnvL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlEnvL, "In TestCHuiControlEnvL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlEnvL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlEnvL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ iHuiControl->SetId( 67 );
+ iHuiControl->Env();
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlControlGroupL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlControlGroupL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlControlGroupL, "In TestCHuiControlControlGroupL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlControlGroupL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlControlGroupL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ iHuiControl->SetId( 67 );
+ iHuiControl->ControlGroup();
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlTextureManagerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlTextureManagerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlTextureManagerL, "In TestCHuiControlTextureManagerL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlTextureManagerL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlTextureManagerL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ iHuiControl->SetId( 67 );
+ iHuiControl->TextureManager();
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlDisplayL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlDisplayL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlDisplayL, "In TestCHuiControlDisplayL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlDisplayL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlDisplayL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ iHuiControl->SetId( 67 );
+ iHuiControl->Display();
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlBindDisplayL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlBindDisplayL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlBindDisplayL, "In TestCHuiControlBindDisplayL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlBindDisplayL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlBindDisplayL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ iHuiControl->SetId( 67 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlAppendL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlAppendL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlAppendL, "In TestCHuiControlAppendL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlAppendL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlAppendL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ iHuiControl->SetId( 67 );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *iHuiControl );
+ iHuiControl->AppendL( visual );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlAppendLayoutL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlAppendLayoutL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlAppendLayoutL, "In TestCHuiControlAppendLayoutL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlAppendLayoutL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlAppendLayoutL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( visual );
+ CleanupStack::PushL( visual );
+ CHuiLayout* layout = NULL;
+ iHuiControl->AppendL( visual, layout );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlRemoveL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlRemoveL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlRemoveL, "In TestCHuiControlRemoveL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlRemoveL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlRemoveL );
+
+
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( visual );
+ CleanupStack::PushL( visual );
+ iHuiControl->Remove( visual );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlAppendVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlAppendVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlAppendVisualL, "In TestCHuiControlAppendVisualL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlAppendVisualL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlAppendVisualL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ THuiVisualType type = EHuiVisualTypeVisual;
+ iHuiControl->AppendVisualL( type );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlAppendTypeLayoutL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlAppendTypeLayoutL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlAppendTypeLayoutL, "In TestCHuiControlAppendTypeLayoutL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlAppendTypeLayoutL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlAppendTypeLayoutL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ iHuiControl->AppendLayoutL( EHuiLayoutTypeLayout );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlVisualL, "In TestCHuiControlVisualL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlVisualL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlVisualL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *iHuiControl );
+ iHuiControl->AppendL( visual );
+ iHuiControl->Visual( 0 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlVisualCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlVisualCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlVisualCountL, "In TestCHuiControlVisualCountL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlVisualCountL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlVisualCountL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *iHuiControl );
+ iHuiControl->AppendL( visual );
+ TInt visualCount = iHuiControl->VisualCount();
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlFindTagL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlFindTagL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlFindTagL, "In TestCHuiControlFindTagL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlFindTagL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlFindTagL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *iHuiControl );
+ iHuiControl->AppendL( visual );
+ TInt visualCount = iHuiControl->VisualCount();
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ iHuiControl->FindTag( *ptr );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlHostL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlHostL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlHostL, "In TestCHuiControlHostL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlHostL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlHostL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *iHuiControl );
+ iHuiControl->AppendL( visual );
+ iHuiControl->Host();
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlAddConnectionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlAddConnectionL( CStifItemParser& /*aItem */)
+ {
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlAddConnectionL, "In TestCHuiControlAddConnectionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlAddConnectionL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlAddConnectionL );
+
+ // Prepare
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ CleanupStack::PushL( connectControl );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ iHuiControl->ControlGroup()->AppendL( connectControl ); // add into same group
+ STIF_ASSERT_EQUALS( iHuiControl->ConnectionCount() , 0 );
+ iHuiControl->AddConnectionL( connectControl );
+ STIF_ASSERT_EQUALS( iHuiControl->ConnectionCount() , 1 );
+ CleanupStack::Pop( connectControl );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlRemoveConnectionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlRemoveConnectionL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlRemoveConnectionL, "In TestCHuiControlRemoveConnectionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlRemoveConnectionL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlRemoveConnectionL );
+
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ CleanupStack::PushL( connectControl );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ iHuiControl->ControlGroup()->AppendL( connectControl ); // add into same group
+ STIF_ASSERT_EQUALS( iHuiControl->ConnectionCount() , 0 );
+ iHuiControl->AddConnectionL( connectControl );
+ STIF_ASSERT_EQUALS( iHuiControl->ConnectionCount() , 1 );
+ iHuiControl->RemoveConnection( connectControl );
+ STIF_ASSERT_EQUALS( iHuiControl->ConnectionCount() , 0 );
+ CleanupStack::Pop( connectControl );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlFindConnectionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlFindConnectionL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlFindConnectionL, "In TestCHuiControlFindConnectionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlFindConnectionL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlFindConnectionL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl );
+ TInt index = iHuiControl->FindConnection( connectControl );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlConnectionCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlConnectionCountL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlConnectionCountL, "In TestCHuiControlConnectionCountL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlConnectionCountL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlConnectionCountL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl );
+ iHuiControl->ConnectionCount();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlConnectionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlConnectionL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlConnectionL, "In TestCHuiControlConnectionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlConnectionL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlConnectionL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl );
+ TInt index = iHuiControl->FindConnection( connectControl );
+ iHuiControl->Connection( index );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlConnectionByOrdinalL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlConnectionByOrdinalL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlConnectionByOrdinalL, "In TestCHuiControlConnectionByOrdinalL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlConnectionByOrdinalL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlConnectionByOrdinalL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl );
+ TInt index = iHuiControl->FindConnection( connectControl );
+ iHuiControl->ConnectionByOrdinal( index );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlConnectionRoleL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlConnectionRoleL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlConnectionRoleL, "In TestCHuiControlConnectionRoleL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlConnectionRoleL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlConnectionRoleL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl );
+ TInt index = iHuiControl->FindConnection( connectControl );
+ iHuiControl->ConnectionRole( index );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlConnectionOrdinalL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlConnectionOrdinalL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlConnectionOrdinalL, "In TestCHuiControlConnectionOrdinalL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlConnectionOrdinalL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlConnectionOrdinalL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl );
+ TInt index = iHuiControl->FindConnection( connectControl );
+ iHuiControl->ConnectionOrdinal( index );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlRoleL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlRoleL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlRoleL, "In TestCHuiControlRoleL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlRoleL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlRoleL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl );
+ TInt index = iHuiControl->FindConnection( connectControl );
+ iHuiControl->Role();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlSetRoleL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlSetRoleL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlSetRoleL, "In TestCHuiControlSetRoleL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlSetRoleL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlSetRoleL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl );
+ TInt index = iHuiControl->FindConnection( connectControl );
+ iHuiControl->SetRole( index );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlHostIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlHostIdL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlHostIdL, "In TestCHuiControlHostIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlHostIdL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlHostIdL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl );
+ TInt index = iHuiControl->FindConnection( connectControl );
+ iHuiControl->HostId();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlSetHostIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlSetHostIdL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlSetHostIdL, "In TestCHuiControlSetHostIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlSetHostIdL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlSetHostIdL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl );
+ TInt index = iHuiControl->HostId();
+ iHuiControl->SetHostId( index );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlSetHostL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlSetHostL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlSetHostL, "In TestCHuiControlSetHostL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlSetHostL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlSetHostL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlContainerLayoutL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlContainerLayoutL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlContainerLayoutL, "In TestCHuiControlContainerLayoutL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlContainerLayoutL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlContainerLayoutL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlHostToDisplayL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlHostToDisplayL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlHostToDisplayL, "In TestCHuiControlHostToDisplayL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlHostToDisplayL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlHostToDisplayL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->HostToDisplay( iPoint );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlDisplayToHostL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlDisplayToHostL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlDisplayToHostL, "In TestCHuiControlDisplayToHostL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlDisplayToHostL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlDisplayToHostL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlBoundsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlBoundsL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlBoundsL, "In TestCHuiControlBoundsL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlBoundsL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlBoundsL );
+
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->Bounds();
+ CleanupStack::Pop( 1 );
+
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlHitTestL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlHitTestL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlHitTestL, "In TestCHuiControlHitTestL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlHitTestL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlHitTestL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->HitTest( iPoint );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlAcquireFocusL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlAcquireFocusL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlAcquireFocusL, "In TestCHuiControlAcquireFocusL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlAcquireFocusL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlAcquireFocusL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->AcquireFocus();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlFocusL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlFocusL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlFocusL, "In TestCHuiControlFocusL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlFocusL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlFocusL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->AcquireFocus();
+ iHuiControl->Focus();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlIsFocusingL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlIsFocusingL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlIsFocusingL, "In TestCHuiControlIsFocusingL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlIsFocusingL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlIsFocusingL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->AcquireFocus();
+ iHuiControl->Focus();
+ iHuiControl->IsFocusing();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlFocusChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlFocusChangedL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlFocusChangedL, "In TestCHuiControlFocusChangedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlFocusChangedL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlFocusChangedL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->AcquireFocus();
+ iHuiControl->Focus();
+ iHuiControl->IsFocusing();
+ iHuiControl->FocusChanged( *iHuiDisplay, EFalse );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlAcceptInputL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlAcceptInputL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlAcceptInputL, "In TestCHuiControlAcceptInputL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlAcceptInputL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlAcceptInputL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->AcquireFocus();
+ iHuiControl->Focus();
+ iHuiControl->IsFocusing();
+ iHuiControl->AcceptInput();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlOfferEventL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlOfferEventL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlAcceptInputL, "In TestCHuiControlAcceptInputL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlAcceptInputL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlAcceptInputL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->AcquireFocus();
+ iHuiControl->Focus();
+ iHuiControl->IsFocusing();
+ iHuiControl->AcceptInput();
+ const THuiEvent aEvent = 0 ;
+ iHuiControl->OfferEventL( aEvent );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlDisplayAreaL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlDisplayAreaL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlDisplayAreaL, "In TestCHuiControlDisplayAreaL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlDisplayAreaL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlDisplayAreaL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->AcquireFocus();
+ iHuiControl->Focus();
+ iHuiControl->IsFocusing();
+ iHuiControl->AcceptInput();
+ iHuiControl->DisplayArea();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlDisplayCenterL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlDisplayCenterL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlDisplayCenterL, "In TestCHuiControlDisplayCenterL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlDisplayCenterL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlDisplayCenterL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->AcquireFocus();
+ iHuiControl->Focus();
+ iHuiControl->IsFocusing();
+ iHuiControl->AcceptInput();
+ iHuiControl->DisplayCenter();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlCancelAllCommandsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlCancelAllCommandsL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlCancelAllCommandsL, "In TestCHuiControlCancelAllCommandsL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlCancelAllCommandsL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlCancelAllCommandsL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ const TPoint iPoint;
+ iHuiControl->DisplayToHost( iPoint );
+ iHuiControl->AcquireFocus();
+ iHuiControl->Focus();
+ iHuiControl->IsFocusing();
+ iHuiControl->AcceptInput();
+ iHuiControl->CancelAllCommands();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlVisualLayoutUpdatedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlVisualLayoutUpdatedL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlVisualLayoutUpdatedL, "In TestCHuiControlVisualLayoutUpdatedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlVisualLayoutUpdatedL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlVisualLayoutUpdatedL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *iHuiControl );
+ iHuiControl->AppendL( visual );
+ iHuiControl->VisualLayoutUpdated( *visual );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlVisualDestroyedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlVisualDestroyedL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlVisualDestroyedL, "In TestCHuiControlVisualDestroyedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlVisualDestroyedL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlVisualDestroyedL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *iHuiControl );
+ iHuiControl->AppendL( visual );
+ iHuiControl->VisualLayoutUpdated( *visual );
+ iHuiControl->VisualDestroyed( *visual );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlEventHandlerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlEventHandlerL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlEventHandlerL, "In TestCHuiControlEventHandlerL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlEventHandlerL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlEventHandlerL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ iHuiControl->AddConnectionL( connectControl);
+ iHuiControl->ContainerLayout( connectControl );
+ iHuiControl->SetId( 67 );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *iHuiControl );
+ iHuiControl->AppendL( visual );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ iHuiControl->FindTag( *ptr );
+ iHuiControl->VisualLayoutUpdated( *visual );
+ iHuiControl->EventHandler();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlNotifyVisibilityL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlNotifyVisibilityL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlNotifyVisibilityL, "In TestCHuiControlNotifyVisibilityL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlNotifyVisibilityL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlNotifyVisibilityL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ controlChild->AddConnectionL( connectControl);
+ controlChild->ContainerLayout( connectControl );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ controlChild->AppendL( visual );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildNotifyControlVisibility( EFalse, *display );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlVisualAddedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlVisualAddedL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlVisualAddedL, "In TestCHuiControlVisualAddedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlVisualAddedL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlVisualAddedL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ controlChild->AddConnectionL( connectControl);
+ controlChild->ContainerLayout( connectControl );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildVisualAddedL( visual );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlVisualRemovedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlVisualRemovedL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlVisualRemovedL, "In TestCHuiControlVisualRemovedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlVisualRemovedL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlVisualRemovedL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CHuiControl* connectControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControl );
+ CleanupStack::PushL( connectControl );
+ controlChild->AddConnectionL( connectControl);
+ controlChild->ContainerLayout( connectControl );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildVisualAddedL( visual );
+ controlChild->ChildVisualRemovedL( visual );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlConnectionAddedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlConnectionAddedL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlConnectionAddedL, "In TestCHuiControlConnectionAddedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlConnectionAddedL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlConnectionAddedL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CTestUiAifBlocksHuiControlChild* connectControlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControlChild );
+ CleanupStack::PushL( connectControlChild );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildVisualAddedL( visual );
+ controlChild->ChildVisualRemovedL( visual );
+ controlChild->ChildConnectionAddedL( connectControlChild, 0 );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlConnectionRemovedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlConnectionRemovedL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlConnectionRemovedL, "In TestCHuiControlConnectionRemovedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlConnectionRemovedL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlConnectionRemovedL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CTestUiAifBlocksHuiControlChild* connectControlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControlChild );
+ CleanupStack::PushL( connectControlChild );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildVisualAddedL( visual );
+ controlChild->ChildVisualRemovedL( visual );
+ controlChild->ChildConnectionAddedL( connectControlChild, 0 );
+ controlChild->ChildConnectionRemovedL( connectControlChild, 0 );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlHostChangingL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlHostChangingL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlHostChangingL, "In TestCHuiControlHostChangingL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlHostChangingL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlHostChangingL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CTestUiAifBlocksHuiControlChild* connectControlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControlChild );
+ CleanupStack::PushL( connectControlChild );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildVisualAddedL( visual );
+ controlChild->ChildVisualRemovedL( visual );
+ controlChild->ChildConnectionAddedL( connectControlChild, 0 );
+ controlChild->ChildConnectionRemovedL( connectControlChild, 0 );
+ controlChild->ChildHostChangingL( connectControlChild );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlBaseConstructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlBaseConstructL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlBaseConstructL, "In TestCHuiControlBaseConstructL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlBaseConstructL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlBaseConstructL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CTestUiAifBlocksHuiControlChild* connectControlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControlChild );
+ CleanupStack::PushL( connectControlChild );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildVisualAddedL( visual );
+ controlChild->ChildVisualRemovedL( visual );
+ controlChild->ChildConnectionAddedL( connectControlChild, 0 );
+ controlChild->ChildConnectionRemovedL( connectControlChild, 0 );
+ controlChild->ChildHostChangingL( connectControlChild );
+ controlChild->ChildBaseConstructL();
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlControlExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlControlExtensionL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlControlExtensionL, "In TestCHuiControlControlExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlControlExtensionL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlControlExtensionL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CTestUiAifBlocksHuiControlChild* connectControlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControlChild );
+ CleanupStack::PushL( connectControlChild );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildVisualAddedL( visual );
+ controlChild->ChildVisualRemovedL( visual );
+ controlChild->ChildConnectionAddedL( connectControlChild, 0 );
+ controlChild->ChildConnectionRemovedL( connectControlChild, 0 );
+ controlChild->ChildHostChangingL( connectControlChild );
+ controlChild->ChildBaseConstructL();
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParameters = NULL;
+ controlChild->ChildControlExtensionL( aExtensionUid, aExtensionParameters );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlTypeL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlTypeL, "In TestCHuiControlTypeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlTypeL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlTypeL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CTestUiAifBlocksHuiControlChild* connectControlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControlChild );
+ CleanupStack::PushL( connectControlChild );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildVisualAddedL( visual );
+ controlChild->ChildVisualRemovedL( visual );
+ controlChild->ChildConnectionAddedL( connectControlChild, 0 );
+ controlChild->ChildConnectionRemovedL( connectControlChild, 0 );
+ controlChild->ChildHostChangingL( connectControlChild );
+ controlChild->ChildBaseConstructL();
+ controlChild->ChildTypeL();
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParameters = NULL;
+ controlChild->ChildControlExtensionL( aExtensionUid, aExtensionParameters );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlSessionIdL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlSessionIdL, "In TestCHuiControlSessionIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlSessionIdL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlSessionIdL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CTestUiAifBlocksHuiControlChild* connectControlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControlChild );
+ CleanupStack::PushL( connectControlChild );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildVisualAddedL( visual );
+ controlChild->ChildVisualRemovedL( visual );
+ controlChild->ChildConnectionAddedL( connectControlChild, 0 );
+ controlChild->ChildConnectionRemovedL( connectControlChild, 0 );
+ controlChild->ChildHostChangingL( connectControlChild );
+ controlChild->ChildBaseConstructL();
+ controlChild->ChildTypeL();
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParameters = NULL;
+ controlChild->ChildControlExtensionL( aExtensionUid, aExtensionParameters );
+ controlChild->ChildSessionIdL();
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiControlSetSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiControlSetSessionIdL( CStifItemParser& /*aItem */)
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiControlSetSessionIdL, "In TestCHuiControlSetSessionIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiControlSetSessionIdL );
+ // Print to log file
+ iLog->Log( KTestCHuiControlSetSessionIdL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ CTestUiAifBlocksHuiControlChild * controlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( controlChild );
+ CleanupStack::PushL( controlChild );
+ CTestUiAifBlocksHuiControlChild* connectControlChild =
+ new( ELeave ) CTestUiAifBlocksHuiControlChild( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( connectControlChild );
+ CleanupStack::PushL( connectControlChild );
+ controlChild->SetId( 67 );
+ CHuiDisplay* display = controlChild->Display();
+ controlChild->BindDisplay( *display );
+ CHuiVisual* visual = new (ELeave) CHuiVisual( *controlChild );
+ _LIT( KHello, " Hello " );
+ const TDesC8* ptr = ( TDesC8* )&KHello;
+ visual->SetTagL( *ptr );
+ controlChild->FindTag( *ptr );
+ controlChild->VisualLayoutUpdated( *visual );
+ controlChild->ChildVisualAddedL( visual );
+ controlChild->ChildVisualRemovedL( visual );
+ controlChild->ChildConnectionAddedL( connectControlChild, 0 );
+ controlChild->ChildConnectionRemovedL( connectControlChild, 0 );
+ controlChild->ChildHostChangingL( connectControlChild );
+ controlChild->ChildBaseConstructL();
+ controlChild->ChildTypeL();
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParameters = NULL;
+ controlChild->ChildControlExtensionL( aExtensionUid, aExtensionParameters );
+ TInt sessionId = controlChild->ChildSessionIdL();
+ controlChild->ChildSetSessionIdL( sessionId );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuicontrolgroup.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,453 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huicontrolgroup.h>
+#include <uiacceltk/huivisual.h>
+#include <uiacceltk/huianchorlayout.h>
+#include <uiacceltk/huievent.h>
+#include <eikenv.h>
+#include <e32err.h>
+
+#include "testuiaifcoretoolkit.h"
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlGroupAppendL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlGroupAppendL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlGroupAppendL, "In TestCHuiCntlGroupAppendL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlGroupAppendL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlGroupAppendL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlGroupAppendAndPopL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlGroupAppendAndPopL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlGroupAppendAndPopL, "In TestCHuiCntlGroupAppendAndPopL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlGroupAppendAndPopL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlGroupAppendAndPopL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendAndPopL( otherControl );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlGroupRemoveL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlGroupRemoveL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlGroupRemoveL, "In TestCHuiCntlGroupRemoveL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlGroupRemoveL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlGroupRemoveL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendAndPopL( otherControl );
+ iHuiControlGroup->Remove( otherControl );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlCountL, "In TestCHuiCntlCountL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlCountL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlCountL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ iHuiControlGroup->AppendL( otherControl );
+ TInt count = iHuiControlGroup->Count();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlControlL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlControlL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlControlL, "In TestCHuiCntlControlL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlControlL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlControlL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ TInt count = iHuiControlGroup->Count();
+ CHuiControl& control = iHuiControlGroup->Control( 0 );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlFindControlL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlFindControlL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlFindControlL, "In TestCHuiCntlFindControlL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlFindControlL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlFindControlL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ TInt count = iHuiControlGroup->Count();
+ CHuiControl& control = iHuiControlGroup->Control( 0 );
+ otherControl->SetId( 1 );
+ CHuiControl* control2 = iHuiControlGroup->FindControl( 1 );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlEnableTsfomatonL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlEnableTsfomatonL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlEnableTsfomatonL, "In TestCHuiCntlEnableTsfomatonL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlEnableTsfomatonL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlEnableTsfomatonL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ iHuiControlGroup->EnableTransformationL();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlIsTransformedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlIsTransformedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlIsTransformedL, "In TestCHuiCntlIsTransformedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlIsTransformedL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlIsTransformedL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ TBool isTransformed = iHuiControlGroup->IsTransformed();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlTransformationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlTransformationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlTransformationL, "In TestCHuiCntlTransformationL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlTransformationL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlTransformationL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ TBool isTransformed = iHuiControlGroup->IsTransformed();
+ iHuiControlGroup->EnableTransformationL( ETrue );
+ CHuiTransformation& transformation = iHuiControlGroup->Transformation();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlAcceptInputL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlAcceptInputL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlAcceptInputL, "In TestCHuiCntlAcceptInputL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlAcceptInputL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlAcceptInputL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ TBool isTransformed = iHuiControlGroup->IsTransformed();
+ iHuiControlGroup->EnableTransformationL( ETrue );
+ CHuiTransformation& transformation = iHuiControlGroup->Transformation();
+ TBool isAcceptInput = iHuiControlGroup->AcceptInput();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlSetAcceptInputL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlSetAcceptInputL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlSetAcceptInputL, "In TestCHuiCntlSetAcceptInputL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlSetAcceptInputL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlSetAcceptInputL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ TBool isTransformed = iHuiControlGroup->IsTransformed();
+ iHuiControlGroup->EnableTransformationL( ETrue );
+ CHuiTransformation& transformation = iHuiControlGroup->Transformation();
+ TBool isAcceptInput = iHuiControlGroup->AcceptInput();
+ iHuiControlGroup->SetAcceptInput( ETrue );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlTypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlTypeL, "In TestCHuiCntlChangedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlTypeL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlTypeL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ TBool isTransformed = iHuiControlGroup->IsTransformed();
+ iHuiControlGroup->EnableTransformationL( ETrue );
+ CHuiTransformation& transformation = iHuiControlGroup->Transformation();
+ TBool isAcceptInput = iHuiControlGroup->AcceptInput();
+ iHuiControlGroup->SetAcceptInput( ETrue );
+ iHuiControlGroup->Type();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlSessionIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlSessionIdL, "In TestCHuiCntlSessionIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlSessionIdL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlSessionIdL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ TBool isTransformed = iHuiControlGroup->IsTransformed();
+ iHuiControlGroup->EnableTransformationL( ETrue );
+ CHuiTransformation& transformation = iHuiControlGroup->Transformation();
+ TBool isAcceptInput = iHuiControlGroup->AcceptInput();
+ iHuiControlGroup->SetAcceptInput( ETrue );
+ iHuiControlGroup->Type();
+ TInt sessionId = iHuiControlGroup->SessionId();
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCntlSetSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCntlSetSessionIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCntlSetSessionIdL, "In TestCHuiCntlSetSessionIdL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCntlSetSessionIdL );
+ // Print to log file
+ iLog->Log( KTestCHuiCntlSetSessionIdL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ iHuiControlGroup->AppendL( otherControl );
+ iHuiControlGroup->IsTransformed();
+ iHuiControlGroup->EnableTransformationL( ETrue );
+ iHuiControlGroup->Transformation();
+ iHuiControlGroup->AcceptInput();
+ iHuiControlGroup->SetAcceptInput( ETrue );
+ iHuiControlGroup->Type();
+ TInt sessionId = iHuiControlGroup->SessionId();
+ iHuiControlGroup->SetSessionId( sessionId );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuicurve.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,464 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huicontrolgroup.h>
+#include <uiacceltk/huivisual.h>
+#include <uiacceltk/huianchorlayout.h>
+#include <uiacceltk/huievent.h>
+#include <uiacceltk/huicurvepath.h>
+#include <uiacceltk/huicurvepathlayout.h>
+#include <eikenv.h>
+#include <e32err.h>
+
+#include "testuiaifcoretoolkit.h"
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathNewL, "In TestCHuiCurvePathNewL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathNewL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathNewL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathNewCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathNewCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathNewCL, "In TestCHuiCurvePathNewCL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathNewCL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathNewCL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathDestructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathDestructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathDestructL, "In TestCHuiCurvePathDestructL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathDestructL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathDestructL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathResetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathResetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathResetL, "In TestCHuiCurvePathResetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathResetL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathResetL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->Reset();
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathEnableLoopL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathEnableLoopL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathEnableLoopL, "In TestCHuiCurvePathEnableLoopL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathEnableLoopL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathEnableLoopL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->Reset();
+ curvePath->EnableLoop();
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathLoopL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathLoopL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathLoopL, "In TestCHuiCurvePathLoopL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathLoopL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathLoopL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->Reset();
+ curvePath->EnableLoop();
+ curvePath->Loop();
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathSetOriginL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathSetOriginL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathSetOriginL, "In TestCHuiCurvePathSetOriginL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathSetOriginL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathSetOriginL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathAppendLineL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathAppendLineL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathAppendLineL, "In TestCHuiCurvePathAppendLineL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathAppendLineL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathAppendLineL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ TPoint start( 0, 0 );
+ TPoint end( 1, 1 );
+ curvePath->AppendLineL( start, end );
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathAppendRealLineL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathAppendRealLineL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathAppendRealLineL, "In TestCHuiCurvePathAppendRealLineL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathAppendRealLineL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathAppendRealLineL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ const THuiRealPoint realStart( 0, 0 );
+ const THuiRealPoint realEnd( 1, 1 );
+ curvePath->AppendLineL( realStart, realEnd );
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathAppendArcL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathAppendArcL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathAppendArcL, "In TestCHuiCurvePathAppendArcL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathAppendArcL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathAppendArcL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ const TPoint aOrigin( 0, 0 );
+ const TSize aSize( 3, 7 );
+ TReal32 aStartAngle = 2;
+ TReal32 aEndAngle = 4;
+ curvePath->AppendArcL( aOrigin, aSize, aStartAngle, aEndAngle );
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathAppendHuiArcL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathAppendHuiArcL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathAppendHuiArcL, "In TestCHuiCurvePathAppendHuiArcL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathAppendHuiArcL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathAppendHuiArcL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ const THuiRealPoint aOrigin( 0, 0 );
+ const THuiRealSize aSize( 6, 9 );
+ TReal32 aStartAngle = 2;
+ TReal32 aEndAngle =8;
+ curvePath->AppendArcL( aOrigin, aSize, aStartAngle, aEndAngle );
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathLengthL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathLengthL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathLengthL, "In TestCHuiCurvePathLengthL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathLengthL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathLengthL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ TInt length = curvePath->Length();
+ CleanupStack::PopAndDestroy( curvePath );
+ CleanupStack::Pop( 1 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathEvaluateL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathEvaluateL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathEvaluateL, "In TestCHuiCurvePathLengthL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathEvaluateL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathEvaluateL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ TInt length = curvePath->Length();
+ TReal32 aPos = 2;
+ THuiRealPoint aPoint( 3, 3 );
+ curvePath->Evaluate( aPos, aPoint );
+ CleanupStack::PopAndDestroy( curvePath );
+ CHuiCurvePathLayout* pathLayout = CHuiCurvePathLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( pathLayout );
+ CleanupStack::PushL( pathLayout );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuidecklayout.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,113 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huiControlGroup.h>
+#include <uiacceltk/huivisual.h>
+#include <uiacceltk/huianchorlayout.h>
+#include <uiacceltk/huievent.h>
+#include <uiacceltk/huicurvepath.h>
+#include <uiacceltk/huicurvepathlayout.h>
+#include <uiacceltk/huidecklayout.h>
+#include <eikenv.h>
+#include <e32err.h>
+
+#include "testuiaifcoretoolkit.h"
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiDeckLayoutAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiDeckLayoutAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiDeckLayoutAddNewL, "In TestCHuiDeckLayoutAddNewL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiDeckLayoutAddNewL );
+ // Print to log file
+ iLog->Log( KTestCHuiDeckLayoutAddNewL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ TReal32 length = curvePath->Length();
+ TReal32 aPos = 2;
+ THuiRealPoint aPoint( 3, 3 );
+ curvePath->Evaluate( aPos, aPoint );
+ CleanupStack::PopAndDestroy( curvePath );
+ CHuiDeckLayout* deckLayout = CHuiDeckLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( deckLayout );
+ CleanupStack::PushL( deckLayout );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiDeckLayoutDestructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiDeckLayoutDestructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiDeckLayoutDestructL, "In TestCHuiDeckLayoutDestructL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiDeckLayoutDestructL );
+ // Print to log file
+ iLog->Log( KTestCHuiDeckLayoutDestructL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ TReal32 length = curvePath->Length();
+ TReal32 aPos = 2;
+ THuiRealPoint aPoint( 3, 3 );
+ curvePath->Evaluate( aPos, aPoint );
+ CleanupStack::PopAndDestroy( curvePath );
+ CHuiDeckLayout* deckLayout = CHuiDeckLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( deckLayout );
+ CleanupStack::PushL( deckLayout );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuifixmath.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,161 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huifixmath.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHFMFixHypot
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHFMFixHypot( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiFixMath, "In TestHFMFixHypot" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiFixMath );
+ // Print to log file
+ iLog->Log( KHuiFixMath );
+
+ HuiFixMath::FixHypot( 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHFMFixSin
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHFMFixSin( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiFixMath, "In TestHFMFixSin" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiFixMath );
+ // Print to log file
+ iLog->Log( KHuiFixMath );
+
+ HuiFixMath::FixSin( 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHFMFixCos
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHFMFixCos( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiFixMath, "In TestHFMFixCos" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiFixMath );
+ // Print to log file
+ iLog->Log( KHuiFixMath );
+
+ HuiFixMath::FixCos( 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHFMFixMul
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHFMFixMul( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiFixMath, "In TestHFMFixMul" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiFixMath );
+ // Print to log file
+ iLog->Log( KHuiFixMath );
+
+ HuiFixMath::FixMul( 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHFMFixDiv
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHFMFixDiv( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiFixMath, "In TestHFMFixDiv" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiFixMath );
+ // Print to log file
+ iLog->Log( KHuiFixMath );
+
+ HuiFixMath::FixDiv( 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHFMFloatToFix
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHFMFloatToFix( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiFixMath, "In TestHFMFloatToFix" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiFixMath );
+ // Print to log file
+ iLog->Log( KHuiFixMath );
+
+ HuiFixMath::FloatToFix( 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHFMFixToFloat
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHFMFixToFloat( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiFixMath, "In TestHFMFixToFloat" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiFixMath );
+ // Print to log file
+ iLog->Log( KHuiFixMath );
+
+ HuiFixMath::FixToFloat( 1 );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiflowlayout.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,168 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: for testing the method of the CHuiTextVisual
+*
+*/
+
+#include <uiacceltk\huiflowlayout.h>
+
+#include "testuiaifcoretoolkit.h"
+
+const TInt KWidth = 10;
+const TInt KHeight = 10;
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFlowLayoutAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFlowLayoutAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFlowLayoutAddNewL, "In TestHuiFlowLayoutAddNewL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFlowLayoutAddNewL );
+ // Print to log file
+ iLog->Log( KTestHuiFlowLayoutAddNewL );
+
+ TRAPD( error, iHuiFlowLayout = iHuiFlowLayout->AddNewL( *iHuiControl, CHuiFlowLayout::EFlowHorizontal ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFlowLayoutDelete
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFlowLayoutDelete( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFlowLayoutDelete, "In TestHuiFlowLayoutDelete" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFlowLayoutDelete );
+ // Print to log file
+ iLog->Log( KTestHuiFlowLayoutDelete );
+
+ delete iHuiFlowLayout;
+ iHuiFlowLayout = NULL;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFlowLayoutSetSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFlowLayoutSetSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFlowLayoutSetSize, "In TestHuiFlowLayoutSetSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFlowLayoutSetSize );
+ // Print to log file
+ iLog->Log( KTestHuiFlowLayoutSetSize );
+
+ THuiRealSize size( KWidth, KHeight );
+
+ iHuiFlowLayout->SetSize( size );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFlowLayoutSetFlowDirection
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFlowLayoutSetFlowDirection( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFlowLayoutSetFlowDirection, "In TestHuiFlowLayoutSetFlowDirection" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFlowLayoutSetFlowDirection );
+ // Print to log file
+ iLog->Log( KTestHuiFlowLayoutSetFlowDirection );
+
+ iHuiFlowLayout->SetFlowDirection( CHuiFlowLayout::EFlowHorizontal );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFlowLayoutSetCentering
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFlowLayoutSetCentering( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFlowLayoutSetCentering, "In TestHuiFlowLayoutSetCentering" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFlowLayoutSetCentering );
+ // Print to log file
+ iLog->Log( KTestHuiFlowLayoutSetCentering );
+
+ iHuiFlowLayout->SetCentering( ETrue );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFlowLayoutSetMode
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFlowLayoutSetMode( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFlowLayoutSetMode, "In TestHuiFlowLayoutSetMode" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFlowLayoutSetMode );
+ // Print to log file
+ iLog->Log( KTestHuiFlowLayoutSetMode );
+
+ iHuiFlowLayout->SetMode( CHuiFlowLayout::EModeCenterPerpendicular );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFlowLayoutMode
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFlowLayoutMode( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFlowLayoutMode, "In TestHuiFlowLayoutMode" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFlowLayoutMode );
+ // Print to log file
+ iLog->Log( KTestHuiFlowLayoutMode );
+
+ iHuiFlowLayout->Mode();
+
+ return KErrNone;
+
+ }
+
+// End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuifont.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,194 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huifont.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHFConstructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHFConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTHuiFont, "In TestTHFConstructorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTHuiFont );
+ // Print to log file
+ iLog->Log( KTHuiFont );
+
+ THuiFont* font = new( ELeave ) THuiFont();
+ CleanupStack::PushL( font );
+ STIF_ASSERT_NOT_NULL( font );
+ CleanupStack::PopAndDestroy( font );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHFConstructorWithParaL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHFConstructorWithParaL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTHuiFont, "In TestTHFConstructorWithParaL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTHuiFont );
+ // Print to log file
+ iLog->Log( KTHuiFont );
+
+ TFontSpec spec;
+ THuiFont* font = new( ELeave ) THuiFont( 0, spec );
+ CleanupStack::PushL( font );
+ STIF_ASSERT_NOT_NULL( font );
+ CleanupStack::PopAndDestroy( font );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHFConstructorWithFontL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHFConstructorWithFontL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTHuiFont, "In TestTHFConstructorWithFontL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTHuiFont );
+ // Print to log file
+ iLog->Log( KTHuiFont );
+
+ THuiFont* font = new( ELeave ) THuiFont();
+ CleanupStack::PushL( font );
+ STIF_ASSERT_NOT_NULL( font );
+
+ THuiFont* testFont = new( ELeave ) THuiFont( *font );
+ CleanupStack::PushL( testFont );
+ STIF_ASSERT_NOT_NULL( testFont );
+ CleanupStack::PopAndDestroy( testFont );
+
+ CleanupStack::PopAndDestroy( font );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHFoperatorEqualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHFoperatorEqual( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTHuiFont, "In TestTHFoperatorEqualL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTHuiFont );
+ // Print to log file
+ iLog->Log( KTHuiFont );
+
+ THuiFont font;
+ THuiFont testFont = font;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHFIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHFIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTHuiFont, "In TestTHFIdL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTHuiFont );
+ // Print to log file
+ iLog->Log( KTHuiFont );
+
+ TFontSpec spec;
+ THuiFont* font = new( ELeave ) THuiFont( 0, spec );
+ CleanupStack::PushL( font );
+ STIF_ASSERT_NOT_NULL( font );
+ TInt id = font->Id();
+ STIF_ASSERT_EQUALS( id, 0 );
+ CleanupStack::PopAndDestroy( font );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHFCategoryL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHFCategoryL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTHuiFont, "In TestTHFCategoryL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTHuiFont );
+ // Print to log file
+ iLog->Log( KTHuiFont );
+
+ TFontSpec spec;
+ THuiFont* font = new( ELeave ) THuiFont( 0, spec );
+ CleanupStack::PushL( font );
+ STIF_ASSERT_NOT_NULL( font );
+ font->Category();
+ CleanupStack::PopAndDestroy( font );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHFFontSpecL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHFFontSpecL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTHuiFont, "In TestTHFFontSpecL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTHuiFont );
+ // Print to log file
+ iLog->Log( KTHuiFont );
+
+ TFontSpec spec;
+ THuiFont* font = new( ELeave ) THuiFont( 0, spec );
+ CleanupStack::PushL( font );
+ STIF_ASSERT_NOT_NULL( font );
+ font->FontSpec();
+ CleanupStack::PopAndDestroy( font );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuigridlayout.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,1102 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: for testing the method of the CHuiTextVisual
+*
+*/
+
+#include <uiacceltk\huigridlayout.h>
+#include <alf\alfgridlayout.h>
+#include <uiacceltk\huiskin.h>
+
+#include "testuiaifcoretoolkit.h"
+
+const TInt KRow = 20;
+const TInt KColumn = 20;
+const TInt KWidth = 10;
+const TInt KLength = 20;
+const TInt KChildIndex = 5;
+const TInt KPointX = 10;
+const TInt KPointY = 20;
+const TInt KCount = 10;
+const TInt KPosition = 0;
+const TInt KBufLength = 50;
+const TInt KSessionId = 0x2001CB80;
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutAddNewL, "In TestHuiGridLayoutAddNewL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutAddNewL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutAddNewL );
+
+ TRAPD( error, iHuiGridLayout = iHuiGridLayout->AddNewL( *iHuiControl, KRow, KColumn ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutConstructor, "In TestHuiGridLayoutConstructor" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutConstructor );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutConstructor );
+
+ TRAPD( error, iHuiGridLayout = new( ELeave ) CHuiGridLayout( *iHuiControl ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutConstructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutConstructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutConstructL, "In TestHuiGridLayoutConstructL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutConstructL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutConstructL );
+
+ TRAPD( error, iHuiGridLayout->ConstructL() );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutDelete
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutDelete( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutDelete, "In TestHuiGridLayoutDelete" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutDelete );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutDelete );
+
+ delete iHuiGridLayout;
+ iHuiGridLayout = NULL;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutSetSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutSetSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutSetSize, "In TestHuiGridLayoutSetSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutSetSize );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutSetSize );
+
+ TSize size( KWidth, KLength );
+ THuiRealSize huiRelSize( size );
+
+ iHuiGridLayout->SetSize( huiRelSize );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutChildOrdinal
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutChildOrdinalL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutChildOrdinal, "In TestHuiGridLayoutChildOrdinal" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutChildOrdinal );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutChildOrdinal );
+
+ iHuiVisual = new( ELeave ) CHuiVisual( *iHuiControl );
+
+ iHuiGridLayout->AppendL( iHuiVisual );
+
+ iHuiGridLayout->ChildOrdinal( 0 );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutChildPos
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutChildPos( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutChildPos, "In TestHuiGridLayoutChildPos" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutChildPos );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutChildPos );
+
+ TPoint childpos;
+
+ iHuiGridLayout->ChildPos( KChildIndex, childpos );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutChildSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutChildSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutChildSize, "In TestHuiGridLayoutChildSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutChildSize );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutChildSize );
+
+ TSize size;
+
+ iHuiGridLayout->ChildSize( KChildIndex, size );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutChildRect
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutChildRect( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutChildRect, "In TestHuiGridLayoutChildRect" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutChildRect );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutChildRect );
+
+ THuiRealRect rect;
+
+ iHuiGridLayout->ChildRect( KChildIndex, rect );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutBaseUnit
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutBaseUnit( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutBaseUnit, "In TestHuiGridLayoutBaseUnit" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutBaseUnit );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutBaseUnit );
+
+ iHuiGridLayout->BaseUnit();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutRemoveAndDestroyAllD
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutRemoveAndDestroyAllD( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutRemoveAndDestroyAllD, "In TestHuiGridLayoutRemoveAndDestroyAllD" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutRemoveAndDestroyAllD );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutRemoveAndDestroyAllD );
+
+ iHuiGridLayout->RemoveAndDestroyAllD();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutFindTag
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutFindTagL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutFindTag, "In TestHuiGridLayoutFindTag" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutFindTag );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutFindTag );
+
+ iHuiVisual = new( ELeave ) CHuiVisual( *iHuiControl );
+
+ iHuiGridLayout->AppendL( iHuiVisual );
+
+ iHuiVisual->SetTagL( _L8( "huidisplaystring" ) );
+
+ CHuiVisual* visual = iHuiGridLayout->FindTag( _L8("huidisplaystring") );
+
+ STIF_ASSERT_NOT_NULL( visual );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutCount
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutCount( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutCount, "In TestHuiGridLayoutCount" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutCount );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutCount );
+
+ iHuiGridLayout->Count();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutVisual
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutVisual, "In TestHuiGridLayoutVisual" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutVisual );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutVisual );
+
+ iHuiVisual = new( ELeave ) CHuiVisual( *iHuiControl );
+
+ iHuiGridLayout->AppendL( iHuiVisual );
+
+ CHuiVisual* visual = &( iHuiGridLayout->Visual( 0 ) );
+
+ STIF_ASSERT_NOT_NULL( visual );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutSetPos
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutSetPos( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutSetPos, "In TestHuiGridLayoutSetPos" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutSetPos );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutSetPos );
+
+ THuiRealPoint point( KPointX, KPointY );
+
+ iHuiGridLayout->SetPos( point );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutUpdateChildrenLayout
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutUpdateChildrenLayout( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutUpdateChildrenLayout, "In TestHuiGridLayoutUpdateChildrenLayout" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutUpdateChildrenLayout );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutUpdateChildrenLayout );
+
+ iHuiGridLayout->UpdateChildrenLayout();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutPrepareDrawL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutPrepareDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutPrepareDrawL, "In TestHuiGridLayoutPrepareDrawL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutPrepareDrawL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutPrepareDrawL );
+
+ iHuiGridLayout->PrepareDrawL();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutDraw
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutDraw, "In TestHuiGridLayoutDraw" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutDraw );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutDraw );
+
+ const TRect rect( 0, 0, 100, 100 );
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+
+ CleanupStack::PushL( ctrl );
+
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+
+ CHuiGc& gc = iHuiEnv->Skin().Context();
+
+ iHuiGridLayout->Draw( gc );
+
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutDrawSelf
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutDrawSelfL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutDrawSelf, "In TestHuiGridLayoutDrawSelf" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutDrawSelf );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutDrawSelf );
+
+ const TRect KDisplayRect( 0,0,100,100 );
+
+ const TRect rect( 0, 0, 100, 100 );
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+
+ CleanupStack::PushL( ctrl );
+
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+
+ CHuiGc& gc = iHuiEnv->Skin().Context();
+
+ iHuiGridLayout->DrawSelf( gc, KDisplayRect );
+
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutChanged
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutChanged( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutChanged, "In TestHuiGridLayoutChanged" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutChanged );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutChanged );
+
+ iHuiGridLayout->Changed();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutReportChanged
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutReportChanged( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutReportChanged, "In TestHuiGridLayoutReportChanged" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutReportChanged );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutReportChanged );
+
+ iHuiGridLayout->ReportChanged();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutClearChanged
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutClearChanged( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutClearChanged, "In TestHuiGridLayoutClearChanged" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutClearChanged );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutClearChanged );
+
+ iHuiGridLayout->ClearChanged();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutNotifySkinChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutNotifySkinChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutNotifySkinChangedL, "In TestHuiGridLayoutNotifySkinChangedL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutNotifySkinChangedL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutNotifySkinChangedL );
+
+ iHuiGridLayout->NotifySkinChangedL();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutExpandRectWithContent
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutExpandRectWithContent( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutExpandRectWithContent, "In TestHuiGridLayoutExpandRectWithContent" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutExpandRectWithContent );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutExpandRectWithContent );
+
+ TRect rect( TPoint( 0, 0 ), TPoint( KWidth, KLength ) );
+
+ iHuiGridLayout->ExpandRectWithContent( rect );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutVisualExtension
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutVisualExtension( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutVisualExtension, "In TestHuiGridLayoutVisualExtension" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutVisualExtension );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutVisualExtension );
+
+ TUid uid = TUid::Null();
+
+ TAny** any = NULL;
+
+ iHuiGridLayout->VisualExtension( uid, any );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutSetColumnsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutSetColumnsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutSetColumnsL, "In TestHuiGridLayoutSetColumnsL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutSetColumnsL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutSetColumnsL );
+
+ iHuiGridLayout->SetColumnsL( KColumn );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutSetRowsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutSetRowsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutSetRowsL, "In TestHuiGridLayoutSetRowsL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutSetRowsL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutSetRowsL );
+
+ iHuiGridLayout->SetRowsL( KRow );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutSetColumnsLWithArray
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutSetColumnsLWithArray( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutSetColumnsLWithArray, "In TestHuiGridLayoutSetColumnsLWithArray" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutSetColumnsLWithArray );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutSetColumnsLWithArray );
+
+ RArray<TInt> weight;
+ weight.Append( KWidth );
+ weight.Append( KLength );
+
+ TRAPD( error, iHuiGridLayout->SetColumnsL( weight ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutSetRowsLWithArray
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutSetRowsLWithArray( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutSetRowsLWithArray, "In TestHuiGridLayoutSetRowsLWithArray" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutSetRowsLWithArray );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutSetRowsLWithArray );
+
+ RArray<TInt> weight;
+ weight.Append( KWidth );
+ weight.Append( KLength );
+
+ TRAPD( error, iHuiGridLayout->SetRowsL( weight ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutFillWeightsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutFillWeightsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutFillWeightsL, "In TestHuiGridLayoutFillWeightsL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutFillWeightsL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutFillWeightsL );
+
+ THuiMetric x( KLength );
+
+ iHuiGridLayout->FillWeightsL( EHuiGridColumn, KCount, x );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutAppendWeightL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutAppendWeightL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutAppendWeightL, "In TestHuiGridLayoutAppendWeightL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutAppendWeightL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutAppendWeightL );
+
+ THuiMetric x( KLength );
+
+ iHuiGridLayout->AppendWeightL( EHuiGridColumn, x );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutInsertWeightL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutInsertWeightL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutInsertWeightL, "In TestHuiGridLayoutInsertWeightL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutInsertWeightL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutInsertWeightL );
+
+ THuiMetric x( KLength );
+
+ iHuiGridLayout->InsertWeightL( EHuiGridColumn, x, KPosition );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutReplaceWeightL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutReplaceWeightL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutReplaceWeightL, "In TestHuiGridLayoutReplaceWeightL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutReplaceWeightL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutReplaceWeightL );
+
+ THuiMetric x( KWidth );
+
+ iHuiGridLayout->ReplaceWeightL( EHuiGridColumn, x, KPosition );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutRemoveWeightL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutRemoveWeightL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutRemoveWeightL, "In TestHuiGridLayoutRemoveWeightL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutRemoveWeightL );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutRemoveWeightL );
+
+ iHuiGridLayout->RemoveWeightL( EHuiGridColumn, KPosition );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutWeight
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutWeight( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutWeight, "In TestHuiGridLayoutWeight" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutWeight );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutWeight );
+
+ iHuiGridLayout->Weight( EHuiGridColumn, KPosition );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutDimensionCount
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutDimensionCount( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutDimensionCount, "In TestHuiGridLayoutDimensionCount" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutDimensionCount );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutDimensionCount );
+
+ iHuiGridLayout->DimensionCount( EHuiGridColumn );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutSetExpanding
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutSetExpanding( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutSetExpanding, "In TestHuiGridLayoutSetExpanding" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutSetExpanding );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutSetExpanding );
+
+ iHuiGridLayout->SetExpanding( CHuiLayout::EExpandHorizontally );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutRowCount
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutRowCount( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutRowCount, "In TestHuiGridLayoutRowCount" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutRowCount );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutRowCount );
+
+ iHuiGridLayout->RowCount();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutColumnCount
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutColumnCount( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutColumnCount, "In TestHuiGridLayoutColumnCount" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutColumnCount );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutColumnCount );
+
+ iHuiGridLayout->ColumnCount();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutOrdinalToBlock
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutOrdinalToBlock( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutOrdinalToBlock, "In TestHuiGridLayoutOrdinalToBlock" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutOrdinalToBlock );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutOrdinalToBlock );
+
+ iHuiGridLayout->OrdinalToBlock( KChildIndex );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutSetLayoutModeFlags
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutSetLayoutModeFlags( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutSetLayoutModeFlags, "In TestHuiGridLayoutSetLayoutModeFlags" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutSetLayoutModeFlags );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutSetLayoutModeFlags );
+
+ iHuiGridLayout->SetLayoutModeFlags( EHuiGridColumn, EAlfGridIncreaseInnerPadding );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutClearLayoutModeFlags
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutClearLayoutModeFlags( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutClearLayoutModeFlags, "In TestHuiGridLayoutClearLayoutModeFlags" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutClearLayoutModeFlags );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutClearLayoutModeFlags );
+
+ iHuiGridLayout->ClearLayoutModeFlags( EHuiGridColumn, EAlfGridIncreaseInnerPadding );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutLayoutModeFlags
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutLayoutModeFlags( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutLayoutModeFlags, "In TestHuiGridLayoutLayoutModeFlags" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutLayoutModeFlags );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutLayoutModeFlags );
+
+ iHuiGridLayout->LayoutModeFlags( EHuiGridColumn );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutGetClassName
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutGetClassName( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutGetClassName, "In TestHuiGridLayoutGetClassName" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutGetClassName );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutGetClassName );
+
+ TBuf<KBufLength> className;
+
+ iHuiGridLayout->GetClassName( className );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutDumpTree
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutDumpTree( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutDumpTree, "In TestHuiGridLayoutDumpTree" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutDumpTree );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutDumpTree );
+
+ iHuiGridLayout->DumpTree();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutGetInstanceName
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutGetInstanceNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutGetInstanceName, "In TestHuiGridLayoutGetInstanceName" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutGetInstanceName );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutGetInstanceName );
+
+ iHuiVisual = new( ELeave ) CHuiVisual( *iHuiControl );
+
+ iHuiGridLayout->AppendL( iHuiVisual );
+
+ _LIT( KInstanceName, "instancename" );
+
+ TBuf<KBufLength> instanceName( KInstanceName );
+
+ iHuiGridLayout->GetInstanceName( instanceName );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutType
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutType( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutType, "In TestHuiGridLayoutType" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutType );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutType );
+
+ iHuiGridLayout->Type();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutSessionId
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutSessionId( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutSessionId, "In TestHuiGridLayoutSessionId" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutSessionId );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutSessionId );
+
+ iHuiGridLayout->SessionId();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGridLayoutSetSessionId
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGridLayoutSetSessionId( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGridLayoutSetSessionId, "In TestHuiGridLayoutSetSessionId" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGridLayoutSetSessionId );
+ // Print to log file
+ iLog->Log( KTestHuiGridLayoutSetSessionId );
+
+ iHuiGridLayout->SetSessionId( KSessionId );
+
+ return KErrNone;
+
+ }
+
+// End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiimage.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,400 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <fbs.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huiimage.h>
+#include <uiacceltk/huitexturehandle.h>
+
+#include "testuiaifcoretoolkit.h"
+#include "testuiaifblockstexturechild.h"
+#include "testuiaifblocksmanagerchild.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHIConstructor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIConstructorWithParaL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIConstructorWithParaL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHIConstructorWithParaL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ CHuiTexture* texture = CHuiTexture::NewL();
+ CleanupStack::PushL( texture );
+ THuiImage image( *texture );
+ CleanupStack::PopAndDestroy( texture );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHISegmentCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHISegmentCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHISegmentCountL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ TInt count = image.SegmentCount();
+ STIF_ASSERT_EQUALS( count, 0 );
+
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle();
+ CHuiTexture* texture = CHuiTexture::NewL( handle );
+ CleanupStack::PushL( texture );
+ THuiImage image1( *texture );
+ count = image1.SegmentCount();
+ STIF_ASSERT_EQUALS( count, 0 );
+ CleanupStack::PopAndDestroy( texture );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIGetVertexCoordsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIGetVertexCoordsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHIGetVertexCoordsL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ TInt16* coords = new( ELeave ) TInt16;
+ image.GetVertexCoords( coords );
+
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle();
+ CHuiTexture* texture = CHuiTexture::NewL( handle );
+ CleanupStack::PushL( texture );
+ THuiImage image1( *texture );
+ image1.GetVertexCoords( coords );
+ CleanupStack::PopAndDestroy( texture );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIGetTexCoordsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIGetTexCoordsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHIGetTexCoordsL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ TReal32* coords = new( ELeave ) TReal32;
+ image.GetTexCoords( coords );
+
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle();
+ CHuiTexture* texture = CHuiTexture::NewL( handle );
+ CleanupStack::PushL( texture );
+ THuiImage image1( *texture );
+ image1.GetTexCoords( coords );
+ CleanupStack::PopAndDestroy( texture );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHISetTexCoords
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHISetTexCoordsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHISetTexCoords" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ TReal32* coords = new( ELeave ) TReal32;
+ image.SetTexCoords();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHITopLeft
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHITopLeftL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHITopLeft" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ TReal32* coords = new( ELeave ) TReal32;
+ image.TopLeft();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIBottomRight
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIBottomRightL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHIBottomRight" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ TReal32* coords = new( ELeave ) TReal32;
+ image.BottomRight();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIHasTexture
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIHasTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHIHasTexture" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ TReal32* coords = new( ELeave ) TReal32;
+ TBool has = image.HasTexture();
+ STIF_ASSERT_FALSE( has );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHISetTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHISetTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHISetTextureL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ CleanupStack::PushL( textureChild );
+ image.SetTexture( *textureChild );
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHITextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHITextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHITextureL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ CleanupStack::PushL( textureChild );
+ image.SetTexture( *textureChild );
+ image.Texture();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHITextureIfL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHITextureIfL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHITextureIfL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ CleanupStack::PushL( textureChild );
+ image.SetTexture( *textureChild );
+ image.TextureIf();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIHasShadow
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIHasShadow( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHIHasShadow" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ image.HasShadow();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIShadowTexture
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIShadowTexture( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHIShadowTexture" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ image.ShadowTexture();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHITranslate
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHITranslate( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHITranslate" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ image.Translate( 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHIScale
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHIScale( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiImage, "In TestTHIScale" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiImage );
+ // Print to log file
+ iLog->Log( KHuiImage );
+
+ THuiImage image;
+ image.Scale( 1, 1 );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiimagebrush.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,274 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huiimagebrush.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHIBNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHIBNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestCHIBNewL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ CHuiImageBrush* brush = CHuiImageBrush::NewL( *image );
+ CleanupStack::PushL( brush );
+ STIF_ASSERT_NOT_NULL( brush );
+ CleanupStack::PopAndDestroy( brush );
+ CleanupStack::PopAndDestroy( image );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHIBNewLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHIBNewLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestCHIBNewLCL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ CHuiImageBrush* brush = CHuiImageBrush::NewLC( *image );
+ CleanupStack::Pop();
+ STIF_ASSERT_NOT_NULL( brush );
+ CleanupStack::PopAndDestroy( image );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHIBSetScaleModeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHIBSetScaleModeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestCHIBSetScaleModeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ CHuiImageBrush* brush = CHuiImageBrush::NewL( *image );
+ CleanupStack::PushL( brush );
+ STIF_ASSERT_NOT_NULL( brush );
+ brush->SetScaleMode( CHuiImageVisual::EScaleNormal );
+ CleanupStack::PopAndDestroy( brush );
+ CleanupStack::PopAndDestroy( image );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHIBSetImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHIBSetImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestCHIBSetImageL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ CHuiImageBrush* brush = CHuiImageBrush::NewL( *image );
+ CleanupStack::PushL( brush );
+ STIF_ASSERT_NOT_NULL( brush );
+ brush->SetImage( *image );
+ CleanupStack::PopAndDestroy( brush );
+ CleanupStack::PopAndDestroy( image );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHIBSetBordersL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHIBSetBordersL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestCHIBSetBordersL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ CHuiImageBrush* brush = CHuiImageBrush::NewL( *image );
+ CleanupStack::PushL( brush );
+ STIF_ASSERT_NOT_NULL( brush );
+ STIF_ASSERT_TRUE( !brush->BorderDrawingEnabled() );
+ brush->SetBorders( 1, 1, 1, 1 );
+ STIF_ASSERT_TRUE( brush->BorderDrawingEnabled() );
+ CleanupStack::PopAndDestroy( brush );
+ CleanupStack::PopAndDestroy( image );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHIBBorderDrawingEnabledL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHIBBorderDrawingEnabledL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestCHIBBorderDrawingEnabledL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ CHuiImageBrush* brush = CHuiImageBrush::NewL( *image );
+ CleanupStack::PushL( brush );
+ STIF_ASSERT_NOT_NULL( brush );
+ STIF_ASSERT_FALSE( brush->BorderDrawingEnabled() );
+ CleanupStack::PopAndDestroy( brush );
+ CleanupStack::PopAndDestroy( image );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHIBCenterDrawingEnabledL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHIBCenterDrawingEnabledL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestCHIBCenterDrawingEnabledL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ CHuiImageBrush* brush = CHuiImageBrush::NewL( *image );
+ CleanupStack::PushL( brush );
+ STIF_ASSERT_NOT_NULL( brush );
+ brush->CenterDrawingEnabled();
+ CleanupStack::PopAndDestroy( brush );
+ CleanupStack::PopAndDestroy( image );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHIBExpandVisualRectL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHIBExpandVisualRectL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestCHIBExpandVisualRectL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ CHuiImageBrush* brush = CHuiImageBrush::NewL( *image );
+ CleanupStack::PushL( brush );
+ STIF_ASSERT_NOT_NULL( brush );
+
+ TRect rect(10, 10, 30, 20);
+ brush->SetBorders(5, 5, 5, 5);
+ brush->ExpandVisualRect(rect);
+
+ STIF_ASSERT_TRUE(rect.iTl.iX == 5);
+ STIF_ASSERT_TRUE(rect.iTl.iY == 5);
+
+ STIF_ASSERT_TRUE(rect.iBr.iX == 35);
+ STIF_ASSERT_TRUE(rect.iBr.iY == 25);
+
+ CleanupStack::PopAndDestroy( brush );
+ CleanupStack::PopAndDestroy( image );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHIBDrawL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHIBDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestCHIBDrawL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ CHuiImageBrush* brush = CHuiImageBrush::NewL( *image );
+ CleanupStack::PushL( brush );
+ STIF_ASSERT_NOT_NULL( brush );
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc* gc = &iHuiEnv->Skin().Context();
+ brush->Draw( *gc, *visual );
+ CleanupStack::PopAndDestroy( brush );
+ CleanupStack::PopAndDestroy( image );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiimageloaderutil.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,186 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: for testing the method of the CHuiTextVisual
+*
+*/
+
+#include <uiacceltk\huiimageloaderutil.h>
+
+#include "testuiaifcoretoolkit.h"
+
+const TInt KWidth = 10;
+const TInt KHeight = 10;
+const TInt KMajor = 5;
+const TInt KMinor = 0;
+
+enum TTestEnum
+ {
+ EBitmapId,
+ EBitmapMaskId
+ };
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageLoaderUtilConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageLoaderUtilConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageLoaderUtilConstructor, "In TestHuiImageLoaderUtilConstructor" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageLoaderUtilConstructor );
+ // Print to log file
+ iLog->Log( KTestHuiImageLoaderUtilConstructor );
+
+ iHuiImageLoaderUtil = new( ELeave ) CHuiImageLoaderUtil();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageLoaderUtilDelete
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageLoaderUtilDelete( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageLoaderUtilDelete, "In TestHuiImageLoaderUtilDelete" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageLoaderUtilDelete );
+ // Print to log file
+ iLog->Log( KTestHuiImageLoaderUtilDelete );
+
+ delete iHuiImageLoaderUtil;
+ iHuiImageLoaderUtil = NULL;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageLoaderUtilCreateImageLoaderL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageLoaderUtilCreateImageLoaderL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageLoaderUtilCreateImageLoaderL, "In TestHuiImageLoaderUtilCreateImageLoaderL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageLoaderUtilCreateImageLoaderL );
+ // Print to log file
+ iLog->Log( KTestHuiImageLoaderUtilCreateImageLoaderL );
+
+ TAknsItemID id;
+ id.Set( KMajor, KMinor );
+
+ iHuiImageLoaderUtil->CreateImageLoaderL( id, _L("test.bmp"), EBitmapId, EBitmapMaskId );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageLoaderUtilCreateImageLoaderLWithAppUid
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageLoaderUtilCreateImageLoaderLWithAppUidL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageLoaderUtilCreateImageLoaderLWithAppUid, "In TestHuiImageLoaderUtilCreateImageLoaderLWithAppUid" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageLoaderUtilCreateImageLoaderLWithAppUid );
+ // Print to log file
+ iLog->Log( KTestHuiImageLoaderUtilCreateImageLoaderLWithAppUid );
+
+ TUid uid = { KTestScreenBufferUidValue };
+
+ iHuiImageLoaderUtil->CreateImageLoaderL( uid, EAknsAppIconTypeList );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageLoaderUtilSetSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageLoaderUtilSetSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageLoaderUtilSetSize, "In TestHuiImageLoaderUtilSetSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageLoaderUtilSetSize );
+ // Print to log file
+ iLog->Log( KTestHuiImageLoaderUtilSetSize );
+
+ TSize size( KWidth, KHeight );
+
+ iHuiImageLoaderUtil->SetSize( size );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageLoaderUtilSetSkinInstance
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageLoaderUtilSetSkinInstance( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageLoaderUtilSetSkinInstance, "In TestHuiImageLoaderUtilSetSkinInstance" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageLoaderUtilSetSkinInstance );
+ // Print to log file
+ iLog->Log( KTestHuiImageLoaderUtilSetSkinInstance );
+
+ MAknsSkinInstance* skinInstance = NULL;
+
+ iHuiImageLoaderUtil->SetSkinInstance( skinInstance );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageLoaderUtilImageLoaderExtension
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageLoaderUtilImageLoaderExtension( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageLoaderUtilImageLoaderExtension, "In TestHuiImageLoaderUtilImageLoaderExtension" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageLoaderUtilImageLoaderExtension );
+ // Print to log file
+ iLog->Log( KTestHuiImageLoaderUtilImageLoaderExtension );
+
+ TUid uid;
+ uid.Null();
+
+ iHuiImageLoaderUtil->ImageLoaderExtension( uid, NULL );
+
+ return KErrNone;
+
+ }
+
+// End of files
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiimagevisual.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,298 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: for testing the method of the CHuiTextVisual
+*
+*/
+
+#include <uiacceltk\huiimagevisual.h>
+
+#include "testuiaifcoretoolkit.h"
+
+const TInt KTop = 10;
+const TInt KBottom = 20;
+const TInt KShadowDistance = 10;
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualAddNewL, "In TestHuiImageVisualAddNewL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualAddNewL );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualAddNewL );
+
+ TRAPD( error, iHuiImageVisual = iHuiImageVisual->AddNewL( *iHuiControl ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSetScaleMode
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSetScaleMode( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSetScaleMode, "In TestHuiImageVisualSetScaleMode" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSetScaleMode );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSetScaleMode );
+
+ iHuiImageVisual->SetScaleMode( CHuiImageVisual::EScaleNormal );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSetImage
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSetImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSetImage, "In TestHuiImageVisualSetImage" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSetImage );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSetImage );
+
+ CHuiTexture* huiTexture = CHuiTexture::NewL();
+ THuiImage huiImage( *huiTexture );
+
+ iHuiImageVisual->SetImage( huiImage );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSetSecondaryImage
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSetSecondaryImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSetSecondaryImage, "In TestHuiImageVisualSetSecondaryImage" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSetSecondaryImage );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSetSecondaryImage );
+
+ CHuiTexture* huiTexture = CHuiTexture::NewL();
+ THuiImage secHuiImage( *huiTexture );
+
+ iHuiImageVisual->SetSecondaryImage( secHuiImage );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualImage
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualImage( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualImage, "In TestHuiImageVisualImage" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualImage );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualImage );
+
+ iHuiImageVisual->Image();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSecondaryImage
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSecondaryImage( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSecondaryImage, "In TestHuiImageVisualSecondaryImage" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSecondaryImage );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSecondaryImage );
+
+ iHuiImageVisual->SecondaryImage();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSetColor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSetColor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSetColor, "In TestHuiImageVisualSetColor" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSetColor );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSetColor );
+
+ TRgb color( 0, 0, 0 );
+
+ iHuiImageVisual->SetColor( color );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSetColorMode
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSetColorMode( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSetColorMode, "In TestHuiImageVisualSetColorMode" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSetColorMode );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSetColorMode );
+
+ iHuiImageVisual->SetColorMode( CHuiImageVisual::EColorModulate );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSetStretch
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSetStretch( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSetStretch, "In TestHuiImageVisualSetStretch" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSetStretch );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSetStretch );
+
+ iHuiImageVisual->SetStretch( KTop, KBottom );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSetStretchMode
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSetStretchMode( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSetStretchMode, "In TestHuiImageVisualSetStretchMode" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSetStretchMode );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSetStretchMode );
+
+ iHuiImageVisual->SetStretchMode( CHuiGc::EStretchFull );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSetDropShadow
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSetDropShadow( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSetDropShadow, "In TestHuiImageVisualSetDropShadow" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSetDropShadow );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSetDropShadow );
+
+ iHuiImageVisual->SetDropShadow( KShadowDistance );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSetDropShadowWithHuiMetric
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSetDropShadowWithHuiMetric( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSetDropShadowWithHuiMetric, "In TestHuiImageVisualSetDropShadowWithHuiMetric" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSetDropShadowWithHuiMetric );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSetDropShadowWithHuiMetric );
+
+ THuiMetric huiMetric( KShadowDistance );
+
+ iHuiImageVisual->SetDropShadow( huiMetric );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiImageVisualSetDropShadowWithHuiXYMetric
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiImageVisualSetDropShadowWithHuiXYMetric( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiImageVisualSetDropShadowWithHuiXYMetric, "In TestHuiImageVisualSetDropShadowWithHuiXYMetric" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiImageVisualSetDropShadowWithHuiXYMetric );
+ // Print to log file
+ iLog->Log( KTestHuiImageVisualSetDropShadowWithHuiXYMetric );
+
+ THuiMetric huiMetric( KShadowDistance );
+ THuiXYMetric huiXYMetric( huiMetric );
+
+ iHuiImageVisual->SetDropShadow( huiXYMetric );
+
+ return KErrNone;
+
+ }
+//End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuilayout.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,1581 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huilayout.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huigc.h>
+#include <uiacceltk/huiskin.h>
+#include <uiacceltk/huistatic.h>
+
+#include "testuiaifcoretoolkit.h"
+
+_LIT( KName, "instance" );
+
+class CHuiLayoutExt : public CHuiLayout
+ {
+friend class CTestUiAifCoreToolkit;
+
+public:
+ CHuiLayoutExt( MHuiVisualOwner& aOwner ) : CHuiLayout( aOwner )
+ {
+ }
+
+ };
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutAddNewL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutConstructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutConstructorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = new( ELeave ) CHuiLayout( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutDestructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutDestructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutDestructorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = new( ELeave ) CHuiLayout( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutConstructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutConstructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutConstructL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = new( ELeave ) CHuiLayout( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->ConstructL();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutRemoveAndDestroyAllDL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutRemoveAndDestroyAllDL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutRemoveAndDestroyAllDL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->RemoveAndDestroyAllD();
+ layout = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutFindTagL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutFindTagL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutFindTagL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ CHuiVisual* visual = layout->FindTag( _L8( "CannotFindVisual" ) );
+ STIF_ASSERT_NULL( visual );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutAppendL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutAppendL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutAppendL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutInsertL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutInsertL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutInsertL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->InsertL( visual, 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutRemoveL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutRemoveL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutRemoveL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->Remove( visual );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutCountL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ TInt num = layout->Count();
+ STIF_ASSERT_EQUALS( num, 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutRemoveL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->Visual( 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutFindVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutFindVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutFindVisualL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ TInt num = layout->FindVisual( visual );
+ STIF_ASSERT_NOT_EQUALS( num, KErrNotFound );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutSetPosL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutSetPosL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutSetPosL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ THuiRealPoint pos( 0, 0 );
+ layout->SetPos( pos );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutSetSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutSetSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutSetSizeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ THuiRealSize size( 0, 0 );
+ layout->SetSize( size );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutUpdateChildrenLayoutL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutUpdateChildrenLayoutL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutUpdateChildrenLayoutL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ layout->UpdateChildrenLayout();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutUpdateChildLayoutL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutUpdateChildLayoutL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutUpdateChildLayoutL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->UpdateChildLayout( 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutSetInnerPaddingL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutSetInnerPaddingL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutSetInnerPaddingL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ const TPoint KInnerPadding1(8, 3);
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->SetInnerPadding( KInnerPadding1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutSetInnerPaddingWithMetricL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutSetInnerPaddingWithMetricL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutSetInnerPaddingWithMetricL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ THuiXYMetric metric( 1, 1 );
+ layout->SetInnerPadding( metric );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutInnerPaddingL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutInnerPaddingL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutInnerPaddingL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ THuiXYMetric metric( 1, 1 );
+ layout->SetInnerPadding( metric );
+ THuiXYMetric getMetric = layout->InnerPadding();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutHorizontalInnerPaddingL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutHorizontalInnerPaddingL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutHorizontalInnerPaddingL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ THuiXYMetric metric( 1, 1 );
+ layout->SetInnerPadding( metric );
+ TInt horizontal = layout->HorizontalInnerPadding();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutVerticalInnerPaddingL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutVerticalInnerPaddingL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutVerticalInnerPaddingL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ TInt vertical = layout->VerticalInnerPadding();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutInnerPaddingInBaseUnitsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutInnerPaddingInBaseUnitsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutInnerPaddingInBaseUnitsL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->InnerPaddingInBaseUnits();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutEnableScrollingL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutEnableScrollingL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutEnableScrollingL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->EnableScrollingL();
+ layout->EnableScrollingL( EFalse );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutScrollingL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutScrollingL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutScrollingL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->EnableScrollingL();
+ TBool isEnable = layout->Scrolling();
+ STIF_ASSERT_TRUE( isEnable );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutScrollOffsetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutScrollOffsetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutScrollOffsetL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->EnableScrollingL();
+ THuiTimedPoint point = layout->ScrollOffset();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutScrollOffsetWithconstL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutScrollOffsetWithconstL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutScrollOffsetWithconstL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->EnableScrollingL();
+ const THuiTimedPoint point = const_cast< const CHuiLayout* > ( layout )->ScrollOffset();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutSetScrollOffsetInBaseUnitsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutSetScrollOffsetInBaseUnitsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutSetScrollOffsetInBaseUnitsL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ TPoint pos;
+ TSize size;
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ CHuiVisual* child = CHuiVisual::AddNewL(*iHuiControl, layout);
+
+ const TSize KChildSize( 50, 89 );
+ const THuiRealPoint KChildPosition( 5.0, 12.0 );
+ const TReal32 KPositiveHorizontalScroll = 13.6;
+ const TReal32 KNegativeHorizontalScroll = -9.4;
+ const TReal32 KPositiveVerticalScroll = 5.5;
+ const TReal32 KNegativeVerticalScroll = -2.3;
+
+ // Position child manually
+ child->SetFlag( EHuiVisualFlagManualLayout );
+ child->SetPos( KChildPosition );
+ child->SetSize( KChildSize );
+
+ // Enable scrolling
+ // Note: Since scrolling is applied directly to child visual display rectangles
+ // we don't have to call UpdateLayoutChildren to apply changes. For the same
+ // reason we have to retrieve the modified coordinates using LocalToDisplay() method
+ // of individual child visuals.
+ layout->EnableScrollingL( ETrue );
+
+ // Positive horizontal scroll offset
+ layout->SetScrollOffsetInBaseUnits( THuiRealPoint( KPositiveHorizontalScroll, 0 ) );
+ pos = child->LocalToDisplay( child->Pos().Target() );
+ size = child->Size().Target().AsSize();
+ STIF_ASSERT_EQUALS( ( TInt )( KChildPosition.iX - KPositiveHorizontalScroll ), pos.iX );
+ STIF_ASSERT_TRUE( KChildPosition.iY == pos.iY );
+ STIF_ASSERT_TRUE( size.iWidth == KChildSize.iWidth );
+ STIF_ASSERT_TRUE( size.iHeight == KChildSize.iHeight );
+
+ // Negative horizontal scroll offset
+ layout->SetScrollOffsetInBaseUnits( THuiRealPoint( KNegativeHorizontalScroll, 0 ) );
+ pos = child->LocalToDisplay( child->Pos().Target() );
+ size = child->Size().Target().AsSize();
+ STIF_ASSERT_EQUALS( ( TInt )( KChildPosition.iX - KNegativeHorizontalScroll ), pos.iX );
+ STIF_ASSERT_TRUE( KChildPosition.iY == pos.iY );
+ STIF_ASSERT_TRUE( size.iWidth == KChildSize.iWidth );
+ STIF_ASSERT_TRUE( size.iHeight == KChildSize.iHeight );
+
+ // Positive vertical scroll offset
+ layout->SetScrollOffsetInBaseUnits( THuiRealPoint( 0, KPositiveVerticalScroll ) );
+ pos = child->LocalToDisplay( child->Pos().Target() );
+ size = child->Size().Target().AsSize();
+ STIF_ASSERT_TRUE( KChildPosition.iX == pos.iX );
+ STIF_ASSERT_EQUALS( (TInt)(KChildPosition.iY - KPositiveVerticalScroll ), pos.iY );
+ STIF_ASSERT_TRUE( size.iWidth == KChildSize.iWidth );
+ STIF_ASSERT_TRUE( size.iHeight == KChildSize.iHeight );
+
+ // Negative vertical scroll offset
+ layout->SetScrollOffsetInBaseUnits( THuiRealPoint( 0, KNegativeVerticalScroll ) );
+ pos = child->LocalToDisplay( child->Pos().Target() );
+ size = child->Size().Target().AsSize();
+ STIF_ASSERT_TRUE( KChildPosition.iX == pos.iX );
+ STIF_ASSERT_EQUALS( (TInt )( KChildPosition.iY - KNegativeVerticalScroll ), pos.iY );
+ STIF_ASSERT_TRUE( size.iWidth == KChildSize.iWidth );
+ STIF_ASSERT_TRUE( size.iHeight == KChildSize.iHeight );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutVirtualSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutVirtualSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutVirtualSizeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->EnableScrollingL();
+ layout->VirtualSize();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutEffectiveLayoutOrdinalL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutEffectiveLayoutOrdinalL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutEffectiveLayoutOrdinalL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->EffectiveLayoutOrdinal( *visual );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutReorderL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutReorderL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutReorderL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->Reorder( *visual, 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutMoveVisualToFrontL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutMoveVisualToFrontL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutMoveVisualToFrontL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->MoveVisualToFront( *visual );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutMoveVisualToBackL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutMoveVisualToBackL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutMoveVisualToBackL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->MoveVisualToBack( *visual );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutNotifySkinChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutNotifySkinChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutNotifySkinChangedL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->NotifySkinChangedL();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutSetTransitionTimeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutSetTransitionTimeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutSetTransitionTimeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->SetTransitionTime( 10 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutTransitionTimeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutTransitionTimeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutTransitionTimeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->SetTransitionTime( 10 );
+ TInt time = layout->TransitionTime();
+ STIF_ASSERT_EQUALS( time, 10 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutChildOrdinalL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutChildOrdinalL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutChildOrdinalL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ TInt index = layout->ChildOrdinal( 0 );
+ STIF_ASSERT_EQUALS( index, 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutPrepareDrawL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutPrepareDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutPrepareDrawL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->PrepareDrawL();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutDrawL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutDrawL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc* gc = &iHuiEnv->Skin().Context();
+ layout->Draw( *gc );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutReportChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutReportChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutReportChangedL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->ReportChanged();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutClearChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutClearChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutClearChangedL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->ClearChanged();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutChangedL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->Changed();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutDumpTreeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutDumpTreeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutDumpTreeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->DumpTree();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutSetBaseUnitL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutSetBaseUnitL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutSetBaseUnitL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ THuiMetric metric( 1 );
+ layout->SetBaseUnit( metric );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutSetBaseUnitXYL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutSetBaseUnitXYL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutSetBaseUnitXYL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ THuiXYMetric metric( 1, 1 );
+ layout->SetBaseUnit( metric );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutBaseUnitL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutBaseUnitL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutBaseUnitL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ THuiXYMetric metric( 1, 1 );
+ layout->SetBaseUnit( metric );
+ layout->BaseUnit();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutInnerSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutInnerSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutInnerSizeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->InnerSize();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutInnerTopLeftL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutInnerTopLeftL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutInnerTopLeftL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->InnerTopLeft();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutChildSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutChildSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutChildSizeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ TSize size( 1, 1 );
+ layout->ChildSize( 0, size );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutChildPosL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutChildPosL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutChildPosL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ TPoint point( 1, 1 );
+ layout->ChildPos( 0, point );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutChildRectL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutChildRectL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutChildRectL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ layout->ChildRect( 0, realRect );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutBrushOpacityL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutBrushOpacityL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutBrushOpacityL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->BrushOpacity();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutBrushRectL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutBrushRectL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutBrushRectL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->BrushRect();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutBrushSkinL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutBrushSkinL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutBrushSkinL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->BrushSkin();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutGetInstanceNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutGetInstanceNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutGetInstanceNameL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ TBuf<20> txt( KName );
+ layout->GetInstanceName( txt );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutGetClassNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutGetClassNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutGetClassNameL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ TBuf<20> txt( KName );
+ layout->GetClassName( txt );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutTypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutTypeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ CHuiLayout::TType type= layout->Type();
+ STIF_ASSERT_EQUALS( type, CHuiLayout::ETypeVisual );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutSessionIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutSessionIdL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->SessionId();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutSetSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutSetSessionIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutSetSessionIdL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiControl );
+ layout->AppendL( visual );
+ layout->SetSessionId( 1 );
+ TInt id = layout->SessionId();
+ STIF_ASSERT_EQUALS( id, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutDrawSelfL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutDrawSelfL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutDrawSelfL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayoutExt* layout = new( ELeave ) CHuiLayoutExt( *iHuiControl );
+ layout->ConstructL();
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc* gc = &iHuiEnv->Skin().Context();
+ TRect rect( 1, 1, 1, 1 );
+ layout->DrawSelf( *gc, rect );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHLMetricReferenceForLayoutInPixelsWithLayoutL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHLMetricReferenceForLayoutInPixelsWithLayoutL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestHLMetricReferenceForLayoutInPixelsWithLayoutL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayoutExt* layout = new( ELeave ) CHuiLayoutExt( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->ConstructL();
+ THuiXYMetric metric( 1, 1 );
+ layout->MetricReferenceForLayoutInPixels( layout, metric );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHLMetricReferenceForLayoutInPixelsL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHLMetricReferenceForLayoutInPixelsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestHLMetricReferenceForLayoutInPixelsL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayoutExt* layout = new( ELeave ) CHuiLayoutExt( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->ConstructL();
+ THuiXYMetric metric( 1, 1 );
+ layout->MetricReferenceForLayoutInPixels( metric );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutExpandRectWithContentL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutExpandRectWithContentL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutExpandRectWithContentL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayoutExt* layout = new( ELeave ) CHuiLayoutExt( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->ConstructL();
+ TRect rect( 0, 0, 1, 1 );
+ layout->ExpandRectWithContent( rect );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiLayoutVisualExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiLayoutVisualExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHuiLayoutVisualExtensionL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayoutExt* layout = new( ELeave ) CHuiLayoutExt( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( layout );
+ layout->ConstructL();
+ TUid uid = TUid::Null();
+ TAny** any = NULL;
+ layout->VisualExtension( uid, any );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuilinevisual.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,208 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huilinevisual.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huilayout.h>
+#include <uiacceltk/huiownedpointer.h>
+#include <uiacceltk/huicurvepath.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHLVAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHLVAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHLVAddNewL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiLineVisual* visual = CHuiLineVisual::AddNewL( *iHuiControl, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHLVSetPathL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHLVSetPathL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHLVSetPathL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiLineVisual* visual = CHuiLineVisual::AddNewL( *iHuiControl, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+
+ CHuiCurvePath* path = CHuiCurvePath::NewL();
+ CleanupStack::PushL( path );
+ visual->SetPath( path, EHuiDoesNotHaveOwnership );
+ CleanupStack::Pop( path );
+ delete path;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHLVPathL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHLVPathL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHLVPathL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiLineVisual* visual = CHuiLineVisual::AddNewL( *iHuiControl, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+
+ CHuiCurvePath* path = CHuiCurvePath::NewL();
+ CleanupStack::PushL( path );
+ visual->SetPath( path, EHuiDoesNotHaveOwnership );
+ visual->Path();
+ CleanupStack::Pop( path );
+ delete path;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHLVSetImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHLVSetImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHLVSetImageL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+
+ CHuiLineVisual* visual = CHuiLineVisual::AddNewL( *iHuiControl, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ visual->SetImage( *image );
+ CleanupStack::Pop( image );
+ delete image;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHLVSetAlphaFunctionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHLVSetAlphaFunctionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHLVSetAlphaFunctionL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiLineVisual* visual = CHuiLineVisual::AddNewL( *iHuiControl, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiCurvePath* path = CHuiCurvePath::NewL();
+ CleanupStack::PushL( path );
+ visual->SetAlphaFunction( path );
+ CleanupStack::Pop( path );
+ delete path;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHLVSetWidthFunctionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHLVSetWidthFunctionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHLVSetWidthFunctionL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiLineVisual* visual = CHuiLineVisual::AddNewL( *iHuiControl, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiCurvePath* path = CHuiCurvePath::NewL();
+ CleanupStack::PushL( path );
+ visual->SetWidthFunction( path );
+ CleanupStack::Pop( path );
+ delete path;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHLVSetColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHLVSetColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiLayout, "In TestCHLVSetColorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiLayout );
+ // Print to log file
+ iLog->Log( KTestCHuiLayout );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiLineVisual* visual = CHuiLineVisual::AddNewL( *iHuiControl, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ visual->SetColor( KRgbRed );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuim3gmesh.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,123 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huim3gmesh.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huilayout.h>
+#include <uiacceltk/huimeshvisual.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHM3GMLoadSceneL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHM3GMLoadSceneL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiM3GMesh, "In TestCHM3GMLoadSceneL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiM3GMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiM3GMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiM3GMesh* mesh = visual->M3GMesh();
+ TRAP_IGNORE( mesh->LoadSceneL( _L( "a" ) ) );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHM3GMSetAnimationPositionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHM3GMSetAnimationPositionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiM3GMesh, "In TestCHM3GMSetAnimationPositionL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiM3GMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiM3GMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiM3GMesh* mesh = visual->M3GMesh();
+ mesh->SetAnimationPosition( 0, 0, 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHM3GMStartAnimationControllerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHM3GMStartAnimationControllerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiM3GMesh, "In TestCHM3GMStartAnimationControllerL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiM3GMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiM3GMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiM3GMesh* mesh = visual->M3GMesh();
+ mesh->StartAnimationController( 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHM3GMStopAnimationControllerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHM3GMStopAnimationControllerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiM3GMesh, "In TestCHM3GMStopAnimationControllerL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiM3GMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiM3GMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiM3GMesh* mesh = visual->M3GMesh();
+ mesh->StartAnimationController( 0 );
+ mesh->StopAnimationController( 0 );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuimesh.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,355 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huimesh.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huilayout.h>
+#include <uiacceltk/huimeshvisual.h>
+#include <uiacceltk/huistatic.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshNewL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshNewLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshNewLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshNewLCL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewLC( EHuiMeshTypeProcedural );
+ STIF_ASSERT_NOT_NULL( mesh );
+ CleanupStack::Pop();
+ delete mesh;
+ mesh = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshDestructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshDestructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshDestructL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshMeshTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshMeshTypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshMeshTypeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ THuiMeshType type = mesh->MeshType();
+ STIF_ASSERT_TRUE( type == EHuiMeshTypeProcedural );
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshResetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshResetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshResetL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ mesh->Reset();
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshStretchUniformlyL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshStretchUniformlyL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshStretchUniformlyL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ mesh->StretchUniformly( 0, 0, 0, 0, 0, 0 );
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshScaleUniformlyL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshScaleUniformlyL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshScaleUniformlyL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ mesh->ScaleUniformly( 0, 0, 0 );
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshTypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshTypeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ mesh->Type();
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshSessionIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshSessionIdL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ mesh->SessionId();
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshSetSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshSetSessionIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshSetSessionIdL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ mesh->SetSessionId( 1 );
+ TInt id = mesh->SessionId();
+ STIF_ASSERT_EQUALS( id , 1 );
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshAnimationControllerCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshAnimationControllerCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshAnimationControllerCountL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ mesh->AnimationControllerCount();
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshSetAnimationPositionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshSetAnimationPositionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshSetAnimationPositionL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ mesh->SetAnimationPosition( 0 ,0 ,0 );
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshStartAnimationControllerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshStartAnimationControllerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshStartAnimationControllerL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ mesh->StartAnimationController( 0 );
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshStopAnimationControllerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshStopAnimationControllerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshStopAnimationControllerL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiMesh* mesh = CHuiMesh::NewL( EHuiMeshTypeProcedural );
+ CleanupStack::PushL( mesh );
+ STIF_ASSERT_NOT_NULL( mesh );
+ mesh->StartAnimationController( 0 );
+ mesh->StopAnimationController( 0 );
+ CleanupStack::PopAndDestroy( mesh );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuimeshvisual.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,225 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huimesh.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huilayout.h>
+#include <uiacceltk/huimeshvisual.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshVisualAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshVisualAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshVisualAddNewL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshVisualCreateMeshL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshVisualCreateMeshL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshVisualCreateMeshL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ visual->CreateMeshL( EHuiMeshTypeProcedural );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshVisualSetImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshVisualSetImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshVisualSetImageL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ visual->SetImage( *image );
+ CleanupStack::Pop( image );
+ delete image;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshVisualSetSecondaryImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshVisualSetSecondaryImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshVisualSetSecondaryImageL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ visual->SetSecondaryImage( *image );
+ CleanupStack::Pop( image );
+ delete image;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshVisualSetSpecularImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshVisualSetSpecularImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshVisualSetSpecularImageL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ THuiImage* image = new( ELeave ) THuiImage();
+ CleanupStack::PushL( image );
+ visual->SetSpecularImage( *image );
+ CleanupStack::Pop( image );
+ delete image;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshVisualMeshL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshVisualMeshL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshVisualMeshL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ visual->Mesh();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshVisualProceduralMeshL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshVisualProceduralMeshL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshVisualProceduralMeshL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+
+ CHuiMeshVisual* visual =
+ CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeProcedural, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiProceduralMesh* mesh = visual->ProceduralMesh();
+ STIF_ASSERT_NOT_NULL( mesh );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiMeshVisualM3GMeshL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiMeshVisualM3GMeshL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMesh, "In TestCHuiMeshVisualM3GMeshL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMesh );
+ // Print to log file
+ iLog->Log( KTestCHuiMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeM3G, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiM3GMesh* mesh = visual->M3GMesh();
+ STIF_ASSERT_NOT_NULL( mesh );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuimetric.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,316 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huimetric.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huilayout.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// ==================================THuiMetric=================================
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHMConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHMConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHMConstructor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiMetric metric;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHMConstructorWithPixel
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHMConstructorWithPixel( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHMConstructorWithPixel" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiMetric metric( 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHMAbs
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHMAbs( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHMAbs" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiMetric metric;
+ metric.Abs();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHMoperator
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHMoperator( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHMoperator" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiMetric metric;
+ metric = metric * 1;
+
+ return KErrNone;
+ }
+
+// =================================THuiXYMetric================================
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHXYMConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHXYMConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHXYMConstructor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiXYMetric metric;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHXYMConstructorWithMetric
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHXYMConstructorWithMetric( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHXYMConstructorWithMetric" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiMetric metric;
+ THuiXYMetric xyMetric( metric );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHXYMConstructorWithTwo
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHXYMConstructorWithTwo( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHXYMConstructorWithTwo" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiMetric metric1;
+ THuiMetric metric2;
+ THuiXYMetric xyMetric( metric1, metric2 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHXYMoperator
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHXYMoperator( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHXYMoperator" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiXYMetric metric;
+ THuiRealPoint point( 1, 1 );
+ metric = metric * point;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHXYMAbs
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHXYMAbs( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHXYMAbs" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiXYMetric metric;
+ metric.Abs();
+
+ return KErrNone;
+ }
+
+// ================================THuiBoxMetric================================
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHBMConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHBMConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHBMConstructor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiBoxMetric metric;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHBMConstructorWithMetric
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHBMConstructorWithMetric( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHBMConstructorWithMetric" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiMetric metric;
+ THuiBoxMetric boxMetric( metric );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHBMConstructorWithXYMetric
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHBMConstructorWithXYMetric( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHBMConstructorWithXYMetric" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiMetric metric;
+ THuiXYMetric xyMetric( metric );
+ THuiBoxMetric boxMetric( xyMetric );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHBMConstructorWithTwo
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHBMConstructorWithTwo( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHBMConstructorWithTwo" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiMetric metric;
+ THuiXYMetric xyMetric1( metric );
+ THuiXYMetric xyMetric2( metric );
+ THuiBoxMetric boxMetric( xyMetric1, xyMetric2 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHBMConstructorWithFour
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHBMConstructorWithFour( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiMetric, "In TestTHBMConstructorWithFour" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KTestCHuiMetric );
+ // Print to log file
+ iLog->Log( KTestCHuiMetric );
+
+ THuiMetric metric1;
+ THuiMetric metric2;
+ THuiMetric metric3;
+ THuiMetric metric4;
+ THuiBoxMetric boxMetric( metric1, metric2, metric3, metric4 );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuimf.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,326 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/HuiMappingFunctions.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// --------------------------THuiConstantMappingFunction------------------------
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHCMFConstructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHCMFConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHCMFConstructorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiConstantMappingFunction* function = new( ELeave ) THuiConstantMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHCMFMapValueL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHCMFMapValueL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHCMFMapValueL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiConstantMappingFunction* function = new( ELeave ) THuiConstantMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ function->MapValue( 0 ,0 );
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// ---------------------------THuiLinearMappingFunction-------------------------
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHLMFConstructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHLMFConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHLMFConstructorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiLinearMappingFunction* function = new( ELeave ) THuiLinearMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHLMFMapValueL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHLMFMapValueL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHLMFMapValueL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiLinearMappingFunction* function = new( ELeave ) THuiLinearMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ function->MapValue( 0 ,0 );
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// ----------------------------THuiSineMappingFunction--------------------------
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHSMFConstructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHSMFConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHSMFConstructorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiSineMappingFunction* function = new( ELeave ) THuiSineMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHSMFMapValueL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHSMFMapValueL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHSMFMapValueL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiSineMappingFunction* function = new( ELeave ) THuiSineMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ function->MapValue( 0 ,0 );
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// ---------------------------THuiCosineMappingFunction-------------------------
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHCosineMFConstructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHCosineMFConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHCosineMFConstructorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiCosineMappingFunction* function = new( ELeave ) THuiCosineMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHCosineMFMapValueL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHCosineMFMapValueL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHCosineMFMapValueL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiCosineMappingFunction* function = new( ELeave ) THuiCosineMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ function->MapValue( 0 ,0 );
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// --------------------------THuiAverageMappingFunction-------------------------
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHAMFConstructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHAMFConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHAMFConstructorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiAverageMappingFunction* function = new( ELeave ) THuiAverageMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHAMFMapValueL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHAMFMapValueL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHAMFMapValueL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiAverageMappingFunction* function = new( ELeave ) THuiAverageMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ function->MapValue( 0 ,0 );
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHAMFMappingFunctionChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHAMFMappingFunctionChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHAMFMappingFunctionChangedL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiAverageMappingFunction* function = new( ELeave ) THuiAverageMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ function->MappingFunctionChanged();
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHAMFMappingFunctionClearChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHAMFMappingFunctionClearChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHAMFMappingFunctionClearChangedL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiAverageMappingFunction* function = new( ELeave ) THuiAverageMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ function->MappingFunctionClearChanged();
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuipathlayout.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,114 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huicontrolgroup.h>
+#include <uiacceltk/huivisual.h>
+#include <uiacceltk/huianchorlayout.h>
+#include <uiacceltk/huievent.h>
+#include <uiacceltk/huicurvepath.h>
+#include <uiacceltk/huicurvepathlayout.h>
+#include <eikenv.h>
+#include <e32err.h>
+
+#include "testuiaifcoretoolkit.h"
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathLayAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathLayAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathLayAddNewL, "In TestCHuiCurvePathLayAddNewL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathLayAddNewL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathLayAddNewL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ TReal32 length = curvePath->Length();
+ TReal32 aPos = 2;
+ THuiRealPoint aPoint( 3, 3 );
+ curvePath->Evaluate( aPos, aPoint );
+ CleanupStack::PopAndDestroy( curvePath );
+ CHuiCurvePathLayout* pathLayout = CHuiCurvePathLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( pathLayout );
+ CleanupStack::PushL( pathLayout );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiCurvePathLayCurvePathL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiCurvePathLayCurvePathL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiCurvePathLayCurvePathL, "In TestCHuiCurvePathLayCurvePathL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiCurvePathLayCurvePathL );
+ // Print to log file
+ iLog->Log( KTestCHuiCurvePathLayCurvePathL );
+
+ STIF_ASSERT_NOT_NULL( iHuiEnv );
+ STIF_ASSERT_NOT_NULL( iHuiControl );
+ CHuiControl* otherControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ STIF_ASSERT_NOT_NULL( otherControl );
+ CleanupStack::PushL( otherControl );
+ iHuiControl->SetId( 0 );
+ STIF_ASSERT_NOT_NULL( iHuiControlGroup );
+ CHuiCurvePath* curvePath = CHuiCurvePath::NewL();
+ STIF_ASSERT_NOT_NULL( curvePath );
+ CleanupStack::PushL( curvePath );
+ curvePath->SetOrigin( 0 );
+ TReal32 length = curvePath->Length();
+ TReal32 aPos = 2;
+ THuiRealPoint aPoint( 3, 3 );
+ curvePath->Evaluate( aPos, aPoint );
+ CleanupStack::PopAndDestroy( curvePath );
+ CHuiCurvePathLayout* pathLayout = CHuiCurvePathLayout::AddNewL( *iHuiControl );
+ STIF_ASSERT_NOT_NULL( pathLayout );
+ CHuiCurvePath& curvePahth = pathLayout->CurvePath();
+ CleanupStack::PushL( pathLayout );
+ CleanupStack::Pop( 2 );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiproceduralmesh.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,190 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huiproceduralmesh.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huilayout.h>
+#include <uiacceltk/huimeshvisual.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHPMDeleteL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHPMDeleteL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestHPMDeleteL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeProcedural, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiProceduralMesh* mesh = visual->ProceduralMesh();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHPMResetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHPMResetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestHPMDeleteL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeProcedural, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiProceduralMesh* mesh = visual->ProceduralMesh();
+ mesh->Reset();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHPMMakeCubeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHPMMakeCubeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestHPMMakeCubeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeProcedural, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiProceduralMesh* mesh = visual->ProceduralMesh();
+ mesh->MakeCubeL( 1, 1, 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHPMMakeSphereL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHPMMakeSphereL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestHPMMakeSphereL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeProcedural, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiProceduralMesh* mesh = visual->ProceduralMesh();
+ mesh->MakeSphereL( 1, 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHPMMakeTorusL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHPMMakeTorusL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestHPMMakeTorusL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeProcedural, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiProceduralMesh* mesh = visual->ProceduralMesh();
+ mesh->MakeTorusL( 1, 1, 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHPMStretchUniformlyL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHPMStretchUniformlyL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestHPMStretchUniformlyL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeProcedural, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiProceduralMesh* mesh = visual->ProceduralMesh();
+ mesh->StretchUniformly( 0.1, 0.1, 0.1, 0.1, 0.1, 0.1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHPMScaleUniformlyL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHPMScaleUniformlyL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiProceduralMesh, "In TestHPMScaleUniformlyL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiProceduralMesh );
+ // Print to log file
+ iLog->Log( KCHuiProceduralMesh );
+
+ CHuiLayout* layout = CHuiLayout::AddNewL( *iHuiControl );
+ CHuiMeshVisual* visual = CHuiMeshVisual::AddNewL( *iHuiControl, EHuiMeshTypeProcedural, layout );
+ STIF_ASSERT_NOT_NULL( visual );
+ CHuiProceduralMesh* mesh = visual->ProceduralMesh();
+ mesh->ScaleUniformly( 0.1, 0.1, 0.1 );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuirealpoint.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,285 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huirealpoint.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPConstructor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint point;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPConstructorWithTReal
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPConstructorWithTReal( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPConstructorWithTReal" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint point( 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPConstructorWithTPoint
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPConstructorWithTPoint( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPConstructorWithTPoint" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TPoint point( 1, 1 );
+ THuiRealPoint realPoint( point );
+ TPoint a = realPoint;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPAsSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPAsSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPAsSize" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint realPoint;
+ realPoint.AsSize();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPTPoint
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPTPoint( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPTPoint" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint realPoint;
+ TPoint point = realPoint;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPRound
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPRound( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPRound" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint realPoint;
+ TPoint point = realPoint.Round();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPoperator1
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPoperator1( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPoperator1" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint realPoint;
+ realPoint = realPoint + realPoint;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPoperator2
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPoperator2( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPoperator2" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint realPoint;
+ realPoint += realPoint;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPoperator3
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPoperator3( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPoperator3" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint realPoint;
+ realPoint -= realPoint;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPoperator4
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPoperator4( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPoperator4" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint realPoint;
+ realPoint = -realPoint;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPoperator5
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPoperator5( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPoperator5" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint realPoint;
+ realPoint = realPoint - realPoint;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPoperator6
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPoperator6( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPoperator6" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint realPoint;
+ realPoint = realPoint * 1;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRPAbs
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRPAbs( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRPAbs" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint realPoint;
+ realPoint.Abs();
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuirealrect.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,432 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huirealpoint.h>
+#include <uiacceltk/huirealrect.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRConstructor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealRect rect;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRConstructorWithPoint
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRConstructorWithPoint( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRConstructorWithPoint" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint point1;
+ THuiRealPoint point2;
+ THuiRealRect rect( point1, point2 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRConstructorWithPointAndSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRConstructorWithPointAndSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRConstructorWithPointAndSize" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealPoint point;
+ THuiRealSize size;
+ THuiRealRect rect( point, size );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRConstructorWithTRect
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRConstructorWithTRect( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRConstructorWithTRect" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect;
+ THuiRealRect realRect( rect );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRWidth
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRWidth( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRWidth" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ realRect.Width();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRHeight
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRHeight( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRHeight" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ realRect.Height();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRTopRight
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRTopRight( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRTopRight" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ realRect.TopRight();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRBottomLeft
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRBottomLeft( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRBottomLeft" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ realRect.BottomLeft();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRSize" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ realRect.Size();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRCenter
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRCenter( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRCenter" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ realRect.Center();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRGrow
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRGrow( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRGrow" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ TReal32 num1 = 0.1;
+ TReal32 num2 = 0.1;
+ realRect.Grow( num1, num2 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRShrink
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRShrink( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRShrink" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ TReal32 num1 = 0.1;
+ TReal32 num2 = 0.1;
+ realRect.Shrink( num1, num2 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRShrinkTPoint
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRShrinkTPoint( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRShrinkTPoint" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ TPoint point( 0, 1 );
+ realRect.Shrink( point );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRShrinkTHuiRealPoint
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRShrinkTHuiRealPoint( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRShrinkTHuiRealPoint" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ THuiRealPoint point( 1, 0 );
+ realRect.Shrink( point );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRShrinkTHuiRealRect
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRShrinkTHuiRealRect( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRShrinkTHuiRealRect" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect1( 1, 1, 1, 1 );
+ TRect rect2( 0, 0, 1, 1 );
+ THuiRealRect realRect1( rect1 );
+ THuiRealRect realRect2( rect2 );
+ realRect1.Shrink( realRect2 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRMove
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRMove( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRMove" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ realRect.Move( 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRoperatorTRect
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRoperatorTRect( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRoperatorTRect" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect = rect;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRRound
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRRound( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRRound" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect( 1, 1, 1, 1 );
+ THuiRealRect realRect( rect );
+ realRect.Round();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRRBoundingRect
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRRBoundingRect( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRRBoundingRect" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TRect rect1( 1, 1, 1, 1 );
+ TRect rect2( 0, 0, 1, 1 );
+ THuiRealRect realRect1( rect1 );
+ THuiRealRect realRect2( rect2 );
+ realRect1.BoundingRect( realRect2 );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuirealsize.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,147 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huirealpoint.h>
+#include <uiacceltk/huirealsize.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRSConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRSConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRSConstructor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealSize size;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRSConstructorWithTReal
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRSConstructorWithTReal( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRSConstructorWithTReal" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ THuiRealSize size( 1, 0.1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRSConstructorWithTSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRSConstructorWithTSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRSConstructorWithTSize" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TSize size( 1, 1 );
+ THuiRealSize realSize( size );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRSoperatorTSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRSoperatorTSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRSoperatorTSize" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TSize size( 1, 1 );
+ THuiRealSize realSize = size;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRSRound
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRSRound( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRSRound" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TSize size( 1, 1 );
+ THuiRealSize realSize = size;
+ realSize.Round();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHRSoperatorPlus
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHRSoperatorPlus( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiMappingFunctions, "In TestTHRSoperatorPlus" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiMappingFunctions );
+ // Print to log file
+ iLog->Log( KHuiMappingFunctions );
+
+ TSize size( 1, 1 );
+ THuiRealSize realSize = size;
+ realSize = realSize * 0.1;
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuistatic.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,516 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huistatic.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticEnv
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticEnv( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticEnv" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::Env();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticTime
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticTime( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticTime" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::Time();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticSetTimeFactor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticSetTimeFactor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticSetTimeFactor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::SetTimeFactor( 10.50 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticTimeFactor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticTimeFactor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticTimeFactor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ TReal32 time = CHuiStatic::TimeFactor();
+ CHuiStatic::SetTimeFactor( 10 );
+ time = CHuiStatic::TimeFactor();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticPauseTime
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticPauseTime( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticPauseTime" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ iHuiEnv->RefreshCallBack(iHuiEnv);
+
+ // Sleep for 1430 milliseconds
+ User::After(TTimeIntervalMicroSeconds32(1430000));
+
+ // Pause timing
+ CHuiStatic::PauseTime();
+ TReal32 pausedSeconds = CHuiStatic::ElapsedSeconds();
+
+ // Sleep for another 1430 milliseconds
+ User::After(TTimeIntervalMicroSeconds32(1430000));
+
+ // Update time
+ // @note This is rather awkward way to update the time. Perhaps we should make a unit test of CHuiStatic instead
+ // and call CHuiStatic::UpdateTime() there.
+ iHuiEnv->RefreshCallBack(iHuiEnv);
+
+ // Retrieve the elapsed seconds
+ TReal32 elapsedSeconds = CHuiStatic::ElapsedSeconds();
+
+ STIF_ASSERT_TRUE( pausedSeconds == elapsedSeconds );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticContinueTime
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticContinueTime( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticContinueTime" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::ContinueTime();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticTimePaused
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticTimePaused( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticTimePaused" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::TimePaused();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticElapsedSeconds
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticElapsedSeconds( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticElapsedSeconds" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::ElapsedSeconds();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticSecondsSinceStart
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticSecondsSinceStart( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticSecondsSinceStart" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::SecondsSinceStart();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticMilliSecondsSinceStart
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticMilliSecondsSinceStart( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticMilliSecondsSinceStart" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::MilliSecondsSinceStart();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticFrameCount
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticFrameCount( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticFrameCount" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::FrameCount();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticAverageFrameRate
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticAverageFrameRate( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticAverageFrameRate" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::AverageFrameRate();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticFrameRate
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticFrameRate( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticFrameRate" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::FrameRate();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticPrintfTDesC8
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticPrintfTDesC8( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticPrintfTDesC8" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ TRefByValue<const TDesC8> value = _L8( "value" );
+ CHuiStatic::Printf( value );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticPrintfTDesC16
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticPrintfTDesC16( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticPrintfTDesC16" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ TRefByValue<const TDesC16> value = _L16( "value" );
+ CHuiStatic::Printf( value );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticEnableLogging
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticEnableLogging( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticEnableLogging" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::EnableLogging();
+ CHuiStatic::EnableLogging( EFalse );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticLogging
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticLogging( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticLogging" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::EnableLogging();
+ TBool logging = CHuiStatic::Logging();
+ STIF_ASSERT_TRUE( logging );
+
+ CHuiStatic::EnableLogging( EFalse );
+ logging = CHuiStatic::Logging();
+ STIF_ASSERT_FALSE( logging );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticTic
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticTic( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticTic" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::Tic( 0 );
+ CHuiStatic::Tic( 1 );
+ CHuiStatic::Tic( 2 );
+ CHuiStatic::Tic( 3 );
+ CHuiStatic::Tic( 4 );
+ CHuiStatic::Tic( 5 );
+ CHuiStatic::Tic( 6 );
+ CHuiStatic::Tic( 7 );
+ CHuiStatic::Tic( 8 );
+ CHuiStatic::Tic( 9 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticToc
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticToc( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticToc" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::Toc( 0 );
+ CHuiStatic::Toc( 1 );
+ CHuiStatic::Toc( 2 );
+ CHuiStatic::Toc( 3 );
+ CHuiStatic::Toc( 4 );
+ CHuiStatic::Toc( 5 );
+ CHuiStatic::Toc( 6 );
+ CHuiStatic::Toc( 7 );
+ CHuiStatic::Toc( 8 );
+ CHuiStatic::Toc( 9 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticFsSession
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticFsSession( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticFsSession" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::FsSession();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticSetLayoutTransitionTime
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticSetLayoutTransitionTime( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticSetLayoutTransitionTime" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::SetLayoutTransitionTime( 1000 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticLayoutTransitionTime
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticLayoutTransitionTime( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticLayoutTransitionTime" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::SetLayoutTransitionTime( 1000 );
+ TInt time = CHuiStatic::LayoutTransitionTime();
+ STIF_ASSERT_EQUALS( time, 1000 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiStaticSetProbe
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiStaticSetProbe( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiStatic, "In TestCHuiStaticSetProbe" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiStatic );
+ // Print to log file
+ iLog->Log( KCHuiStatic );
+
+ CHuiStatic::SetProbe( NULL );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitexture.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,538 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huianchorlayout.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huianimatedtexture.h>
+#include <fbs.h>
+#include <BITDEV.H> // CFbsDevice
+#include <BITSTD.H> // CFbsBitGc
+
+#include "testuiaifcoretoolkit.h"
+#include "testuiaifblockstexturechild.h"
+#include "testuiaifblocksmanagerchild.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextDestructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextDestructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextDestructL, "In TestCHuiATextDestructL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextDestructL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextDestructL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextTextureL, "In TestCHuiATextTextureL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextTextureL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextTextureL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ CHuiTexture& texture = textureChild->Texture();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextSegmentedTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextSegmentTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextSegmentTextureL, "In TestCHuiATextSegmentTextureL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextSegmentTextureL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextSegmentTextureL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ textureChild->SegmentedTexture();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextSegmentTextureConstL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextSegmentTextureConstL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextSegmentTextureConstL, "In TestCHuiATextSegmentTextureConstL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextSegmentTextureConstL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextSegmentTextureConstL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ const CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ textureChild->SegmentedTexture();
+ delete textureChild;
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextShadowedTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextShadowedTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextShadowedTextureL, "In TestCHuiATextShadowedTextureL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextShadowedTextureL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextShadowedTextureL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ textureChild->ShadowedTexture();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextShadowedTextureConstL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextShadowedTextureConstL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextSegmentTextureConstL, "In TestCHuiATextSegmentTextureConstL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextSegmentTextureConstL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextSegmentTextureConstL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ CleanupStack::PushL( textureChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ textureChild->ShadowedTexture();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextHasContentL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextHasContentL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextHasContentL, "In TestCHuiATextHasContentL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextHasContentL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextHasContentL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+// textureChild->HasContent();
+ STIF_ASSERT_EQUALS( textureChild->HasContent(), 0 );
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextSizeL, "In TestCHuiATextSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextSizeL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextSizeL );
+//my code
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ TSize logicalSize = textureChild->Size();
+ STIF_ASSERT_EQUALS( logicalSize.iWidth, 0 );
+ STIF_ASSERT_EQUALS( logicalSize.iHeight, 0 );
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextSegmentCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextSegmentCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextSegmentCountL, "In TestCHuiATextSegmentCountL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextSegmentCountL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextSegmentCountL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ STIF_ASSERT_EQUALS( textureChild->SegmentCount(), 0 );
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextSegmentNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextSegmentNameL( CStifItemParser& /*aItem*/ )
+ {
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextSegmentNameL, "In TestCHuiATextSegmentNameL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextSegmentNameL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextSegmentNameL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ textureChild->SegmentedTexture();
+ textureChild->SetSegmentCountL();
+ STIF_ASSERT_EQUALS( textureChild->SegmentName( 0 ), (unsigned int)1 );
+ textureChild->TextureClearChanged();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextTextureChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextTextureChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextTextureChangedL, "In TestCHuiATextTextureChangedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextTextureChangedL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextTextureChangedL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ STIF_ASSERT_EQUALS( textureChild->TextureChanged(), 0 );
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextTextureClearChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextTextureClearChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextTextureClearChangedL, "In TestCHuiATextTextureClearChangedL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextTextureClearChangedL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextTextureClearChangedL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ textureChild->TextureClearChanged();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextTextureConstructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextTextureConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextTextureConstructorL, "In TestCHuiATextTextureConstructorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextTextureConstructorL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextTextureConstructorL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ textureChild->TextureClearChanged();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextBaseConstructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextBaseConstructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextBaseConstructL, "In TestCHuiATextBaseConstructL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextBaseConstructL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextBaseConstructL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ textureChild->TextureClearChanged();
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParameters = NULL;
+ textureChild->TextureExtension( aExtensionUid, aExtensionParameters );
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextTextureExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextTextureExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextTextureExtensionL, "In TestCHuiATextTextureExtensionL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextTextureExtensionL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextTextureExtensionL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ textureChild->SegmentedTexture();
+ textureChild->SetSegmentCountL();
+ textureChild->SegmentName( 1 );
+ textureChild->TextureClearChanged();
+ const TUid aExtensionUid = TUid::Null();
+ TAny** aExtensionParameters = NULL;
+ textureChild->TextureExtension( aExtensionUid, aExtensionParameters );
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextSegmentSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextSegmentSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextSegmentSizeL, "In TestCHuiATextSegmentSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextSegmentSizeL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextSegmentSizeL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ textureChild->SegmentedTexture();
+ textureChild->SetSegmentCountL();
+ textureChild->SegmentName( 1 );
+ STIF_ASSERT_EQUALS( textureChild->SegmentSize(0), textureChild->Size() );
+ textureChild->TextureClearChanged();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextSegmentTextureSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextSegmentTextureSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextSegmentTextureSizeL, "In TestCHuiATextSegmentTextureSizeL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextSegmentTextureSizeL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextSegmentTextureSizeL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ textureChild->SegmentedTexture();
+ textureChild->SetSegmentCountL();
+ textureChild->SegmentName( 1 );
+ textureChild->SegmentSize( 0 );
+ textureChild->SegmentTextureSize( 0 );
+ TInt width = textureChild->SegmentTextureSize(0).iWidth;
+ TInt height = textureChild->SegmentTextureSize(0).iHeight;
+ STIF_ASSERT_EQUALS( textureChild->SegmentTextureSize(0).iWidth, 0 );
+ STIF_ASSERT_EQUALS( textureChild->SegmentTextureSize(0).iHeight, 0 );
+ textureChild->TextureClearChanged();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHuiATextSegmentOffsetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHuiATextSegmentOffsetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestCHuiATextSegmentOffsetL, "In TestCHuiATextSegmentOffsetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestCHuiATextSegmentOffsetL );
+ // Print to log file
+ iLog->Log( KTestCHuiATextSegmentOffsetL );
+
+ CTestUiAifBlocksManagerChild* managerChild =new ( ELeave ) CTestUiAifBlocksManagerChild;
+ STIF_ASSERT_NOT_NULL( managerChild );
+ CleanupStack::PushL( managerChild );
+ CTestUiAifBlocksTextureChild* textureChild = CTestUiAifBlocksTextureChild::NewL( *managerChild );
+ STIF_ASSERT_NOT_NULL( textureChild );
+ CleanupStack::PushL( textureChild );
+ textureChild->SegmentedTexture();
+ textureChild->SetSegmentCountL();
+ textureChild->SegmentName( 1 );
+ textureChild->SegmentSize( 0 );
+ STIF_ASSERT_EQUALS( textureChild->SegmentTextureSize(0).iWidth, 0 );
+ STIF_ASSERT_EQUALS( textureChild->SegmentTextureSize(0).iHeight, 0 );
+ STIF_ASSERT_EQUALS( textureChild->SegmentOffset(0).iX, 0 );
+ STIF_ASSERT_EQUALS( textureChild->SegmentOffset(0).iY, 0 );
+ textureChild->TextureClearChanged();
+ CleanupStack::PopAndDestroy( textureChild );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitextureautosizepara.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,211 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: for testing the method of the CHuiTextVisual
+*
+*/
+
+#include <uiacceltk\huitextureautosizeparams.h>
+
+#include "testuiaifcoretoolkit.h"
+
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTexureAutoSizeParaConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTexureAutoSizeParaConstructor, "In TestHuiTexureAutoSizeParaConstructor" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTexureAutoSizeParaConstructor );
+ // Print to log file
+ iLog->Log( KTestHuiTexureAutoSizeParaConstructor );
+
+ THuiTextureAutoSizeParams huiTextureAutoSizeParams;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTexureAutoSizeParaSizeLowerThreshold
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSizeLowerThreshold( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTexureAutoSizeParaSizeLowerThreshold, "In TestHuiTexureAutoSizeParaSizeLowerThreshold" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTexureAutoSizeParaSizeLowerThreshold );
+ // Print to log file
+ iLog->Log( KTestHuiTexureAutoSizeParaSizeLowerThreshold );
+
+ THuiTextureAutoSizeParams huiTextureAutoSizeParams;
+ huiTextureAutoSizeParams.SizeLowerThreshold();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTexureAutoSizeParaSetSizeLowerThreshold
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSetSizeLowerThreshold( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTexureAutoSizeParaSetSizeLowerThreshold, "In TestHuiTexureAutoSizeParaSetSizeLowerThreshold" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTexureAutoSizeParaSetSizeLowerThreshold );
+ // Print to log file
+ iLog->Log( KTestHuiTexureAutoSizeParaSetSizeLowerThreshold );
+
+ THuiTextureAutoSizeParams huiTextureAutoSizeParams;
+ huiTextureAutoSizeParams.SetSizeLowerThreshold( THuiTextureAutoSizeParams::EMedium );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTexureAutoSizeParaSizeUpperThreshold
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSizeUpperThreshold( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTexureAutoSizeParaSizeUpperThreshold, "In TestHuiTexureAutoSizeParaSizeUpperThreshold" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTexureAutoSizeParaSizeUpperThreshold );
+ // Print to log file
+ iLog->Log( KTestHuiTexureAutoSizeParaSizeUpperThreshold );
+
+ THuiTextureAutoSizeParams huiTextureAutoSizeParams;
+ huiTextureAutoSizeParams.SizeUpperThreshold();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTexureAutoSizeParaSetSizeUpperThreshold
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSetSizeUpperThreshold( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTexureAutoSizeParaSetSizeUpperThreshold, "In TestHuiTexureAutoSizeParaSetSizeUpperThreshold" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTexureAutoSizeParaSetSizeUpperThreshold );
+ // Print to log file
+ iLog->Log( KTestHuiTexureAutoSizeParaSetSizeUpperThreshold );
+
+ THuiTextureAutoSizeParams huiTextureAutoSizeParams;
+ huiTextureAutoSizeParams.SetSizeUpperThreshold( THuiTextureAutoSizeParams::EMedium );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTexureAutoSizeParaMinSizeChange
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaMinSizeChange( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTexureAutoSizeParaMinSizeChange, "In TestHuiTexureAutoSizeParaMinSizeChange" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTexureAutoSizeParaMinSizeChange );
+ // Print to log file
+ iLog->Log( KTestHuiTexureAutoSizeParaMinSizeChange );
+
+ THuiTextureAutoSizeParams huiTextureAutoSizeParams;
+ huiTextureAutoSizeParams.MinSizeChange();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTexureAutoSizeParaSetMinSizeChange
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSetMinSizeChange( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTexureAutoSizeParaSetMinSizeChange, "In TestHuiTexureAutoSizeParaSetMinSizeChange" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTexureAutoSizeParaSetMinSizeChange );
+ // Print to log file
+ iLog->Log( KTestHuiTexureAutoSizeParaSetMinSizeChange );
+
+ THuiTextureAutoSizeParams huiTextureAutoSizeParams;
+ huiTextureAutoSizeParams.SetMinSizeChange( THuiTextureAutoSizeParams::EMedium );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTexureAutoSizeParaDownsizeSettleThreshold
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaDownsizeSettleThreshold( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTexureAutoSizeParaDownsizeSettleThreshold, "In TestHuiTexureAutoSizeParaDownsizeSettleThreshold" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTexureAutoSizeParaDownsizeSettleThreshold );
+ // Print to log file
+ iLog->Log( KTestHuiTexureAutoSizeParaDownsizeSettleThreshold );
+
+ THuiTextureAutoSizeParams huiTextureAutoSizeParams;
+ huiTextureAutoSizeParams.DownsizeSettleThreshold();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTexureAutoSizeParaSetDownsizeSettleThreshold
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTexureAutoSizeParaSetDownsizeSettleThreshold( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTexureAutoSizeParaSetDownsizeSettleThreshold, "In TestHuiTexureAutoSizeParaSetDownsizeSettleThreshold" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTexureAutoSizeParaSetDownsizeSettleThreshold );
+ // Print to log file
+ iLog->Log( KTestHuiTexureAutoSizeParaSetDownsizeSettleThreshold );
+
+ THuiTextureAutoSizeParams huiTextureAutoSizeParams;
+ huiTextureAutoSizeParams.SetDownsizeSettleThreshold( THuiTextureAutoSizeParams::EMedium );
+
+ return KErrNone;
+
+ }
+
+// End of files
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitexturehandle.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,616 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huitexturehandle.h>
+
+#include "testuiaifcoretoolkit.h"
+
+class TTestHuiTextureHandleExt : public THuiTextureHandle
+ {
+//friend class CTestUiAifCoreToolkit;
+
+public:
+// TTestHuiTextureHandleExt() : THuiTextureHandle()
+// {
+// }
+ TTestHuiTextureHandleExt(TUint aName,
+ const TSize& aSize,
+ const TSize& aTextureSize) :
+ THuiTextureHandle( aName, aSize, aTextureSize )
+ {
+ }
+
+ };
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHConstructorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHConstructorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHConstructorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle;
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHConstructorWithParaL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHConstructorWithParaL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHConstructorWithParaL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHIsNullL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHIsNullL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHIsNullL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ TBool isNull = handle->IsNull();
+ STIF_ASSERT_FALSE( isNull );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHHasContentL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHHasContentL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHHasContentL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ TBool has = handle->HasContent();
+ STIF_ASSERT_TRUE( has );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHReleaseL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHReleaseL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHReleaseL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->Release();
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSetL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle;
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->Set( 1, size, textSize );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSetNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSetNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSetNameL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle;
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->SetName( 1 );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSetSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSetSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSetSizeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle;
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->SetSize( size );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSetTextureSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSetTextureSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSetTextureSizeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle;
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->SetTextureSize( textSize );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSegmentedTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSegmentedTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSegmentedTextureL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->SegmentedTexture();
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSegmentedTextureconstL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSegmentedTextureconstL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSegmentedTextureconstL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ const_cast< const THuiTextureHandle* > ( handle )->SegmentedTexture();
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHShadowedTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHShadowedTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHShadowedTextureL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->ShadowedTexture();
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHShadowedTextureconstL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHShadowedTextureconstL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHShadowedTextureconstL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ const_cast< const THuiTextureHandle* > ( handle )->ShadowedTexture();
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHTextureChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHTextureChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHTextureChangedL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->TextureChanged();
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHTextureClearChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHTextureClearChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHTextureClearChangedL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->TextureClearChanged();
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHNameL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->Name();
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSizeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->Size();
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSegmentCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSegmentCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSegmentCountL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->SegmentCount();
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSegmentNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSegmentNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSegmentNameL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->SegmentName( 1 );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSegmentSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSegmentSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSegmentSizeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->SegmentSize( 1 );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSegmentTextureSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSegmentTextureSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSegmentTextureSizeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->SegmentTextureSize( 1 );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHSegmentOffsetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHSegmentOffsetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTextureHandle, "In TestTHTHSegmentOffsetL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+ // Print to log file
+ iLog->Log( KCHuiTextureHandle );
+
+ TSize size( 1, 1 );
+ TSize textSize( 1, 1 );
+ THuiTextureHandle* handle = new( ELeave ) THuiTextureHandle( 1, size, textSize );
+ CleanupStack::PushL( handle );
+ STIF_ASSERT_NOT_NULL( handle );
+ handle->SegmentOffset( 1 );
+ CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTHTextureExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTHTextureExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+// _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+// _LIT( KCHuiTextureHandle, "In TestTHTHTextureExtensionL" );
+// TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTextureHandle );
+// // Print to log file
+// iLog->Log( KCHuiTextureHandle );
+//
+// TSize size( 1, 1 );
+// TSize textSize( 1, 1 );
+// TTestHuiTextureHandleExt* handle = new( ELeave ) TTestHuiTextureHandleExt( 1, size, textSize );
+// CleanupStack::PushL( handle );
+// STIF_ASSERT_NOT_NULL( handle );
+// TUid uid = TUid::Null();
+// TAny** any = NULL;
+//// handle->TextureExtension( uid, any );
+// CleanupStack::PopAndDestroy( handle );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitexturemanager.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,591 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: for testing the method of the CHuiVisual
+*
+*/
+
+#include <uiacceltk\huitexturemanager.h>
+#include <uiacceltk\HuiImageLoaderUtil.h>
+
+#include "testuiaifcoretoolkit.h"
+
+const TInt KTextureId = 0x80000001;
+const TInt KTextureNewId = 0x80000002;
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerEnv
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerEnvL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerEnv, "In TestHuiTxureManagerEnv" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerEnv );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerEnv );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ CHuiEnv* env = &( txureManager->Env() );
+
+ STIF_ASSERT_NOT_NULL( env );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerTexture
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerTexture, "In TestHuiTxureManagerTexture" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerTexture );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerTexture );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ CHuiTexture* texture = txureManager->Texture( KTextureId );
+ CleanupStack::PushL( texture );
+ STIF_ASSERT_NOT_NULL( texture )
+ CleanupStack::PopAndDestroy( texture );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerTextureConst
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerTextureConstL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerTextureConst, "In TestHuiTxureManagerTextureConst" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerTextureConst );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerTextureConst );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ const CHuiTexture* texture = const_cast<const CHuiTextureManager*>( txureManager )->Texture( KTextureId );
+
+ STIF_ASSERT_NOT_NULL( texture );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerTextureLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerTextureL, "In TestHuiTxureManagerTextureL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerTextureL );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerTextureL );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ CHuiTexture* texture = txureManager->TextureL( KTextureId );
+
+ STIF_ASSERT_NOT_NULL( texture );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerSetImagePathL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerSetImagePathL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerSetImagePathL, "In TestHuiTxureManagerSetImagePathL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerSetImagePathL );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerSetImagePathL );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ TRAPD( error, txureManager->SetImagePathL( _L("c:\\data\\images\\") ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerImagePath
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerImagePath( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerImagePath, "In TestHuiTxureManagerImagePath" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerImagePath );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerImagePath );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->ImagePath();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerBlankTextureConstL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerBlankTextureConstL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerBlankTextureConst, "In TestHuiTxureManagerBlankTextureConst" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerBlankTextureConst );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerBlankTextureConst );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ const CHuiTexture* texture = &( const_cast<const CHuiTextureManager*>( txureManager )->BlankTexture() );
+
+ STIF_ASSERT_NOT_NULL( texture );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerBlankTexture
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerBlankTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerBlankTexture, "In TestHuiTxureManagerBlankTexture" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerBlankTexture );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerBlankTexture );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ CHuiTexture* texture = &( txureManager->BlankTexture() );
+
+ STIF_ASSERT_NOT_NULL( texture );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerLoadTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerLoadTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerLoadTextureL, "In TestHuiTxureManagerLoadTextureL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerLoadTextureL );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerLoadTextureL );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->LoadTextureL( _L("test.bmp") );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerLoadTextureLWithSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerLoadTextureLWithIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerLoadTextureLWithSize, "In TestHuiTxureManagerLoadTextureLWithSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerLoadTextureLWithSize );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerLoadTextureLWithSize );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->LoadTextureL( KTextureId );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerLoadTextureLWithSizeImage
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerLoadTextureLWithSizeImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerLoadTextureLWithSizeImage, "In TestHuiTxureManagerLoadTextureLWithSizeImage" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerLoadTextureLWithSizeImage );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerLoadTextureLWithSizeImage );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->LoadTextureL( _L("test.bmp"), TSize( 0, 0 ) );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerCreateTextureL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerCreateTextureL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerCreateTextureL, "In TestHuiTxureManagerCreateTextureL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerCreateTextureL );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerCreateTextureL );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ CHuiImageLoaderUtil* iImageLoaderUtil = new (ELeave) CHuiImageLoaderUtil();
+
+ THuiTextureUploadFlags flag = (THuiTextureUploadFlags)(
+ EHuiTextureUploadFlagGenerateShadow |
+ EHuiTextureUploadFlagRetainResolution );
+
+ TUid tUid = { KTextureId };
+
+ MHuiBitmapProvider* bmpProvider = iImageLoaderUtil->CreateImageLoaderL( tUid, EAknsAppIconTypeList );
+
+ CHuiTexture* tex = & ( txureManager->CreateTextureL( KTextureId, bmpProvider, flag ) );
+
+ STIF_ASSERT_NOT_NULL( tex );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerUpdateTextureFromBitmapL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerUpdateTextureFromBitmapL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerUpdateTextureFromBitmapL, "In TestHuiTxureManagerUpdateTextureFromBitmapL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerUpdateTextureFromBitmapL );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerUpdateTextureFromBitmapL );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->UpdateTextureFromBitmapL( KTextureId );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerUnloadTexture
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerUnloadTexture( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerUnloadTexture, "In TestHuiTxureManagerUnloadTexture" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerUnloadTexture );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerUnloadTexture );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->UnloadTexture( _L("test.bmp") );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerUnloadTextureWithID
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerUnloadTextureWithID( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerUnloadTextureWithID, "In TestHuiTxureManagerUnloadTextureWithID" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerUnloadTextureWithID );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerUnloadTextureWithID );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->UnloadTexture( KTextureId );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerDefineFileNameL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerDefineFileNameL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerDefineFileNameL, "In TestHuiTxureManagerDefineFileNameL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerDefineFileNameL );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerDefineFileNameL );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->DefineFileNameL( KTextureId, _L("test.bmp") );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerLoadQueueCount
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerLoadQueueCount( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerLoadQueueCount, "In TestHuiTxureManagerLoadQueueCount" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerLoadQueueCount );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerLoadQueueCount );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->LoadQueueCount();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerState
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerState( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerState, "In TestHuiTxureManagerState" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerState );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerState );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->State();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerProcessor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerProcessorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerProcessor, "In TestHuiTxureManagerProcessor" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerProcessor );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerProcessor );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ CHuiTextureProcessor* processor = &( txureManager->Processor() );
+
+ STIF_ASSERT_NOT_NULL( processor );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerPrependImagePath
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerPrependImagePath( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerPrependImagePath, "In TestHuiTxureManagerPrependImagePath" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerPrependImagePath );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerPrependImagePath );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ TBuf<30> buf;
+
+ txureManager->PrependImagePath( buf );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerSetTextureId
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerSetTextureId( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerSetTextureId, "In TestHuiTxureManagerSetTextureId" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerSetTextureId );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerSetTextureId );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ CHuiTexture* texture = txureManager->Texture( KTextureId );
+
+ txureManager->SetTextureId( texture, KTextureNewId );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerIsLoaded
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerIsLoaded( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerIsLoaded, "In TestHuiTxureManagerIsLoaded" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerIsLoaded );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerIsLoaded );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ txureManager->IsLoaded( _L("test.bmp") );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerIsLoadedWithID
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerIsLoadedWithID( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerIsLoadedWithID, "In TestHuiTxureManagerIsLoadedWithID" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerIsLoadedWithID );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerIsLoadedWithID );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ TBool flag = txureManager->IsLoaded( KTextureId );
+
+ STIF_ASSERT_TRUE( flag );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTxureManagerIsLoadedWithTexture
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTxureManagerIsLoadedWithTexture( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTxureManagerIsLoadedWithTexture, "In TestHuiTxureManagerIsLoadedWithTexture" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTxureManagerIsLoadedWithTexture );
+ // Print to log file
+ iLog->Log( KTestHuiTxureManagerIsLoadedWithTexture );
+
+ CHuiTextureManager* txureManager = &( iHuiEnv->TextureManager() );
+
+ CHuiTexture* texture = txureManager->Texture( KTextureId );
+
+ TBool flag = txureManager->IsLoaded( texture );
+
+ STIF_ASSERT_TRUE( flag );
+
+ return KErrNone;
+
+ }
+
+// End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitimedpoint.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,294 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huitimedpoint.h>
+#include <uiacceltk/HuiMappingFunctions.h>
+
+#include "testuiaifcoretoolkit.h"
+
+const TReal32 number = 0.5;
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPConstructor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiTimedPoint point;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPConstructorWithTReal
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPConstructorWithTReal( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPConstructorWithTReal" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiTimedPoint point( number, number );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPSetStyle
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPSetStyle( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPSetStyle" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiTimedPoint point( number, number );
+ point.SetStyle( EHuiTimedValueStyleNone );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPSetFunctionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPSetFunctionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPSetFunctionL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiConstantMappingFunction* function = new( ELeave ) THuiConstantMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ THuiTimedPoint point( number, number );
+ point.SetFunction( function );
+ CleanupStack::PopAndDestroy( function );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPSet
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPSet( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPSet" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiRealPoint realPoint;
+ THuiTimedPoint point( number, number );
+ point.Set( realPoint );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPSetTReal
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPSetTReal( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPSetTReal" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiTimedPoint point( number, number );
+ point.Set( number );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPSetWithSpeed
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPSetWithSpeed( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPSetWithSpeed" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiRealPoint realPoint;
+ THuiTimedPoint point( number, number );
+ point.SetWithSpeed( realPoint, 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPSetWithSpeedTReal
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPSetWithSpeedTReal( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPSetWithSpeedTReal" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiTimedPoint point( number, number );
+ point.SetWithSpeed( number, 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPNow
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPNow( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPNow" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiTimedPoint point( number, number );
+ point.Now();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPRealNow
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPRealNow( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPRealNow" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiTimedPoint point( number, number );
+ point.RealNow();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPTarget
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPTarget( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPTarget" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiTimedPoint point( number, number );
+ point.Target();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPRealTarget
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPRealTarget( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPRealTarget" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiTimedPoint point( number, number );
+ point.RealTarget();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTPFinish
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTPFinish( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiIMageBrush, "In TestTHTPFinish" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiIMageBrush );
+ // Print to log file
+ iLog->Log( KCHuiIMageBrush );
+
+ THuiTimedPoint point( number, number );
+ point.Finish();
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitimedvalue.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,484 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <fbs.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huitimedvalue.h>
+#include <uiacceltk/huimappingfunctions.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestMHMFMappingFunctionChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestMHMFMappingFunctionChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestMHMFMappingFunctionChangedL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiConstantMappingFunction* function = new( ELeave ) THuiConstantMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ function->MappingFunctionChanged();
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestMHMFMappingFunctionClearChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestMHMFMappingFunctionClearChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestMHMFMappingFunctionClearChangedL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiConstantMappingFunction* function = new( ELeave ) THuiConstantMappingFunction();
+ CleanupStack::PushL( function );
+ STIF_ASSERT_NOT_NULL( function );
+ function->MappingFunctionClearChanged();
+ CleanupStack::Pop( function );
+ delete function;
+ function = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVConstructor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVConstructor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVConstructor" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVConstructorWithValue
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVConstructorWithValue( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVConstructorWithValue" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value( 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVStyle
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVStyle( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVStyle" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ THuiInterpolationStyle style = value.Style();
+ STIF_ASSERT_EQUALS( style, EHuiTimedValueStyleAdaptive );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVSetStyle
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVSetStyle( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVSetStyle" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.SetStyle( EHuiTimedValueStyleNone );
+ THuiInterpolationStyle style = value.Style();
+ STIF_ASSERT_EQUALS( style, EHuiTimedValueStyleNone );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVSetFunction
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVSetFunction( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVSetFunction" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.SetFunction( NULL );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVSetMappingMode
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVSetMappingMode( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVSetMappingMode" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.SetMappingMode( 0 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVNow
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVNow( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVNow" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.Now();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVUnmappedNow
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVUnmappedNow( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVUnmappedNow" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.UnmappedNow();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVTarget
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVTarget( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVTarget" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.Target();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVSetValue
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVSetValue( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVSetValue" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.Set( 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVSetValueTime
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVSetValueTime( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVSetValueTime" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.Set( 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVSetWithSpeed
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVSetWithSpeed( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVSetWithSpeed" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.SetWithSpeed( 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVRemainingTime
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVRemainingTime( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVRemainingTime" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.RemainingTime();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVFinish
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVFinish( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVFinish" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.Finish();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVChanged
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVChanged( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVChanged" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.Changed();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVInterpolating
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVInterpolating( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVInterpolating" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.Interpolating();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVClearChanged
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVClearChanged( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVClearChanged" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.ClearChanged();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVEnableClock
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVEnableClock( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVEnableClock" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.EnableClock();
+ value.EnableClock( EFalse );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVSuspend
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVSuspend( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVSuspend" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ value.Suspend();
+ value.Suspend( EFalse );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestTHTVoperatorEqualTo
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestTHTVoperatorEqualTo( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiTimedValue, "In TestTHTVoperatorEqualTo" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiTimedValue );
+ // Print to log file
+ iLog->Log( KHuiTimedValue );
+
+ THuiTimedValue value;
+ THuiTimedValue otheValue;
+ value = otheValue;
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitransf.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,438 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huitransformation.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranNewL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranNewLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranNewLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranNewLCL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewLC();
+ STIF_ASSERT_NOT_NULL( transfor );
+ CleanupStack::Pop();
+ delete transfor;
+ transfor = NULL;
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranCountL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ TInt count = transfor->Count();
+ STIF_ASSERT_EQUALS( count, 0 );
+ transfor->Translate( 1, 1 );
+ count = transfor->Count();
+ STIF_ASSERT_EQUALS( count, 1 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranNonIdentityCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranNonIdentityCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranNonIdentityCountL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ TInt count = transfor->NonIdentityCount();
+ STIF_ASSERT_EQUALS( count, 0 );
+ transfor->Translate( 1, 1 );
+ count = transfor->NonIdentityCount();
+ STIF_ASSERT_EQUALS( count, 1 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranStepL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranStepL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranStepL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ transfor->Translate( 1, 1 );
+ transfor->Step( 0 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranoperatorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranoperatorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranoperatorL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ transfor->Translate( 1, 1 );
+ CHuiTransformation::TTransform trans = ( *transfor )[ 0 ];
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranLoadIdentityL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranLoadIdentityL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranLoadIdentityL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ transfor->Translate( 1, 1 );
+ transfor->LoadIdentity();
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranTranslateL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranTranslateL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranTranslateL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ transfor->Translate( 1, 1 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranTranslateWithValueL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranTranslateWithValueL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranTranslateWithValueL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ THuiTimedValue value1;
+ THuiTimedValue value2;
+ transfor->Translate( value1, value2 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranScaleL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranScaleL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranScaleL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ transfor->Scale( 1, 1 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranScaleWithValueL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranScaleWithValueL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranScaleWithValueL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ THuiTimedValue value1;
+ THuiTimedValue value2;
+ transfor->Scale( value1, value2 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranScaleWithThreeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranScaleWithThreeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranScaleWithThreeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ transfor->Scale( 1, 1, 1 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranScaleWithThreeValueL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranScaleWithThreeValueL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranScaleWithThreeValueL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ THuiTimedValue value1;
+ THuiTimedValue value2;
+ THuiTimedValue value3;
+ transfor->Scale( value1, value2, value3 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranRotateL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranRotateL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranRotateL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ transfor->Rotate( 1 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranRotateValueL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranRotateValueL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranRotateValueL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ THuiTimedValue angle;
+ transfor->Rotate( angle );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranRotateFourL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranRotateFourL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranRotateFourL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ transfor->Rotate( 1, 1, 1, 1 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestCHTranRotateValueThreeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestCHTranRotateValueThreeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KCHuiTransformation, "In TestCHTranRotateValueThreeL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KCHuiTransformation );
+ // Print to log file
+ iLog->Log( KCHuiTransformation );
+
+ CHuiTransformation* transfor = CHuiTransformation::NewL();
+ CleanupStack::PushL( transfor );
+ STIF_ASSERT_NOT_NULL( transfor );
+ THuiTimedValue angle;
+ transfor->Rotate( angle, 1, 1, 1 );
+ CleanupStack::PopAndDestroy( transfor );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiutil.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,650 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <fbs.h>
+#include <stiftestinterface.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huiutil.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilPower2
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilPower2( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilPower2" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ STIF_ASSERT_EQUALS(HuiUtil::Power2(128), 128);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2(256), 256);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2(1), 1);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2(2), 2);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2(3), 4);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2(127), 128);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2(129), 256);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2(255), 256);
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilPower2RoundDown
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilPower2RoundDown( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilPower2RoundDown" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ STIF_ASSERT_EQUALS(HuiUtil::Power2RoundDown(128), 128);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2RoundDown(256), 256);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2RoundDown(1), 1);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2RoundDown(2), 2);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2RoundDown(3), 2);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2RoundDown(127), 64);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2RoundDown(129), 128);
+ STIF_ASSERT_EQUALS(HuiUtil::Power2RoundDown(255), 128);
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilInterpolate
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilInterpolate( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilInterpolate" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ HuiUtil::Interpolate( 1.1, 0, 10 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilWrapValue
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilWrapValue( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilWrapValue" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ TReal32 value = 10;
+ HuiUtil::WrapValue( value, 0, 10 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilRandomInt
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilRandomInt( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilRandomInt" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ HuiUtil::RandomInt( 0, 10 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilRandomReal
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilRandomReal( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilRandomReal" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ HuiUtil::RandomReal( 0.1, 10.5 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilQuickLengthWithPoint
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilQuickLengthWithPoint( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilQuickLengthWithPoint" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ THuiRealPoint vector( 1, 1 );
+ HuiUtil::QuickLength( vector );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilQuickLength
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilQuickLength( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilQuickLength" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ HuiUtil::QuickLength( 1, 1 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilQuickNormalizeWithPoint
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilQuickNormalizeWithPoint( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilQuickNormalizeWithPoint" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ THuiRealPoint vector( 1, 1 );
+ HuiUtil::QuickNormalize( vector );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilQuickNormalize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilQuickNormalize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilQuickNormalize" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ TReal32 vector[3] = { 1, 1, 1 };
+ HuiUtil::QuickNormalize( vector );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilCrossProduct
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilCrossProduct( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilCrossProduct" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ TReal32 vectorA[3] = { 1, 1, 1 };
+ TReal32 vectorB[3] = { 10, 10, 10 };
+ TReal32 product[3] = { 0.1, 0.1, 0.1 };
+ HuiUtil::CrossProduct( vectorA, vectorB, product );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilNormalFromPoints
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilNormalFromPoints( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilNormalFromPoints" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ TReal32 point[3][3] = { { 1, 1, 1 }, { 1, 1, 1 }, { 1, 1, 1 } };
+ TReal32 normal[3] = { 0.1, 0.1, 0.1 };
+ HuiUtil::NormalFromPoints( point, normal );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilShadowMatrix
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilShadowMatrix( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilShadowMatrix" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ TReal32 planePoint[3] = { 1, 1, 1 };
+ TReal32 planeNormal[3] = { 0.1, 0.1, 0.1 };
+ TReal32 lightPos[4] = { 1, 1, 1, 1 };
+ TReal32 destMat[16] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 };
+ HuiUtil::ShadowMatrix( planePoint, planeNormal, lightPos, destMat );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilFreeMemory
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilFreeMemory( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilFreeMemory" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ HuiUtil::FreeMemory();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilScreenSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilScreenSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilScreenSize" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ HuiUtil::ScreenSize();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilLengthUnit
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilLengthUnit( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilLengthUnit" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ HuiUtil::LengthUnit();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilColorLightness
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilColorLightness( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilColorLightness" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ HuiUtil::ColorLightness( KRgbBlack );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilScaleFbsBitmapL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilScaleFbsBitmapL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilScaleFbsBitmapL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ CFbsBitmap *srcBmp = new ( ELeave ) CFbsBitmap();
+ CleanupStack::PushL( srcBmp );
+ TSize size( 256, 256 );
+ User::LeaveIfError( srcBmp->Create( size, EColor16M ) );
+ CFbsBitmap *scaledBmp = new ( ELeave ) CFbsBitmap();
+ CleanupStack::PushL( scaledBmp );
+ User::LeaveIfError( scaledBmp->Create( size, EColor16MA ) );
+ HuiUtil::ScaleFbsBitmapL( *srcBmp, *scaledBmp );
+ CleanupStack::PopAndDestroy( scaledBmp );
+ CleanupStack::PopAndDestroy( srcBmp );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilCombineMaskFbsBitmapL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilCombineMaskFbsBitmapL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilCombineMaskFbsBitmapL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ CFbsBitmap *srcBmp = new ( ELeave ) CFbsBitmap();
+ CleanupStack::PushL( srcBmp );
+ TSize size( 10, 10 );
+ User::LeaveIfError( srcBmp->Create( size, EColor16M ) );
+ CFbsBitmap *srcMaskBmp = new ( ELeave ) CFbsBitmap();
+ CleanupStack::PushL( srcMaskBmp );
+ User::LeaveIfError( srcMaskBmp->Create( size, EGray2 ) );
+ CFbsBitmap *combinedBmp = new ( ELeave ) CFbsBitmap;
+ CleanupStack::PushL( combinedBmp );
+ User::LeaveIfError( combinedBmp->Create( size, EColor16MA ) );
+
+ HuiUtil::CombineMaskFbsBitmapL( *srcBmp, *srcMaskBmp, *combinedBmp );
+ CleanupStack::PopAndDestroy( combinedBmp );
+ CleanupStack::PopAndDestroy( srcMaskBmp );
+ CleanupStack::PopAndDestroy( srcBmp );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilCropFbsBitmapL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilCropFbsBitmapL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilCropFbsBitmapL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ CFbsBitmap *srcBmp = new ( ELeave ) CFbsBitmap();
+ CleanupStack::PushL( srcBmp );
+ TSize size( 10, 10 );
+ User::LeaveIfError( srcBmp->Create( size, EColor16M ) );
+ CFbsBitmap *cropedBmp = new ( ELeave ) CFbsBitmap();
+ CleanupStack::PushL( cropedBmp );
+ User::LeaveIfError( cropedBmp->Create( size, EGray2 ) );
+ TPoint cropPos;
+ HuiUtil::CropFbsBitmapL( *srcBmp, *cropedBmp, cropPos );
+ CleanupStack::PopAndDestroy( cropedBmp );
+ CleanupStack::PopAndDestroy( srcBmp );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilScaleImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilScaleImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilScaleImageL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ TUint8* sourceimage = 0;
+ THuiTextureFormat aFormat = EHuiTextureFormatRgba8888;
+ TInt imageSize = 4 * 320 * 300;
+ sourceimage = new (ELeave) TUint8[imageSize];
+ CleanupStack::PushL(sourceimage);
+ // fill with
+ for (TInt t=0; t<imageSize;) {
+ sourceimage[t++] = 16; // red
+ sourceimage[t++] = 24; // green
+ sourceimage[t++] = 32; // blue
+ sourceimage[t++] = 255; // alpha
+ }
+ STIF_ASSERT_TRUE( sourceimage != NULL );
+ STIF_ASSERT_TRUE( sourceimage[0] == 16 );
+ STIF_ASSERT_TRUE( sourceimage[imageSize-1] == 255 );
+
+ // try to allocate dummy image buffer for 320x300 image
+ TUint8* targetimage = 0;
+ targetimage = new (ELeave) TUint8[4*16*16];
+ CleanupStack::PushL(targetimage);
+ // fill with zero pixels
+ for (TInt t=0; t<4*16*16; t++) targetimage[t] = 0;
+
+ HuiUtil::ScaleImage((aFormat == EHuiTextureFormatRgb888 ? 3 : 4),
+ TSize(320,200),
+ sourceimage,
+ TSize(16,16),
+ targetimage);
+
+ // assert that we got correct pixel data to the bottom-right cornder
+ STIF_ASSERT_TRUE( targetimage[15*16*4 + 0] == 16 );
+ STIF_ASSERT_TRUE( targetimage[15*16*4 + 1] == 24 );
+ STIF_ASSERT_TRUE( targetimage[15*16*4 + 2] == 32 );
+ STIF_ASSERT_TRUE( targetimage[15*16*4 + 3] == 255 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilCropImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilCropImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilCropImageL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ TUint8 value;
+ // try to allocate dummy image buffer for 320x300 image
+ TUint8* sourceimage = 0;
+ TInt imageSize = 4 * 160 * 100;
+ sourceimage = new (ELeave) TUint8[imageSize];
+ STIF_ASSERT_TRUE( sourceimage != NULL );
+ CleanupStack::PushL(sourceimage);
+ // fill with
+ TInt t;
+ for (t=0; t<imageSize;) {
+ // fill the target crop area a bit differently
+ if ((t>=16*160*4) && (t<=32*160*4))
+ {
+ sourceimage[t++] = 16; // red
+ sourceimage[t++] = 24; // green
+ sourceimage[t++] = 32; // blue
+ sourceimage[t++] = 255; // alpha
+ }
+ else
+ {
+ sourceimage[t++] = 1; // red
+ sourceimage[t++] = 1; // green
+ sourceimage[t++] = 1; // blue
+ sourceimage[t++] = 1; // alpha
+ }
+ }
+ STIF_ASSERT_TRUE( sourceimage != NULL );
+ STIF_ASSERT_TRUE( sourceimage[0] == 1 );
+
+ // try to allocate dummy image buffer for 320x300 image
+ TUint8* targetimage = 0;
+ imageSize = 4*16*16;
+ targetimage = new (ELeave) TUint8[imageSize];
+ STIF_ASSERT_TRUE( targetimage != NULL );
+ CleanupStack::PushL(targetimage);
+ // fill with zero pixels
+ for (t=0; t<4*16*16; t++)
+ {
+ targetimage[t] = 0;
+ }
+
+ value = targetimage[0];
+ STIF_ASSERT_TRUE( value == 0 );
+
+ HuiUtil::CropImage(4,
+ TSize(160,100),
+ sourceimage,
+ TPoint(0,16),
+ TSize(16,16),
+ targetimage);
+
+ // assert that we got correct pixel data
+ value = targetimage[0];
+ STIF_ASSERT_TRUE( value == 16 );
+ value = targetimage[1];
+ STIF_ASSERT_TRUE( value == 24 );
+ value = targetimage[2];
+ STIF_ASSERT_TRUE( value == 32 );
+ value = targetimage[3];
+ STIF_ASSERT_TRUE( value == 255 );
+ value = targetimage[15*16*4 + 0];
+ STIF_ASSERT_TRUE( value == 16 );
+ STIF_ASSERT_TRUE( targetimage[15*16*4 + 1] == 24 );
+ STIF_ASSERT_TRUE( targetimage[15*16*4 + 2] == 32 );
+ STIF_ASSERT_TRUE( targetimage[15*16*4 + 3] == 255 );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilTagMatches
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilTagMatches( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilTagMatches" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ _LIT8( KTagTxt, "Caption" );
+ _LIT8( KTagsColonSeparatedTxt, "Test:Caption" );
+ HuiUtil::TagMatches( KTagsColonSeparatedTxt, KTagTxt );
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiUtilConvertBitmapToDisplayModeLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiUtilConvertBitmapToDisplayModeLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( KTestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KHuiUtil, "In TestHuiUtilConvertBitmapToDisplayModeLCL" );
+ TestModuleIf().Printf( 0, KTestuiaifcoretoolkit, KHuiUtil );
+ // Print to log file
+ iLog->Log( KHuiUtil );
+
+ CFbsBitmap *srcBmp = new ( ELeave ) CFbsBitmap();
+ CleanupStack::PushL( srcBmp );
+ TSize size( 10, 10 );
+ User::LeaveIfError( srcBmp->Create( size, EColor16M ) );
+ CFbsBitmap* desBmp = HuiUtil::ConvertBitmapToDisplayModeLC( *srcBmp, EGray2 );
+ CleanupStack::PopAndDestroy( desBmp );
+ CleanupStack::PopAndDestroy( srcBmp );
+
+ return KErrNone;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiviewportlayout.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,111 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: for testing the method of the CHuiVisual
+*
+*/
+
+#include <uiacceltk\huiviewportlayout.h>
+
+#include "testuiaifcoretoolkit.h"
+
+const TInt KLength = 10;
+const TInt KWidth = 5;
+
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiViewPortLayoutAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiViewPortLayoutAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiViewPortLayoutAddNewL, "In TestHuiViewPortLayoutAddNewL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiViewPortLayoutAddNewL );
+ // Print to log file
+ iLog->Log( KTestHuiViewPortLayoutAddNewL );
+
+ iHuiViewPortLayout = CHuiViewportLayout::AddNewL( *iHuiControl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiViewPortLayoutSetVirtualSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiViewPortLayoutSetVirtualSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiViewPortLayoutSetVirtualSize, "In TestHuiViewPortLayoutSetVirtualSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiViewPortLayoutSetVirtualSize );
+ // Print to log file
+ iLog->Log( KTestHuiViewPortLayoutSetVirtualSize );
+
+ THuiRealSize size( KLength, KWidth );
+
+ iHuiViewPortLayout->SetVirtualSize( size );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiViewPortLayoutSetViewportSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiViewPortLayoutSetViewportSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiViewPortLayoutSetViewportSize, "In TestHuiViewPortLayoutSetViewportSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiViewPortLayoutSetViewportSize );
+ // Print to log file
+ iLog->Log( KTestHuiViewPortLayoutSetViewportSize );
+
+ THuiRealSize size( KLength, KWidth );
+
+ iHuiViewPortLayout->SetViewportSize( size );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiViewPortLayoutSetViewportPos
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiViewPortLayoutSetViewportPos( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiViewPortLayoutSetViewportPos, "In TestHuiViewPortLayoutSetViewportPos" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiViewPortLayoutSetViewportPos );
+ // Print to log file
+ iLog->Log( KTestHuiViewPortLayoutSetViewportPos );
+
+ THuiRealPoint point( 0, 0 );
+
+ iHuiViewPortLayout->SetViewportPos( point );
+
+ return KErrNone;
+
+ }
+// End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuivisual.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,2517 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: for testing the method of the CHuiVisual
+*
+*/
+
+#include <uiacceltk\huivisual.h>
+#include <uiacceltk\huicontrol.h>
+#include <uiacceltk\huidecklayout.h>
+#include <uiacceltk\huiskin.h>
+
+
+#include "testuialfcoretoolkitvisualext.h"
+#include "testuiaifcoretoolkit.h"
+
+const TInt KSessionId = 0x2001CB80;
+const TInt KPointX = 100;
+const TInt KPointY = 100;
+const TInt KLength = 200;
+const TInt KBufLength = 20;
+const TInt KMovePoint = 20;
+const TInt KFeedbackEvent0 = 0;
+const TInt KFeedbackEvent1 = 1;
+const TInt KFeedbackType0 = 0;
+const TInt KFeedbackType1 = 1;
+const TInt KFeedbackType2 = 2;
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualAddNewL, "In TestHuiVisualAddNewL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualAddNewL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualAddNewL );
+
+ iHuiNewControl = new( ELeave ) CHuiControl( *iHuiEnv );
+
+ TRAPD( error, iHuiVisual->AddNewL( *iHuiNewControl ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualCHuiVisual
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualCHuiVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualCHuiVisual, "In TestHuiVisualCHuiVisual" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualCHuiVisual );
+ // Print to log file
+ iLog->Log( KTestHuiVisualCHuiVisual );
+
+ iHuiVisual = new( ELeave ) CHuiVisual( *iHuiControl );
+
+ STIF_ASSERT_NOT_NULL( iHuiVisual );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualConstructL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualConstructL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualConstructL, "In TestHuiVisualConstructL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualConstructL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualConstructL );
+
+ TRAPD( error, iHuiVisual->ConstructL() );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDelete
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDelete( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDelete, "In TestHuiVisualDelete" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDelete );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDelete );
+
+ delete iHuiVisual;
+ iHuiVisual = NULL;
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualRemoveAndDestroyAllD
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualRemoveAndDestroyAllD( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualRemoveAndDestroyAllD, "In TestHuiVisualRemoveAndDestroyAllD" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualRemoveAndDestroyAllD );
+ // Print to log file
+ iLog->Log( KTestHuiVisualRemoveAndDestroyAllD );
+
+ iHuiVisual->RemoveAndDestroyAllD();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetTagL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetTagL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetTagL, "In TestHuiVisualSetTagL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetTagL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetTagL );
+
+ TRAPD( error, iHuiVisual->SetTagL( _L8( "huidisplaystring" ) ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualTag
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualTag( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualTag, "In TestHuiVisualTag" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualTag );
+ // Print to log file
+ iLog->Log( KTestHuiVisualTag );
+
+ iHuiVisual->Tag();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualIsTagged
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualIsTagged( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualIsTagged, "In TestHuiVisualIsTagged" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualIsTagged );
+ // Print to log file
+ iLog->Log( KTestHuiVisualIsTagged );
+
+ TBool isTagged = iHuiVisual->IsTagged();
+
+ STIF_ASSERT_TRUE( isTagged );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualFindTag
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualFindTag( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualFindTag, "In TestHuiVisualFindTag" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualFindTag );
+ // Print to log file
+ iLog->Log( KTestHuiVisualFindTag );
+
+ CHuiVisual* huiVisual = iHuiVisual->FindTag( _L8("huidisplaystring") );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetFlag
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetFlag( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetFlag, "In TestHuiVisualSetFlag" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetFlag );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetFlag );
+
+ iHuiVisual->SetFlag( EHuiVisualFlagManualSize );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetFlags
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetFlags( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetFlags, "In TestHuiVisualSetFlags" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetFlags );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetFlags );
+
+ iHuiVisual->SetFlags(
+ EHuiVisualFlagManualSize ||
+ EHuiVisualFlagDrawAfterOthers ||
+ EHuiVisualFlagHOriginRight ||
+ EHuiVisualFlagFreezeLayout);
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualClearFlag
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualClearFlag( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualClearFlag, "In TestHuiVisualClearFlag" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualClearFlag );
+ // Print to log file
+ iLog->Log( KTestHuiVisualClearFlag );
+
+ iHuiVisual->ClearFlag( EHuiVisualFlagManualSize );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualClearFlags
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualClearFlags( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualClearFlags, "In TestHuiVisualClearFlags" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualClearFlags );
+ // Print to log file
+ iLog->Log( KTestHuiVisualClearFlags );
+
+ iHuiVisual->ClearFlags(
+ EHuiVisualFlagManualSize ||
+ EHuiVisualFlagDrawAfterOthers ||
+ EHuiVisualFlagHOriginRight ||
+ EHuiVisualFlagFreezeLayout );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualFlags
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualFlags( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualFlags, "In TestHuiVisualFlags" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualFlags );
+ // Print to log file
+ iLog->Log( KTestHuiVisualFlags );
+
+ iHuiVisual->Flags();
+
+ return KErrNone;
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualOwner
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualOwner( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualOwner, "In TestHuiVisualOwner" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualOwner );
+ // Print to log file
+ iLog->Log( KTestHuiVisualOwner );
+
+ MHuiVisualOwner* visual = &( iHuiVisual->Owner() );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetOwner
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetOwnerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetOwner, "In TestHuiVisualSetOwner" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetOwner );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetOwner );
+
+ iHuiNewControl = new( ELeave ) CHuiControl( *iHuiEnv );
+
+ iHuiVisual->SetOwner( *iHuiNewControl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualCount
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualCount( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualCount, "In TestHuiVisualCount" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualCount );
+ // Print to log file
+ iLog->Log( KTestHuiVisualCount );
+
+ TInt count = iHuiVisual->Count();
+
+ STIF_ASSERT_EQUALS( count, 0 );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualVisual
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualVisual( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualVisual, "In TestHuiVisualVisual" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualVisual );
+ // Print to log file
+ iLog->Log( KTestHuiVisualVisual );
+
+// iHuiVisual->Visual( 0 );//always panic
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualLayout
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualLayoutL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualLayout, "In TestHuiVisualLayout" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualLayout );
+ // Print to log file
+ iLog->Log( KTestHuiVisualLayout );
+
+ iHuiLayout = new( ELeave ) CHuiLayout( *iHuiControl );
+
+ iHuiLayout->ConstructL();
+
+ iHuiLayout->AppendL( iHuiVisual );
+
+ CHuiVisual* huiVisual = iHuiVisual->Layout();
+
+ STIF_ASSERT_NOT_NULL( huiVisual );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualEnv
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualEnv( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualEnv, "In TestHuiVisualEnv" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualEnv );
+ // Print to log file
+ iLog->Log( KTestHuiVisualEnv );
+
+ CHuiEnv* env = &( iHuiVisual->Env() );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSkin
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSkin( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSkin, "In TestHuiVisualSkin" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSkin );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSkin );
+
+ CHuiSkin* skin = &( iHuiVisual->Skin() );
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDisplay
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDisplay( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDisplay, "In TestHuiVisualDisplay" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDisplay );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDisplay );
+
+ CHuiDisplay* display = iHuiVisual->Display();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetOrigin
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetOrigin( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetOrigin, "In TestHuiVisualSetOrigin" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetOrigin );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetOrigin );
+
+ iHuiVisual->SetOrigin( EHuiVisualHOriginCenter, EHuiVisualVOriginCenter );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualHorizontalOrigin
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualHorizontalOrigin( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualHorizontalOrigin, "In TestHuiVisualHorizontalOrigin" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualHorizontalOrigin );
+ // Print to log file
+ iLog->Log( KTestHuiVisualHorizontalOrigin );
+
+ THuiVisualHOrigin hOrigin = iHuiVisual->HorizontalOrigin();
+
+ STIF_ASSERT_EQUALS( hOrigin, EHuiVisualHOriginCenter );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualVerticalOrigin
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualVerticalOrigin( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualVerticalOrigin, "In TestHuiVisualVerticalOrigin" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualVerticalOrigin );
+ // Print to log file
+ iLog->Log( KTestHuiVisualVerticalOrigin );
+
+ THuiVisualVOrigin vOrigin = iHuiVisual->VerticalOrigin();
+
+ STIF_ASSERT_EQUALS( vOrigin, EHuiVisualVOriginCenter );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualAlignByOrigin
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualAlignByOrigin( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualAlignByOrigin, "In TestHuiVisualAlignByOrigin" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualAlignByOrigin );
+ // Print to log file
+ iLog->Log( KTestHuiVisualAlignByOrigin );
+
+ THuiRealPoint point( KPointX, KPointY );
+
+ iHuiVisual->AlignByOrigin( point );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetMinTSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetMinTSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetMinTSizeL, "In TestHuiVisualSetMinTSizeL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetMinTSizeL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetMinTSizeL );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ TSize minSize( 20, 30 );
+ iHuiVisual->SetMinSize( minSize );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetMinHuiSizeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetMinHuiSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetMinHuiSizeL, "In TestHuiVisualSetMinHuiSizeL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetMinHuiSizeL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetMinHuiSizeL );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ THuiRealSize minSize( 20.4, 30.3 );
+ iHuiVisual->SetMinSize( minSize );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualMinSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualMinSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualMinSize, "In TestHuiVisualMinSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualMinSize );
+ // Print to log file
+ iLog->Log( KTestHuiVisualMinSize );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ TSize minSize( 20, 30 );
+ iHuiVisual->SetMinSize( minSize );
+
+ TSize result = iHuiVisual->MinSize();
+ STIF_ASSERT_EQUALS( minSize.iHeight , result.iHeight );
+ STIF_ASSERT_EQUALS( minSize.iWidth , result.iWidth );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualMinSizeInBaseUnits
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualMinSizeInBaseUnitsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualMinSizeInBaseUnits, "In TestHuiVisualMinSizeInBaseUnits" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualMinSizeInBaseUnits );
+ // Print to log file
+ iLog->Log( KTestHuiVisualMinSizeInBaseUnits );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ THuiRealSize minSize( 20.4, 30.3 );
+ iHuiVisual->SetMinSize( minSize );
+
+ THuiRealSize result = iHuiVisual->MinSizeInBaseUnits();
+ STIF_ASSERT_EQUALS( minSize.iHeight , result.iHeight );
+ STIF_ASSERT_EQUALS( minSize.iWidth , result.iWidth );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetMaxTSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetMaxTSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetMaxTSize, "In TestHuiVisualSetMaxTSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetMaxTSize );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetMaxTSize );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ TSize maxSize( 20, 30 );
+ iHuiVisual->SetMaxSize( maxSize );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetMaxHuiSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetMaxHuiSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetMaxHuiSize, "In TestHuiVisualSetMaxHuiSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetMaxHuiSize );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetMaxHuiSize );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ THuiRealSize maxSize( 20.4, 30.3 );
+ iHuiVisual->SetMaxSize( maxSize );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualMaxSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualMaxSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualMaxSize, "In TestHuiVisualMaxSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualMaxSize );
+ // Print to log file
+ iLog->Log( KTestHuiVisualMaxSize );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ TSize maxSize( 20, 30 );
+ iHuiVisual->SetMaxSize( maxSize );
+
+ TSize result = iHuiVisual->MaxSize();
+ STIF_ASSERT_EQUALS( maxSize.iHeight , result.iHeight );
+ STIF_ASSERT_EQUALS( maxSize.iWidth , result.iWidth );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualMaxSizeInBaseUnits
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualMaxSizeInBaseUnitsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualMaxSizeInBaseUnits, "In TestHuiVisualMaxSizeInBaseUnits" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualMaxSizeInBaseUnits );
+ // Print to log file
+ iLog->Log( KTestHuiVisualMaxSizeInBaseUnits );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ THuiRealSize maxSize( 20.4, 30.3 );
+ iHuiVisual->SetMaxSize( maxSize );
+
+ THuiRealSize result = iHuiVisual->MaxSizeInBaseUnits();
+ STIF_ASSERT_EQUALS( maxSize.iHeight , result.iHeight );
+ STIF_ASSERT_EQUALS( maxSize.iWidth , result.iWidth );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPosConst
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualPosConst( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPosConst, "In TestHuiVisualPosConst" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPosConst );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPosConst );
+
+ const_cast< const CHuiVisual* >( iHuiVisual )->Pos();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualConstSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualConstSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualConstSize, "In TestHuiVisualConstSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualConstSize );
+ // Print to log file
+ iLog->Log( KTestHuiVisualConstSize );
+
+ const_cast< const CHuiVisual* >( iHuiVisual )->Size();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSize, "In TestHuiVisualSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSize );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSize );
+
+ iHuiVisual->Size();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetPos
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetPos( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetPos, "In TestHuiVisualSetPos" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetPos );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetPos );
+
+ THuiRealPoint huiRealPoint( KPointX, KPointY );
+
+ iHuiVisual->SetPos( huiRealPoint );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetSize( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetSize, "In TestHuiVisualSetSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetSize );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetSize );
+
+ THuiRealSize size( KPointX, KPointY );
+
+ iHuiVisual->SetSize( size );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetRect
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetRect( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetRect, "In TestHuiVisualSetRect" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetRect );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetRect );
+
+ THuiRealPoint leftTop( 0, 0 );
+ THuiRealPoint rightBottom( KPointX, KPointY );
+
+ THuiRealRect rect( leftTop, rightBottom );
+
+ iHuiVisual->SetRect( rect );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualTMove
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualTMoveL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualTMove, "In TestHuiVisualTMove" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualTMove );
+ // Print to log file
+ iLog->Log( KTestHuiVisualTMove );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+
+ TPoint offset( 20, 12 );
+ iHuiVisual->SetFlag( EHuiVisualFlagManualLayout );
+ iHuiVisual->Move( offset );
+ THuiTimedPoint visualPos = iHuiVisual->Pos();
+ STIF_ASSERT_EQUALS( visualPos.Target().iX , offset.iX );
+ STIF_ASSERT_EQUALS( visualPos.Target().iY , offset.iY );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualHuiMove
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualHuiMoveL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualHuiMove, "In TestHuiVisualHuiMove" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualHuiMove );
+ // Print to log file
+ iLog->Log( KTestHuiVisualHuiMove );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ THuiRealPoint huiRealPoint( KMovePoint, KMovePoint );
+
+ THuiRealPoint offset( 20.4, 12.3 );
+ iHuiVisual->SetFlag( EHuiVisualFlagManualLayout );
+ iHuiVisual->Move( offset );
+ THuiTimedPoint visualPos = iHuiVisual->Pos();
+ STIF_ASSERT_EQUALS( visualPos.iX.Target() , offset.iX );
+ STIF_ASSERT_EQUALS( visualPos.iY.Target() , offset.iY );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualMimic
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualMimicL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualMimic, "In TestHuiVisualMimic" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualMimic );
+ // Print to log file
+ iLog->Log( KTestHuiVisualMimic );
+
+ iHuiNewControl = new( ELeave ) CHuiControl( *iHuiEnv );
+
+ CHuiVisual* visual = CHuiVisual::AddNewL( *iHuiNewControl );
+
+ iHuiVisual->Mimic( *visual );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetCenteredPosAndTSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetCenteredPosAndTSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetCenteredPosAndTSize, "In TestHuiVisualSetCenteredPosAndTSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetCenteredPosAndTSize );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetCenteredPosAndTSize );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ TPoint centerPoint(20,30);
+ TSize size(40,50);
+ TInt tempX = centerPoint.iX-(size.iWidth/2.0);
+ TInt tempY = centerPoint.iY-(size.iHeight/2.0);
+ iHuiVisual->SetFlag( EHuiVisualFlagManualLayout );
+ iHuiVisual->SetCenteredPosAndSize( centerPoint, size );
+ THuiTimedPoint visualPos = iHuiVisual->Pos();
+ THuiTimedPoint visualSize = iHuiVisual->Size();
+ STIF_ASSERT_EQUALS(visualPos.Target().iX , tempX );
+ STIF_ASSERT_EQUALS(visualPos.Target().iY , tempY ) ;
+ STIF_ASSERT_EQUALS(visualSize.Target().iX, size.iWidth );
+ STIF_ASSERT_EQUALS(visualSize.Target().iY, size.iHeight );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetCenteredPosAndHuiSize
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetCenteredPosAndHuiSizeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetCenteredPosAndHuiSize, "In TestHuiVisualSetCenteredPosAndHuiSize" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetCenteredPosAndHuiSize );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetCenteredPosAndHuiSize );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ THuiRealPoint centerPoint(20.4,30.3);
+ THuiRealSize size(40.3,50.4);
+ TInt tempX = centerPoint.iX-(size.iWidth/2.0);
+ TInt tempY = centerPoint.iY-(size.iHeight/2.0);
+ iHuiVisual->SetFlag( EHuiVisualFlagManualLayout );
+ iHuiVisual->SetCenteredPosAndSize( centerPoint, size );
+ THuiTimedPoint visualPos = iHuiVisual->Pos();
+ THuiTimedPoint visualSize = iHuiVisual->Size();
+ STIF_ASSERT_EQUALS(visualPos.Target().iX , tempX );
+ STIF_ASSERT_EQUALS(visualPos.Target().iY , tempY );
+ STIF_ASSERT_EQUALS(visualSize.iX.Target(), size.iWidth );
+ STIF_ASSERT_EQUALS(visualSize.iY.Target(), size.iHeight );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualUpdateChildrenLayout
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualUpdateChildrenLayout( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualUpdateChildrenLayout, "In TestHuiVisualUpdateChildrenLayout" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualUpdateChildrenLayout );
+ // Print to log file
+ iLog->Log( KTestHuiVisualUpdateChildrenLayout );
+
+ iHuiVisual->UpdateChildrenLayout();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualUpdateSiblingLayout
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualUpdateSiblingLayout( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualUpdateSiblingLayout, "In TestHuiVisualUpdateSiblingLayout" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualUpdateSiblingLayout );
+ // Print to log file
+ iLog->Log( KTestHuiVisualUpdateSiblingLayout );
+
+ iHuiVisual->UpdateSiblingLayout();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDisplayRect
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDisplayRect( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDisplayRect, "In TestHuiVisualDisplayRect" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDisplayRect );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDisplayRect );
+
+ iHuiVisual->DisplayRect();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDisplayRectTarget
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDisplayRectTarget( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDisplayRectTarget, "In TestHuiVisualDisplayRectTarget" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDisplayRectTarget );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDisplayRectTarget );
+
+ iHuiVisual->DisplayRectTarget();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualLocalBaseUnit
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualLocalBaseUnit( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualLocalBaseUnit, "In TestHuiVisualLocalBaseUnit" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualLocalBaseUnit );
+ // Print to log file
+ iLog->Log( KTestHuiVisualLocalBaseUnit );
+
+ iHuiVisual->LocalBaseUnit();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualLocalPointInPixels
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualLocalPointInPixels( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualLocalPointInPixels, "In TestHuiVisualLocalPointInPixels" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualLocalPointInPixels );
+ // Print to log file
+ iLog->Log( KTestHuiVisualLocalPointInPixels );
+
+ THuiRealPoint huiRealPoint( KPointX, KPointY );
+
+ iHuiVisual->LocalPointInPixels( huiRealPoint );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualLocalPointInPixelsWithState
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualLocalPointInPixelsWithState( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualLocalPointInPixelsWithState, "In TestHuiVisualLocalPointInPixelsWithState" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualLocalPointInPixelsWithState );
+ // Print to log file
+ iLog->Log( KTestHuiVisualLocalPointInPixelsWithState );
+
+ THuiRealPoint huiRealPoint( KPointX, KPointY );
+
+ iHuiVisual->LocalPointInPixels( huiRealPoint, EHuiReferenceStateTarget );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPixelPointInLocal
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualPixelPointInLocal( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPixelPointInLocal, "In TestHuiVisualPixelPointInLocal" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPixelPointInLocal );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPixelPointInLocal );
+
+ THuiRealPoint huiRealPoint( KPointX, KPointY );
+
+ iHuiVisual->PixelPointInLocal( huiRealPoint );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPixelPointInLocalWithState
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualPixelPointInLocalWithState( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPixelPointInLocalWithState, "In TestHuiVisualPixelPointInLocalWithState" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPixelPointInLocalWithState );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPixelPointInLocalWithState );
+
+ THuiRealPoint huiRealPoint( KPointX, KPointY );
+
+ iHuiVisual->PixelPointInLocal( huiRealPoint, EHuiReferenceStateTarget );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualMetricToPixels
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualMetricToPixels( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualMetricToPixels, "In TestHuiVisualMetricToPixels" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualMetricToPixels );
+ // Print to log file
+ iLog->Log( KTestHuiVisualMetricToPixels );
+
+ THuiMetric x( KLength );
+ THuiMetric y( KLength );
+ THuiXYMetric huiXYMetric( x, y );
+
+ iHuiVisual->MetricToPixels( huiXYMetric );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualMetricToPixelsWithState
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualMetricToPixelsWithState( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualMetricToPixelsWithState, "In TestHuiVisualMetricToPixelsWithState" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualMetricToPixelsWithState );
+ // Print to log file
+ iLog->Log( KTestHuiVisualMetricToPixelsWithState );
+
+ THuiMetric x( KLength );
+ THuiMetric y( KLength );
+ THuiXYMetric huiXYMetric( x, y );
+
+ iHuiVisual->MetricToPixels( huiXYMetric, EHuiReferenceStateTarget );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPixelsToMetric
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualPixelsToMetric( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPixelsToMetric, "In TestHuiVisualPixelsToMetric" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPixelsToMetric );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPixelsToMetric );
+
+ THuiRealPoint huiRealPoint( KPointX, KPointX );
+
+ THuiMetric x( KLength );
+ THuiMetric y( KLength );
+ THuiXYMetric huiXYMetric( x, y );
+
+ iHuiVisual->PixelsToMetric( huiRealPoint, huiXYMetric );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPixelsToMetricWithState
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualPixelsToMetricWithState( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPixelsToMetricWithState, "In TestHuiVisualPixelsToMetricWithState" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPixelsToMetricWithState );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPixelsToMetricWithState );
+
+ THuiRealPoint huiRealPoint( KPointX, KPointY );
+
+ THuiMetric x( KLength );
+ THuiMetric y( KLength );
+ THuiXYMetric huiXYMetric( x, y );
+
+ iHuiVisual->PixelsToMetric( huiRealPoint, huiXYMetric, EHuiReferenceStateTarget );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualMetricReferenceInPixels
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualMetricReferenceInPixels( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualMetricReferenceInPixels, "In TestHuiVisualMetricReferenceInPixels" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualMetricReferenceInPixels );
+ // Print to log file
+ iLog->Log( KTestHuiVisualMetricReferenceInPixels );
+
+ THuiMetric x( KLength );
+ THuiMetric y( KLength );
+ THuiXYMetric huiXYMetric( x, y );
+
+ iHuiVisual->MetricReferenceInPixels( huiXYMetric );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualMetricReferenceInPixelsWithState
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualMetricReferenceInPixelsWithState( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualMetricReferenceInPixelsWithState, "In TestHuiVisualMetricReferenceInPixelsWithState" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualMetricReferenceInPixelsWithState );
+ // Print to log file
+ iLog->Log( KTestHuiVisualMetricReferenceInPixelsWithState );
+
+ THuiMetric x( KLength );
+ THuiMetric y( KLength );
+ THuiXYMetric huiXYMetric( x, y );
+
+ iHuiVisual->MetricReferenceInPixels( huiXYMetric, EHuiReferenceStateTarget );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualLocalToDisplayT
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualLocalToDisplayT( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualLocalToDisplayT, "In TestHuiVisualLocalToDisplayT" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualLocalToDisplayT );
+ // Print to log file
+ iLog->Log( KTestHuiVisualLocalToDisplayT );
+
+ TPoint point( KPointX, KPointY );
+
+ iHuiVisual->LocalToDisplay( point );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualLocalToDisplayHui
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualLocalToDisplayHui( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualLocalToDisplayHui, "In TestHuiVisualLocalToDisplayHui" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualLocalToDisplayHui );
+ // Print to log file
+ iLog->Log( KTestHuiVisualLocalToDisplayHui );
+
+ THuiRealPoint point( KPointX, KPointY );
+
+ iHuiVisual->LocalToDisplay( point );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDisplayToLocalT
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDisplayToLocalT( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDisplayToLocalT, "In TestHuiVisualDisplayToLocalT" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDisplayToLocalT );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDisplayToLocalT );
+
+ TPoint point( KPointX, KPointY );
+
+ iHuiVisual->DisplayToLocal( point );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDisplayToLocalHui
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDisplayToLocalHui( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDisplayToLocalHui, "In TestHuiVisualDisplayToLocalHui" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDisplayToLocalHui );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDisplayToLocalHui );
+
+ THuiRealPoint point( KPointX, KPointY );
+
+ iHuiVisual->DisplayToLocal( point );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualBoxMetricToPixelRect
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualBoxMetricToPixelRect( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualBoxMetricToPixelRect, "In TestHuiVisualBoxMetricToPixelRect" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualBoxMetricToPixelRect );
+ // Print to log file
+ iLog->Log( KTestHuiVisualBoxMetricToPixelRect );
+
+ THuiMetric size( KPointX );
+ THuiBoxMetric boxMetric( size );
+
+
+ THuiRealPoint leftTop( 0, 0 );
+ THuiRealPoint rightBottom( KPointX, KPointY );
+
+ THuiRealRect rect( leftTop, rightBottom );
+
+ iHuiVisual->BoxMetricToPixelRect( boxMetric, rect );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualBoxMetricToPixelRectWithState
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualBoxMetricToPixelRectWithState( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualBoxMetricToPixelRectWithState, "In TestHuiVisualBoxMetricToPixelRectWithState" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualBoxMetricToPixelRectWithState );
+ // Print to log file
+ iLog->Log( KTestHuiVisualBoxMetricToPixelRectWithState );
+
+ THuiMetric size( KPointX );
+ THuiBoxMetric boxMetric( size );
+
+
+ THuiRealPoint leftTop( 0, 0 );
+ THuiRealPoint rightBottom( KPointX, KPointY );
+
+ THuiRealRect rect( leftTop, rightBottom );
+
+ iHuiVisual->BoxMetricToPixelRect( boxMetric, rect, EHuiReferenceStateTarget );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualMoveToFront
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualMoveToFront( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualMoveToFront, "In TestHuiVisualMoveToFront" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualMoveToFront );
+ // Print to log file
+ iLog->Log( KTestHuiVisualMoveToFront );
+
+ iHuiVisual->MoveToFront();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPos
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualPos( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPos, "In TestHuiVisualPos" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPos );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPos );
+
+ iHuiVisual->Pos();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualEffectiveOpacity
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualEffectiveOpacity( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualEffectiveOpacity, "In TestHuiVisualEffectiveOpacity" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualEffectiveOpacity );
+ // Print to log file
+ iLog->Log( KTestHuiVisualEffectiveOpacity );
+
+ iHuiVisual->EffectiveOpacity();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetClipping
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetClipping( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetClipping, "In TestHuiVisualSetClipping" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetClipping );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetClipping );
+
+ iHuiVisual->SetClipping();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualClipping
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualClipping( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualClipping, "In TestHuiVisualClipping" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualClipping );
+ // Print to log file
+ iLog->Log( KTestHuiVisualClipping );
+
+ TBool flag = iHuiVisual->Clipping();
+
+ STIF_ASSERT_TRUE( flag );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualEnableTransformationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualEnableTransformationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualEnableTransformationL, "In TestHuiVisualEnableTransformationL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualEnableTransformationL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualEnableTransformationL );
+
+ iHuiVisual->EnableTransformationL();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualTransformation
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualTransformation( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualTransformation, "In TestHuiVisualTransformation" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualTransformation );
+ // Print to log file
+ iLog->Log( KTestHuiVisualTransformation );
+
+ iHuiVisual->Transformation();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetPadding
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetPadding( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetPadding, "In TestHuiVisualSetPadding" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetPadding );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetPadding );
+
+ TInt pad( KPointY );
+
+ iHuiVisual->SetPadding( pad );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetPaddingWithPoint
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetPaddingWithPoint( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetPaddingWithPoint, "In TestHuiVisualSetPaddingWithPoint" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetPaddingWithPoint );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetPaddingWithPoint );
+
+ TPoint point( KPointX, KPointY );
+
+ iHuiVisual->SetPadding( point );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPadding
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetPaddingWithHuiBoxMetrix( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPadding, "In TestHuiVisualPadding" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPadding );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPadding );
+
+ THuiMetric size( KPointX );
+ THuiBoxMetric boxMetric( size );
+
+ iHuiVisual->SetPadding( boxMetric );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPadding
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualPadding( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPadding, "In TestHuiVisualPadding" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPadding );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPadding );
+
+ iHuiVisual->Padding();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPaddingInPixels
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualPaddingInPixels( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPaddingInPixels, "In TestHuiVisualPaddingInPixels" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPaddingInPixels );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPaddingInPixels );
+
+ iHuiVisual->PaddingInPixels();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPaddingInPixelsWithState
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualPaddingInPixelsWithState( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPaddingInPixelsWithState, "In TestHuiVisualPaddingInPixelsWithState" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPaddingInPixelsWithState );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPaddingInPixelsWithState );
+
+ iHuiVisual->PaddingInPixels( EHuiReferenceStateTarget );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualPrepareDrawL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualPrepareDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualPrepareDrawL, "In TestHuiVisualPrepareDrawL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualPrepareDrawL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualPrepareDrawL );
+
+ TBool flag = iHuiVisual->PrepareDrawL();
+
+ STIF_ASSERT_TRUE( flag );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDraw
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDraw, "In TestHuiVisualDraw" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDraw );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDraw );
+
+ const TRect rect( 0, 0, 100, 100 );
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+
+ CleanupStack::PushL( ctrl );
+
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+
+ CHuiGc& gc = iHuiEnv->Skin().Context();
+
+ iHuiVisual->Draw( gc ); // Need Gc
+
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDrawBrushes
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDrawBrushesL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDrawBrushes, "In TestHuiVisualDrawBrushes" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDrawBrushes );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDrawBrushes );
+
+ const TRect rect( 0, 0, 100, 100 );
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+
+ CleanupStack::PushL( ctrl );
+
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+
+ CHuiGc& gc = iHuiEnv->Skin().Context();
+
+ iHuiVisual->DrawBrushes( gc, EHuiBrushLayerBackground );// Need Gc
+
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDrawSelf
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDrawSelfL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDrawSelf, "In TestHuiVisualDrawSelf" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDrawSelf );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDrawSelf );
+
+ const TRect KDisplayRect( 0,0,100,100 );
+
+ const TRect rect( 0, 0, 100, 100 );
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+
+ CleanupStack::PushL( ctrl );
+
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+
+ CHuiGc& gc = iHuiEnv->Skin().Context();
+
+ iHuiVisual->DrawSelf( gc, KDisplayRect ); // Need Gc
+
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetChanged
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetChanged( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetChanged, "In TestHuiVisualSetChanged" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetChanged );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetChanged );
+
+ iHuiVisual->SetChanged();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualChanged
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualChanged( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualChanged, "In TestHuiVisualChanged" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualChanged );
+ // Print to log file
+ iLog->Log( KTestHuiVisualChanged );
+
+ iHuiVisual->Changed();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualReportChanged
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualReportChanged( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualReportChanged, "In TestHuiVisualReportChanged" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualReportChanged );
+ // Print to log file
+ iLog->Log( KTestHuiVisualReportChanged );
+
+ iHuiVisual->ReportChanged();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualClearChanged
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualClearChanged( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualClearChanged, "In TestHuiVisualClearChanged" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualClearChanged );
+ // Print to log file
+ iLog->Log( KTestHuiVisualClearChanged );
+
+ iHuiVisual->ClearChanged();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualEnableBrushesL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualEnableBrushesL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualEnableBrushesL, "In TestHuiVisualEnableBrushesL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualEnableBrushesL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualEnableBrushesL );
+
+ iHuiVisual->EnableBrushesL();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualBrushes
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualBrushes( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualBrushes, "In TestHuiVisualBrushes" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualBrushes );
+ // Print to log file
+ iLog->Log( KTestHuiVisualBrushes );
+
+ iHuiVisual->Brushes();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDumpTree
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDumpTree( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDumpTree, "In TestHuiVisualDumpTree" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDumpTree );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDumpTree );
+
+ iHuiVisual->DumpTree();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualGetInstanceName
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualGetInstanceName( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualGetInstanceName, "In TestHuiVisualGetInstanceName" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualGetInstanceName );
+ // Print to log file
+ iLog->Log( KTestHuiVisualGetInstanceName );
+
+ TBuf<KBufLength> instanceName;
+
+ iHuiVisual->GetInstanceName( instanceName );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualGetClassName
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualGetClassName( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualGetClassName, "In TestHuiVisualGetClassName" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualGetClassName );
+ // Print to log file
+ iLog->Log( KTestHuiVisualGetClassName );
+
+ TBuf<KBufLength> className;
+
+ iHuiVisual->GetClassName( className );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualEnterLocalProjection
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualEnterLocalProjectionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualEnterLocalProjection, "In TestHuiVisualEnterLocalProjection" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualEnterLocalProjection );
+ // Print to log file
+ iLog->Log( KTestHuiVisualEnterLocalProjection );
+
+
+ const TRect rect( 0, 0, 100, 100 );
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+
+ CleanupStack::PushL( ctrl );
+
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+
+ CHuiGc& gc = iHuiEnv->Skin().Context();
+
+ iHuiVisual->EnterLocalProjection( gc, ETrue ); // Need Gc
+
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualNotifySkinChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualNotifySkinChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualNotifySkinChangedL, "In TestHuiVisualNotifySkinChangedL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualNotifySkinChangedL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualNotifySkinChangedL );
+
+ iHuiVisual->NotifySkinChangedL();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetTactileFeedbackL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetTactileFeedbackL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetTactileFeedbackL, "In TestHuiVisualSetTactileFeedbackL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetTactileFeedbackL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetTactileFeedbackL );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ iHuiVisual->SetTactileFeedbackL( KFeedbackEvent0 , KFeedbackType0 );
+ iHuiVisual->SetTactileFeedbackL( KFeedbackEvent1 , KFeedbackType1 );
+ iHuiVisual->SetTactileFeedbackL( KFeedbackEvent1 , KFeedbackType0 );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualHasTactileFeedback
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualHasTactileFeedbackL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualHasTactileFeedback, "In TestHuiVisualHasTactileFeedback" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualHasTactileFeedback );
+ // Print to log file
+ iLog->Log( KTestHuiVisualHasTactileFeedback );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback() );
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback(KFeedbackEvent0) );
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback(KFeedbackEvent1) );
+
+ iHuiVisual->SetTactileFeedbackL( KFeedbackEvent0 , KFeedbackType0 );
+ STIF_ASSERT_TRUE( iHuiVisual->HasTactileFeedback() );
+ STIF_ASSERT_TRUE( iHuiVisual->HasTactileFeedback(KFeedbackEvent0) );
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback(KFeedbackEvent1) );
+
+ iHuiVisual->RemoveTactileFeedback();
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback() );
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback(KFeedbackEvent0) );
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback(KFeedbackEvent1) );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualRemoveTactileFeedback
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualRemoveTactileFeedbackL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualRemoveTactileFeedback, "In TestHuiVisualRemoveTactileFeedback" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualRemoveTactileFeedback );
+ // Print to log file
+ iLog->Log( KTestHuiVisualRemoveTactileFeedback );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback() );
+ iHuiVisual->RemoveTactileFeedback(); // do nothing
+ iHuiVisual->RemoveTactileFeedback( KFeedbackEvent0 ); // do nothing
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback() );
+
+ iHuiVisual->SetTactileFeedbackL( KFeedbackEvent0 , KFeedbackType0 ); // add 0
+ iHuiVisual->SetTactileFeedbackL( KFeedbackEvent1 , KFeedbackType1 ); // add 1
+ STIF_ASSERT_TRUE( iHuiVisual->HasTactileFeedback(KFeedbackEvent0) );
+ STIF_ASSERT_TRUE( iHuiVisual->HasTactileFeedback(KFeedbackEvent1) );
+
+ iHuiVisual->RemoveTactileFeedback( KFeedbackEvent0 ); // remove 0
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback(KFeedbackEvent0) );
+ STIF_ASSERT_TRUE( iHuiVisual->HasTactileFeedback(KFeedbackEvent1) );
+
+ iHuiVisual->SetTactileFeedbackL( KFeedbackEvent0 , KFeedbackType2 ); // add 0
+ STIF_ASSERT_TRUE( iHuiVisual->HasTactileFeedback(KFeedbackEvent0) );
+ STIF_ASSERT_TRUE( iHuiVisual->HasTactileFeedback(KFeedbackEvent1) );
+
+ iHuiVisual->RemoveTactileFeedback(); // remove all
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback(KFeedbackEvent0) );
+ STIF_ASSERT_TRUE( !iHuiVisual->HasTactileFeedback(KFeedbackEvent1) );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiHuiVisualEnableDropShadowL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualEnableDropShadowL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualEnableDropShadowL, "In TestHuiVisualEnableDropShadowL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualEnableDropShadowL );
+ // Print to log file
+ iLog->Log( KTestHuiVisualEnableDropShadowL );
+
+ iHuiVisual = iHuiControl->AppendVisualL( EHuiVisualTypeVisual );
+ // by default, the drop shadow should be disabled
+ STIF_ASSERT_TRUE( !iHuiVisual->DropShadowHandler() );
+
+ // enable
+ iHuiVisual->EnableDropShadowL();
+ STIF_ASSERT_NOT_NULL( iHuiVisual->DropShadowHandler() );
+
+ // disable
+ iHuiVisual->EnableDropShadowL(EFalse);
+ STIF_ASSERT_TRUE( !iHuiVisual->DropShadowHandler() );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualDropShadowHandler
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualDropShadowHandler( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualDropShadowHandler, "In TestHuiVisualDropShadowHandler" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualDropShadowHandler );
+ // Print to log file
+ iLog->Log( KTestHuiVisualDropShadowHandler );
+
+ CHuiDropShadow* dropShadow = iHuiVisual->DropShadowHandler();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualBrushOpacity
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualBrushOpacity( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualBrushOpacity, "In TestHuiVisualBrushOpacity" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualBrushOpacity );
+ // Print to log file
+ iLog->Log( KTestHuiVisualBrushOpacity );
+
+ iHuiVisual->BrushOpacity();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualBrushRect
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualBrushRect( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualBrushRect, "In TestHuiVisualBrushRect" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualBrushRect );
+ // Print to log file
+ iLog->Log( KTestHuiVisualBrushRect );
+
+ iHuiVisual->BrushRect();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualBrushSkin
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualBrushSkin( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualBrushSkin, "In TestHuiVisualBrushSkin" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualBrushSkin );
+ // Print to log file
+ iLog->Log( KTestHuiVisualBrushSkin );
+
+ CHuiSkin* skin = &( iHuiVisual->BrushSkin() );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualType
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualType( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualType, "In TestHuiVisualType" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualType );
+ // Print to log file
+ iLog->Log( KTestHuiVisualType );
+
+ iHuiVisual->Type();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSessionId
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSessionId( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSessionId, "In TestHuiVisualSessionId" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSessionId );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSessionId );
+
+ iHuiVisual->SessionId();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualSetSessionId
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualSetSessionId( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualSetSessionId, "In TestHuiVisualSetSessionId" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualSetSessionId );
+ // Print to log file
+ iLog->Log( KTestHuiVisualSetSessionId );
+
+ iHuiVisual->SetSessionId( KSessionId );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualTransform
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualTransformL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualTransform, "In TestHuiVisualTransform" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualTransform );
+ // Print to log file
+ iLog->Log( KTestHuiVisualTransform );
+
+ iHuiVisualExt = new( ELeave ) CTestPlatALFCoreToolkitVisualExt( *iHuiControl );
+
+ iHuiVisualExt->ConstructL();
+
+
+ const TRect rect( 0, 0, 100, 100 );
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+
+ CleanupStack::PushL( ctrl );
+
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+
+ CHuiGc& gc = iHuiEnv->Skin().Context();
+
+ iHuiVisualExt = new( ELeave ) CTestPlatALFCoreToolkitVisualExt( *iHuiControl );
+
+ iHuiVisualExt->ConstructL();
+ iHuiVisualExt->Transform( gc, ETrue ); // Need Gc
+
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualExpandRectWithContent
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualExpandRectWithContentL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualExpandRectWithContent, "In TestHuiVisualExpandRectWithContent" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualExpandRectWithContent );
+ // Print to log file
+ iLog->Log( KTestHuiVisualExpandRectWithContent );
+
+ iHuiVisualExt = new( ELeave ) CTestPlatALFCoreToolkitVisualExt( *iHuiControl );
+
+ iHuiVisualExt->ConstructL();
+
+ TRect rect( TPoint( 0, 0 ), TPoint( KPointX, KPointX ) );
+
+ iHuiVisualExt->ExpandRectWithContent( rect );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiVisualVisualExtension
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiVisualVisualExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiVisualVisualExtension, "In TestHuiVisualVisualExtension" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiVisualVisualExtension );
+ // Print to log file
+ iLog->Log( KTestHuiVisualVisualExtension );
+
+ iHuiVisualExt = new( ELeave ) CTestPlatALFCoreToolkitVisualExt( *iHuiControl );
+
+ iHuiVisualExt->ConstructL();
+
+ TUid uid = TUid::Null();
+ TAny** any = NULL;
+
+ iHuiVisualExt->VisualExtension( uid, any );
+
+ return KErrNone;
+
+ }
+
+// [End of File]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockstextvisual.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,504 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: for testing the method of the CHuiTextVisual
+*
+*/
+
+
+#include <uiacceltk\huitextvisual.h>
+
+#include "testuiaifcoretoolkit.h"
+
+const TInt KMaxLineCount = 10;
+const TInt KMajor = 10;
+const TInt KMinor = 0;
+const TInt KStart = 0;
+const TInt KEnd = 5;
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualAddNewL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualAddNewL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualAddNewL, "In TestHuiTextVisualAddNewL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualAddNewL );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualAddNewL );
+
+ TRAPD( error, iHuiTextVisual = iHuiTextVisual->AddNewL( *iHuiControl ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSetTextL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSetTextL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSetTextL, "In TestHuiTextVisualSetTextL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSetTextL );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSetTextL );
+
+ TRAPD( error, iHuiTextVisual->SetTextL( _L("testtextvisual") ) );
+
+ return error;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualText
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualText( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualText, "In TestHuiTextVisualText" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualText );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualText );
+
+ iHuiTextVisual->Text();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSetAlign
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSetAlign( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSetAlign, "In TestHuiTextVisualSetAlign" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSetAlign );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSetAlign );
+
+ iHuiTextVisual->SetAlign( EHuiAlignHCenter, EHuiAlignVCenter );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSetLineSpacing
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSetLineSpacing( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSetLineSpacing, "In TestHuiTextVisualSetLineSpacing" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSetLineSpacing );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSetLineSpacing );
+
+ iHuiTextVisual->SetLineSpacing( 0 );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSetStyle
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSetStyle( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSetStyle, "In TestHuiTextVisualSetStyle" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSetStyle );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSetStyle );
+
+ iHuiTextVisual->SetStyle( EHuiTextStyleNormal );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSetTextStyle
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSetTextStyle( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSetTextStyle, "In TestHuiTextVisualSetTextStyle" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSetTextStyle );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSetTextStyle );
+
+ iHuiTextVisual->SetTextStyle( 0 );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualStyle
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualStyle( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualStyle, "In TestHuiTextVisualStyle" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualStyle );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualStyle );
+
+ iHuiTextVisual->Style();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualTextStyle
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualTextStyle( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualTextStyle, "In TestHuiTextVisualTextStyle" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualTextStyle );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualTextStyle );
+
+ iHuiTextVisual->TextStyle();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSetMaxLineCount
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSetMaxLineCount( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSetMaxLineCount, "In TestHuiTextVisualSetMaxLineCount" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSetMaxLineCount );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSetMaxLineCount );
+
+ iHuiTextVisual->SetMaxLineCount( KMaxLineCount );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualMaxLineCount
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualMaxLineCount( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualMaxLineCount, "In TestHuiTextVisualMaxLineCount" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualMaxLineCount );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualMaxLineCount );
+
+ TInt lineCount = iHuiTextVisual->MaxLineCount();
+
+ STIF_ASSERT_EQUALS( lineCount, KMaxLineCount );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualWrapping
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualWrapping( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualWrapping, "In TestHuiTextVisualWrapping" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualWrapping );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualWrapping );
+
+ iHuiTextVisual->Wrapping();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSetWrapping
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSetWrapping( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSetWrapping, "In TestHuiTextVisualSetWrapping" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSetWrapping );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSetWrapping );
+
+ iHuiTextVisual->SetWrapping( CHuiTextVisual::ELineWrapManual );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualBackgroundType
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualBackgroundType( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualBackgroundType, "In TestHuiTextVisualBackgroundType" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualBackgroundType );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualBackgroundType );
+
+ iHuiTextVisual->BackgroundType();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualOffset
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualOffset( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualOffset, "In TestHuiTextVisualOffset" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualOffset );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualOffset );
+
+ iHuiTextVisual->Offset();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualOffsetConst
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualOffsetConst( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualOffsetConst, "In TestHuiTextVisualOffsetConst" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualOffsetConst );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualOffsetConst );
+
+ const_cast<const CHuiTextVisual*>( iHuiTextVisual )->Offset();
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualTextExtents
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualTextExtentsL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualTextExtents, "In TestHuiTextVisualTextExtents" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualTextExtents );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualTextExtents );
+
+ iHuiTextVisual->SetTextL(_L("Testing..."));
+ TSize extents = iHuiTextVisual->TextExtents();
+
+ STIF_ASSERT_TRUE( extents.iWidth > 0 );
+ STIF_ASSERT_TRUE( extents.iHeight > 0 );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualPrepareDrawL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualPrepareDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualPrepareDrawL, "In TestHuiTextVisualPrepareDrawL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualPrepareDrawL );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualPrepareDrawL );
+
+ TBool flag = iHuiTextVisual->PrepareDrawL();
+
+ STIF_ASSERT_TRUE( flag );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSetColor
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSetColor( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSetColor, "In TestHuiTextVisualSetColor" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSetColor );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSetColor );
+
+ TRgb color( 0, 0, 0 );
+
+ iHuiTextVisual->SetColor( color );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSetColorWithIndex
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSetColorWithIndex( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSetColorWithIndex, "In TestHuiTextVisualSetColorWithIndex" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSetColorWithIndex );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSetColorWithIndex );
+
+ TAknsItemID id;
+ id.Set( KMajor, KMinor );
+
+ iHuiTextVisual->SetColor( id, 0 );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSubstringExtents
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSubstringExtents( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSubstringExtents, "In TestHuiTextVisualSubstringExtents" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSubstringExtents );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSubstringExtents );
+
+ iHuiTextVisual->SubstringExtents( KStart, KEnd );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualEnableShadow
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualEnableShadow( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualEnableShadow, "In TestHuiTextVisualEnableShadow" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualEnableShadow );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualEnableShadow );
+
+ iHuiTextVisual->EnableShadow( ETrue );
+
+ return KErrNone;
+
+ }
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiTextVisualSetHighlightRange
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiTextVisualSetHighlightRange( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiTextVisualSetHighlightRange, "In TestHuiTextVisualSetHighlightRange" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiTextVisualSetHighlightRange );
+ // Print to log file
+ iLog->Log( KTestHuiTextVisualSetHighlightRange );
+
+ TRgb lightColor( 0, 0, 0 );
+ TRgb textColor( 0, 0, 0 );
+
+ iHuiTextVisual->SetHighlightRange( KStart, KEnd, lightColor, textColor );
+
+ return KErrNone;
+
+ }
+// End of files
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuibrush.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,442 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include <uiacceltk/huiBrush.h>
+#include <uiacceltk/HuiBorderBrush.h>
+#include <uiacceltk/huiframebrush.h>
+#include <uiacceltk/HuiDisplayCoeControl.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// FOR DECLARATION
+/**
+ * This class is used to test huiBrush protected member.
+ */
+class CTestHuiBrush : public CHuiBrush
+ {
+public:
+ /**
+ * Test constructor
+ */
+ CTestHuiBrush() : CHuiBrush()
+ {
+ //do nothing.
+ }
+ ~CTestHuiBrush()
+ {
+
+ }
+ /**
+ * Test BrushExtension
+ */
+ void TestBrushExtension( const TUid& aExtensionUid, TAny** aExtensionParameters )
+ {
+ CHuiBrush::BrushExtension( aExtensionUid, aExtensionParameters );
+ }
+ };
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushExpandVisualRectL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushExpandVisualRectL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushExpandVisualRectL, "TestHuiBrushExpandVisualRectL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushExpandVisualRectL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushExpandVisualRectL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ TRect rect(10, 10, 30, 20);
+ huiBrush->ExpandVisualRect( rect );
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushSetChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushSetChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushSetChangedL, "TestHuiBrushSetChangedL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushSetChangedL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushSetChangedL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ huiBrush->SetChanged();
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushChangedL, "TestHuiBrushChangedL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushChangedL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushChangedL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ TBool isChange = huiBrush->Changed();
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushClearChangedL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushClearChangedL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushClearChangedL, "TestHuiBrushClearChangedL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushClearChangedL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushClearChangedL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ huiBrush->ClearChanged();
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushSetClipToVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushSetClipToVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushSetClipToVisualL, "TestHuiBrushSetClipToVisualL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushSetClipToVisualL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushSetClipToVisualL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ huiBrush->SetClipToVisual( EFalse );
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushClipToVisualL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushClipToVisualL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushClipToVisualL, "TestHuiBrushClipToVisualL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushClipToVisualL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushClipToVisualL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ TBool isClipToVisual = huiBrush->ClipToVisual();
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushSetLayerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushSetLayerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushSetLayerL, "TestHuiBrushSetLayerL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushSetLayerL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushSetLayerL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ THuiBrushLayer layer = EHuiBrushLayerBackground;
+ huiBrush->SetLayer( layer );
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushLayerL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushLayerL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushLayerL, "TestHuiBrushLayerL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushLayerL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushLayerL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ THuiBrushLayer layer = huiBrush->Layer();
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushBeginDrawL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushBeginDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushBeginDrawL, "TestHuiBrushBeginDrawL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushBeginDrawL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushBeginDrawL );
+
+ TAknsItemID id;
+ id.Set( TUid::Uid( 0 ), 0 );
+ CHuiBrush* huiBrush = CHuiFrameBrush::NewL( id, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+ huiBrush->BeginDraw( huiGc, *iHuiVisual );
+ CleanupStack::PopAndDestroy( ctrl );
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushDrawL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushDrawL, "TestHuiBrushDrawL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushDrawL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushDrawL );
+
+ CTestHuiBrush* testHuiBrush = new( ELeave ) CTestHuiBrush;
+ CleanupStack::PushL( testHuiBrush );
+ STIF_ASSERT_NOT_NULL( testHuiBrush );
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+ testHuiBrush->Draw( huiGc, *iHuiVisual );
+ CleanupStack::PopAndDestroy( ctrl );
+ CleanupStack::PopAndDestroy( testHuiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushEndDrawL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushEndDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushEndDrawL, "TestHuiBrushEndDrawL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushEndDrawL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushEndDrawL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+ huiBrush->EndDraw( huiGc, *iHuiVisual );
+ CleanupStack::PopAndDestroy( ctrl );
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushTypeL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushTypeL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushTypeL, "TestHuiBrushTypeL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushTypeL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushTypeL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ huiBrush->Type();
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushSessionIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushSessionIdL, "TestHuiBrushSessionIdL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushSessionIdL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushSessionIdL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ TInt id = huiBrush->SessionId();
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushSetSessionIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushSetSessionIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushSetSessionIdL, "TestHuiBrushSetSessionIdL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushSetSessionIdL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushSetSessionIdL );
+
+ CHuiBrush* huiBrush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( huiBrush );
+ STIF_ASSERT_NOT_NULL( huiBrush );
+ huiBrush->SetSessionId( 0 );
+ CleanupStack::PopAndDestroy( huiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushCHuiBrushL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushCHuiBrushL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushCHuiBrushL, "TestHuiBrushCHuiBrushL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushCHuiBrushL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushCHuiBrushL );
+
+ CTestHuiBrush* testHuiBrush = new( ELeave ) CTestHuiBrush;
+ CleanupStack::PushL( testHuiBrush );
+ STIF_ASSERT_NOT_NULL( testHuiBrush );
+ CleanupStack::PopAndDestroy( testHuiBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushBrushExtensionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushBrushExtensionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushBrushExtensionL, "TestHuiBrushBrushExtensionL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushBrushExtensionL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushBrushExtensionL );
+
+ CTestHuiBrush* testHuiBrush = new( ELeave ) CTestHuiBrush;
+ CleanupStack::PushL( testHuiBrush );
+ STIF_ASSERT_NOT_NULL( testHuiBrush );
+ testHuiBrush->TestBrushExtension( TUid::Uid( 0 ), NULL );
+ CleanupStack::PopAndDestroy( testHuiBrush );
+
+ return KErrNone;
+
+ }
+
+//End of file.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuibrusharray.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,289 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include <uiacceltk/huiBrushArray.h>
+#include <uiacceltk/HuiBorderBrush.h>
+#include <uiacceltk/huidisplaycoecontrol.h>
+
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayNewLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayNewLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayNewLL, "TestHuiBrushArrayNewLL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayNewLL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayNewLL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewL();
+ CleanupStack::PushL( huiBrushArray );
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayNewLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayNewLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayNewLCL, "TestHuiBrushArrayNewLCL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayNewLCL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayNewLCL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewLC();
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayResetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayResetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayResetL, "TestHuiBrushArrayResetL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayResetL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayResetL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewLC();
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ huiBrushArray->Reset();
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayAppendL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayAppendL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayAppendL, "TestHuiBrushArrayAppendL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayAppendL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayAppendL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewLC();
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ CHuiBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ THuiOwnership value = EHuiDoesNotHaveOwnership;
+ huiBrushArray->AppendL( brush, value );
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayInsertL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayInsertL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayInsertL, "TestHuiBrushArrayInsertL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayInsertL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayInsertL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewLC();
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ CHuiBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ THuiOwnership value = EHuiDoesNotHaveOwnership;
+ huiBrushArray->InsertL( 0, brush, value );
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayRemoveL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayRemoveL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayRemoveL, "TestHuiBrushArrayRemoveL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayRemoveL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayRemoveL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewLC();
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ CHuiBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ THuiOwnership value = EHuiDoesNotHaveOwnership;
+ huiBrushArray->AppendL( brush, value );
+ huiBrushArray->Remove( 0 );
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayCountL, "TestHuiBrushArrayCountL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayCountL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayCountL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewLC();
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ huiBrushArray->Count();
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayOperatorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayOperatorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayOperatorL, "TestHuiBrushArrayOperatorL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayOperatorL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayOperatorL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewLC();
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ CHuiBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ THuiOwnership value = EHuiDoesNotHaveOwnership;
+ huiBrushArray->AppendL( brush, value );
+ CHuiBrush& huiBrush = huiBrushArray->operator []( 0 );
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayAtL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayAtL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayAtL, "TestHuiBrushArrayAtL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayAtL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayAtL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewLC();
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ CHuiBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ THuiOwnership value = EHuiDoesNotHaveOwnership;
+ huiBrushArray->AppendL( brush, value );
+ CHuiBrush& huiBrush = huiBrushArray->At( 0 );
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayLayerBrushCountL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayLayerBrushCountL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayLayerBrushCountL, "TestHuiBrushArrayLayerBrushCountL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayLayerBrushCountL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayLayerBrushCountL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewLC();
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ THuiBrushLayer layer = EHuiBrushLayerBackground;
+ huiBrushArray->LayerBrushCount( layer );
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiBrushArrayDrawL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiBrushArrayDrawL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiBrushArrayDrawL, "TestHuiBrushArrayDrawL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiBrushArrayDrawL );
+ // Print to log file
+ iLog->Log( KTestHuiBrushArrayDrawL );
+
+ CHuiBrushArray* huiBrushArray = CHuiBrushArray::NewLC();
+ STIF_ASSERT_NOT_NULL( huiBrushArray );
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+ huiBrushArray->Draw( EHuiBrushLayerBackground, huiGc, *iHuiVisual );
+ huiBrushArray->Draw( EHuiBrushLayerForeground, huiGc, *iHuiVisual );
+ CleanupStack::PopAndDestroy( ctrl );
+ CleanupStack::PopAndDestroy( huiBrushArray );
+
+ return KErrNone;
+
+ }
+
+//End of file.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuiframebrush.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,213 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include <uiacceltk/huiFrameBrush.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFrameBrushNewLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFrameBrushNewLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFrameBrushNewLL, "TestHuiFrameBrushNewLL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFrameBrushNewLL );
+ // Print to log file
+ iLog->Log( KTestHuiFrameBrushNewLL );
+
+ TAknsItemID id;
+ id.Set( TUid::Uid( 0 ), 0 );
+ CHuiFrameBrush* huiFrameBrush = CHuiFrameBrush::NewL( id, 0, 0 );
+ CleanupStack::PushL( huiFrameBrush );
+ STIF_ASSERT_NOT_NULL( huiFrameBrush );
+ CleanupStack::PopAndDestroy( huiFrameBrush );
+
+ THuiMetric metric( 0 );
+ THuiXYMetric offset( metric );
+ huiFrameBrush = CHuiFrameBrush::NewL( id, offset );
+ CleanupStack::PushL( huiFrameBrush );
+ STIF_ASSERT_NOT_NULL( huiFrameBrush );
+ CleanupStack::PopAndDestroy( huiFrameBrush );
+
+// THuiImage image;
+ const CHuiTexture* backgroundTexture = NULL;
+ TInt err = iHuiEnv->Skin().GetTexture(EHuiSkinBackgroundTexture, backgroundTexture);
+ ASSERT(backgroundTexture!=NULL);
+ __ASSERT_ALWAYS( err == KErrNone, User::Invariant() );
+
+ // Apply background texture
+ THuiImage background(*backgroundTexture);
+ huiFrameBrush = CHuiFrameBrush::NewL( background, offset );
+ CleanupStack::PushL( huiFrameBrush );
+ STIF_ASSERT_NOT_NULL( huiFrameBrush );
+ CleanupStack::PopAndDestroy( huiFrameBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFrameBrushNewLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFrameBrushNewLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFrameBrushNewLCL, "TestHuiFrameBrushNewLCL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFrameBrushNewLCL );
+ // Print to log file
+ iLog->Log( KTestHuiFrameBrushNewLCL );
+
+ TAknsItemID id;
+ id.Set( TUid::Uid( 0 ), 0 );
+ CHuiFrameBrush* huiFrameBrush = CHuiFrameBrush::NewLC( id,-2,-1);
+ STIF_ASSERT_NOT_NULL( huiFrameBrush );
+ CleanupStack::PopAndDestroy( huiFrameBrush );
+
+ THuiMetric metric( 0 );
+ THuiXYMetric offset( metric );
+ huiFrameBrush = CHuiFrameBrush::NewLC( id, offset );
+ STIF_ASSERT_NOT_NULL( huiFrameBrush );
+ CleanupStack::PopAndDestroy( huiFrameBrush );
+
+ const CHuiTexture* backgroundTexture = NULL;
+ TInt err = iHuiEnv->Skin().GetTexture(EHuiSkinBackgroundTexture, backgroundTexture);
+ ASSERT(backgroundTexture!=NULL);
+ __ASSERT_ALWAYS( err == KErrNone, User::Invariant() );
+
+ // Apply background texture
+ THuiImage background(*backgroundTexture);
+ huiFrameBrush = CHuiFrameBrush::NewLC( background, offset );
+ STIF_ASSERT_NOT_NULL( huiFrameBrush );
+ CleanupStack::PopAndDestroy( huiFrameBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFrameBrushSetFrameRectsLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFrameBrushSetFrameRectsLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFrameBrushSetFrameRectsLL, "TestHuiFrameBrushSetFrameRectsLL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFrameBrushSetFrameRectsLL );
+ // Print to log file
+ iLog->Log( KTestHuiFrameBrushSetFrameRectsLL );
+
+ TAknsItemID id;
+ id.Set( TUid::Uid( 0 ), 0 );
+ CHuiFrameBrush* huiFrameBrush = CHuiFrameBrush::NewLC( id,-2,-1);
+ STIF_ASSERT_NOT_NULL( huiFrameBrush );
+ TRect outerrect(0,0,100,100);
+ TRect innerrect(10,10,90,90);
+// CHuiTexture& texture = iHuiEnv->TextureManager().BlankTexture();
+// THuiImage image( texture );
+ const CHuiTexture* backgroundTexture = NULL;
+ TInt err = iHuiEnv->Skin().GetTexture(EHuiSkinBackgroundTexture, backgroundTexture);
+ ASSERT(backgroundTexture!=NULL);
+ __ASSERT_ALWAYS( err == KErrNone, User::Invariant() );
+
+ // Apply background texture
+ THuiImage background(*backgroundTexture);
+ huiFrameBrush->SetImage( background );
+ huiFrameBrush->SetFrameRectsL( innerrect, outerrect );
+ CleanupStack::PopAndDestroy( huiFrameBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFrameBrushSetEdgeOffsetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFrameBrushSetEdgeOffsetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFrameBrushSetEdgeOffsetL, "TestHuiFrameBrushSetEdgeOffsetL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFrameBrushSetEdgeOffsetL );
+ // Print to log file
+ iLog->Log( KTestHuiFrameBrushSetEdgeOffsetL );
+
+ TAknsItemID id;
+ id.Set( TUid::Uid( 0 ), 0 );
+ CHuiFrameBrush* huiFrameBrush = CHuiFrameBrush::NewLC( id,-2,-1);
+ STIF_ASSERT_NOT_NULL( huiFrameBrush );
+ THuiMetric metric( 0 );
+ THuiXYMetric offset( metric );
+ huiFrameBrush->SetEdgeOffset( offset );
+ CleanupStack::PopAndDestroy( huiFrameBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiFrameBrushSetImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiFrameBrushSetImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiFrameBrushSetImageL, "TestHuiFrameBrushSetImageL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiFrameBrushSetImageL );
+ // Print to log file
+ iLog->Log( KTestHuiFrameBrushSetImageL );
+
+ TAknsItemID id;
+ id.Set( TUid::Uid( 0 ), 0 );
+ CHuiFrameBrush* huiFrameBrush = CHuiFrameBrush::NewLC( id,-2,-1);
+ STIF_ASSERT_NOT_NULL( huiFrameBrush );
+ THuiMetric metric( 0 );
+ THuiXYMetric offset( metric );
+// THuiImage image;
+ const CHuiTexture* backgroundTexture = NULL;
+ TInt err = iHuiEnv->Skin().GetTexture(EHuiSkinBackgroundTexture, backgroundTexture);
+ ASSERT(backgroundTexture!=NULL);
+ __ASSERT_ALWAYS( err == KErrNone, User::Invariant() );
+
+ // Apply background texture
+ THuiImage background(*backgroundTexture);
+ huiFrameBrush->SetImage( background );
+ huiFrameBrush->SetImage( CHuiFrameBrush::EFramePartCornerTl, background );
+ huiFrameBrush->SetImage( CHuiFrameBrush::EFramePartCenter, background );
+ huiFrameBrush->SetImage( CHuiFrameBrush::EFramePartCornerTr, background );
+ huiFrameBrush->SetImage( CHuiFrameBrush::EFramePartCornerBl, background );
+ huiFrameBrush->SetImage( CHuiFrameBrush::EFramePartCornerBr, background );
+ huiFrameBrush->SetImage( CHuiFrameBrush::EFramePartSideB, background );
+ huiFrameBrush->SetImage( CHuiFrameBrush::EFramePartSideL, background );
+ huiFrameBrush->SetImage( CHuiFrameBrush::EFramePartSideR, background );
+ huiFrameBrush->SetImage( CHuiFrameBrush::EFramePartSideT, background );
+ CleanupStack::PopAndDestroy( huiFrameBrush );
+
+ return KErrNone;
+
+ }
+
+//End of file.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuigc.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,312 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include <uiacceltk/huigc.h>
+#include <uiacceltk/huidisplaycoecontrol.h>
+#include <uiacceltk/huiskin.h>
+#include <uiacceltk/HuiTexture.h>
+#include <uiacceltk/huiTransformation.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGcTHuiPathPoint
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGcTHuiPathPoint( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGcTHuiPathPoint, "TestHuiGcTHuiPathPoint" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGcTHuiPathPoint );
+ // Print to log file
+ iLog->Log( KTestHuiGcTHuiPathPoint );
+
+ TPoint point( 0, 0 );
+ THuiPathPoint tHuiPahtPoint( point, 0 );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGcDrawImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGcDrawImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGcDrawImageL, "TestHuiGcDrawImageL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGcDrawImageL );
+ // Print to log file
+ iLog->Log( KTestHuiGcDrawImageL );
+
+ THuiRealPoint pos;
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+ // Acquire background texture
+ const CHuiTexture* backgroundTexture = NULL;
+ TInt err = iHuiEnv->Skin().GetTexture(EHuiSkinBackgroundTexture, backgroundTexture);
+ ASSERT(backgroundTexture!=NULL);
+ __ASSERT_ALWAYS( err== KErrNone, User::Invariant() );
+
+ // Apply background texture
+ THuiImage background(*backgroundTexture);
+
+ TPoint screenOrigin(0, 0);
+ // The origin is used to offset the background in the display's
+ // rendering surface, so that the background's origin is in the
+ // top left screen corner.
+ screenOrigin.iX = -screenOrigin.iX;
+ screenOrigin.iY = -screenOrigin.iY;
+
+ huiGc.DrawImage( background, screenOrigin, background.Texture().Size() );
+ huiGc.DrawImage( background, rect );
+ huiGc.DrawImage( background, background.Texture().Size(), rect );
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGcDrawImagesL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGcDrawImagesL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGcDrawImagesL, "TestHuiGcDrawImagesL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGcDrawImagesL );
+ // Print to log file
+ iLog->Log( KTestHuiGcDrawImagesL );
+
+ THuiRealPoint pos;
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+ // Acquire background texture
+ const CHuiTexture* backgroundTexture = NULL;
+ TInt err = iHuiEnv->Skin().GetTexture(EHuiSkinBackgroundTexture, backgroundTexture);
+ ASSERT(backgroundTexture!=NULL);
+ __ASSERT_ALWAYS( err== KErrNone, User::Invariant() );
+
+ // Apply background texture
+ THuiImage background(*backgroundTexture);
+
+ TPoint screenOrigin(0, 0);
+
+ huiGc.DrawImages( background, background, pos, background.Texture().Size() );
+ huiGc.DrawImages( background, background, background.Texture().Size(), rect);
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGcFontL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGcFontL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGcFontL, "TestHuiGcFontL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGcFontL );
+ // Print to log file
+ iLog->Log( KTestHuiGcFontL );
+
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+// THuiFont* font= huiGc.Font();
+
+// CleanupStack::PushL( font );
+// CleanupStack::PopAndDestroy( font );
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGcNearClipDistanceL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGcNearClipDistanceL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGcNearClipDistanceL, "TestHuiGcNearClipDistanceL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGcNearClipDistanceL );
+ // Print to log file
+ iLog->Log( KTestHuiGcNearClipDistanceL );
+
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+// TReal32 real;
+// real = huiGc.NearClipDistance();
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGcFarClipDistanceL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGcFarClipDistanceL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGcFarClipDistanceL, "TestHuiGcFarClipDistanceL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGcFarClipDistanceL );
+ // Print to log file
+ iLog->Log( KTestHuiGcFarClipDistanceL );
+
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+// TReal32 real = huiGc.FarClipDistance();
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGcFovFactorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGcFovFactorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGcFovFactorL, "TestHuiGcFovFactorL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGcFovFactorL );
+ // Print to log file
+ iLog->Log( KTestHuiGcFovFactorL );
+
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+// TReal32 real = huiGc.FovFactor();
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGcOffset2DL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGcOffset2DL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGcOffset2DL, "TestHuiGcOffset2DL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGcOffset2DL );
+ // Print to log file
+ iLog->Log( KTestHuiGcOffset2DL );
+
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+// TReal32 real = huiGc.Offset2D();
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGcSetWindowTransformationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGcSetWindowTransformationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGcSetWindowTransformationL, "TestHuiGcSetWindowTransformationL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGcSetWindowTransformationL );
+ // Print to log file
+ iLog->Log( KTestHuiGcSetWindowTransformationL );
+
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+ CHuiTransformation* windowTransformation = CHuiTransformation::NewL();
+ CleanupStack::PushL( windowTransformation );
+// huiGc.SetWindowTransformation( windowTransformation );
+ CleanupStack::PopAndDestroy( windowTransformation );
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGcLocaleTextAlignmentL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGcLocaleTextAlignmentL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGcLocaleTextAlignmentL, "TestHuiGcLocaleTextAlignmentL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGcLocaleTextAlignmentL );
+ // Print to log file
+ iLog->Log( KTestHuiGcLocaleTextAlignmentL );
+
+ TRect rect = CEikonEnv::Static()->AppUiFactory()->ClientRect();
+ CHuiDisplayCoeControl* ctrl = CHuiDisplayCoeControl::NewL( *iHuiEnv, rect );
+ CleanupStack::PushL( ctrl );
+ CHuiEnv::RefreshCallBack( iHuiEnv );
+ CHuiGc& huiGc = iHuiEnv->Skin().Context();
+// THuiAlignHorizontal alignHorizontal = huiGc.LocaleTextAlignment();
+ CleanupStack::PopAndDestroy( ctrl );
+
+ return KErrNone;
+
+ }
+
+//End of file.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuigifanimationtexture.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,160 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include <uiacceltk/huigifanimationtexture.h>
+#include <alf/alfconstants.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGifAnimationTextureNewLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGifAnimationTextureNewLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGifAnimationTextureNewLL, "TestHuiGifAnimationTextureNewLL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGifAnimationTextureNewLL );
+ // Print to log file
+ iLog->Log( KTestHuiGifAnimationTextureNewLL );
+
+// RMessage2 message;
+ TAlfCreateTextureAnimatedParams params;
+ TPckg<TAlfCreateTextureAnimatedParams> paramsPckg(params);
+// message.Read(1,paramsPckg);
+ CHuiGifAnimationTexture* animtext = CHuiGifAnimationTexture::NewL(params.iFilename,iHuiEnv->TextureManager(),params.iId, (THuiTextureUploadFlags)(params.iFlags));
+ CleanupStack::PushL( animtext );
+ STIF_ASSERT_NOT_NULL( animtext );
+ CleanupStack::PopAndDestroy( animtext );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGifAnimationTextureIdL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGifAnimationTextureIdL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGifAnimationTextureIdL, "TestHuiGifAnimationTextureIdL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGifAnimationTextureIdL );
+ // Print to log file
+ iLog->Log( KTestHuiGifAnimationTextureIdL );
+
+// RMessage2 message;
+ TAlfCreateTextureAnimatedParams params;
+ TPckg<TAlfCreateTextureAnimatedParams> paramsPckg(params);
+// message.Read(1,paramsPckg);
+ CHuiGifAnimationTexture* animtext = CHuiGifAnimationTexture::NewL(params.iFilename,iHuiEnv->TextureManager(),params.iId, (THuiTextureUploadFlags)(params.iFlags));
+ CleanupStack::PushL( animtext );
+ STIF_ASSERT_NOT_NULL( animtext );
+ TInt id = animtext->Id();
+ CleanupStack::PopAndDestroy( animtext );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGifAnimationTextureStartL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGifAnimationTextureStartL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGifAnimationTextureStartL, "TestHuiGifAnimationTextureStartL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGifAnimationTextureStartL );
+ // Print to log file
+ iLog->Log( KTestHuiGifAnimationTextureStartL );
+
+// RMessage2 message;
+ TAlfCreateTextureAnimatedParams params;
+ TPckg<TAlfCreateTextureAnimatedParams> paramsPckg(params);
+// message.Read(1,paramsPckg);
+ CHuiGifAnimationTexture* animtext = CHuiGifAnimationTexture::NewL(params.iFilename,iHuiEnv->TextureManager(),params.iId, (THuiTextureUploadFlags)(params.iFlags));
+ CleanupStack::PushL( animtext );
+ STIF_ASSERT_NOT_NULL( animtext );
+ animtext->Start();
+ CleanupStack::PopAndDestroy( animtext );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGifAnimationTextureStopL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGifAnimationTextureStopL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGifAnimationTextureStopL, "TestHuiGifAnimationTextureStopL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGifAnimationTextureStopL );
+ // Print to log file
+ iLog->Log( KTestHuiGifAnimationTextureStopL );
+
+// RMessage2 message;
+ TAlfCreateTextureAnimatedParams params;
+ TPckg<TAlfCreateTextureAnimatedParams> paramsPckg(params);
+// message.Read(1,paramsPckg);
+ CHuiGifAnimationTexture* animtext = CHuiGifAnimationTexture::NewL(params.iFilename,iHuiEnv->TextureManager(),params.iId, (THuiTextureUploadFlags)(params.iFlags));
+ CleanupStack::PushL( animtext );
+ STIF_ASSERT_NOT_NULL( animtext );
+ animtext->Stop();
+ CleanupStack::PopAndDestroy( animtext );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGifAnimationTextureEnableAnimationL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGifAnimationTextureEnableAnimationL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGifAnimationTextureEnableAnimationL, "TestHuiGifAnimationTextureEnableAnimationL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGifAnimationTextureEnableAnimationL );
+ // Print to log file
+ iLog->Log( KTestHuiGifAnimationTextureEnableAnimationL );
+
+// RMessage2 message;
+ TAlfCreateTextureAnimatedParams params;
+ TPckg<TAlfCreateTextureAnimatedParams> paramsPckg(params);
+// message.Read(1,paramsPckg);
+ CHuiGifAnimationTexture* animtext = CHuiGifAnimationTexture::NewL(params.iFilename,iHuiEnv->TextureManager(),params.iId, (THuiTextureUploadFlags)(params.iFlags));
+ CleanupStack::PushL( animtext );
+ STIF_ASSERT_NOT_NULL( animtext );
+ animtext->EnableAnimation( EFalse );
+ CleanupStack::PopAndDestroy( animtext );
+
+ return KErrNone;
+
+ }
+
+
+//End of file.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuigradientbrush.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,230 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: For test alf core toolkit api modules
+*
+*/
+
+
+#include <uiacceltk/huiGradientBrush.h>
+
+#include "testuiaifcoretoolkit.h"
+
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGradientBrushNewLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGradientBrushNewLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGradientBrushNewLL, "TestHuiGradientBrushNewLL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGradientBrushNewLL );
+ // Print to log file
+ iLog->Log( KTestHuiGradientBrushNewLL );
+
+ CHuiGradientBrush* huiGradientBrush = CHuiGradientBrush::NewL();
+ CleanupStack::PushL( huiGradientBrush );
+ STIF_ASSERT_NOT_NULL( huiGradientBrush );
+ CleanupStack::PopAndDestroy( huiGradientBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGradientBrushNewLCL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGradientBrushNewLCL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGradientBrushNewLCL, "TestHuiGradientBrushNewLCL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGradientBrushNewLCL );
+ // Print to log file
+ iLog->Log( KTestHuiGradientBrushNewLCL );
+
+ CHuiGradientBrush* huiGradientBrush = CHuiGradientBrush::NewLC();
+ STIF_ASSERT_NOT_NULL( huiGradientBrush );
+ CleanupStack::PopAndDestroy( huiGradientBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGradientBrushSetDirectionL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGradientBrushSetDirectionL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGradientBrushSetDirectionL, "TestHuiGradientBrushSetDirectionL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGradientBrushSetDirectionL );
+ // Print to log file
+ iLog->Log( KTestHuiGradientBrushSetDirectionL );
+
+ CHuiGradientBrush* huiGradientBrush = CHuiGradientBrush::NewLC();
+ STIF_ASSERT_NOT_NULL( huiGradientBrush );
+ huiGradientBrush->SetDirection( CHuiGradientBrush::EDirectionUp );
+ huiGradientBrush->SetDirection( CHuiGradientBrush::EDirectionRight );
+ huiGradientBrush->SetDirection( CHuiGradientBrush::EDirectionDown );
+ huiGradientBrush->SetDirection( CHuiGradientBrush::EDirectionLeft );
+ CleanupStack::PopAndDestroy( huiGradientBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGradientBrushSetColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGradientBrushSetColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGradientBrushSetColorL, "TestHuiGradientBrushSetColorL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGradientBrushSetColorL );
+ // Print to log file
+ iLog->Log( KTestHuiGradientBrushSetColorL );
+
+ CHuiGradientBrush* huiGradientBrush = CHuiGradientBrush::NewLC();
+ STIF_ASSERT_NOT_NULL( huiGradientBrush );
+ huiGradientBrush->SetColor( KRgbRed, .8 );
+ CleanupStack::PopAndDestroy( huiGradientBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGradientBrushSetImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGradientBrushSetImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGradientBrushSetImageL, "TestHuiGradientBrushSetImageL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGradientBrushSetImageL );
+ // Print to log file
+ iLog->Log( KTestHuiGradientBrushSetImageL );
+
+ CHuiGradientBrush* huiGradientBrush = CHuiGradientBrush::NewLC();
+ STIF_ASSERT_NOT_NULL( huiGradientBrush );
+ const CHuiTexture* backgroundTexture = NULL;
+ TInt err = iHuiEnv->Skin().GetTexture(EHuiSkinBackgroundTexture, backgroundTexture);
+ ASSERT(backgroundTexture!=NULL);
+ __ASSERT_ALWAYS( err == KErrNone, User::Invariant() );
+
+ // Apply background texture
+ THuiImage background(*backgroundTexture);
+ huiGradientBrush->SetImage( background );
+ CleanupStack::PopAndDestroy( huiGradientBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGradientBrushColorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGradientBrushColorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGradientBrushColorL, "TestHuiGradientBrushColorL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGradientBrushColorL );
+ // Print to log file
+ iLog->Log( KTestHuiGradientBrushColorL );
+
+ CHuiGradientBrush* huiGradientBrush = CHuiGradientBrush::NewLC();
+ STIF_ASSERT_NOT_NULL( huiGradientBrush );
+ huiGradientBrush->SetColor( KRgbRed );
+ TRgb rgb = huiGradientBrush->Color( 0 );
+ CleanupStack::PopAndDestroy( huiGradientBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGradientBrushOpacityL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGradientBrushOpacityL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGradientBrushOpacityL, "TestHuiGradientBrushOpacityL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGradientBrushOpacityL );
+ // Print to log file
+ iLog->Log( KTestHuiGradientBrushOpacityL );
+
+ CHuiGradientBrush* huiGradientBrush = CHuiGradientBrush::NewLC();
+ huiGradientBrush->SetColor( KRgbRed );
+ TReal32 real = huiGradientBrush->Opacity( .8 );
+ CleanupStack::PopAndDestroy( huiGradientBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGradientBrushImageL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGradientBrushImageL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGradientBrushImageL, "TestHuiGradientBrushImageL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGradientBrushImageL );
+ // Print to log file
+ iLog->Log( KTestHuiGradientBrushImageL );
+
+ CHuiGradientBrush* huiGradientBrush = CHuiGradientBrush::NewLC();
+ THuiImage image = huiGradientBrush->Image();
+ CleanupStack::PopAndDestroy( huiGradientBrush );
+
+ return KErrNone;
+
+ }
+// -----------------------------------------------------------------------------
+// Ctestplatalfcoretoolkit::TestHuiGradientBrushAppendColorLL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiGradientBrushAppendColorLL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestplatalfcoretoolkit, "testplatalfcoretoolkit" );
+ _LIT( KTestHuiGradientBrushAppendColorLL, "TestHuiGradientBrushAppendColorLL" );
+ TestModuleIf().Printf( 0, Ktestplatalfcoretoolkit, KTestHuiGradientBrushAppendColorLL );
+ // Print to log file
+ iLog->Log( KTestHuiGradientBrushAppendColorLL );
+
+ CHuiGradientBrush* huiGradientBrush = CHuiGradientBrush::NewLC();
+ huiGradientBrush->AppendColorL( .6f, KRgbRed, 1.f );
+ CleanupStack::PopAndDestroy( huiGradientBrush );
+
+ return KErrNone;
+
+ }
+
+//End of file.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuiownedpointer.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,238 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: test api of alf_core_toolkit
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <uiacceltk/huiownedpointer.h>
+#include <uiacceltk/HuiBorderBrush.h>
+
+#include "testuiaifcoretoolkit.h"
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiOwnerdPointerCloseL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiOwnerdPointerCloseL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuiOwnerdPointerCloseL, "In TestHuiOwnerdPointerCloseL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHuiOwnerdPointerCloseL );
+ // Print to log file
+ iLog->Log( KTestHuiOwnerdPointerCloseL );
+
+ RHuiOwnedPointer<CHuiBorderBrush> huiOwnedPointer;
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( brush );
+ huiOwnedPointer.Set( brush, EHuiDoesNotHaveOwnership );
+ huiOwnedPointer.Close();
+ CleanupStack::PopAndDestroy( brush );
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiOwnerdPointerOperatorTL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiOwnerdPointerOperatorTL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuiOwnerdPointerOperatorTL, "In TestHuiOwnerdPointerOperatorTL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHuiOwnerdPointerOperatorTL );
+ // Print to log file
+ iLog->Log( KTestHuiOwnerdPointerOperatorTL );
+
+ RHuiOwnedPointer<CHuiBorderBrush> huiOwnedPointer;
+
+ RHuiOwnedPointer<CHuiBorderBrush> huiTemp = huiOwnedPointer;
+ CHuiBorderBrush* temp= huiTemp;
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiOwnerdPointerOperatorConstTL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiOwnerdPointerOperatorConstTL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuiOwnerdPointerOperatorConstTL, "In TestHuiOwnerdPointerOperatorConstTL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHuiOwnerdPointerOperatorConstTL );
+ // Print to log file
+ iLog->Log( KTestHuiOwnerdPointerOperatorConstTL );
+
+ RHuiOwnedPointer<CHuiBorderBrush> huiOwnedPointer;
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( brush );
+ huiOwnedPointer.Set( brush, EHuiDoesNotHaveOwnership );
+ //test operator const T*() const
+
+ const RHuiOwnedPointer<CHuiBorderBrush> huiTemp = huiOwnedPointer;
+ const CHuiBorderBrush* temp= huiTemp;
+
+ CleanupStack::PopAndDestroy( brush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiOwnerdPointerOperatorL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiOwnerdPointerOperatorL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuiOwnerdPointerOperatorL, "In TestHuiOwnerdPointerOperatorL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHuiOwnerdPointerOperatorL );
+ // Print to log file
+ iLog->Log( KTestHuiOwnerdPointerOperatorL );
+
+ RHuiOwnedPointer<CHuiBorderBrush> huiOwnedPointer;
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( brush );
+ huiOwnedPointer.Set( brush, EHuiDoesNotHaveOwnership );
+// test T* operator -> ()
+ RHuiOwnedPointer<CHuiBorderBrush> a = huiOwnedPointer;
+ a->SetChanged();
+// test const T* operator -> () const
+ THuiBrushLayer layer =
+ ( ( const RHuiOwnedPointer<CHuiBorderBrush> ) huiOwnedPointer )->Layer();
+ CleanupStack::PopAndDestroy( brush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiOwnerdPointerPtrL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiOwnerdPointerPtrL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuiOwnerdPointerPtrL, "In TestHuiOwnerdPointerPtrL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHuiOwnerdPointerPtrL );
+ // Print to log file
+ iLog->Log( KTestHuiOwnerdPointerPtrL );
+
+ RHuiOwnedPointer<CHuiBorderBrush> huiOwnedPointer;
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( brush );
+ huiOwnedPointer.Set( brush, EHuiDoesNotHaveOwnership );
+ huiOwnedPointer.Ptr();
+ CleanupStack::PopAndDestroy( brush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiOwnerdPointerRefL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiOwnerdPointerRefL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuiOwnerdPointerRefL, "In TestHuiOwnerdPointerRefL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHuiOwnerdPointerRefL );
+ // Print to log file
+ iLog->Log( KTestHuiOwnerdPointerRefL );
+
+ RHuiOwnedPointer<CHuiBorderBrush> huiOwnedPointer;
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( brush );
+ huiOwnedPointer.Set( brush, EHuiDoesNotHaveOwnership );
+ huiOwnedPointer.Ref();
+ CleanupStack::PopAndDestroy( brush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiOwnerdPointerNonConstRefL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiOwnerdPointerNonConstRefL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuiOwnerdPointerNonConstRefL, "In TestHuiOwnerdPointerNonConstRefL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHuiOwnerdPointerNonConstRefL );
+ // Print to log file
+ iLog->Log( KTestHuiOwnerdPointerNonConstRefL );
+
+ RHuiOwnedPointer<CHuiBorderBrush> huiOwnedPointer;
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( brush );
+ huiOwnedPointer.Set( brush, EHuiDoesNotHaveOwnership );
+ huiOwnedPointer.NonConstRef();
+ CleanupStack::PopAndDestroy( brush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiOwnerdPointerSetL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiOwnerdPointerSetL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuiOwnerdPointerSetL, "In TestHuiOwnerdPointerSetL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHuiOwnerdPointerSetL );
+ // Print to log file
+ iLog->Log( KTestHuiOwnerdPointerSetL );
+
+ RHuiOwnedPointer<CHuiBorderBrush> huiOwnedPointer;
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( brush );
+ huiOwnedPointer.Set( brush, EHuiDoesNotHaveOwnership );
+ CleanupStack::PopAndDestroy( brush );
+
+ return KErrNone;
+ }
+// -----------------------------------------------------------------------------
+// CTestUiAifCoreToolkit::TestHuiOwnerdPointerOwnershipL
+// -----------------------------------------------------------------------------
+//
+TInt CTestUiAifCoreToolkit::TestHuiOwnerdPointerOwnershipL( CStifItemParser& /*aItem*/ )
+ {
+
+ // Print to UI
+ _LIT( Ktestuiaifcoretoolkit, "testuiaifcoretoolkit" );
+ _LIT( KTestHuiOwnerdPointerOwnershipL, "In TestHuiOwnerdPointerOwnershipL" );
+ TestModuleIf().Printf( 0, Ktestuiaifcoretoolkit, KTestHuiOwnerdPointerOwnershipL );
+ // Print to log file
+ iLog->Log( KTestHuiOwnerdPointerOwnershipL );
+
+ RHuiOwnedPointer<CHuiBorderBrush> huiOwnedPointer;
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 0, 0, 0, 0 );
+ CleanupStack::PushL( brush );
+ huiOwnedPointer.Set( brush, EHuiDoesNotHaveOwnership );
+ THuiOwnership ownerShip = huiOwnedPointer.Ownership();
+ CleanupStack::PopAndDestroy( brush );
+
+ return KErrNone;
+ }
+
+//End of file.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkitvisualext.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,29 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: ?Description
+*
+*/
+
+
+#include "testuialfcoretoolkitvisualext.h"
+
+// -----------------------------------------------------------------------------
+// CTestPlatALFCoreToolkitVisualExt::CTestPlatALFCoreToolkitVisualExt
+// -----------------------------------------------------------------------------
+//
+CTestPlatALFCoreToolkitVisualExt::CTestPlatALFCoreToolkitVisualExt( MHuiVisualOwner& aOwner )
+ :CHuiVisual( aOwner )
+ {
+ }
+// End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/bwins/UT_CAlfLCTAnchorLayoutu.def Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,3 @@
+EXPORTS
+ ?CreateTestSuiteL@@YAPAVMEUnitTest@@XZ @ 1 NONAME ; class MEUnitTest * CreateTestSuiteL(void)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/bwins/UT_CAlfLCTGridLayoutu.def Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,3 @@
+EXPORTS
+ ?CreateTestSuiteL@@YAPAVMEUnitTest@@XZ @ 1 NONAME ; class MEUnitTest * CreateTestSuiteL(void)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/bwins/UT_CAlfLCTTextVisualu.def Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,3 @@
+EXPORTS
+ ?CreateTestSuiteL@@YAPAVMEUnitTest@@XZ @ 1 NONAME ; class MEUnitTest * CreateTestSuiteL(void)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/eabi/UT_CAlfLCTAnchorLayoutu.def Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z16CreateTestSuiteLv @ 1 NONAME
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/eabi/UT_CAlfLCTGridLayoutu.def Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z16CreateTestSuiteLv @ 1 NONAME
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/eabi/UT_CAlfLCTTextVisualu.def Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,3 @@
+EXPORTS
+ _Z16CreateTestSuiteLv @ 1 NONAME
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/UT_CAlfLCTAnchorLayout.mmp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,77 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+TARGET UT_CAlfLCTAnchorLayout.dll
+TARGETTYPE dll
+TARGETPATH /DigiaEUnit/Tests
+UID 0x1000af5a 0x01700000
+
+CAPABILITY ALL -TCB
+VENDORID VID_DEFAULT
+
+// Sources needed by the test
+// Sources needed by the test
+#include <bldvariant.hrh>
+#include "../../../../uiacceltk/hitchcock/commoninc/alfuids.h"
+
+USERINCLUDE ../../../../uiacceltk/hitchcock/client/inc
+USERINCLUDE ../../../../uiacceltk/hitchcock/commoninc
+
+
+#include <platform_paths.hrh>
+MW_LAYER_SYSTEMINCLUDE
+
+
+LIBRARY apgrfx.lib
+LIBRARY apparc.lib
+LIBRARY avkon.lib
+LIBRARY cone.lib
+LIBRARY efsrv.lib
+LIBRARY eikcore.lib
+LIBRARY EUnit.lib
+LIBRARY euser.lib
+LIBRARY fbscli.lib
+LIBRARY flogger.lib
+LIBRARY ImageConversion.lib
+LIBRARY ws32.lib
+LIBRARY aknicon.lib
+LIBRARY hal.lib
+LIBRARY bitgdi.lib
+LIBRARY ftokenclient.lib
+LIBRARY gdi.lib
+LIBRARY hwrmlightclient.lib
+LIBRARY aknskins.lib
+LIBRARY SvgEngine.lib
+
+LIBRARY aknlayout2hierarchy.lib
+LIBRARY aknfepuiinterface.lib
+LIBRARY goommonitor.lib
+
+LIBRARY alfclient.lib
+
+USERINCLUDE ../inc
+
+SYSTEMINCLUDE /epoc32/include/Digia/EUnit
+SYSTEMINCLUDE ../../../../inc
+
+LIBRARY aknlayout2scalable.lib
+LIBRARY cdlengine.lib
+LIBRARY centralrepository.lib
+
+SOURCEPATH ../src
+SOURCE UT_CAlfLCTAnchorLayout.cpp UT_CAlfLCTAnchorLayoutDllMain.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/UT_CAlfLCTGridLayout.mmp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,79 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+TARGET UT_CAlfLCTGridLayout.dll
+TARGETTYPE dll
+TARGETPATH /DigiaEUnit/Tests
+UID 0x1000af5a 0x01700000
+
+CAPABILITY ALL -TCB
+VENDORID VID_DEFAULT
+
+// Sources needed by the test
+// Sources needed by the test
+#include <bldvariant.hrh>
+#include "../../../../uiacceltk/hitchcock/commoninc/alfuids.h"
+
+USERINCLUDE ../../../../uiacceltk/hitchcock/client/inc
+USERINCLUDE ../../../../uiacceltk/hitchcock/commoninc
+
+
+#include <platform_paths.hrh>
+MW_LAYER_SYSTEMINCLUDE
+
+
+LIBRARY apgrfx.lib
+LIBRARY apparc.lib
+LIBRARY avkon.lib
+LIBRARY cone.lib
+LIBRARY efsrv.lib
+LIBRARY eikcore.lib
+LIBRARY EUnit.lib
+LIBRARY euser.lib
+LIBRARY fbscli.lib
+LIBRARY flogger.lib
+LIBRARY ImageConversion.lib
+LIBRARY ws32.lib
+LIBRARY aknicon.lib
+LIBRARY hal.lib
+LIBRARY bitgdi.lib
+LIBRARY ftokenclient.lib
+LIBRARY gdi.lib
+LIBRARY hwrmlightclient.lib
+LIBRARY aknskins.lib
+LIBRARY SvgEngine.lib
+
+LIBRARY aknlayout2hierarchy.lib
+LIBRARY aknfepuiinterface.lib
+LIBRARY goommonitor.lib
+
+LIBRARY alfclient.lib
+
+USERINCLUDE ../inc
+
+SYSTEMINCLUDE /epoc32/include/Digia/EUnit
+SYSTEMINCLUDE ../../../../inc
+
+LIBRARY aknlayout2scalable.lib
+LIBRARY cdlengine.lib
+LIBRARY centralrepository.lib
+
+// End of file
+SOURCEPATH ../src
+SOURCE UT_CAlfLCTGridLayout.cpp UT_CAlfLCTGridLayoutDllMain.cpp
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/UT_CAlfLCTTextVisual.mmp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,80 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+TARGET UT_CAlfLCTTextVisual.dll
+TARGETTYPE dll
+TARGETPATH /DigiaEUnit/Tests
+UID 0x1000af5a 0x01700000
+
+CAPABILITY ALL -TCB
+VENDORID VID_DEFAULT
+
+
+// Sources needed by the test
+// Sources needed by the test
+#include <bldvariant.hrh>
+#include "../../../../uiacceltk/hitchcock/commoninc/alfuids.h"
+
+USERINCLUDE ../../../../uiacceltk/hitchcock/client/inc
+USERINCLUDE ../../../../uiacceltk/hitchcock/commoninc
+
+
+#include <platform_paths.hrh>
+MW_LAYER_SYSTEMINCLUDE
+
+
+LIBRARY apgrfx.lib
+LIBRARY apparc.lib
+LIBRARY avkon.lib
+LIBRARY cone.lib
+LIBRARY efsrv.lib
+LIBRARY eikcore.lib
+LIBRARY EUnit.lib
+LIBRARY euser.lib
+LIBRARY fbscli.lib
+LIBRARY flogger.lib
+LIBRARY ImageConversion.lib
+LIBRARY ws32.lib
+LIBRARY aknicon.lib
+LIBRARY hal.lib
+LIBRARY bitgdi.lib
+LIBRARY ftokenclient.lib
+LIBRARY gdi.lib
+LIBRARY hwrmlightclient.lib
+LIBRARY aknskins.lib
+LIBRARY SvgEngine.lib
+
+LIBRARY aknlayout2hierarchy.lib
+LIBRARY aknfepuiinterface.lib
+LIBRARY goommonitor.lib
+
+LIBRARY alfclient.lib
+
+USERINCLUDE ../inc
+
+SYSTEMINCLUDE /epoc32/include/Digia/EUnit
+SYSTEMINCLUDE ../../../../inc
+
+LIBRARY aknlayout2scalable.lib
+LIBRARY cdlengine.lib
+LIBRARY centralrepository.lib
+
+// End of file
+SOURCEPATH ../src
+SOURCE UT_CAlfLCTTextVisual.cpp UT_CAlfLCTTextVisualDllMain.cpp
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/alf_extended_visual_api.pkg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,40 @@
+;
+; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+
+;-----------------------------------------------------------------------------
+; Copyright © 2004, Digia Inc. All rights reserved. All other trademarks are
+; the property of their respective owners.
+;-----------------------------------------------------------------------------
+
+; Supported languages
+&en
+
+; Package header (one name for each supported language)
+#{"alf_extended_visual_api test cases"},(0x01700002),0,10,0
+
+; Localised Vendor name
+%{"Nokia-EN"}
+
+;Unique Vendor name
+:"Nokia"
+
+; Language independent files that are always installed
+"\Epoc32\release\armv5\urel\UT_CAlfLCTAnchorLayout.dll"-"!:\sys\bin\UT_CAlfLCTAnchorLayout.dll"
+"\Epoc32\release\armv5\urel\UT_CAlfLCTGridLayout.dll"-"!:\sys\bin\UT_CAlfLCTGridLayout.dll"
+"\Epoc32\release\armv5\urel\UT_CAlfLCTTextVisual.dll"-"!:\sys\bin\UT_CAlfLCTTextVisual.dll"
+
+; Requisites (of type: (UID),Major,Minor,Build-Number,{"Requisite Name1", "Requisite Name2"})
+(0x101F6F88), 0, 0, 0, {"Series60ProductID"}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/alfclientstatic_extended_visual.mmp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,108 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Project definition file for project alfclient
+*
+*/
+
+
+#include "../../../../uiacceltk/hitchcock/CommonInc/alfuids.h"
+#include <data_caging_paths.hrh>
+#include <bldvariant.hrh>
+
+TARGET alfclientstatic_extended_visual.lib
+TARGETTYPE lib
+UID 0x00000000 0x17282846 // random UID
+
+SOURCEPATH ../../../../uiacceltk/hitchcock/client/src
+SOURCE alfclientbase.cpp
+SOURCE alfclient.cpp
+SOURCE alfenv.cpp
+SOURCE alfscreenbuffer.cpp
+SOURCE alfdisplay.cpp
+SOURCE alfroster.cpp
+SOURCE alfcontrolgroup.cpp
+SOURCE alfcontrol.cpp
+SOURCE alfvisual.cpp
+SOURCE alflayout.cpp
+SOURCE alfvisualfactory.cpp
+SOURCE alftextvisual.cpp
+SOURCE alfanchorlayout.cpp
+SOURCE alfbrush.cpp
+SOURCE alfbrusharray.cpp
+SOURCE alfborderbrush.cpp
+SOURCE alfevent.cpp
+SOURCE alftransformation.cpp
+SOURCE alftexture.cpp
+SOURCE alftextureprocessor.cpp
+SOURCE alftexturemanager.cpp
+SOURCE alfimage.cpp
+SOURCE alfimagevisual.cpp
+SOURCE alfgridlayout.cpp
+SOURCE alfdisplaysubsession.cpp
+SOURCE alfcontrolgroupsubsession.cpp
+SOURCE alftransformationsubsession.cpp
+SOURCE alfgencomponent.cpp
+SOURCE alfcommand.cpp
+SOURCE alftimedvalue.cpp
+SOURCE alfmappingfunctions.cpp
+SOURCE alfimagebrush.cpp
+SOURCE alfdecklayout.cpp
+SOURCE alfflowlayout.cpp
+SOURCE alfcurvepath.cpp
+SOURCE alfcurvepathlayout.cpp
+SOURCE alflinevisual.cpp
+SOURCE alfdropshadowbrush.cpp
+SOURCE alfshadowborderbrush.cpp
+SOURCE alfcommandscheduler.cpp
+SOURCE alfgradientbrush.cpp
+SOURCE alfutil.cpp
+SOURCE alfimageloaderutil.cpp
+SOURCE alfframebrush.cpp
+SOURCE alfviewportlayout.cpp
+SOURCE alflctanchorlayout.cpp
+SOURCE alfmeshvisual.cpp
+SOURCE alfmesh.cpp
+SOURCE alfproceduralmesh.cpp
+SOURCE alfm3gmesh.cpp
+SOURCE alflctgridlayout.cpp
+SOURCE alflcttextvisual.cpp
+SOURCE alflayoutmetrics.cpp
+SOURCE alftextstylemanager.cpp
+SOURCE alftextstyle.cpp
+SOURCE alfskinnableimage.cpp
+SOURCE alfstatic.cpp
+SOURCE alfpanic.cpp
+SOURCE alfmetric.cpp
+SOURCE alfproperty.cpp
+SOURCE alfpropertyowner.cpp
+SOURCE alfscrollerevent.cpp
+SOURCE alfsymbiansbdrawer.cpp
+SOURCE alfdisplaybackgrounditem.cpp
+SOURCE alfbatchbuffer.cpp
+SOURCE alftextureautosizeparams.cpp
+SOURCE alfdropshadow.cpp
+SOURCE alftexturegroup.cpp
+SOURCE alfcanvasvisual.cpp
+SOURCE alfgc.cpp
+
+USERINCLUDE ../../../../uiacceltk/hitchcock/client/inc
+USERINCLUDE ../../../../uiacceltk/hitchcock/commoninc
+
+LIBRARY EUnit.lib
+
+#include <platform_paths.hrh>
+MW_LAYER_SYSTEMINCLUDE
+
+SYSTEMINCLUDE ../../../../inc
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/bld.inf Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,28 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Build information file
+*
+*/
+
+
+#include <bldvariant.hrh>
+PRJ_PLATFORMS
+DEFAULT
+
+PRJ_TESTMMPFILES
+UT_CAlfLCTTextVisual.mmp
+UT_CAlfLCTAnchorLayout.mmp
+UT_CAlfLCTGridLayout.mmp
+
+PRJ_MMPFILES
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/eunit_bld_extended_visual.inc Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,28 @@
+/*
+* ============================================================================
+* Name : bld.inf
+* Part of : Alfred UI Toolkit
+* Description : Build information file for project alfappserver
+* Version : %version: 2 %
+*
+* Copyright © 2006 Nokia. All rights reserved.
+* This material, including documentation and any related computer
+* programs, is protected by copyright controlled by Nokia. All
+* rights are reserved. Copying, including reproducing, storing,
+* adapting or translating, any or all of this material requires the
+* prior written consent of Nokia. This material also contains
+* confidential information which may not be disclosed to others
+* without the prior written consent of Nokia.
+* ============================================================================
+* Template version: 4.1
+*/
+
+#include <bldvariant.hrh>
+PRJ_TESTMMPFILES
+alfclientstatic_extended_visual.mmp
+
+UT_CAlfLCTTextVisual.mmp
+UT_CAlfLCTAnchorLayout.mmp
+UT_CAlfLCTGridLayout.mmp
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/mmp_common.inc Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,39 @@
+#include <bldvariant.hrh>
+#include "../../../../uiacceltk/hitchcock/commoninc/alfuids.h"
+
+USERINCLUDE ../../../../uiacceltk/hitchcock/client/inc
+USERINCLUDE ../../../../uiacceltk/hitchcock/commoninc
+
+
+#include <platform_paths.hrh>
+MW_LAYER_SYSTEMINCLUDE
+
+LIBRARY apgrfx.lib
+LIBRARY apparc.lib
+LIBRARY avkon.lib
+LIBRARY cone.lib
+LIBRARY efsrv.lib
+LIBRARY eikcore.lib
+LIBRARY EUnit.lib
+LIBRARY euser.lib
+LIBRARY fbscli.lib
+LIBRARY flogger.lib
+LIBRARY ImageConversion.lib
+LIBRARY ws32.lib
+LIBRARY aknicon.lib
+LIBRARY hal.lib
+LIBRARY bitgdi.lib
+LIBRARY ftokenclient.lib
+LIBRARY gdi.lib
+LIBRARY hwrmlightclient.lib
+LIBRARY aknskins.lib
+LIBRARY SvgEngine.lib
+
+LIBRARY aknlayout2hierarchy.lib
+LIBRARY aknfepuiinterface.lib
+
+
+
+STATICLIBRARY alfclientstatic_extended_visual.lib
+
+// End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/Create-UT_CAlfLCTAnchorLayout-Sis.bat Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,69 @@
+@rem
+@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+@rem All rights reserved.
+@rem This component and the accompanying materials are made available
+@rem under the terms of "Eclipse Public License v1.0"
+@rem which accompanies this distribution, and is available
+@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
+@rem
+@rem Initial Contributors:
+@rem Nokia Corporation - initial contribution.
+@rem
+@rem Contributors:
+@rem
+@rem Description:
+@rem
+@echo off
+echo.
+echo ====================================
+echo.
+echo Digia EUnit - Test
+echo.
+echo This BAT copies Test DLL
+echo to local folder and makes SIS file
+echo.
+echo ====================================
+echo.
+
+:CHECK_EPOCROOT
+echo.
+echo - verify epoc root
+set EPOCROOT
+if errorlevel == 1 goto END_ERROR
+
+:COPY_DLL
+echo.
+echo - copy test dll to current directory
+copy %EPOCROOT%epoc32\release\thumb\urel\UT_CAlfLCTAnchorLayout.dll .
+if errorlevel == 1 goto END_ERROR
+
+:CREATE_DIR
+echo.
+echo - create Sis folder (created only if needed)
+mkdir ..\Sis
+
+:MAKESIS
+echo.
+echo - makesis UT_CAlfLCTAnchorLayout.pkg ..\sis\UT_CAlfLCTAnchorLayout.sis
+call makesis UT_CAlfLCTAnchorLayout.pkg ..\sis\UT_CAlfLCTAnchorLayout.sis
+if errorlevel == 1 goto END_ERROR
+
+:DELETE_DLL
+echo.
+echo - remove the copied dll from current folder
+del UT_CAlfLCTAnchorLayout.dll
+goto END
+
+:END_ERROR
+echo.
+echo Sis creation failed.
+goto FINAL_END
+
+:END
+echo.
+echo Sis file created succesfully
+echo ============================
+
+:FINAL_END
+echo.
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/Create-UT_CAlfLCTGridLayout-Sis.bat Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,69 @@
+@rem
+@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+@rem All rights reserved.
+@rem This component and the accompanying materials are made available
+@rem under the terms of "Eclipse Public License v1.0"
+@rem which accompanies this distribution, and is available
+@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
+@rem
+@rem Initial Contributors:
+@rem Nokia Corporation - initial contribution.
+@rem
+@rem Contributors:
+@rem
+@rem Description:
+@rem
+@echo off
+echo.
+echo ====================================
+echo.
+echo Digia EUnit - Test
+echo.
+echo This BAT copies Test DLL
+echo to local folder and makes SIS file
+echo.
+echo ====================================
+echo.
+
+:CHECK_EPOCROOT
+echo.
+echo - verify epoc root
+set EPOCROOT
+if errorlevel == 1 goto END_ERROR
+
+:COPY_DLL
+echo.
+echo - copy test dll to current directory
+copy %EPOCROOT%epoc32\release\thumb\urel\UT_CAlfLCTGridLayout.dll .
+if errorlevel == 1 goto END_ERROR
+
+:CREATE_DIR
+echo.
+echo - create Sis folder (created only if needed)
+mkdir ..\Sis
+
+:MAKESIS
+echo.
+echo - makesis UT_CAlfLCTGridLayout.pkg ..\sis\UT_CAlfLCTGridLayout.sis
+call makesis UT_CAlfLCTGridLayout.pkg ..\sis\UT_CAlfLCTGridLayout.sis
+if errorlevel == 1 goto END_ERROR
+
+:DELETE_DLL
+echo.
+echo - remove the copied dll from current folder
+del UT_CAlfLCTGridLayout.dll
+goto END
+
+:END_ERROR
+echo.
+echo Sis creation failed.
+goto FINAL_END
+
+:END
+echo.
+echo Sis file created succesfully
+echo ============================
+
+:FINAL_END
+echo.
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/Create-UT_CAlfLCTTextVisual-Sis.bat Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,69 @@
+@rem
+@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+@rem All rights reserved.
+@rem This component and the accompanying materials are made available
+@rem under the terms of "Eclipse Public License v1.0"
+@rem which accompanies this distribution, and is available
+@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
+@rem
+@rem Initial Contributors:
+@rem Nokia Corporation - initial contribution.
+@rem
+@rem Contributors:
+@rem
+@rem Description:
+@rem
+@echo off
+echo.
+echo ====================================
+echo.
+echo Digia EUnit - Test
+echo.
+echo This BAT copies Test DLL
+echo to local folder and makes SIS file
+echo.
+echo ====================================
+echo.
+
+:CHECK_EPOCROOT
+echo.
+echo - verify epoc root
+set EPOCROOT
+if errorlevel == 1 goto END_ERROR
+
+:COPY_DLL
+echo.
+echo - copy test dll to current directory
+copy %EPOCROOT%epoc32\release\thumb\urel\UT_CAlfLCTTextVisual.dll .
+if errorlevel == 1 goto END_ERROR
+
+:CREATE_DIR
+echo.
+echo - create Sis folder (created only if needed)
+mkdir ..\Sis
+
+:MAKESIS
+echo.
+echo - makesis UT_CAlfLCTTextVisual.pkg ..\sis\UT_CAlfLCTTextVisual.sis
+call makesis UT_CAlfLCTTextVisual.pkg ..\sis\UT_CAlfLCTTextVisual.sis
+if errorlevel == 1 goto END_ERROR
+
+:DELETE_DLL
+echo.
+echo - remove the copied dll from current folder
+del UT_CAlfLCTTextVisual.dll
+goto END
+
+:END_ERROR
+echo.
+echo Sis creation failed.
+goto FINAL_END
+
+:END
+echo.
+echo Sis file created succesfully
+echo ============================
+
+:FINAL_END
+echo.
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/DoTestTargetWinscwUDeb.bat Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,21 @@
+@rem
+@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+@rem All rights reserved.
+@rem This component and the accompanying materials are made available
+@rem under the terms of "Eclipse Public License v1.0"
+@rem which accompanies this distribution, and is available
+@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
+@rem
+@rem Initial Contributors:
+@rem Nokia Corporation - initial contribution.
+@rem
+@rem Contributors:
+@rem
+@rem Description:
+@rem
+
+cd ..
+call abld target -k winscw udeb
+call copy \epoc32\release\winscw\UDEB\UT_*.dll \epoc32\release\winscw\UDEB\Z\sys\bin\*.*
+call copy \epoc32\release\winscw\UDEB\MT_*.dll \epoc32\release\winscw\UDEB\Z\sys\bin\*.*
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/client.py Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,130 @@
+#
+# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description:
+#
+#client for coverage testing
+
+import getopt
+import time,os,sys,re
+from socket import *
+from StringIO import *
+host = "localhost"
+port = 3555
+build_command = "bldmake bldfiles & abld build winscw udeb"
+unittest_build_command = "bldmake bldfiles & abld build winscw udeb & ..\\..\\Group\\bldmake bldfiles & ..\\..\\Group\\abld test build winscw udeb"
+clean_command = "abld reallyclean"
+copy_command = "copy Z:\\epoc32\\release\\winscw\\udeb\\UT_*.dll Z:\\epoc32\\release\\winscw\\udeb\\Z\\sys\\bin\\ & copy Z:\\epoc32\\release\\winscw\\udeb\\MT_*.dll Z:\\epoc32\\release\\winscw\\udeb\\Z\\sys\\bin\\"
+
+def buildProfiledBinaries(aPath,aBuildCommand,aIdbName):
+ os.chdir(aPath)
+ os.putenv("CODETEST_LIB","NTmvc_TargetLibMD.lib ctsymbiannativemem.lib")
+ os.putenv("CTDRIVER_ARGS","-CTsize_t=unsigned -CTtag-allocator -CTv -CTno-tag-includes -CTtag-level=SC -CTidb=" + aIdbName)
+ os.system(clean_command)
+ os.system(aBuildCommand)
+ os.putenv("CODETEST_LIB","") # put env vars back
+ os.putenv("CTDRIVER_ARGS","")
+
+def buildModuleTests(aPath,aBuildCommand):
+ os.chdir(aPath)
+ os.system(aBuildCommand)
+ os.system(copy_command)
+
+def startProfiling(aFullIdbName, aExecutable):
+ s = socket(AF_INET, SOCK_STREAM)
+ s.connect((host,port))
+ s.send(aFullIdbName + "," + aExecutable)
+ data = s.recv(8192)
+ s.close()
+ return data
+
+def parseAndWriteReport(aData, aReportLocation):
+ filename = None
+ date = None
+ covered = None
+ not_covered = None
+ s = StringIO(aData)
+
+ for line in s:
+ idb_match = re.match(r"^\s+(?P<filename>.*\.idb$)", line)
+ time_match = re.match(r"^\s+\w+-\w+\s+(?P<day_name>\w+)\s+(?P<month_name>\w+)\s+(?P<day_number>\d+)\s+(?P<time>\d+:\d+:\d+)\s+(?P<year>\d+$)", line)
+ covered_match = re.match(r"^\s+\d+\s+(?P<coverage>\d+\.\d+)%\s+covered$", line)
+ if idb_match is not None:
+ filename = idb_match.group('filename')
+ if time_match is not None:
+ date = time_match.group('day_number') + "-" + time_match.group('month_name') + "-" + time_match.group('year') + "-" + time_match.group('time').replace(":","")
+ if covered_match is not None:
+ covered = covered_match.group('coverage')
+ not_covered = 100 - float(covered)
+ if filename is not None and date is not None and covered is not None:
+ break
+ s.close()
+ # write report to location
+ print filename
+ print date
+ print covered
+
+
+def cleanSystem(aComponentPath,aCleanCommand):
+ os.chdir(aComponentPath)
+ os.system(aCleanCommand)
+
+def main():
+ try:
+ opts, args = getopt.getopt(sys.argv[1:], 'b:i:e:u:r:', ['binary-buildpath=','idb-name=','executable=','unittest-buildpath=', 'report-location='])
+ binary_buildpath = None
+ idb_name = None
+ executable = None
+ unittest_buildpath = None
+ report_location = None
+ p = re.compile(r'/$')
+
+ for o, a in opts:
+ if o in ("-b", "--binary-buildpath"):
+ binary_buildpath = a.replace("\\", "/")
+ binary_buildpath = p.sub('', binary_buildpath)
+ if o in ("-i", "--idb-name"):
+ idb_name = a
+ if o in ("-e", "--executable"):
+ executable = a.replace("\\", "/")
+ if o in ("-u", "--unittest-buildpath"):
+ unittest_buildpath = a.replace("\\", "/")
+ unittest_buildpath = p.sub('', unittest_buildpath)
+ if o in ("-r", "--report-location"):
+ report_location = a.replace("\\", "/")
+ report_location = p.sub('', report_location)
+
+ if (binary_buildpath is None) or (idb_name is None) or (executable is None) or (unittest_buildpath is None) or (report_location is None):
+ usage()
+ sys.exit(1)
+ else:
+ buildProfiledBinaries(binary_buildpath, build_command, idb_name)
+ buildModuleTests(unittest_buildpath, unittest_build_command)
+ report = startProfiling(binary_buildpath + "/" + idb_name, executable)
+ parseAndWriteReport(report,report_location)
+ cleanSystem(binary_buildpath, clean_command)
+ cleanSystem(unittest_buildpath, clean_command)
+
+ except getopt.GetoptError:
+ usage()
+ sys.exit(2)
+
+def usage():
+ print "Usage: <script> -b[--binary-buildpath=] binary build path, e.g. x:/s60/mw/project/group\n"
+ print " -i[--idb-name=] idb name for profiled source, e.g. project1.idb\n"
+ print " -e[--executable=] name of the executeable that should be run for profiled code, e.g. \"x:/epoc32/.../exerunner -arg1 -arg2\"\n"
+ print " -u[--unittest-buildpath=] path for unit tests to be build"
+ print " -r[--report-location=] report location, e.g. x:/s60/mw/somecomponent/reports"
+ print " -b x:/.../group -i project.idb -e \"x:/..../exerunner.exe -arg1 -arg2\" -u x:/.../test/group -r x:/reports/component.txt"
+
+main()
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/testserver.py Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,111 @@
+#
+# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description:
+#
+# server for coverage testing
+#
+# Usage:
+# - start CodeTest Manager
+# - start the command shell from CodeTest: File|CmdShell...
+# - if this script file (testserver.py) is located for ex. in Z:\projects\uiaccelerator\uiaccelerator\uiacceltk\hitchcock\internal\tsrc\Test\Group
+# start the ctserver by giving a command in CodeTest command shell:
+# execfile('Z:/projects/uiaccelerator/uiaccelerator/uiacceltk/hitchcock/internal/tsrc/Test/Group/testserver.py')
+# - the ctserver should now print:
+# Server Initialised...
+# Listening...
+# ctserver is communicating to the CodeTEST host on port 3020
+# ready.
+#
+# - open a windows command window in in Z:\projects\uiaccelerator\uiaccelerator\uiacceltk\hitchcock\internal\tsrc\Test\Group
+# - start the client by running client.py in the windows command window
+#
+# Client usage:
+# <script> -b[--binary-buildpath=] binary build path, e.g. x:/s60/mw/project/group\n"
+# -i[--idb-name=] idb name for profiled source, e.g. project1.idb\n"
+# -e[--executable=] name of the executeable that should be run for profiled code, e.g. \"x:/epoc32/.../exerunner -arg1 -arg2\"\n"
+# -u[--unittest-buildpath=] path for unit tests to be build"
+# -r[--report-location=] report location, e.g. x:/s60/mw/somecomponent/reports"
+#
+# An example client command line:
+# client.py -b Z:\projects\uiaccelerator\uiaccelerator\group -i EunitTests.idb -e Z:\epoc32\release\winscw\udeb\EUnitExeRunner.exe -u Z:\projects\uiaccelerator\uiaccelerator\uiacceltk\hitchcock\internal\tsrc\Test\Group -r .
+#
+
+import time,os,sys,re
+from ctest import CTCommonDef
+from ctest.DataObjM import CovObjDef
+from socket import *
+
+ctServerPath = "C:\\APPS\\ct\\bin\\ctserver.exe"
+host = ""
+port = 3555
+
+def initialise():
+ os.spawnv(os.P_NOWAIT, ctServerPath, [''])
+ print "Server Initialised..."
+
+def processCommand(aSocket, aCommand):
+ if aCommand == "EXIT":
+ sys.exit(0)
+ else:
+ commands = re.split(r',',aCommand)
+ print "Retreived commands:",commands
+ data = runCodeTest(commands[0], commands[1])
+ aSocket.send(data)
+
+def runCodeTest(aIdb, aExecutable):
+ ctob.closeWorkspace()
+ ds = ctob.createCtSWIC('localhost', 3020, 30)
+ print ds.getName(), 'Data source created...'
+ ds.setIDB(aIdb)
+ ds.connect()
+ ds.setContinuousMode()
+ ds.start()
+ print 'Starting profiled application...'
+ os.spawnv(os.P_WAIT, aExecutable, [' /e S60AppEnv /r Warning /w 1'])
+ print 'Application exited...'
+ time.sleep(10)
+ print 'Collecting data...'
+ ds.collectData()
+ ds.stop()
+ covObject0 = ds.getCoverageObjs()[0]
+ covObject0.sortData('coverage',1)
+ # html report / per method
+ #covObject0.exportView('c:/cov_data_one.htm', CTCommonDef.HTML_FORMAT,' ',' ' )
+ covObject0.writeCoverageReport('/cov_report.txt', CovObjDef.OVERALL_SUMMARY)
+ f = open("/cov_report.txt")
+ data = f.read()
+ f.close()
+ ds.disConnect()
+ print 'Report sent to the client...'
+ return data
+
+def startServer():
+ s = socket(AF_INET, SOCK_STREAM)
+ s.bind((host,port))
+ s.listen(1)
+ print "Listening..."
+ while 1:
+ (clientsocket, address) = s.accept()
+ print "Client connected..."
+ while 1:
+ buff = clientsocket.recv(4096)
+ print "Data received..."
+ if buff:
+ processCommand(clientsocket, buff)
+ else:
+ break
+ clientsocket.close()
+
+initialise()
+startServer()
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/inc/UT_CAlfLCTAnchorLayout.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,85 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#ifndef __UT_CAlfLCTAnchorLayout_H__
+#define __UT_CAlfLCTAnchorLayout_H__
+
+// EXTERNAL INCLUDES
+#include <CEUnitTestSuiteClass.h>
+
+// INTERNAL INCLUDES
+
+
+// FORWARD DECLARATIONS
+class CAlfEnv;
+class CAlfControl;
+class CAlfLCTAnchorLayout;
+
+#include <e32def.h>
+#ifndef NONSHARABLE_CLASS
+ #define NONSHARABLE_CLASS(x) class x
+#endif
+
+// CLASS DEFINITION
+/**
+ *
+ * EUnitWizard generated test class.
+ *
+ */
+NONSHARABLE_CLASS( UT_CAlfLCTAnchorLayout )
+ : public CEUnitTestSuiteClass
+ {
+ public: // Constructors and destructors
+
+ /**
+ * Two phase construction
+ */
+ static UT_CAlfLCTAnchorLayout* NewL();
+ static UT_CAlfLCTAnchorLayout* NewLC();
+ /**
+ * Destructor
+ */
+ ~UT_CAlfLCTAnchorLayout();
+
+ private: // Constructors and destructors
+
+ UT_CAlfLCTAnchorLayout();
+ void ConstructL();
+
+ private: // New methods
+
+ void SetupL();
+ void Teardown();
+ void UT_CAlfLCTAnchorLayout_CAlfLCTAnchorLayoutL();
+ void UT_CAlfLCTAnchorLayout_ConstructLL();
+ void UT_CAlfLCTAnchorLayout_RemoveAndDestroyAllDL();
+ void UT_CAlfLCTAnchorLayout_SetAnchors();
+
+ public: // Data
+
+ CAlfEnv* iEnv;
+ CAlfControl* iControl;
+ CAlfLCTAnchorLayout* iLayout;
+
+ EUNIT_DECLARE_TEST_TABLE;
+
+ };
+
+#endif // __UT_CAlfLCTAnchorLayout_H__
+
+// End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/inc/UT_CAlfLCTGridLayout.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,85 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#ifndef __UT_CAlfLCTGridLayout_H__
+#define __UT_CAlfLCTGridLayout_H__
+
+// EXTERNAL INCLUDES
+#include <CEUnitTestSuiteClass.h>
+
+// INTERNAL INCLUDES
+
+
+// FORWARD DECLARATIONS
+class CAlfEnv;
+class CAlfControl;
+class CAlfLCTGridLayout;
+
+#include <e32def.h>
+#ifndef NONSHARABLE_CLASS
+ #define NONSHARABLE_CLASS(x) class x
+#endif
+
+// CLASS DEFINITION
+/**
+ *
+ * EUnitWizard generated test class.
+ *
+ */
+NONSHARABLE_CLASS( UT_CAlfLCTGridLayout )
+ : public CEUnitTestSuiteClass
+ {
+ public: // Constructors and destructors
+
+ /**
+ * Two phase construction
+ */
+ static UT_CAlfLCTGridLayout* NewL();
+ static UT_CAlfLCTGridLayout* NewLC();
+ /**
+ * Destructor
+ */
+ ~UT_CAlfLCTGridLayout();
+
+ private: // Constructors and destructors
+
+ UT_CAlfLCTGridLayout();
+ void ConstructL();
+
+ private: // New methods
+
+ void SetupL();
+ void Teardown();
+ void UT_CAlfLCTGridLayout_CAlfLCTGridLayoutL();
+ void UT_CAlfLCTGridLayout_ConstructLL();
+ void UT_CAlfLCTGridLayout_RemoveAndDestroyAllDL();
+ void UT_CAlfLCTGridLayout_SetColsAndRows();
+
+ public: // Data
+
+ CAlfEnv* iEnv;
+ CAlfControl* iControl;
+ CAlfLCTGridLayout* iLayout;
+
+ EUNIT_DECLARE_TEST_TABLE;
+
+ };
+
+#endif // __UT_CAlfLCTGridLayout_H__
+
+// End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/inc/UT_CAlfLCTTextVisual.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,84 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#ifndef __UT_CAlfLCTTextVisual_H__
+#define __UT_CAlfLCTTextVisual_H__
+
+// EXTERNAL INCLUDES
+#include <CEUnitTestSuiteClass.h>
+
+// INTERNAL INCLUDES
+
+// FORWARD DECLARATIONS
+class CAlfEnv;
+class CAlfControl;
+class CAlfLCTTextVisual;
+
+#include <e32def.h>
+#ifndef NONSHARABLE_CLASS
+ #define NONSHARABLE_CLASS(x) class x
+#endif
+
+// CLASS DEFINITION
+/**
+ *
+ * EUnitWizard generated test class.
+ *
+ */
+NONSHARABLE_CLASS( UT_CAlfLCTTextVisual )
+ : public CEUnitTestSuiteClass
+ {
+ public: // Constructors and destructors
+
+ /**
+ * Two phase construction
+ */
+ static UT_CAlfLCTTextVisual* NewL();
+ static UT_CAlfLCTTextVisual* NewLC();
+ /**
+ * Destructor
+ */
+ ~UT_CAlfLCTTextVisual();
+
+ private: // Constructors and destructors
+
+ UT_CAlfLCTTextVisual();
+ void ConstructL();
+
+ private: // New methods
+
+ void SetupL();
+ void Teardown();
+ void UT_CAlfLCTTextVisual_CAlfLCTTextVisualL();
+ void UT_CAlfLCTTextVisual_ConstructLL();
+ void UT_CAlfLCTTextVisual_RemoveAndDestroyAllDL();
+ void UT_CAlfLCTTextVisual_SetTextPane();
+
+ private: // Data
+
+ CAlfEnv* iEnv;
+ CAlfControl* iControl;
+ CAlfLCTTextVisual* iVisual;
+
+ EUNIT_DECLARE_TEST_TABLE;
+
+ };
+
+#endif // __UT_CAlfLCTTextVisual_H__
+
+// End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTAnchorLayout.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,214 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+// CLASS HEADER
+#include "UT_CAlfLCTAnchorLayout.h"
+
+// EXTERNAL INCLUDES
+#include <EUnitMacros.h>
+
+
+// INTERNAL INCLUDES
+#include "alf/alflctAnchorLayout.h"
+#include "alf/alfdecklayout.h"
+#include "alf/alfenv.h"
+#include "alf/alfcontrol.h"
+
+#include <aknutils.h>
+#include <aknlayout2def.h>
+#include <aknlayoutscalable_avkon.cdl.h>
+#include <aknlayout2hierarchy.h>
+
+
+// =================
+// Test Class
+// =================
+
+// CONSTRUCTION
+UT_CAlfLCTAnchorLayout* UT_CAlfLCTAnchorLayout::NewL()
+ {
+ UT_CAlfLCTAnchorLayout* self = UT_CAlfLCTAnchorLayout::NewLC();
+ CleanupStack::Pop();
+
+ return self;
+ }
+
+UT_CAlfLCTAnchorLayout* UT_CAlfLCTAnchorLayout::NewLC()
+ {
+ UT_CAlfLCTAnchorLayout* self = new( ELeave ) UT_CAlfLCTAnchorLayout();
+ CleanupStack::PushL( self );
+
+ self->ConstructL();
+
+ return self;
+ }
+
+// Destructor (virtual by CBase)
+UT_CAlfLCTAnchorLayout::~UT_CAlfLCTAnchorLayout()
+ {
+ }
+
+// Default constructor
+UT_CAlfLCTAnchorLayout::UT_CAlfLCTAnchorLayout()
+ {
+ }
+
+// Second phase construct
+void UT_CAlfLCTAnchorLayout::ConstructL()
+ {
+ // The ConstructL from the base class CEUnitTestSuiteClass must be called.
+ // It generates the test case table.
+ CEUnitTestSuiteClass::ConstructL();
+ }
+
+// =================
+// Tests
+// =================
+
+void UT_CAlfLCTAnchorLayout::SetupL( )
+ {
+ iEnv = CAlfEnv::NewL();
+
+ iControl = new( ELeave ) CAlfControl;
+ iControl->ConstructL( *iEnv );
+
+ iLayout = (CAlfLCTAnchorLayout*)iControl->AppendLayoutL( EAlfLayoutTypeLCTAnchor );
+ }
+
+void UT_CAlfLCTAnchorLayout::Teardown( )
+ {
+ if ( iControl && iEnv && !iEnv->FindControl( iControl->Id() ) )
+ {
+ delete iControl;
+ iControl = NULL;
+ }
+ delete iEnv;
+ iEnv = NULL;
+ }
+
+void UT_CAlfLCTAnchorLayout::UT_CAlfLCTAnchorLayout_CAlfLCTAnchorLayoutL( )
+ {
+ __UHEAP_MARK;
+ CAlfLCTAnchorLayout* visual = new (ELeave) CAlfLCTAnchorLayout;
+ delete visual;
+ __UHEAP_MARKEND;
+ }
+
+void UT_CAlfLCTAnchorLayout::UT_CAlfLCTAnchorLayout_ConstructLL( )
+ {
+ __UHEAP_MARK;
+ CAlfLCTAnchorLayout* visual = new (ELeave) CAlfLCTAnchorLayout;
+ CleanupStack::PushL( visual );
+ visual->ConstructL( *iControl );
+ CleanupStack::PopAndDestroy( visual );
+ __UHEAP_MARKEND;
+ }
+
+void UT_CAlfLCTAnchorLayout::UT_CAlfLCTAnchorLayout_RemoveAndDestroyAllDL( )
+ {
+ iLayout->RemoveAndDestroyAllD();
+ iLayout = NULL;
+ }
+
+void UT_CAlfLCTAnchorLayout::UT_CAlfLCTAnchorLayout_SetAnchors( )
+ {
+ // first calculate what the layout would be based on the current screen size
+ TSize parentSize;
+ AknLayoutUtils::LayoutMetricsSize(AknLayoutUtils::EScreen, parentSize);
+ TAlfRealSize parentAlfSize(parentSize);
+ iLayout->SetFlag(EAlfVisualFlagManualLayout);
+ iLayout->SetSize(parentAlfSize);
+
+#ifdef _DEBUG
+ TAlfTimedPoint checkSize = iLayout->Size();
+#endif // _DEBUG
+
+ TInt cell_app_pane_g1_variety = 0; // not marked or highlighted
+ TAknWindowLineLayout cell_app_pane_g1 = AknLayoutScalable_Avkon::cell_app_pane_g1(cell_app_pane_g1_variety).LayoutLineNoEmptys();
+
+ TRect parentRect(parentSize);
+ TAknLayoutRect layoutRect;
+ layoutRect.LayoutRect( parentRect, cell_app_pane_g1);
+ TRect cell_app_pane_g1_Rect = layoutRect.Rect();
+ TSize cell_app_pane_g1_Size = cell_app_pane_g1_Rect.Size();
+
+ // now the results
+ TInt drawingIndex = 0;
+ TAlfTimedPoint timedPoint;
+ TAknLayoutHierarchyComponentHandle cell_app_pane_g1_Handle(
+ KUidAknLayoutSystemId_AknLayout2,
+ AknLayoutScalable_Avkon::KCdlInterfaceUidValue,
+ AknLayoutScalable_Avkon::EApiId_cell_app_pane_g1);
+ cell_app_pane_g1_Handle.SetVarietyIndex(cell_app_pane_g1_variety);
+
+ iLayout->SetAnchors(drawingIndex, cell_app_pane_g1_Handle, timedPoint);
+
+ TPoint resultPos;
+ TSize resultSize;
+ iLayout->ChildPos(drawingIndex, resultPos);
+ iLayout->ChildSize(drawingIndex, resultSize);
+
+ EUNIT_ASSERT_EQUALS( cell_app_pane_g1_Rect.iTl, resultPos );
+ EUNIT_ASSERT_EQUALS( cell_app_pane_g1_Size, resultSize );
+ }
+
+// =================
+// Test Table
+// =================
+
+
+EUNIT_BEGIN_TEST_TABLE(
+ UT_CAlfLCTAnchorLayout,
+ "Alf Unit Tests",
+ "UNIT" )
+
+EUNIT_TEST(
+ "CAlfLCTAnchorLayout - test ",
+ "CAlfLCTAnchorLayout",
+ "CAlfLCTAnchorLayout",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTAnchorLayout_CAlfLCTAnchorLayoutL, Teardown)
+
+EUNIT_TEST(
+ "ConstructL - test ",
+ "CAlfLCTAnchorLayout",
+ "ConstructL",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTAnchorLayout_ConstructLL, Teardown)
+
+EUNIT_TEST(
+ "RemoveAndDestroyAllD - test ",
+ "CAlfLCTAnchorLayout",
+ "RemoveAndDestroyAllD",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTAnchorLayout_RemoveAndDestroyAllDL, Teardown)
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+EUNIT_TEST(
+ "SetAnchors - test ",
+ "CAlfLCTAnchorLayout",
+ "SetAnchors",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTAnchorLayout_SetAnchors, Teardown)
+*/
+
+EUNIT_END_TEST_TABLE
+
+// END OF FILE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTAnchorLayoutDllMain.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+// CLASS HEADER
+#include "UT_CAlfLCTAnchorLayout.h"
+
+// EXTERNAL INCLUDES
+#include <CEUnitTestSuite.h>
+
+/**
+ * Test suite factory function.
+ */
+EXPORT_C MEUnitTest* CreateTestSuiteL()
+ {
+ return UT_CAlfLCTAnchorLayout::NewL();
+ }
+
+#ifndef __SECURE_API__
+/**
+ * Standard Symbian DLL entry point function.
+ */
+GLDEF_C TInt E32Dll(TDllReason)
+ {
+ return KErrNone;
+ }
+#endif
+
+// END OF FILE
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTGridLayout.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,196 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+// CLASS HEADER
+#include "UT_CAlfLCTGridLayout.h"
+
+// EXTERNAL INCLUDES
+#include <EUnitMacros.h>
+
+
+// INTERNAL INCLUDES
+#include "alf/alflctGridLayout.h"
+#include "alf/alfdecklayout.h"
+#include "alf/alfenv.h"
+#include "alf/alfcontrol.h"
+
+#include <aknlayout2def.h>
+#include <aknlayoutscalable_avkon.cdl.h>
+#include <aknlayout2hierarchy.h>
+#include <LayoutMetaData.cdl.h>
+
+
+// =================
+// Test Class
+// =================
+
+// CONSTRUCTION
+UT_CAlfLCTGridLayout* UT_CAlfLCTGridLayout::NewL()
+ {
+ UT_CAlfLCTGridLayout* self = UT_CAlfLCTGridLayout::NewLC();
+ CleanupStack::Pop();
+
+ return self;
+ }
+
+UT_CAlfLCTGridLayout* UT_CAlfLCTGridLayout::NewLC()
+ {
+ UT_CAlfLCTGridLayout* self = new( ELeave ) UT_CAlfLCTGridLayout();
+ CleanupStack::PushL( self );
+
+ self->ConstructL();
+
+ return self;
+ }
+
+// Destructor (virtual by CBase)
+UT_CAlfLCTGridLayout::~UT_CAlfLCTGridLayout()
+ {
+ }
+
+// Default constructor
+UT_CAlfLCTGridLayout::UT_CAlfLCTGridLayout()
+ {
+ }
+
+// Second phase construct
+void UT_CAlfLCTGridLayout::ConstructL()
+ {
+ // The ConstructL from the base class CEUnitTestSuiteClass must be called.
+ // It generates the test case table.
+ CEUnitTestSuiteClass::ConstructL();
+ }
+
+// =================
+// Tests
+// =================
+
+void UT_CAlfLCTGridLayout::SetupL( )
+ {
+ iEnv = CAlfEnv::NewL();
+
+ iControl = new( ELeave ) CAlfControl;
+ iControl->ConstructL( *iEnv );
+
+ iLayout = (CAlfLCTGridLayout*)iControl->AppendLayoutL( EAlfLayoutTypeLCTGrid );
+ }
+
+void UT_CAlfLCTGridLayout::Teardown( )
+ {
+ if ( iControl && iEnv && !iEnv->FindControl( iControl->Id() ) )
+ {
+ delete iControl;
+ iControl = NULL;
+ }
+ delete iEnv;
+ iEnv = NULL;
+ }
+
+void UT_CAlfLCTGridLayout::UT_CAlfLCTGridLayout_CAlfLCTGridLayoutL( )
+ {
+ __UHEAP_MARK;
+ CAlfLCTGridLayout* visual = new (ELeave) CAlfLCTGridLayout;
+ delete visual;
+ __UHEAP_MARKEND;
+ }
+
+void UT_CAlfLCTGridLayout::UT_CAlfLCTGridLayout_ConstructLL( )
+ {
+ __UHEAP_MARK;
+ CAlfLCTGridLayout* visual = new (ELeave) CAlfLCTGridLayout;
+ CleanupStack::PushL( visual );
+ visual->ConstructL( *iControl );
+ CleanupStack::PopAndDestroy( visual );
+ __UHEAP_MARKEND;
+ }
+
+void UT_CAlfLCTGridLayout::UT_CAlfLCTGridLayout_RemoveAndDestroyAllDL( )
+ {
+ iLayout->RemoveAndDestroyAllD();
+ iLayout = NULL;
+ }
+
+void UT_CAlfLCTGridLayout::UT_CAlfLCTGridLayout_SetColsAndRows( )
+ {
+ TInt cell_app_pane_variety = Layout_Meta_Data::IsLandscapeOrientation() ? 2 : 1;
+ TAknLayoutScalableParameterLimits cell_app_pane_limits = AknLayoutScalable_Avkon::cell_app_pane_ParamLimits(cell_app_pane_variety);
+ TInt cols = cell_app_pane_limits.LastColumn() + 1;
+ TInt rows = cell_app_pane_limits.LastRow() + 1;
+
+ TAknLayoutHierarchyComponentHandle cell_app_pane_Handle(
+ KUidAknLayoutSystemId_AknLayout2,
+ AknLayoutScalable_Avkon::KCdlInterfaceUidValue,
+ AknLayoutScalable_Avkon::EApiId_cell_app_pane);
+
+ cell_app_pane_Handle.SetVarietyIndex(cell_app_pane_variety);
+
+ TAlfTimedPoint timedPoint;
+ iLayout->SetColsAndRows(cell_app_pane_Handle, timedPoint);
+
+ TInt resultCols = iLayout->ColumnCount();
+ TInt resultRows = iLayout->RowCount();
+
+ EUNIT_ASSERT_EQUALS( cols, resultCols );
+ EUNIT_ASSERT_EQUALS( rows, resultRows );
+ }
+
+// =================
+// Test Table
+// =================
+
+
+EUNIT_BEGIN_TEST_TABLE(
+ UT_CAlfLCTGridLayout,
+ "Alf Unit Tests",
+ "UNIT" )
+
+EUNIT_TEST(
+ "CAlfLCTGridLayout - test ",
+ "CAlfLCTGridLayout",
+ "CAlfLCTGridLayout",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTGridLayout_CAlfLCTGridLayoutL, Teardown)
+
+EUNIT_TEST(
+ "ConstructL - test ",
+ "CAlfLCTGridLayout",
+ "ConstructL",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTGridLayout_ConstructLL, Teardown)
+
+EUNIT_TEST(
+ "RemoveAndDestroyAllD - test ",
+ "CAlfLCTGridLayout",
+ "RemoveAndDestroyAllD",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTGridLayout_RemoveAndDestroyAllDL, Teardown)
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+EUNIT_TEST(
+ "SetColsAndRows - test ",
+ "CAlfLCTGridLayout",
+ "SetColsAndRows",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTGridLayout_SetColsAndRows, Teardown)
+*/
+
+EUNIT_END_TEST_TABLE
+
+// END OF FILE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTGridLayoutDllMain.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+// CLASS HEADER
+#include "UT_CAlfLCTGridLayout.h"
+
+// EXTERNAL INCLUDES
+#include <CEUnitTestSuite.h>
+
+/**
+ * Test suite factory function.
+ */
+EXPORT_C MEUnitTest* CreateTestSuiteL()
+ {
+ return UT_CAlfLCTGridLayout::NewL();
+ }
+
+#ifndef __SECURE_API__
+/**
+ * Standard Symbian DLL entry point function.
+ */
+GLDEF_C TInt E32Dll(TDllReason)
+ {
+ return KErrNone;
+ }
+#endif
+
+// END OF FILE
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTTextVisual.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,201 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+// CLASS HEADER
+#include "UT_CAlfLCTTextVisual.h"
+
+// EXTERNAL INCLUDES
+#include <EUnitMacros.h>
+
+
+// INTERNAL INCLUDES
+#include "alf/alflcttextvisual.h"
+#include "alf/alfdecklayout.h"
+#include "alf/alfenv.h"
+#include "alf/alfcontrol.h"
+
+#include <aknlayout2def.h>
+#include <aknlayoutscalable_avkon.cdl.h>
+#include <aknlayout2hierarchy.h>
+
+
+// =================
+// Test Class
+// =================
+
+// CONSTRUCTION
+UT_CAlfLCTTextVisual* UT_CAlfLCTTextVisual::NewL()
+ {
+ UT_CAlfLCTTextVisual* self = UT_CAlfLCTTextVisual::NewLC();
+ CleanupStack::Pop();
+
+ return self;
+ }
+
+UT_CAlfLCTTextVisual* UT_CAlfLCTTextVisual::NewLC()
+ {
+ UT_CAlfLCTTextVisual* self = new( ELeave ) UT_CAlfLCTTextVisual();
+ CleanupStack::PushL( self );
+
+ self->ConstructL();
+
+ return self;
+ }
+
+// Destructor (virtual by CBase)
+UT_CAlfLCTTextVisual::~UT_CAlfLCTTextVisual()
+ {
+ }
+
+// Default constructor
+UT_CAlfLCTTextVisual::UT_CAlfLCTTextVisual()
+ {
+ }
+
+// Second phase construct
+void UT_CAlfLCTTextVisual::ConstructL()
+ {
+ // The ConstructL from the base class CEUnitTestSuiteClass must be called.
+ // It generates the test case table.
+ CEUnitTestSuiteClass::ConstructL();
+ }
+
+// =================
+// Tests
+// =================
+
+void UT_CAlfLCTTextVisual::SetupL( )
+ {
+ iEnv = CAlfEnv::NewL();
+
+ iControl = new( ELeave ) CAlfControl;
+ iControl->ConstructL( *iEnv );
+
+ iVisual = (CAlfLCTTextVisual*)iControl->AppendVisualL( EAlfVisualTypeLCTText );
+ }
+
+void UT_CAlfLCTTextVisual::Teardown( )
+ {
+ if ( iControl && iEnv && !iEnv->FindControl( iControl->Id() ) )
+ {
+ delete iControl;
+ iControl = NULL;
+ }
+ delete iEnv;
+ iEnv = NULL;
+ }
+
+void UT_CAlfLCTTextVisual::UT_CAlfLCTTextVisual_CAlfLCTTextVisualL( )
+ {
+ __UHEAP_MARK;
+ CAlfLCTTextVisual* visual = new (ELeave) CAlfLCTTextVisual;
+ delete visual;
+ __UHEAP_MARKEND;
+ }
+
+void UT_CAlfLCTTextVisual::UT_CAlfLCTTextVisual_ConstructLL( )
+ {
+ __UHEAP_MARK;
+ CAlfLCTTextVisual* visual = new (ELeave) CAlfLCTTextVisual;
+ CleanupStack::PushL( visual );
+ visual->ConstructL( *iControl );
+ CleanupStack::PopAndDestroy( visual );
+ __UHEAP_MARKEND;
+ }
+
+void UT_CAlfLCTTextVisual::UT_CAlfLCTTextVisual_RemoveAndDestroyAllDL( )
+ {
+ iVisual->RemoveAndDestroyAllD();
+ iVisual = NULL;
+ }
+
+void UT_CAlfLCTTextVisual::UT_CAlfLCTTextVisual_SetTextPane( )
+ {
+ TAlfAlignHorizontal alignHorizontal(EAlfAlignHLeft);
+ TInt fontId1 = 0x80100004;
+ TInt varietyIndex = 0;// not marked or highlighted
+
+ TAknTextLineLayout componentLayout = AknLayoutScalable_Avkon::cell_app_pane_t1(varietyIndex).LayoutLine();
+ TInt fontId2 = componentLayout.iFont;
+
+
+ iVisual->SetAlign(alignHorizontal, EAlfAlignVCenter);
+ // @todo can't test alignment, as huitk doesn't provide API
+
+ // todo: do something else
+ //iVisual->SetFontId(fontId1);
+ //TInt resultFontId = iVisual->FontId(); // Deprecated
+ //EUNIT_ASSERT_EQUALS( fontId1, resultFontId );
+
+ TAknLayoutHierarchyComponentHandle cell_app_pane_t1_Handle(
+ KUidAknLayoutSystemId_AknLayout2,
+ AknLayoutScalable_Avkon::KCdlInterfaceUidValue,
+ AknLayoutScalable_Avkon::EApiId_cell_app_pane_t1);
+ cell_app_pane_t1_Handle.SetVarietyIndex(varietyIndex);
+
+ iVisual->SetTextPane(cell_app_pane_t1_Handle);
+
+ //resultFontId = iVisual->FontId(); // deprecated
+// EUNIT_ASSERT_EQUALS( fontId2, resultFontId );
+ }
+
+// =================
+// Test Table
+// =================
+
+
+EUNIT_BEGIN_TEST_TABLE(
+ UT_CAlfLCTTextVisual,
+ "Alf Unit Tests",
+ "UNIT" )
+
+EUNIT_TEST(
+ "CAlfLCTTextVisual - test ",
+ "CAlfLCTTextVisual",
+ "CAlfLCTTextVisual",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTTextVisual_CAlfLCTTextVisualL, Teardown)
+
+EUNIT_TEST(
+ "ConstructL - test ",
+ "CAlfLCTTextVisual",
+ "ConstructL",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTTextVisual_ConstructLL, Teardown)
+
+EUNIT_TEST(
+ "RemoveAndDestroyAllD - test ",
+ "CAlfLCTTextVisual",
+ "RemoveAndDestroyAllD",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTTextVisual_RemoveAndDestroyAllDL, Teardown)
+
+/** TODO: FIX TEST
+ * THIS TEST IS NOT USED BECAUSE TEST FAILS.
+ * REQUIRES FURTHER STUDY AND FIX.
+EUNIT_TEST(
+ "SetTextPane - test ",
+ "CAlfLCTTextVisual",
+ "SetTextPane",
+ "FUNCTIONALITY",
+ SetupL, UT_CAlfLCTTextVisual_SetTextPane, Teardown)
+*/
+
+EUNIT_END_TEST_TABLE
+
+// END OF FILE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTTextVisualDllMain.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+// CLASS HEADER
+#include "UT_CAlfLCTTextVisual.h"
+
+// EXTERNAL INCLUDES
+#include <CEUnitTestSuite.h>
+
+/**
+ * Test suite factory function.
+ */
+EXPORT_C MEUnitTest* CreateTestSuiteL()
+ {
+ return UT_CAlfLCTTextVisual::NewL();
+ }
+
+#ifndef __SECURE_API__
+/**
+ * Standard Symbian DLL entry point function.
+ */
+GLDEF_C TInt E32Dll(TDllReason)
+ {
+ return KErrNone;
+ }
+#endif
+
+// END OF FILE
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/conf/tctestalfextalfbrushhandlers.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,76 @@
+[Test]
+title TestBrushHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 1
+[Endtest]
+
+[Test]
+title TestBrushHandlerForMAlfExtensionL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 2
+[Endtest]
+
+[Test]
+title TestBrushHandlerForOthersL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 3
+[Endtest]
+
+[Test]
+title TestBorderBrushHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 4
+[Endtest]
+
+[Test]
+title TestBorderBrushHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 5
+[Endtest]
+
+[Test]
+title TestImageBrushHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 6
+[Endtest]
+
+[Test]
+title TestImageBrushHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 7
+[Endtest]
+
+[Test]
+title TestShadowBorderBrushHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 8
+[Endtest]
+
+[Test]
+title TestShadowBorderBrushHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 9
+[Endtest]
+
+[Test]
+title TestDropShadowBrushHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 10
+[Endtest]
+
+[Test]
+title TestDropShadowBrushHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 11
+[Endtest]
+
+[Test]
+title TestGradientBrushHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 12
+[Endtest]
+
+[Test]
+title TestGradientBrushHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 13
+[Endtest]
+
+[Test]
+title TestFrameBrushHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 14
+[Endtest]
+
+[Test]
+title TestFrameBrushHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalfbrushhandlers.cfg 15
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/conf/tctestalfextalflayouthandlers.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,90 @@
+[Test]
+title TestLayoutHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 1
+[Endtest]
+
+[Test]
+title TestLayoutHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 2
+[Endtest]
+
+[Test]
+title TestAnchorLayoutHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 3
+[Endtest]
+
+[Test]
+title TestAnchorLayoutHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 4
+[Endtest]
+
+[Test]
+title TestLCTAnchorLayoutHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 5
+[Endtest]
+
+[Test]
+title TestLCTAnchorLayoutHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 6
+[Endtest]
+
+[Test]
+title TestGridLayoutHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 7
+[Endtest]
+
+[Test]
+title TestGridLayoutHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 8
+[Endtest]
+
+[Test]
+title TestLCTGridLayoutHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 9
+[Endtest]
+
+[Test]
+title TestLCTGridLayoutHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 10
+[Endtest]
+
+[Test]
+title TestDeckLayoutHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 11
+[Endtest]
+
+[Test]
+title TestDeckLayoutHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 12
+[Endtest]
+
+[Test]
+title TestFlowLayoutHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 13
+[Endtest]
+
+[Test]
+title TestFlowLayoutHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 14
+[Endtest]
+
+[Test]
+title TestCurvePathLayoutHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 15
+[Endtest]
+
+[Test]
+title TestCurvePathLayoutHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 16
+[Endtest]
+
+[Test]
+title TestViewportLayoutHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 17
+[Endtest]
+
+[Test]
+title TestViewportLayoutHandlerProtectedL
+run testscripter c:\testframework\ui_testalfextalflayouthandlers.cfg 18
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/conf/tctestalfextalfserverutils.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,14 @@
+[Test]
+title TestTimedValueUtil
+run testscripter c:\testframework\ui_testalfextalfserverutils.cfg 1
+[Endtest]
+
+[Test]
+title TestTimedPointUtil
+run testscripter c:\testframework\ui_testalfextalfserverutils.cfg 2
+[Endtest]
+
+[Test]
+title TestFileTokenUtil
+run testscripter c:\testframework\ui_testalfextalfserverutils.cfg 3
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/conf/tctestalfextalfvisualhandlers.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,61 @@
+[Test]
+title TestVisualHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 1
+[Endtest]
+
+[Test]
+title TestVisualHandlerMutualL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 2
+[Endtest]
+
+[Test]
+title TestTextVisualHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 3
+[Endtest]
+
+[Test]
+title TestTextVisualHandlerMutualL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 4
+[Endtest]
+
+[Test]
+title TestLCTTextVisualHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 5
+[Endtest]
+
+[Test]
+title TestLCTTextVisualHandlerMutualL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 6
+[Endtest]
+
+[Test]
+title TestImageVisualHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 7
+[Endtest]
+
+[Test]
+title TestImageVisualHandlerMutualL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 8
+[Endtest]
+
+[Test]
+title TestLineVisualHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 9
+[Endtest]
+
+[Test]
+title TestLineVisualHandlerMutualL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 10
+[Endtest]
+
+[Test]
+title TestMeshVisualHandlerConstructL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 11
+[Endtest]
+
+[Test]
+title TestMeshVisualHandlerMutualL
+run testscripter c:\testframework\ui_testalfextalfvisualhandlers.cfg 12
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/conf/tctestalfextftokenclient.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,5 @@
+[Test]
+title TestRFTokenClientFuncL
+run testscripter c:\testframework\ui_testalfextftokenclient.cfg 1
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/conf/ui_testalfextalfbrushhandlers.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,113 @@
+[Test]
+title TestBrushHandlerConstructL
+create testalfext test
+test TestBrushHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestBrushHandlerForMAlfExtensionL
+create testalfext test
+test TestBrushHandlerForMAlfExtensionL
+delete test
+[Endtest]
+
+
+[Test]
+title TestBrushHandlerForOthersL
+create testalfext test
+test TestBrushHandlerForOthersL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushHandlerConstructL
+create testalfext test
+test TestBorderBrushHandlerConstructL
+delete test
+[Endtest]
+
+
+[Test]
+title TestBorderBrushHandlerProtectedL
+create testalfext test
+test TestBorderBrushHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestImageBrushHandlerConstructL
+create testalfext test
+test TestImageBrushHandlerConstructL
+delete test
+[Endtest]
+
+
+[Test]
+title TestImageBrushHandlerProtectedL
+create testalfext test
+test TestImageBrushHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestShadowBorderBrushHandlerConstructL
+create testalfext test
+test TestShadowBorderBrushHandlerConstructL
+delete test
+[Endtest]
+
+
+[Test]
+title TestShadowBorderBrushHandlerProtectedL
+create testalfext test
+test TestShadowBorderBrushHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestDropShadowBrushHandlerConstructL
+create testalfext test
+test TestDropShadowBrushHandlerConstructL
+delete test
+[Endtest]
+
+
+[Test]
+title TestDropShadowBrushHandlerProtectedL
+create testalfext test
+test TestDropShadowBrushHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestGradientBrushHandlerConstructL
+create testalfext test
+test TestGradientBrushHandlerConstructL
+delete test
+[Endtest]
+
+
+[Test]
+title TestGradientBrushHandlerProtectedL
+create testalfext test
+test TestGradientBrushHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestFrameBrushHandlerConstructL
+create testalfext test
+test TestFrameBrushHandlerConstructL
+delete test
+[Endtest]
+
+
+[Test]
+title TestFrameBrushHandlerProtectedL
+create testalfext test
+test TestFrameBrushHandlerProtectedL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/conf/ui_testalfextalflayouthandlers.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,127 @@
+[Test]
+title TestLayoutHandlerConstructL
+create testalfext test
+test TestLayoutHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestLayoutHandlerProtectedL
+create testalfext test
+test TestLayoutHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutHandlerConstructL
+create testalfext test
+test TestAnchorLayoutHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutHandlerProtectedL
+create testalfext test
+test TestAnchorLayoutHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestLCTAnchorLayoutHandlerConstructL
+create testalfext test
+test TestLCTAnchorLayoutHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestLCTAnchorLayoutHandlerProtectedL
+create testalfext test
+test TestLCTAnchorLayoutHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestGridLayoutHandlerConstructL
+create testalfext test
+test TestGridLayoutHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestGridLayoutHandlerProtectedL
+create testalfext test
+test TestGridLayoutHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestLCTGridLayoutHandlerConstructL
+create testalfext test
+test TestLCTGridLayoutHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestLCTGridLayoutHandlerProtectedL
+create testalfext test
+test TestLCTGridLayoutHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestDeckLayoutHandlerConstructL
+create testalfext test
+test TestDeckLayoutHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestDeckLayoutHandlerProtectedL
+create testalfext test
+test TestDeckLayoutHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestFlowLayoutHandlerConstructL
+create testalfext test
+test TestFlowLayoutHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestFlowLayoutHandlerProtectedL
+create testalfext test
+test TestFlowLayoutHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestCurvePathLayoutHandlerConstructL
+create testalfext test
+test TestCurvePathLayoutHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestCurvePathLayoutHandlerProtectedL
+create testalfext test
+test TestCurvePathLayoutHandlerProtectedL
+delete test
+[Endtest]
+
+[Test]
+title TestViewportLayoutHandlerConstructL
+create testalfext test
+test TestViewportLayoutHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestViewportLayoutHandlerProtectedL
+create testalfext test
+test TestViewportLayoutHandlerProtectedL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/conf/ui_testalfextalfserverutils.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,21 @@
+[Test]
+title TestTimedValueUtil
+create testalfext test
+test TestTimedValueUtil
+delete test
+[Endtest]
+
+[Test]
+title TestTimedPointUtil
+create testalfext test
+test TestTimedPointUtil
+delete test
+[Endtest]
+
+[Test]
+title TestFileTokenUtil
+create testalfext test
+test TestFileTokenUtil
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/conf/ui_testalfextalfvisualhandlers.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,84 @@
+[Test]
+title TestVisualHandlerConstructL
+create testalfext test
+test TestVisualHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestVisualHandlerMutualL
+create testalfext test
+test TestVisualHandlerMutualL
+delete test
+[Endtest]
+
+[Test]
+title TestTextVisualHandlerConstructL
+create testalfext test
+test TestTextVisualHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestTextVisualHandlerMutualL
+create testalfext test
+test TestTextVisualHandlerMutualL
+delete test
+[Endtest]
+
+[Test]
+title TestLCTTextVisualHandlerConstructL
+create testalfext test
+test TestLCTTextVisualHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestLCTTextVisualHandlerMutualL
+create testalfext test
+test TestLCTTextVisualHandlerMutualL
+delete test
+[Endtest]
+
+[Test]
+title TestImageVisualHandlerConstructL
+create testalfext test
+test TestImageVisualHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestImageVisualHandlerMutualL
+create testalfext test
+test TestImageVisualHandlerMutualL
+delete test
+[Endtest]
+
+[Test]
+title TestLineVisualHandlerConstructL
+create testalfext test
+test TestLineVisualHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestLineVisualHandlerMutualL
+create testalfext test
+test TestLineVisualHandlerMutualL
+delete test
+[Endtest]
+
+[Test]
+title TestMeshVisualHandlerConstructL
+create testalfext test
+test TestMeshVisualHandlerConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestMeshVisualHandlerMutualL
+create testalfext test
+test TestMeshVisualHandlerMutualL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/conf/ui_testalfextftokenclient.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,7 @@
+[Test]
+title TestRFTokenClientFuncL
+create testalfext test
+test TestRFTokenClientFuncL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/group/bld.inf Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,34 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: this project test api in alf_extension_api
+*
+*/
+
+
+
+PRJ_PLATFORMS
+DEFAULT
+
+PRJ_TESTEXPORTS
+
+PRJ_EXPORTS
+
+
+PRJ_TESTMMPFILES
+testalfext.mmp
+
+PRJ_MMPFILES
+
+// End of File
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/group/testalfext.mmp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,61 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: this project test api in alf_extension_api
+*
+*/
+
+
+#include <data_caging_paths.hrh>
+#include <platform_paths.hrh>
+
+TARGET testalfext.dll
+TARGETTYPE dll
+UID 0x1000008D 0x2001CB80
+
+CAPABILITY ALL -TCB
+
+DEFFILE testalfext.def
+
+USERINCLUDE ../inc
+
+MW_LAYER_SYSTEMINCLUDE
+
+SOURCEPATH ../src
+
+SOURCE testalfext.cpp
+SOURCE testalfextblocks.cpp
+
+SOURCE testalfbrushhandlers.cpp
+SOURCE testalfextblocksalfbrushhandlers.cpp
+SOURCE testalfextblocksalflayouthandlers.cpp
+SOURCE testalfextblocksalfserverutils.cpp
+SOURCE testalfextblocksalfvisualhandlers.cpp
+SOURCE testalfextblocksftokenclient.cpp
+SOURCE testalflayouthandlers.cpp
+SOURCE testalfvisualhandlers.cpp
+
+LIBRARY euser.lib
+LIBRARY cone.lib
+LIBRARY stiftestinterface.lib
+LIBRARY stiftestengine.lib
+LIBRARY alfappservercore.lib
+LIBRARY hitchcock.lib
+LIBRARY ftokenclient.lib
+LIBRARY alfclient.lib
+LIBRARY efsrv.lib
+
+LANG SC
+
+// End of File
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/group/testalfext.pkg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,49 @@
+;
+; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+; Languages
+&EN
+
+; Header
+#{"testalfext"}, (0x2001CB80), 1, 0, 0, TYPE=SA
+
+; Localised Vendor name
+%{"Nokia"}
+
+; Unique Vendor name
+:"Nokia"
+
+
+;Copying ordinary file (not language dependent) to fixed drive drive.
+
+"..\init\testalfext.ini"-"c:\Testframework\testalfext.ini", FF ; FF stands for Normal file
+
+"..\conf\tctestalfextalfbrushhandlers.cfg"-"c:\Testframework\tctestalfextalfbrushhandlers.cfg", FF ; FF stands for Normal file
+"..\conf\tctestalfextalflayouthandlers.cfg"-"c:\Testframework\tctestalfextalflayouthandlers.cfg", FF ; FF stands for Normal file
+"..\conf\tctestalfextalfserverutils.cfg"-"c:\Testframework\tctestalfextalfserverutils.cfg", FF ; FF stands for Normal file
+"..\conf\tctestalfextalfvisualhandlers.cfg"-"c:\Testframework\tctestalfextalfvisualhandlers.cfg", FF ; FF stands for Normal file
+"..\conf\tctestalfextftokenclient.cfg"-"c:\Testframework\tctestalfextftokenclient.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testalfextalfbrushhandlers.cfg"-"c:\Testframework\ui_testalfextalfbrushhandlers.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testalfextalflayouthandlers.cfg"-"c:\Testframework\ui_testalfextalflayouthandlers.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testalfextalfserverutils.cfg"-"c:\Testframework\ui_testalfextalfserverutils.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testalfextalfvisualhandlers.cfg"-"c:\Testframework\ui_testalfextalfvisualhandlers.cfg", FF ; FF stands for Normal file
+"..\conf\ui_testalfextftokenclient.cfg"-"c:\Testframework\ui_testalfextftokenclient.cfg", FF ; FF stands for Normal file
+"\epoc32\RELEASE\ARMV5\urel\testalfext.dll"-"c:\sys\bin\testalfext.dll", FF
+
+
+; Trim For Mms
+; ------------
+; to be added later
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/inc/testalfbrushhandlers.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,199 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: this project test api in alf_extension_api
+ *
+*/
+
+
+#ifndef C_TESTALFBRUSHHANDLERS_H
+#define C_TESTALFBRUSHHANDLERS_H
+
+// INCLUDE FILES
+#include <alf/alfbrushhandlers.h>
+#include <testscripterinternal.h>
+
+/*This class test protected functions of CAlfBrushHandler*/
+class CTestCAlfBrushHandler: public CAlfBrushHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfBrushHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfBrushHandler();
+ /*
+ * 2rd-Constructor
+ * */
+ void ConstructL();
+ /**
+ * TestBrushHandlerForMAlfExtensionL test functions from MAlfExtension
+ * of CAlfBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestBrushHandlerForMAlfExtensionL( CStifItemParser& aItem );
+ /**
+ * TestBrushHandlerForOthers test other functions of CAlfBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestBrushHandlerForOthers( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfBorderBrushHandler*/
+class CTestCAlfBorderBrushHandler: public CAlfBorderBrushHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfBorderBrushHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfBorderBrushHandler();
+ /**
+ * TestProtectedL test protected functions
+ * of CAlfBorderBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ TInt TestProtectedL( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfImageBrushHandler*/
+class CTestCAlfImageBrushHandler: public CAlfImageBrushHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfImageBrushHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfImageBrushHandler();
+ /**
+ * TestProtectedL test protected functions
+ * of CAlfImageBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ TInt TestProtectedL( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfShadowBorderBrushHandler*/
+class CTestCAlfShadowBorderBrushHandler: public CAlfShadowBorderBrushHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfShadowBorderBrushHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfShadowBorderBrushHandler();
+ /**
+ * TestProtectedL test protected functions
+ * of CAlfShadowBorderBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ TInt TestProtectedL( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfDropShadowBrushHandler*/
+class CTestCAlfDropShadowBrushHandler: public CAlfDropShadowBrushHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfDropShadowBrushHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfDropShadowBrushHandler();
+ /**
+ * TestProtectedL test protected functions
+ * of CAlfDropShadowBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ TInt TestProtectedL( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfGradientBrushHandler*/
+class CTestCAlfGradientBrushHandler: public CAlfGradientBrushHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfGradientBrushHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfGradientBrushHandler();
+ /**
+ * TestProtectedL test protected functions
+ * of CAlfGradientBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ TInt TestProtectedL( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfFrameBrushHandler*/
+class CTestCAlfFrameBrushHandler: public CAlfFrameBrushHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfFrameBrushHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfFrameBrushHandler();
+ /**
+ * TestProtectedL test protected functions
+ * of CAlfFrameBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ TInt TestProtectedL( CStifItemParser& aItem );
+ };
+
+#endif // C_TESTALFBRUSHHANDLERS_H
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/inc/testalfext.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,649 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: this project test api in alf_extension_api
+*
+*/
+
+
+
+#ifndef C_TESTALFEXT_H
+#define C_TESTALFEXT_H
+
+// INCLUDES
+#include <stiflogger.h>
+#include <testscripterinternal.h>
+#include <stiftestmodule.h>
+#include <testclassassert.h>
+#include <uiacceltk/huienv.h>
+#include <uiacceltk/huicontrol.h>
+#include <uiacceltk/huicontrolgroup.h>
+#include <uiacceltk/huidisplay.h>
+#include <uiacceltk/huianchorlayout.h>
+#include <uiacceltk/huicommand.h>
+#include <uiacceltk/huimesh.h>
+#include <uiacceltk/huidisplaycoecontrol.h>
+#include <alf/alfbrushhandlers.h>
+#include <alf/alflayouthandlers.h>
+#include <alf/alfserverutils.h>
+#include <alf/alfvisualhandlers.h>
+#include <alf/ftokenclient.h>
+#include <alf/alfmetric.h>
+#include <alf/alfconstants.h>
+#include <uiacceltk/huiborderbrush.h>
+
+// MACROS
+#define TEST_CLASS_VERSION_MAJOR 0
+#define TEST_CLASS_VERSION_MINOR 0
+#define TEST_CLASS_VERSION_BUILD 0
+
+// Logging path
+_LIT( KtestalfextLogPath, "\\logs\\testframework\\testalfext\\" );
+// Log file
+_LIT( KtestalfextLogFile, "testalfext.txt" );
+_LIT( KtestalfextLogFileWithTitle, "testalfext_[%S].txt" );
+
+
+/*This class provides interface object for the test functions*/
+class CTestAlfInterfacePorvider : public CBase, public MAlfInterfaceProvider
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestAlfInterfacePorvider(){}
+ /*
+ * Deconstructor
+ * */
+ ~CTestAlfInterfacePorvider(){}
+ /**
+ * Request to pointer of given type matching to given handle.
+ * Leaves if object not found i.e. always returns pointer on completion
+ */
+ TAny* GetInterfaceL(const THuiInterfaceSupport& /*aType*/, TInt /*aHandle*/)
+ { return NULL; }
+
+ /**
+ * Request identifier for pointer of given type
+ * On error returns KErrNotFound
+ */
+ TInt GetHandleFromInterface(const THuiInterfaceSupport& /*aType*/,
+ TAny* /*aInterface*/){ return 0; }
+
+ /**
+ * Returns common layoutmanager or null
+ */
+ CAlfLayoutManager* LayoutManager() const{ return NULL; }
+
+ /**
+ * Returns common hitchcock environment or null
+ */
+ CHuiEnv* SharedHuiEnv() const{ return NULL; }
+
+ /**
+ * Request to make current command (during MAlfExtension::HandleCmd) asynchronous
+ * returns command id that is needed for completing the command later on
+ *
+ * exntension should take references to buffers (in/out) in case it wants to modify client message
+ * before completing it
+ */
+ TInt HandleCurrentCommanndAsynch(){ return 0;}
+
+ /**
+ * Complete asynch command, if MAlfExtension implementing object utilizes asynch commands
+ * it should also take care that those messages are completed at latest when the extension is being
+ * destoryed. FW will panic the client in case of orphean messages
+ */
+ void CompleteCmd(TInt /*aCommadIdentifier*/, TInt aResult = KErrNone){}
+
+ /** ! Future proofing */
+ void AlfInterfaceProviderExtension(const TUid& /*aExtensionUid*/, TAny** /*aExtensionParams*/){}
+ };
+
+/**
+* CTestAlfExt test class for STIF Test Framework TestScripter.
+* @since S60 5.0
+*/
+
+NONSHARABLE_CLASS( CTestAlfExt ) : public CScriptBase
+ {
+public: // Constructors and destructor
+
+ /**
+ * Two-phased constructor.
+ */
+ static CTestAlfExt* NewL( CTestModuleIf& aTestModuleIf );
+
+ /**
+ * Destructor.
+ */
+ virtual ~CTestAlfExt();
+
+public: // Functions from base classes
+
+ /**
+ * From CScriptBase Runs a script line.
+ * @since S60 5.0
+ * @param aItem Script line containing method name and parameters
+ * @return Symbian OS error code
+ */
+ virtual TInt RunMethodL( CStifItemParser& aItem );
+
+private:
+ /**
+ * C++ default constructor.
+ */
+ CTestAlfExt( CTestModuleIf& aTestModuleIf );
+ /**
+ * By default Symbian 2nd phase constructor is private.
+ */
+ void ConstructL();
+
+ /**
+ * Example test method.
+ * @since S60 5.0
+ * @param aItem Script line containing parameters.
+ * @return Symbian OS error code.
+ */
+
+ /**
+ * Method used to log version of test class
+ */
+ void SendTestClassVersion();
+
+ /**
+ * Turn off ScreenSaver
+ * @since S60 5.0
+ * @return Symbian OS error code.
+ */
+ void TurnOffScreenSaver();
+
+ /**
+ * Restore ScreenSaver
+ * @since S60 5.0
+ * @return Symbian OS error code.
+ */
+ void RestoreScreenSaver();
+
+private: // [TestMethods]
+ // alfbrushhandlers.h
+ /**
+ * TestBrushHandlerConstructL test constructor and ConstructL\
+ * of CAlfBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestBrushHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestBrushHandlerForMAlfExtensionL test Release GetInterface
+ * HandleCmdL of CAlfBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestBrushHandlerForMAlfExtensionL( CStifItemParser& aItem );
+
+ /**
+ * TestBrushHandlerForOthersL test other functions of CAlfBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestBrushHandlerForOthersL( CStifItemParser& aItem );
+
+ // alfbrushhandlers.h
+ /**
+ * TestBorderBrushHandlerConstructL test NewL and ConstructL
+ * of CAlfBorderBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestBorderBrushHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestBorderBrushHandlerProtectedL test protected functions
+ * of CAlfBorderBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestBorderBrushHandlerProtectedL( CStifItemParser& aItem );
+
+ // alfbrushhandlers.h
+ /**
+ * TestImageBrushHandlerConstructL test NewL and ConstructL
+ * of CAlfImageBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestImageBrushHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestImageBrushHandlerProtectedL test protected functions
+ * of CAlfImageBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestImageBrushHandlerProtectedL( CStifItemParser& aItem );
+
+ // alfbrushhandlers.h
+ /**
+ * TestShadowBorderBrushHandlerConstructL test NewL and ConstructL
+ * of CAlfShadowBorderBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestShadowBorderBrushHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestShadowBorderBrushHandlerProtectedL test protected functions
+ * of CAlfShadowBorderBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestShadowBorderBrushHandlerProtectedL( CStifItemParser& aItem );
+
+ // alfbrushhandlers.h
+ /**
+ * TestDropShadowBrushHandlerConstructL test NewL and ConstructL
+ * of CAlfDropShadowBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestDropShadowBrushHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestDropShadowBrushHandlerProtectedL test protected functions
+ * of CAlfDropShadowBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestDropShadowBrushHandlerProtectedL( CStifItemParser& aItem );
+
+ // alfbrushhandlers.h
+ /**
+ * TestGradientBrushHandlerConstructL test NewL and ConstructL
+ * of CAlfGradientBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestGradientBrushHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestGradientBrushHandlerProtectedL test protected functions
+ * of CAlfGradientBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestGradientBrushHandlerProtectedL( CStifItemParser& aItem );
+
+ // alfbrushhandlers.h
+
+ /**
+ * TestFrameBrushHandlerConstructL test NewL and ConstructL
+ * of CAlfFrameBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestFrameBrushHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestFrameBrushHandlerProtectedL test protected functions
+ * of CAlfFrameBrushHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestFrameBrushHandlerProtectedL( CStifItemParser& aItem );
+
+ // alflayouthandlers.h
+ /**
+ * TestLayoutHandlerConstructL test NewL, Constructor and ConstructL
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestLayoutHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestLayoutHandlerProtectedL test protected functions
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestLayoutHandlerProtectedL( CStifItemParser& aItem );
+
+ /**
+ * TestAnchorLayoutHandlerConstructL test NewL, Constructor and ConstructL
+ * of CAlfAnchorLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestAnchorLayoutHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestAnchorLayoutHandlerProtectedL test protected functions
+ * of CAlfAnchorLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestAnchorLayoutHandlerProtectedL( CStifItemParser& aItem );
+
+ /**
+ * TestLCTAnchorLayoutHandlerConstructL test NewL, Constructor and ConstructL
+ * of CAlfLCTAnchorLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestLCTAnchorLayoutHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestLCTAnchorLayoutHandlerProtectedL test protected functions
+ * of CAlfLCTAnchorLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestLCTAnchorLayoutHandlerProtectedL( CStifItemParser& aItem );
+
+ /**
+ * TestGridLayoutHandlerConstructL test NewL, Constructor and ConstructL
+ * of CAlfGridLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestGridLayoutHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestGridLayoutHandlerProtectedL test protected functions
+ * of CAlfGridLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestGridLayoutHandlerProtectedL( CStifItemParser& aItem );
+
+ /**
+ * TestLCTGridLayoutHandlerConstructL test NewL, Constructor and ConstructL
+ * of CAlfLCTGridLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestLCTGridLayoutHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestLCTGridLayoutHandlerProtectedL test protected functions
+ * of CAlfLCTGridLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestLCTGridLayoutHandlerProtectedL( CStifItemParser& aItem );
+
+ /**
+ * TestDeckLayoutHandlerConstructL test NewL, Constructor and ConstructL
+ * of CAlfDeckLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestDeckLayoutHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestDeckLayoutHandlerProtectedL test protected functions
+ * of CAlfDeckLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestDeckLayoutHandlerProtectedL( CStifItemParser& aItem );
+
+ /**
+ * TestFlowLayoutHandlerConstructL test NewL, Constructor and ConstructL
+ * of CAlfFlowLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestFlowLayoutHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestFlowLayoutHandlerProtectedL test protected functions
+ * of CAlfFlowLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestFlowLayoutHandlerProtectedL( CStifItemParser& aItem );
+
+ /**
+ * TestCurvePathLayoutHandlerConstructL test NewL, Constructor and ConstructL
+ * of CAlfCurvePathLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCurvePathLayoutHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestCurvePathLayoutHandlerProtectedL test protected functions
+ * of CAlfCurvePathLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestCurvePathLayoutHandlerProtectedL( CStifItemParser& aItem );
+
+ /**
+ * TestViewportLayoutHandlerConstructL test NewL, Constructor and ConstructL
+ * of CAlfViewportLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestViewportLayoutHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestViewportLayoutHandlerProtectedL test protected functions
+ * of CAlfViewportLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestViewportLayoutHandlerProtectedL( CStifItemParser& aItem );
+
+ // alfserverutils.h
+
+ /**
+ * TestTimedValueUtil test functions of AlfTimedValueUtility
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTimedValueUtil( CStifItemParser& aItem );
+
+ /**
+ * TestTimedPointUtil test functions of AlfTimedPointUtility
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTimedPointUtil( CStifItemParser& aItem );
+
+ /**
+ * TestFileTokenUtil test functions of AlfFileTokenUtility
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestFileTokenUtil( CStifItemParser& aItem );
+
+ // alfvisualhandlers.h
+
+ /**
+ * TestVisualHandlerConstructL test NewL of CAlfVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestVisualHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestVisualHandlerMutualL test functions of CAlfVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestVisualHandlerMutualL( CStifItemParser& aItem );
+
+ /**
+ * TestTextVisualHandlerConstructL test NewL of CAlfTextVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTextVisualHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestTextVisualHandlerMutualL test functions of CAlfTextVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestTextVisualHandlerMutualL( CStifItemParser& aItem );
+ /**
+ * TestLCTTextVisualHandlerConstructL test NewL of CAlfLCTTextVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestLCTTextVisualHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestLCTTextVisualHandlerMutualL test functions of CAlfLCTTextVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestLCTTextVisualHandlerMutualL( CStifItemParser& aItem );
+
+ /**
+ * TestImageVisualHandlerConstructL test NewL of CAlfImageVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestImageVisualHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestImageVisualHandlerMutualL test functions of CAlfImageVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestImageVisualHandlerMutualL( CStifItemParser& aItem );
+
+ /**
+ * TestLineVisualHandlerConstructL test NewL of CAlfImageVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestLineVisualHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestLineVisualHandlerMutualL test functions of CAlfImageVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestLineVisualHandlerMutualL( CStifItemParser& aItem );
+
+ /**
+ * TestMeshVisualHandlerConstructL test NewL of CAlfImageVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestMeshVisualHandlerConstructL( CStifItemParser& aItem );
+
+ /**
+ * TestMeshVisualHandlerMutualL test functions of CAlfImageVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestMeshVisualHandlerMutualL( CStifItemParser& aItem );
+
+ // ftokenclient.h
+
+ /**
+ * TestRFTokenClientFuncL test functions of RFTokenClient
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestRFTokenClientFuncL( CStifItemParser& aItem );
+
+private: // Data
+ /**
+ * ScreenSaver Property
+ */
+ TInt iOldScreenSaverProperty;
+ /*
+ * Interface pointer for test
+ * */
+ CTestAlfInterfacePorvider *iInterface;
+
+ /*
+ * The environment
+ */
+ CHuiEnv* iHuiEnv;
+ /*
+ * The iHuiControl of visual
+ */
+ CHuiControl* iHuiControl;
+ /*
+ * The iHuiControl group
+ */
+ CHuiControlGroup* iHuiControlGroup;
+ /*
+ * The CHuiVisual
+ */
+ CHuiVisual* iHuiVisual;
+
+ };
+
+#endif // C_TESTALFEXT_H
+
+// End of File
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/inc/testalflayouthandlers.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,225 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: this project test api in alf_extension_api
+ *
+*/
+
+
+#ifndef C_TESTALFLAYOUTHANDLERS_H
+#define C_TESTALFLAYOUTHANDLERS_H
+
+// INCLUDE FILES
+#include <alf/alflayouthandlers.h>
+
+
+/*This class test protected functions of CAlfLayoutHandler*/
+class CTestCAlfLayoutHandler: public CAlfLayoutHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfLayoutHandler( MAlfInterfaceProvider& aResolver );
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfLayoutHandler();
+ /**
+ * TestProtect test protected function
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtect( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfAnchorLayoutHandler*/
+class CTestCAlfAnchorLayoutHandler: public CAlfAnchorLayoutHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfAnchorLayoutHandler( MAlfInterfaceProvider& aResolver );
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfAnchorLayoutHandler();
+ /**
+ * TestProtect test protected function
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtect( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfLCTAnchorLayoutHandler*/
+class CTestCAlfLCTAnchorLayoutHandler: public CAlfLCTAnchorLayoutHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfLCTAnchorLayoutHandler( MAlfInterfaceProvider& aResolver );
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfLCTAnchorLayoutHandler();
+ /**
+ * TestProtect test protected function
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtect( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfGridLayoutHandler*/
+class CTestCAlfGridLayoutHandler: public CAlfGridLayoutHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfGridLayoutHandler( MAlfInterfaceProvider& aResolver );
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfGridLayoutHandler();
+ /**
+ * TestProtect test protected function
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtect( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfLCTGridLayoutHandler*/
+class CTestCAlfLCTGridLayoutHandler: public CAlfLCTGridLayoutHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfLCTGridLayoutHandler( MAlfInterfaceProvider& aResolver );
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfLCTGridLayoutHandler();
+ /**
+ * TestProtect test protected function
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtect( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfDeckLayoutHandler*/
+class CTestCAlfDeckLayoutHandler: public CAlfDeckLayoutHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfDeckLayoutHandler( MAlfInterfaceProvider& aResolver );
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfDeckLayoutHandler();
+ /**
+ * TestProtect test protected function
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtect( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfFlowLayoutHandler*/
+class CTestCAlfFlowLayoutHandler: public CAlfFlowLayoutHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfFlowLayoutHandler( MAlfInterfaceProvider& aResolver );
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfFlowLayoutHandler();
+ /**
+ * TestProtect test protected function
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtect( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfCurvePathLayoutHandler*/
+class CTestCAlfCurvePathLayoutHandler: public CAlfCurvePathLayoutHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfCurvePathLayoutHandler( MAlfInterfaceProvider& aResolver );
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfCurvePathLayoutHandler();
+ /**
+ * TestProtect test protected function
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtect( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfViewportLayoutHandler*/
+class CTestCAlfViewportLayoutHandler: public CAlfViewportLayoutHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfViewportLayoutHandler( MAlfInterfaceProvider& aResolver );
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfViewportLayoutHandler();
+ /**
+ * TestProtect test protected function
+ * of CAlfLayoutHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtect( CStifItemParser& aItem );
+ };
+
+#endif // C_TESTALFLAYOUTHANDLERS_H
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/inc/testalfvisualhandlers.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,158 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: this project test api in alf_extension_api
+ *
+*/
+
+
+#ifndef C_TESTALFVISUALHANDLERS_H
+#define C_TESTALFVISUALHANDLERS_H
+
+// INCLUDE FILES
+#include <alf/alfvisualhandlers.h>
+
+/*This class test protected functions of CAlfVisualHandler*/
+class CTestCAlfVisualHandler: public CAlfVisualHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfVisualHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfVisualHandler();
+ /**
+ * TestProtected test protected functions of CAlfVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtected( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfTextVisualHandler*/
+class CTestCAlfTextVisualHandler: public CAlfTextVisualHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfTextVisualHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfTextVisualHandler();
+ /**
+ * TestProtected test protected functions of CAlfTextVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtected( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfLCTTextVisualHandler*/
+class CTestCAlfLCTTextVisualHandler: public CAlfLCTTextVisualHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfLCTTextVisualHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfLCTTextVisualHandler();
+ /**
+ * TestProtected test protected functions of CAlfLCTTextVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtected( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfImageVisualHandler*/
+class CTestCAlfImageVisualHandler: public CAlfImageVisualHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfImageVisualHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfImageVisualHandler();
+ /**
+ * TestProtected test protected functions of CAlfImageVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtected( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfLineVisualHandler*/
+class CTestCAlfLineVisualHandler: public CAlfLineVisualHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfLineVisualHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfLineVisualHandler();
+ /**
+ * TestProtected test protected functions of CAlfLineVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtected( CStifItemParser& aItem );
+ };
+
+/*This class test protected functions of CAlfMeshVisualHandler*/
+class CTestCAlfMeshVisualHandler: public CAlfMeshVisualHandler
+ {
+public:
+ /*
+ * Constructor
+ * */
+ CTestCAlfMeshVisualHandler( MAlfInterfaceProvider& aResolver );
+
+ /*
+ * DeConstructor
+ * */
+ ~CTestCAlfMeshVisualHandler();
+ /**
+ * TestProtected test protected functions of CAlfMeshVisualHandler
+ * @since S60 5.0
+ * @param aItem never used
+ * @return Symbian OS error code.
+ */
+ virtual TInt TestProtected( CStifItemParser& aItem );
+ };
+
+#endif // C_TESTALFVISUALHANDLERS_H
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/init/testalfext.ini Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,185 @@
+#
+# This is STIFTestFramework initialization file
+# Comment lines start with '#'-character.
+# See STIF TestFramework users guide.doc for instructions
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# Set following test engine settings:
+# - Set Test Reporting mode. TestReportMode's possible values are:
+# + 'Summary': Summary of the tested test cases.
+# + 'Environment': Hardware and software info.
+# + 'TestCases': Test case report.
+# + 'FullReport': Set of all above ones.
+# + Example 'TestReportMode= Summary TestCases'
+#
+# - CreateTestReport setting controls report creation mode
+# + YES, Test report will created.
+# + NO, No Test report.
+#
+# - File path indicates the base path of the test report.
+# - File name indicates the name of the test report.
+#
+# - File format indicates the type of the test report.
+# + TXT, Test report file will be txt type, for example 'TestReport.txt'.
+# + HTML, Test report will be html type, for example 'TestReport.html'.
+#
+# - File output indicates output source of the test report.
+# + FILE, Test report logging to file.
+# + RDEBUG, Test report logging to using rdebug.
+#
+# - File Creation Mode indicates test report overwriting if file exist.
+# + OVERWRITE, Overwrites if the Test report file exist.
+# + APPEND, Continue logging after the old Test report information if
+# report exist.
+
+[Engine_Defaults]
+
+TestReportMode= FullReport # Possible values are:
+ # 'Summary', 'Environment', 'TestCases' or 'FullReport'
+
+CreateTestReport= YES # Possible values: YES or NO
+
+TestReportFilePath= C:\LOGS\TestFramework\
+TestReportFileName= TestReport
+
+TestReportFormat= TXT # Possible values: TXT or HTML
+TestReportOutput= FILE # Possible values: FILE or RDEBUG
+TestReportFileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND
+UITestingSupport= Yes
+SeparateProcesses= YES
+[End_Defaults]
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# Module configurations start
+# Modules are added between module tags
+# tags. Module name is specified after ModuleName= tag, like
+# ModuleName= testalfexttestalfexttestalfext
+# Modules might have initialisation file, specified as
+# IniFile= YYYYYY
+# Modules might have several configuration files, like
+# TestCaseFile= NormalCases.txt
+# TestCaseFile= SmokeCases.txt
+# TestCaseFile= ManualCases.txt
+
+# (TestCaseFile is synonym for old term ConfigFile)
+
+# Following case specifies demo module settings. Demo module
+# does not read any settings from file, so tags
+# IniFile and TestCaseFile are not used.
+# In the simplest case it is enough to specify only the
+# name of the test module when adding new test module
+
+[New_Module]
+ModuleName= testcombiner
+TestCaseFile= c:\testframework\tctestalfextalfbrushhandlers.cfg
+TestCaseFile= c:\testframework\tctestalfextalflayouthandlers.cfg
+TestCaseFile= c:\testframework\tctestalfextalfserverutils.cfg
+TestCaseFile= c:\testframework\tctestalfextalfvisualhandlers.cfg
+TestCaseFile= c:\testframework\tctestalfextftokenclient.cfg
+[End_Module]
+
+#[New_Module]
+#ModuleName= testscripter
+#TestCaseFile= c:\testframework\ui_testalfext.cfg
+#[End_Module]
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+#Load testmoduletestalfext, optionally with initialization file and/or test case files
+#[New_Module]
+#ModuleName= testmodulexxx
+
+#TestModuletestalfext used initialization file
+#IniFile= init.txt
+
+#TestModuletestalfext used configuration file(s)
+#TestCaseFile= testcases1.cfg
+#TestCaseFile= testcases2.cfg
+#TestCaseFile= manualtestcases.cfg
+
+#[End_Module]
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+
+
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+# Set STIFTestFramework logging overwrite parameters for Logger.
+# Hardware and emulator environment logging path and styles can
+# be configured from here to overwrite the Logger's implemented values.
+#
+# Settings description:
+# - Indicates option for creation log directory/directories. If log directory/directories
+# is/are not created by user they will make by software.
+# + YES, Create log directory/directories if not allready exist.
+# + NO, Log directory/directories not created. Only created one is used.
+#
+# - Overwrite emulator path setting.
+# + Example: If 'EmulatorBasePath= C:\LOGS\TestFramework\' and in code is defined
+# Logger's path 'D:\\LOGS\\Module\\' with those definition the path
+# will be 'C:\LOGS\TestFramework\LOGS\Module\'
+#
+# - Overwrite emulator's logging format.
+# + TXT, Log file(s) will be txt type(s), for example 'Module.txt'.
+# + HTML, Log file(s) will be html type(s), for example 'Module.html'.
+#
+# - Overwrited emulator logging output source.
+# + FILE, Logging to file(s).
+# + RDEBUG, Logging to using rdebug(s).
+#
+# - Overwrite hardware path setting (Same description as above in emulator path).
+# - Overwrite hardware's logging format(Same description as above in emulator format).
+# - Overwrite hardware's logging output source(Same description as above in emulator output).
+#
+# - File Creation Mode indicates file overwriting if file exist.
+# + OVERWRITE, Overwrites if file(s) exist.
+# + APPEND, Continue logging after the old logging information if file(s) exist.
+#
+# - Will thread id include to the log filename.
+# + YES, Thread id to log file(s) name, Example filename 'Module_b9.txt'.
+# + NO, No thread id to log file(s), Example filename 'Module.txt'.
+#
+# - Will time stamps include the to log file.
+# + YES, Time stamp added to each line in log file(s). Time stamp is
+# for example'12.Nov.2003 115958 LOGGING INFO'
+# + NO, No time stamp(s).
+#
+# - Will line breaks include to the log file.
+# + YES, Each logging event includes line break and next log event is in own line.
+# + NO, No line break(s).
+#
+# - Will event ranking include to the log file.
+# + YES, Event ranking number added to each line in log file(s). Ranking number
+# depends on environment's tics, for example(includes time stamp also)
+# '012 12.Nov.2003 115958 LOGGING INFO'
+# + NO, No event ranking.
+#
+
+[Logger_Defaults]
+
+#NOTE: If you want to set Logger using next setting(s) remove comment(s)'#'
+
+CreateLogDirectories= YES # Possible values: YES or NO
+
+EmulatorBasePath= C:\LOGS\TestFramework\
+EmulatorFormat= HTML # Possible values: TXT or HTML
+EmulatorOutput= FILE # Possible values: FILE or RDEBUG
+
+#HardwareBasePath= D:\LOGS\TestFramework\
+#HardwareFormat= HTML # Possible values: TXT or HTML
+#HardwareOutput= FILE # Possible values: FILE or RDEBUG
+
+FileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND
+
+#ThreadIdToLogFile= YES # Possible values: YES or NO
+#WithTimeStamp= YES # Possible values: YES or NO
+#WithLineBreak= YES # Possible values: YES or NO
+#WithEventRanking= YES # Possible values: YES or NO
+
+[End_Logger_Defaults]
+# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
+
+# End of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfbrushhandlers.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,305 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test functions for alfbrushhandlers.h
+ *
+*/
+
+
+// [INCLUDE FILES]
+#include "testalfext.h"
+#include "testalfbrushhandlers.h"
+
+
+// CONSTANTS
+const TInt KBufSize = 64;
+_LIT8( KTest, "test" );
+// ============================ MEMBER FUNCTIONS =========================
+// --------------------------------------------------------------------------
+// CTestCAlfBrushHandler::CTestCAlfBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfBrushHandler::CTestCAlfBrushHandler( MAlfInterfaceProvider& aResolver )
+ :CAlfBrushHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfBrushHandler::ConstructL
+// --------------------------------------------------------------------------
+//
+void CTestCAlfBrushHandler::ConstructL()
+ {
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewLC( 1, 1, 1, 1 );
+ CAlfBrushHandler::ConstructL( brush );
+ CleanupStack::Pop( brush );
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfBrushHandler::~CTestCAlfBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfBrushHandler::~CTestCAlfBrushHandler()
+ {}
+
+// --------------------------------------------------------------------------
+// CTestCAlfBrushHandler::TestBrushHandlerForMAlfExtensionL
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfBrushHandler::TestBrushHandlerForMAlfExtensionL(
+ CStifItemParser& /*aItem*/ )
+ {
+ THuiInterfaceSupport interface = EAlfBrushHandler;
+ GetInterface( interface );
+ TInt cmd = EAlfBrushGetOpacity;
+ TBuf8<KBufSize> input( KTest );
+ TBuf8<KBufSize> response;
+ HandleCmdL( cmd, input, response );
+ Release();
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfBrushHandler::TestBrushHandlerForOthers
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfBrushHandler::TestBrushHandlerForOthers( CStifItemParser& /*aItem*/ )
+ {
+ TUid uid = { 0x00000001 };
+ TAny** extent = NULL;
+ BrushHandlerExtension( uid, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfBorderBrushHandler::CTestCAlfBorderBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfBorderBrushHandler::CTestCAlfBorderBrushHandler( MAlfInterfaceProvider& aResolver )
+ :CAlfBorderBrushHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfBorderBrushHandler::~CTestCAlfBorderBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfBorderBrushHandler::~CTestCAlfBorderBrushHandler()
+ {}
+
+// --------------------------------------------------------------------------
+// CTestCAlfBorderBrushHandler::TestProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfBorderBrushHandler::TestProtectedL(
+ CStifItemParser& /*aItem*/ )
+ {
+ THuiInterfaceSupport interface = EAlfBrushHandler;
+ GetInterface( interface );
+ TInt cmd = EAlfBorderBrushSetColor;
+ TBuf8<KBufSize> input( KTest );
+ TBuf8<KBufSize> response;
+ HandleCmdL( cmd, input, response );
+ TUid uid = { 0x00000001 };
+ TAny** extent = NULL;
+ BrushHandlerExtension( uid, extent );
+ Release();
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfImageBrushHandler::CTestCAlfImageBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfImageBrushHandler::CTestCAlfImageBrushHandler( MAlfInterfaceProvider& aResolver )
+ :CAlfImageBrushHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfImageBrushHandler::~CTestCAlfImageBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfImageBrushHandler::~CTestCAlfImageBrushHandler()
+ {}
+
+// --------------------------------------------------------------------------
+// CTestCAlfImageBrushHandler::TestProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfImageBrushHandler::TestProtectedL(
+ CStifItemParser& /*aItem*/ )
+ {
+ THuiInterfaceSupport interface = EAlfBrushHandler;
+ GetInterface( interface );
+ TInt cmd = EAlfImageBrushSetOffset;
+ TBuf8<KBufSize> input( KTest );
+ TBuf8<KBufSize> response;
+ HandleCmdL( cmd, input, response );
+ TUid uid = { 0x00000001 };
+ TAny** extent = NULL;
+ BrushHandlerExtension( uid, extent );
+ Release();
+ return KErrNone;
+ }
+
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfShadowBorderBrushHandler::CTestCAlfShadowBorderBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfShadowBorderBrushHandler::CTestCAlfShadowBorderBrushHandler( MAlfInterfaceProvider& aResolver )
+ :CAlfShadowBorderBrushHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfShadowBorderBrushHandler::~CTestCAlfShadowBorderBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfShadowBorderBrushHandler::~CTestCAlfShadowBorderBrushHandler()
+ {}
+
+// --------------------------------------------------------------------------
+// CTestCAlfShadowBorderBrushHandler::TestProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfShadowBorderBrushHandler::TestProtectedL(
+ CStifItemParser& /*aItem*/ )
+ {
+ THuiInterfaceSupport interface = EAlfBrushHandler;
+ GetInterface( interface );
+ TInt cmd = EAlfShadowBorderBrushSetWidth;
+ TBuf8<KBufSize> input( KTest );
+ TBuf8<KBufSize> response;
+ HandleCmdL( cmd, input, response );
+ TUid uid = { 0x00000001 };
+ TAny** extent = NULL;
+ BrushHandlerExtension( uid, extent );
+ Release();
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfDropShadowBrushHandler::CTestCAlfDropShadowBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfDropShadowBrushHandler::CTestCAlfDropShadowBrushHandler( MAlfInterfaceProvider& aResolver )
+ :CAlfDropShadowBrushHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfDropShadowBrushHandler::~CTestCAlfDropShadowBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfDropShadowBrushHandler::~CTestCAlfDropShadowBrushHandler()
+ {}
+
+// --------------------------------------------------------------------------
+// CTestCAlfDropShadowBrushHandler::TestProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfDropShadowBrushHandler::TestProtectedL(
+ CStifItemParser& /*aItem*/ )
+ {
+ THuiInterfaceSupport interface = EAlfBrushHandler;
+ GetInterface( interface );
+ TInt cmd = EAlfDropShadowBrushGetSoftness;
+ TBuf8<KBufSize> input( KTest );
+ TBuf8<KBufSize> response;
+ HandleCmdL( cmd, input, response );
+ TUid uid = { 0x00000001 };
+ TAny** extent = NULL;
+ BrushHandlerExtension( uid, extent );
+ Release();
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfGradientBrushHandler::CTestCAlfGradientBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfGradientBrushHandler::CTestCAlfGradientBrushHandler( MAlfInterfaceProvider& aResolver )
+ :CAlfGradientBrushHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfGradientBrushHandler::~CTestCAlfGradientBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfGradientBrushHandler::~CTestCAlfGradientBrushHandler()
+ {}
+
+// --------------------------------------------------------------------------
+// CTestCAlfGradientBrushHandler::TestProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfGradientBrushHandler::TestProtectedL(
+ CStifItemParser& /*aItem*/ )
+ {
+ THuiInterfaceSupport interface = EAlfBrushHandler;
+ GetInterface( interface );
+ TInt cmd = EAlfBrushGetOpacity;
+ TBuf8<KBufSize> input( KTest );
+ TBuf8<KBufSize> response;
+ HandleCmdL( cmd, input, response );
+ TUid uid = { 0x00000001 };
+ TAny** extent = NULL;
+ BrushHandlerExtension( uid, extent );
+ Release();
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfFrameBrushHandler::CTestCAlfFrameBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfFrameBrushHandler::CTestCAlfFrameBrushHandler( MAlfInterfaceProvider& aResolver )
+ :CAlfFrameBrushHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfFrameBrushHandler::~CTestCAlfFrameBrushHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfFrameBrushHandler::~CTestCAlfFrameBrushHandler()
+ {}
+
+// --------------------------------------------------------------------------
+// CTestCAlfFrameBrushHandler::TestProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfFrameBrushHandler::TestProtectedL(
+ CStifItemParser& /*aItem*/ )
+ {
+ THuiInterfaceSupport interface = EAlfBrushHandler;
+ GetInterface( interface );
+ TInt cmd = EAlfFrameBrushSetEdgeOffsetMetric;
+ TBuf8<KBufSize> input( KTest );
+ TBuf8<KBufSize> response;
+ HandleCmdL( cmd, input, response );
+ TUid uid = { 0x00000001 };
+ TAny** extent = NULL;
+ BrushHandlerExtension( uid, extent );
+ Release();
+ return KErrNone;
+ }
+
+// End of file
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfext.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,198 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: functions implement of testalfext
+*
+*/
+
+
+
+// INCLUDE FILES
+#include <stiftestinterface.h>
+#include <settingserverclient.h>
+#include <screensaverinternalpskeys.h>
+#include <e32property.h>
+#include <eikenv.h>
+#include <coemain.h>
+#include "testalfext.h"
+
+// CONSTANTS
+_LIT( KModuleName, "testalfext.dll" );
+const TInt KHuiCtrlGroupId = 1;
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CTestAlfExt::CTestAlfExt
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------
+//
+CTestAlfExt::CTestAlfExt( CTestModuleIf& aTestModuleIf ):
+ CScriptBase( aTestModuleIf )
+ {
+ }
+
+// -----------------------------------------------------------------------------
+// CTestAlfExt::~CTestAlfExt
+// Destructor.
+// -----------------------------------------------------------------------------
+//
+CTestAlfExt::~CTestAlfExt()
+ {
+ // Delete logger
+ delete iLog;
+ delete iInterface;
+ delete iHuiEnv;
+
+ }
+
+// -----------------------------------------------------------------------------
+// CTestAlfExt::ConstructL
+// Symbian 2nd phase constructor can leave.
+// -----------------------------------------------------------------------------
+//
+void CTestAlfExt::ConstructL()
+ {
+ //Read logger settings to check whether test case name is to be
+ //appended to log file name.
+ RSettingServer settingServer;
+ CleanupClosePushL( settingServer );
+ TInt ret = settingServer.Connect();
+ if ( ret != KErrNone )
+ {
+ User::Leave(ret);
+ }
+ // Struct to StifLogger settigs.
+ TLoggerSettings loggerSettings;
+ // Parse StifLogger defaults from STIF initialization file.
+ ret = settingServer.GetLoggerSettings( loggerSettings );
+ if ( ret != KErrNone )
+ {
+ User::Leave( ret );
+ }
+ // Close Setting server session
+ settingServer.Close();
+ CleanupStack::PopAndDestroy( &settingServer );
+
+ TFileName logFileName;
+
+ if ( loggerSettings.iAddTestCaseTitle )
+ {
+ TName title;
+ TestModuleIf().GetTestCaseTitleL( title );
+ logFileName.Format( KtestalfextLogFileWithTitle, &title );
+ }
+ else
+ {
+ logFileName.Copy( KtestalfextLogFile );
+ }
+
+ iLog = CStifLogger::NewL( KtestalfextLogPath,
+ logFileName,
+ CStifLogger::ETxt,
+ CStifLogger::EFile,
+ EFalse );
+
+ iInterface = new ( ELeave )
+ CTestAlfInterfacePorvider;
+
+ iHuiEnv = CHuiEnv::NewL( EHuiRendererBitgdi );
+ iHuiControlGroup = &( iHuiEnv->NewControlGroupL( KHuiCtrlGroupId ) );
+ //Construct the iHuiControl
+ iHuiControl = new( ELeave ) CHuiControl( *iHuiEnv );
+ iHuiControl->ConstructL();
+ iHuiControlGroup->AppendL( iHuiControl );
+ iHuiVisual = CHuiVisual::AddNewL( *iHuiControl);
+
+ SendTestClassVersion();
+
+ TurnOffScreenSaver();
+ }
+
+// -----------------------------------------------------------------------------
+// CTestAlfExt::NewL
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+CTestAlfExt* CTestAlfExt::NewL( CTestModuleIf& aTestModuleIf )
+ {
+ CTestAlfExt* self = new( ELeave ) CTestAlfExt( aTestModuleIf );
+
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop( self );
+
+ return self;
+
+ }
+
+//-----------------------------------------------------------------------------
+// CTestAlfExt::SendTestClassVersion
+// Method used to send version of test class
+//-----------------------------------------------------------------------------
+//
+void CTestAlfExt::SendTestClassVersion()
+ {
+ TVersion moduleVersion;
+ moduleVersion.iMajor = TEST_CLASS_VERSION_MAJOR;
+ moduleVersion.iMinor = TEST_CLASS_VERSION_MINOR;
+ moduleVersion.iBuild = TEST_CLASS_VERSION_BUILD;
+
+ TFileName moduleName;
+ moduleName = KModuleName;
+
+ TBool newVersionOfMethod = ETrue;
+ TestModuleIf().SendTestModuleVersion( moduleVersion, moduleName,
+ newVersionOfMethod );
+ }
+
+// ========================== OTHER EXPORTED FUNCTIONS =========================
+
+// -----------------------------------------------------------------------------
+// LibEntryL is a polymorphic Dll entry point.
+// Returns: CScriptBase: New CScriptBase derived object
+// -----------------------------------------------------------------------------
+//
+EXPORT_C CScriptBase* LibEntryL(
+ CTestModuleIf& aTestModuleIf ) // Backpointer to STIF Test Framework
+ {
+ return ( CScriptBase* ) CTestAlfExt::NewL( aTestModuleIf );
+ }
+
+// -----------------------------------------------------------------------------
+// Turn off ScreenSaver
+// -----------------------------------------------------------------------------
+//
+void CTestAlfExt::TurnOffScreenSaver()
+ {
+ TInt err1 = RProperty::Get( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
+ iOldScreenSaverProperty );
+ TInt err2 = RProperty::Set( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
+ KScreenSaverAllowScreenSaver );
+ RDebug::Printf( "screensaver property=%d err1=%d err2=%d\n",
+ iOldScreenSaverProperty, err1, err2 );
+ }
+
+// -----------------------------------------------------------------------------
+// Restore ScreenSaver
+// -----------------------------------------------------------------------------
+//
+void CTestAlfExt::RestoreScreenSaver()
+ {
+ RProperty::Set( KPSUidScreenSaver, KScreenSaverAllowScreenSaver,
+ iOldScreenSaverProperty );
+ User::ResetInactivityTime();
+ }
+
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocks.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,99 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: function implement of testalfext
+*
+*/
+
+
+
+// [INCLUDE FILES]
+#include <e32svr.h>
+#include <stifparser.h>
+#include <stiftestinterface.h>
+
+#include "testalfext.h"
+
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CTestAlfExt::RunMethodL
+// Run specified method. Contains also table of test mothods and their names.
+// -----------------------------------------------------------------------------
+//
+TInt CTestAlfExt::RunMethodL( CStifItemParser& aItem )
+ {
+
+ static TStifFunctionInfo const KFunctions[] =
+ {
+ // First string is the function name used in TestScripter script file.
+ // Second is the actual implementation member function.
+ ENTRY( "TestBrushHandlerConstructL", CTestAlfExt::TestBrushHandlerConstructL ),
+ ENTRY( "TestBrushHandlerForMAlfExtensionL", CTestAlfExt::TestBrushHandlerForMAlfExtensionL ),
+ ENTRY( "TestBrushHandlerForOthersL", CTestAlfExt::TestBrushHandlerForOthersL ),
+ ENTRY( "TestBorderBrushHandlerConstructL", CTestAlfExt::TestBorderBrushHandlerConstructL ),
+ ENTRY( "TestBorderBrushHandlerProtectedL", CTestAlfExt::TestBorderBrushHandlerProtectedL ),
+ ENTRY( "TestImageBrushHandlerConstructL", CTestAlfExt::TestImageBrushHandlerConstructL ),
+ ENTRY( "TestImageBrushHandlerProtectedL", CTestAlfExt::TestImageBrushHandlerProtectedL ),
+ ENTRY( "TestShadowBorderBrushHandlerConstructL", CTestAlfExt::TestShadowBorderBrushHandlerConstructL ),
+ ENTRY( "TestShadowBorderBrushHandlerProtectedL", CTestAlfExt::TestShadowBorderBrushHandlerProtectedL ),
+ ENTRY( "TestDropShadowBrushHandlerConstructL", CTestAlfExt::TestDropShadowBrushHandlerConstructL ),
+ ENTRY( "TestDropShadowBrushHandlerProtectedL", CTestAlfExt::TestDropShadowBrushHandlerProtectedL ),
+ ENTRY( "TestGradientBrushHandlerConstructL", CTestAlfExt::TestGradientBrushHandlerConstructL ),
+ ENTRY( "TestGradientBrushHandlerProtectedL", CTestAlfExt::TestGradientBrushHandlerProtectedL ),
+ ENTRY( "TestFrameBrushHandlerConstructL", CTestAlfExt::TestFrameBrushHandlerConstructL ),
+ ENTRY( "TestFrameBrushHandlerProtectedL", CTestAlfExt::TestFrameBrushHandlerProtectedL ),
+ ENTRY( "TestLayoutHandlerConstructL", CTestAlfExt::TestLayoutHandlerConstructL ),
+ ENTRY( "TestLayoutHandlerProtectedL", CTestAlfExt::TestLayoutHandlerProtectedL ),
+ ENTRY( "TestAnchorLayoutHandlerConstructL", CTestAlfExt::TestAnchorLayoutHandlerConstructL ),
+ ENTRY( "TestAnchorLayoutHandlerProtectedL", CTestAlfExt::TestAnchorLayoutHandlerProtectedL ),
+ ENTRY( "TestLCTAnchorLayoutHandlerConstructL", CTestAlfExt::TestLCTAnchorLayoutHandlerConstructL ),
+ ENTRY( "TestLCTAnchorLayoutHandlerProtectedL", CTestAlfExt::TestLCTAnchorLayoutHandlerProtectedL ),
+ ENTRY( "TestGridLayoutHandlerConstructL", CTestAlfExt::TestGridLayoutHandlerConstructL ),
+ ENTRY( "TestGridLayoutHandlerProtectedL", CTestAlfExt::TestGridLayoutHandlerProtectedL ),
+ ENTRY( "TestLCTGridLayoutHandlerConstructL", CTestAlfExt::TestLCTGridLayoutHandlerConstructL ),
+ ENTRY( "TestLCTGridLayoutHandlerProtectedL", CTestAlfExt::TestLCTGridLayoutHandlerProtectedL ),
+ ENTRY( "TestDeckLayoutHandlerConstructL", CTestAlfExt::TestDeckLayoutHandlerConstructL ),
+ ENTRY( "TestDeckLayoutHandlerProtectedL", CTestAlfExt::TestDeckLayoutHandlerProtectedL ),
+ ENTRY( "TestFlowLayoutHandlerConstructL", CTestAlfExt::TestFlowLayoutHandlerConstructL ),
+ ENTRY( "TestFlowLayoutHandlerProtectedL", CTestAlfExt::TestFlowLayoutHandlerProtectedL ),
+ ENTRY( "TestCurvePathLayoutHandlerConstructL", CTestAlfExt::TestCurvePathLayoutHandlerConstructL ),
+ ENTRY( "TestCurvePathLayoutHandlerProtectedL", CTestAlfExt::TestCurvePathLayoutHandlerProtectedL ),
+ ENTRY( "TestViewportLayoutHandlerConstructL", CTestAlfExt::TestViewportLayoutHandlerConstructL ),
+ ENTRY( "TestViewportLayoutHandlerProtectedL", CTestAlfExt::TestViewportLayoutHandlerProtectedL ),
+ ENTRY( "TestTimedValueUtil", CTestAlfExt::TestTimedValueUtil ),
+ ENTRY( "TestTimedPointUtil", CTestAlfExt::TestTimedPointUtil ),
+ ENTRY( "TestFileTokenUtil", CTestAlfExt::TestFileTokenUtil ),
+ ENTRY( "TestVisualHandlerConstructL", CTestAlfExt::TestVisualHandlerConstructL ),
+ ENTRY( "TestVisualHandlerMutualL", CTestAlfExt::TestVisualHandlerMutualL ),
+ ENTRY( "TestTextVisualHandlerConstructL", CTestAlfExt::TestTextVisualHandlerConstructL ),
+ ENTRY( "TestTextVisualHandlerMutualL", CTestAlfExt::TestTextVisualHandlerMutualL ),
+ ENTRY( "TestLCTTextVisualHandlerConstructL", CTestAlfExt::TestLCTTextVisualHandlerConstructL ),
+ ENTRY( "TestLCTTextVisualHandlerMutualL", CTestAlfExt::TestLCTTextVisualHandlerMutualL ),
+ ENTRY( "TestImageVisualHandlerConstructL", CTestAlfExt::TestImageVisualHandlerConstructL ),
+ ENTRY( "TestImageVisualHandlerMutualL", CTestAlfExt::TestImageVisualHandlerMutualL ),
+ ENTRY( "TestLineVisualHandlerConstructL", CTestAlfExt::TestLineVisualHandlerConstructL ),
+ ENTRY( "TestLineVisualHandlerMutualL", CTestAlfExt::TestLineVisualHandlerMutualL ),
+ ENTRY( "TestMeshVisualHandlerConstructL", CTestAlfExt::TestMeshVisualHandlerConstructL ),
+ ENTRY( "TestMeshVisualHandlerMutualL", CTestAlfExt::TestMeshVisualHandlerMutualL ),
+ ENTRY( "TestRFTokenClientFuncL", CTestAlfExt::TestRFTokenClientFuncL ),
+
+ };
+
+ const TInt count = sizeof( KFunctions ) / sizeof( TStifFunctionInfo );
+
+ return RunInternalL( KFunctions, count, aItem );
+
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocksalfbrushhandlers.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,451 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test alfbrushhandlers.h
+ *
+*/
+
+
+// [INCLUDE FILES]
+#include "testalfext.h"
+#include "testalfbrushhandlers.h"
+
+
+// ============================ MEMBER FUNCTIONS =========================
+
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestBrushHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestBrushHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfbrushhandlercalfbrushhandler, "In TestCAlfBrushHandlerCAlfBrushHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfbrushhandlercalfbrushhandler);
+ iLog->Log(Ktestcalfbrushhandlercalfbrushhandler);
+
+ CTestCAlfBrushHandler* handler = new ( ELeave )
+ CTestCAlfBrushHandler( *iInterface );
+ CleanupStack::PushL( handler );
+
+ CleanupStack::PopAndDestroy( handler );
+
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestBrushHandlerForMAlfExtensionL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestBrushHandlerForMAlfExtensionL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfbrushhandlerrelease, "In TestCAlfBrushHandlerRelease");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfbrushhandlerrelease);
+ iLog->Log(Ktestcalfbrushhandlerrelease);
+
+ CTestCAlfBrushHandler* handler = new ( ELeave )
+ CTestCAlfBrushHandler( *iInterface );
+ CleanupStack::PushL( handler );
+ handler->ConstructL();
+ handler->TestBrushHandlerForMAlfExtensionL( aItem );
+ CleanupStack::Pop( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestBrushHandlerForOthersL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestBrushHandlerForOthersL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfbrushhandlergetinterface, "In TestCAlfBrushHandlerGetInterface");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfbrushhandlergetinterface);
+ iLog->Log(Ktestcalfbrushhandlergetinterface);
+
+ CTestCAlfBrushHandler* handler = new ( ELeave )
+ CTestCAlfBrushHandler( *iInterface );
+ CleanupStack::PushL( handler );
+ handler->ConstructL();
+ handler->SetOwnership( EFalse );
+ handler->TestBrushHandlerForOthers( aItem );
+ CleanupStack::PopAndDestroy( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestBorderBrushHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestBorderBrushHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfborderbrushhandlernewl1, "In TestCAlfBorderBrushHandlerNewL1");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfborderbrushhandlernewl1);
+ iLog->Log(Ktestcalfborderbrushhandlernewl1);
+
+ TAlfXYMetric thickness;
+ TAlfXYMetric edgeOffset;
+
+ MAlfExtension* temp = CAlfBorderBrushHandler::NewL( *iInterface,
+ thickness, edgeOffset );
+ CAlfBorderBrushHandler* handler = static_cast<CAlfBorderBrushHandler*>
+ ( temp );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush );
+ handler->ConstructL( brush, thickness, edgeOffset );
+ CleanupStack::Pop( brush );
+ CleanupStack::PopAndDestroy( handler );
+
+ handler = NULL;
+ handler = static_cast<CAlfBorderBrushHandler*>
+ (CAlfBorderBrushHandler::NewL( *iInterface, 1, 1, 1, 1 ) );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush2 = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush2 );
+ handler->ConstructL( brush2, 1, 1, 1, 1 );
+ CleanupStack::Pop( brush2 );
+ CleanupStack::PopAndDestroy( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestBorderBrushHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestBorderBrushHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfborderbrushhandlernewl2, "In TestCAlfBorderBrushHandlerNewL2");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfborderbrushhandlernewl2);
+ iLog->Log(Ktestcalfborderbrushhandlernewl2);
+
+ CTestCAlfBorderBrushHandler* handler = new ( ELeave )
+ CTestCAlfBorderBrushHandler ( *iInterface);
+ CleanupStack::PushL( handler );
+ TAlfXYMetric thickness;
+ TAlfXYMetric edgeOffset;
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush );
+ handler->ConstructL( brush, thickness, edgeOffset );
+ CleanupStack::Pop( brush );
+ handler->TestProtectedL( aItem );
+ CleanupStack::Pop( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestImageBrushHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestImageBrushHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfimagebrushhandlernewl, "In TestCAlfImageBrushHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfimagebrushhandlernewl);
+ iLog->Log(Ktestcalfimagebrushhandlernewl);
+
+ THuiImage image;
+ MAlfExtension* temp = CAlfImageBrushHandler::NewL( *iInterface, image );
+ CAlfImageBrushHandler* handler = static_cast<CAlfImageBrushHandler*>
+ ( temp );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush );
+ handler->ConstructL( brush, image );
+ CleanupStack::Pop( brush );
+ CleanupStack::PopAndDestroy( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestImageBrushHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestImageBrushHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfimagebrushhandlercalfimagebrushhandler, "In TestCAlfImageBrushHandlerCAlfImageBrushHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfimagebrushhandlercalfimagebrushhandler);
+ iLog->Log(Ktestcalfimagebrushhandlercalfimagebrushhandler);
+
+ CTestCAlfImageBrushHandler* handler = new ( ELeave )
+ CTestCAlfImageBrushHandler( *iInterface );
+ CleanupStack::PushL( handler );
+ THuiImage image;
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush );
+ handler->ConstructL( brush, image );
+ CleanupStack::Pop( brush );
+ handler->TestProtectedL( aItem );
+ CleanupStack::Pop( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestShadowBorderBrushHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestShadowBorderBrushHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfimagebrushhandlerconstructl, "In TestCAlfImageBrushHandlerConstructL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfimagebrushhandlerconstructl);
+ iLog->Log(Ktestcalfimagebrushhandlerconstructl);
+
+ CAlfShadowBorderBrushHandler* handler =
+ static_cast<CAlfShadowBorderBrushHandler*>
+ (CAlfShadowBorderBrushHandler::NewL( *iInterface, 1 ) );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush );
+ handler->ConstructL( brush, 1 );
+ CleanupStack::Pop( brush );
+ CleanupStack::PopAndDestroy( handler );
+ handler = NULL;
+ TAlfMetric metric;
+ handler = static_cast<CAlfShadowBorderBrushHandler*>
+ (CAlfShadowBorderBrushHandler::NewL( *iInterface, metric ) );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush1 = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush1 );
+ handler->ConstructL( brush1, metric );
+ CleanupStack::Pop( brush1 );
+ CleanupStack::PopAndDestroy( handler );
+
+ handler = NULL;
+ handler = new ( ELeave )CAlfShadowBorderBrushHandler( *iInterface);
+ CleanupStack::PushL( handler );
+ CleanupStack::PopAndDestroy( handler );
+
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestShadowBorderBrushHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestShadowBorderBrushHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfimagebrushhandlerrelease, "In TestCAlfImageBrushHandlerRelease");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfimagebrushhandlerrelease);
+ iLog->Log(Ktestcalfimagebrushhandlerrelease);
+
+ CTestCAlfShadowBorderBrushHandler* handler = new ( ELeave )
+ CTestCAlfShadowBorderBrushHandler ( *iInterface );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush1 = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush1 );
+ TAlfMetric metric;
+ handler->ConstructL( brush1, metric );
+ CleanupStack::Pop( brush1 );
+ handler->TestProtectedL( aItem );
+ CleanupStack::Pop( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestDropShadowBrushHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestDropShadowBrushHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfimagebrushhandlergetinterface, "In TestCAlfImageBrushHandlerGetInterface");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfimagebrushhandlergetinterface);
+ iLog->Log(Ktestcalfimagebrushhandlergetinterface);
+
+ CAlfDropShadowBrushHandler* handler =
+ static_cast<CAlfDropShadowBrushHandler*>
+ (CAlfDropShadowBrushHandler::NewL( *iInterface, 1 ) );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush );
+ handler->ConstructL( brush, 1 );
+ CleanupStack::Pop( brush );
+ CleanupStack::PopAndDestroy( handler );
+ handler = NULL;
+ TAlfMetric metric;
+ handler = static_cast<CAlfDropShadowBrushHandler*>
+ (CAlfDropShadowBrushHandler::NewL( *iInterface, metric ) );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush1 = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush );
+ handler->ConstructL( brush1, metric );
+ CleanupStack::Pop( brush1 );
+ CleanupStack::PopAndDestroy( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestDropShadowBrushHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestDropShadowBrushHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfimagebrushhandlerhandlecmdl, "In TestCAlfImageBrushHandlerHandleCmdL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfimagebrushhandlerhandlecmdl);
+ iLog->Log(Ktestcalfimagebrushhandlerhandlecmdl);
+
+ CTestCAlfDropShadowBrushHandler* handler = new ( ELeave )
+ CTestCAlfDropShadowBrushHandler( *iInterface );
+ CleanupStack::PushL( handler );
+ TAlfMetric metric;
+ CHuiBorderBrush* brush1 = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush1 );
+ handler->ConstructL( brush1, metric );
+ CleanupStack::Pop( brush1 );
+ handler->TestProtectedL( aItem );
+ CleanupStack::Pop( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestGradientBrushHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestGradientBrushHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfimagebrushhandlerbrushhandlerextension, "In TestCAlfImageBrushHandlerBrushHandlerExtension");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfimagebrushhandlerbrushhandlerextension);
+ iLog->Log(Ktestcalfimagebrushhandlerbrushhandlerextension);
+
+ CAlfGradientBrushHandler* handler = static_cast<CAlfGradientBrushHandler*>
+ ( CAlfGradientBrushHandler::NewL( *iInterface ) );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush );
+ handler->ConstructL( brush );
+ CleanupStack::Pop( brush );
+ CleanupStack::PopAndDestroy( handler );
+ handler = NULL;
+ handler = new ( ELeave ) CAlfGradientBrushHandler( *iInterface );
+ CleanupStack::PushL( handler );
+ CleanupStack::PopAndDestroy( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestGradientBrushHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestGradientBrushHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfshadowborderbrushhandlernewl1, "In TestCAlfShadowBorderBrushHandlerNewL1");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfshadowborderbrushhandlernewl1);
+ iLog->Log(Ktestcalfshadowborderbrushhandlernewl1);
+
+ CTestCAlfGradientBrushHandler* handler = new ( ELeave )
+ CTestCAlfGradientBrushHandler( *iInterface );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush );
+ handler->ConstructL( brush );
+ CleanupStack::Pop( brush );
+ handler->TestProtectedL( aItem );
+ CleanupStack::Pop( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestFrameBrushHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestFrameBrushHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfshadowborderbrushhandlernewl2, "In TestCAlfShadowBorderBrushHandlerNewL2");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfshadowborderbrushhandlernewl2);
+ iLog->Log(Ktestcalfshadowborderbrushhandlernewl2);
+
+ TAknsItemID id;
+ TAlfXYMetric edgeOffset;
+ CAlfFrameBrushHandler* handler = static_cast<CAlfFrameBrushHandler*>
+ ( CAlfFrameBrushHandler::NewL( *iInterface, id, edgeOffset ) );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush );
+ handler->ConstructL( brush, id, edgeOffset );
+ CleanupStack::Pop( brush );
+ CleanupStack::PopAndDestroy( handler );
+ handler = NULL;
+ handler = static_cast<CAlfFrameBrushHandler*>
+ ( CAlfFrameBrushHandler::NewL( *iInterface, id, 1, 1 ) );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush1 = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush1 );
+ handler->ConstructL( brush1, id, 1, 1 );
+ CleanupStack::Pop( brush1 );
+ CleanupStack::PopAndDestroy( handler );
+ handler = NULL;
+ THuiImage image;
+ handler = static_cast<CAlfFrameBrushHandler*>
+ ( CAlfFrameBrushHandler::NewL( *iInterface, image, edgeOffset ) );
+ CleanupStack::PushL( handler );
+ CHuiBorderBrush* brush2 = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush2 );
+ handler->ConstructL( brush2, image, edgeOffset );
+ CleanupStack::Pop( brush2 );
+ CleanupStack::PopAndDestroy( handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestFrameBrushHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestFrameBrushHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfshadowborderbrushhandlercalfshadowborderbrushhandler, "In TestCAlfShadowBorderBrushHandlerCAlfShadowBorderBrushHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfshadowborderbrushhandlercalfshadowborderbrushhandler);
+ iLog->Log(Ktestcalfshadowborderbrushhandlercalfshadowborderbrushhandler);
+
+ CTestCAlfFrameBrushHandler* handler = new ( ELeave )
+ CTestCAlfFrameBrushHandler( *iInterface );
+ CleanupStack::PushL( handler );
+ TAknsItemID id;
+ CHuiBorderBrush* brush1 = CHuiBorderBrush::NewL( 1, 1, 1, 1 );
+ CleanupStack::PushL( brush1 );
+ handler->ConstructL( brush1, id, 1, 1 );
+ CleanupStack::Pop( brush1 );
+ handler->TestProtectedL( aItem );
+ CleanupStack::Pop( handler );
+
+ return KErrNone;
+ }
+
+// End of file
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocksalflayouthandlers.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,500 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test alflayouthandlers.h
+ *
+*/
+
+
+// [INCLUDE FILES]
+#include "testalfext.h"
+#include "testalflayouthandlers.h"
+
+// CONSTANTS
+const TInt KBufSize = 64;
+// ============================ MEMBER FUNCTIONS =========================
+
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestLayoutHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestLayoutHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlernewl, "In TestCAlfLayoutHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlernewl);
+ iLog->Log(Ktestcalflayouthandlernewl);
+
+ CAlfLayoutHandler*handler = new ( ELeave ) CAlfLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfLayoutBaseUnit;
+ _LIT8( KTest, "test" );
+ TBuf8<KBufSize> input( KTest );
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfLayoutHandler*>
+ ( CAlfLayoutHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestLayoutHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestLayoutHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlercalflayouthandler, "In TestCAlfLayoutHandlerCAlfLayoutHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlercalflayouthandler);
+ iLog->Log(Ktestcalflayouthandlercalflayouthandler);
+
+ CTestCAlfLayoutHandler*handler = new ( ELeave )
+ CTestCAlfLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtect( aItem );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestAnchorLayoutHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestAnchorLayoutHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlernewl, "In TestCAlfLayoutHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlernewl);
+ iLog->Log(Ktestcalflayouthandlernewl);
+
+ CAlfAnchorLayoutHandler*handler = new ( ELeave )
+ CAlfAnchorLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfLayoutBaseUnit;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfAnchorLayoutHandler*>
+ ( CAlfAnchorLayoutHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestAnchorLayoutHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestAnchorLayoutHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlercalflayouthandler, "In TestCAlfLayoutHandlerCAlfLayoutHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlercalflayouthandler);
+ iLog->Log(Ktestcalflayouthandlercalflayouthandler);
+
+ CTestCAlfAnchorLayoutHandler*handler = new ( ELeave )
+ CTestCAlfAnchorLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtect( aItem );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestLCTAnchorLayoutHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestLCTAnchorLayoutHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlernewl, "In TestCAlfLayoutHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlernewl);
+ iLog->Log(Ktestcalflayouthandlernewl);
+
+ CAlfLCTAnchorLayoutHandler*handler = new ( ELeave )
+ CAlfLCTAnchorLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfLayoutBaseUnit;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfLCTAnchorLayoutHandler*>
+ ( CAlfLCTAnchorLayoutHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestLCTAnchorLayoutHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestLCTAnchorLayoutHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlercalflayouthandler, "In TestCAlfLayoutHandlerCAlfLayoutHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlercalflayouthandler);
+ iLog->Log(Ktestcalflayouthandlercalflayouthandler);
+
+ CTestCAlfLCTAnchorLayoutHandler*handler = new ( ELeave )
+ CTestCAlfLCTAnchorLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtect( aItem );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestGridLayoutHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestGridLayoutHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlernewl, "In TestCAlfLayoutHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlernewl);
+ iLog->Log(Ktestcalflayouthandlernewl);
+
+ CAlfGridLayoutHandler*handler = new ( ELeave )
+ CAlfGridLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfLayoutBaseUnit;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfGridLayoutHandler*>
+ ( CAlfGridLayoutHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestGridLayoutHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestGridLayoutHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlercalflayouthandler, "In TestCAlfLayoutHandlerCAlfLayoutHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlercalflayouthandler);
+ iLog->Log(Ktestcalflayouthandlercalflayouthandler);
+
+ CTestCAlfGridLayoutHandler*handler = new ( ELeave )
+ CTestCAlfGridLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtect( aItem );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestLCTGridLayoutHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestLCTGridLayoutHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlernewl, "In TestCAlfLayoutHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlernewl);
+ iLog->Log(Ktestcalflayouthandlernewl);
+
+ CAlfLCTGridLayoutHandler*handler = new ( ELeave )
+ CAlfLCTGridLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfLayoutBaseUnit;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfLCTGridLayoutHandler*>
+ ( CAlfLCTGridLayoutHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestLCTGridLayoutHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestLCTGridLayoutHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlercalflayouthandler, "In TestCAlfLayoutHandlerCAlfLayoutHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlercalflayouthandler);
+ iLog->Log(Ktestcalflayouthandlercalflayouthandler);
+
+ CTestCAlfLCTGridLayoutHandler*handler = new ( ELeave )
+ CTestCAlfLCTGridLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtect( aItem );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestDeckLayoutHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestDeckLayoutHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlernewl, "In TestCAlfLayoutHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlernewl);
+ iLog->Log(Ktestcalflayouthandlernewl);
+
+ CAlfDeckLayoutHandler*handler = new ( ELeave )
+ CAlfDeckLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfLayoutBaseUnit;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfDeckLayoutHandler*>
+ ( CAlfDeckLayoutHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestDeckLayoutHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestDeckLayoutHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlercalflayouthandler, "In TestCAlfLayoutHandlerCAlfLayoutHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlercalflayouthandler);
+ iLog->Log(Ktestcalflayouthandlercalflayouthandler);
+
+ CTestCAlfDeckLayoutHandler*handler = new ( ELeave )
+ CTestCAlfDeckLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtect( aItem );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestFlowLayoutHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestFlowLayoutHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlernewl, "In TestCAlfLayoutHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlernewl);
+ iLog->Log(Ktestcalflayouthandlernewl);
+
+ CAlfFlowLayoutHandler*handler = new ( ELeave )
+ CAlfFlowLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfLayoutBaseUnit;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfFlowLayoutHandler*>
+ ( CAlfFlowLayoutHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestFlowLayoutHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestFlowLayoutHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlercalflayouthandler, "In TestCAlfLayoutHandlerCAlfLayoutHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlercalflayouthandler);
+ iLog->Log(Ktestcalflayouthandlercalflayouthandler);
+
+ CTestCAlfFlowLayoutHandler*handler = new ( ELeave )
+ CTestCAlfFlowLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtect( aItem );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestCurvePathLayoutHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestCurvePathLayoutHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlernewl, "In TestCAlfLayoutHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlernewl);
+ iLog->Log(Ktestcalflayouthandlernewl);
+
+ CAlfCurvePathLayoutHandler*handler = new ( ELeave )
+ CAlfCurvePathLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfLayoutBaseUnit;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfCurvePathLayoutHandler*>
+ ( CAlfCurvePathLayoutHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestCurvePathLayoutHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestCurvePathLayoutHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlercalflayouthandler, "In TestCAlfLayoutHandlerCAlfLayoutHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlercalflayouthandler);
+ iLog->Log(Ktestcalflayouthandlercalflayouthandler);
+
+ CTestCAlfCurvePathLayoutHandler*handler = new ( ELeave )
+ CTestCAlfCurvePathLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtect( aItem );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestViewportLayoutHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestViewportLayoutHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlernewl, "In TestCAlfLayoutHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlernewl);
+ iLog->Log(Ktestcalflayouthandlernewl);
+
+ CAlfViewportLayoutHandler*handler = new ( ELeave )
+ CAlfViewportLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfLayoutBaseUnit;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfViewportLayoutHandler*>
+ ( CAlfViewportLayoutHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestViewportLayoutHandlerProtectedL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestViewportLayoutHandlerProtectedL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalflayouthandlercalflayouthandler, "In TestCAlfLayoutHandlerCAlfLayoutHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalflayouthandlercalflayouthandler);
+ iLog->Log(Ktestcalflayouthandlercalflayouthandler);
+
+ CTestCAlfViewportLayoutHandler*handler = new ( ELeave )
+ CTestCAlfViewportLayoutHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtect( aItem );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// End of file
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocksalfserverutils.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,91 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test alfserverutils.h
+ *
+*/
+
+
+// [INCLUDE FILES]
+#include "testalfext.h"
+
+// CONSTANTS
+const TInt KBufSize = 64;
+
+// ============================ MEMBER FUNCTIONS =========================
+
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestTimedValueUtil
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestTimedValueUtil( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestalftimedvalueutilitycopytimedvalue1, "In TestAlfTimedValueUtilityCopyTimedValue1");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestalftimedvalueutilitycopytimedvalue1);
+ iLog->Log(Ktestalftimedvalueutilitycopytimedvalue1);
+
+ TAlfTimedValue alfvalue( 0 );
+ THuiTimedValue huivalue( 0 );
+ AlfTimedValueUtility::CopyTimedValue( alfvalue, huivalue, *iInterface );
+ AlfTimedValueUtility::CopyTimedValue( alfvalue, huivalue );
+ AlfTimedValueUtility::CopyTimedValue( huivalue, alfvalue );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestTimedPointUtil
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestTimedPointUtil( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestalftimedvalueutilitycopytimedvalue2, "In TestAlfTimedValueUtilityCopyTimedValue2");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestalftimedvalueutilitycopytimedvalue2);
+ iLog->Log(Ktestalftimedvalueutilitycopytimedvalue2);
+
+ TAlfTimedPoint alfpoint;
+ THuiTimedPoint huipoiint;
+ AlfTimedPointUtility::CopyTimedPoint( alfpoint, huipoiint, *iInterface );
+ AlfTimedPointUtility::CopyTimedPoint( alfpoint, huipoiint );
+ AlfTimedPointUtility::CopyTimedPoint( huipoiint, alfpoint );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestFileTokenUtil
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestFileTokenUtil( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestalftimedvalueutilitycopytimedvalue3, "In TestAlfTimedValueUtilityCopyTimedValue3");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestalftimedvalueutilitycopytimedvalue3);
+ iLog->Log(Ktestalftimedvalueutilitycopytimedvalue3);
+
+ _LIT8( KFileName, "c:\\testframework\\tctestalfextalfserverutils.cfg" );
+ TBuf8<KBufSize> buf( KFileName );
+ RFile file;
+ TRAPD( err, AlfFileTokenUtility::OpenFileForTokenL( file, buf ) );
+ if ( err == KErrNone )
+ {
+ return KErrNone;
+ }
+ return KErrNone;
+ }
+
+
+// End of file
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocksalfvisualhandlers.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,350 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test alfvisualhandlers.h
+ *
+*/
+
+
+// [INCLUDE FILES]
+#include "testalfext.h"
+#include "testalfvisualhandlers.h"
+
+// CONSTANTS
+const TInt KBufSize = 64;
+// ============================ MEMBER FUNCTIONS =========================
+
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestVisualHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestVisualHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlernewl, "In TestCAlfVisualHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlernewl);
+ iLog->Log(Ktestcalfvisualhandlernewl);
+
+ CAlfVisualHandler*handler = new ( ELeave ) CAlfVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfVisualEnableDropShadow;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfVisualHandler*>
+ ( CAlfVisualHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestVisualHandlerMutualL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestVisualHandlerMutualL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlercalfvisualhandler, "In TestCAlfVisualHandlerCAlfVisualHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlercalfvisualhandler);
+ iLog->Log(Ktestcalfvisualhandlercalfvisualhandler);
+
+ CTestCAlfVisualHandler*handler = new ( ELeave )
+ CTestCAlfVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtected( aItem );
+ CleanupStack::Pop(handler );
+
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestTextVisualHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestTextVisualHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlernewl, "In TestCAlfVisualHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlernewl);
+ iLog->Log(Ktestcalfvisualhandlernewl);
+
+ CAlfTextVisualHandler*handler = new ( ELeave )
+ CAlfTextVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfTextVisualSetText;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfTextVisualHandler*>
+ ( CAlfTextVisualHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestTextVisualHandlerMutualL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestTextVisualHandlerMutualL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlercalfvisualhandler, "In TestCAlfVisualHandlerCAlfVisualHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlercalfvisualhandler);
+ iLog->Log(Ktestcalfvisualhandlercalfvisualhandler);
+
+ CTestCAlfTextVisualHandler*handler = new ( ELeave )
+ CTestCAlfTextVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtected( aItem );
+ CleanupStack::Pop(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestLCTTextVisualHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestLCTTextVisualHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlernewl, "In TestCAlfVisualHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlernewl);
+ iLog->Log(Ktestcalfvisualhandlernewl);
+
+ CAlfLCTTextVisualHandler*handler = new ( ELeave )
+ CAlfLCTTextVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfTextVisualSetText;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfLCTTextVisualHandler*>
+ ( CAlfLCTTextVisualHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestLCTTextVisualHandlerMutualL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestLCTTextVisualHandlerMutualL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlercalfvisualhandler, "In TestCAlfVisualHandlerCAlfVisualHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlercalfvisualhandler);
+ iLog->Log(Ktestcalfvisualhandlercalfvisualhandler);
+
+ CTestCAlfLCTTextVisualHandler*handler = new ( ELeave )
+ CTestCAlfLCTTextVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtected( aItem );
+ CleanupStack::Pop(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestImageVisualHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestImageVisualHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlernewl, "In TestCAlfVisualHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlernewl);
+ iLog->Log(Ktestcalfvisualhandlernewl);
+
+ CAlfImageVisualHandler*handler = new ( ELeave )
+ CAlfImageVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfImageVisualSetOffset;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfImageVisualHandler*>
+ ( CAlfImageVisualHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestImageVisualHandlerMutualL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestImageVisualHandlerMutualL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlercalfvisualhandler, "In TestCAlfVisualHandlerCAlfVisualHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlercalfvisualhandler);
+ iLog->Log(Ktestcalfvisualhandlercalfvisualhandler);
+
+ CTestCAlfImageVisualHandler*handler = new ( ELeave )
+ CTestCAlfImageVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtected( aItem );
+ CleanupStack::Pop(handler );
+
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestLineVisualHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestLineVisualHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlernewl, "In TestCAlfVisualHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlernewl);
+ iLog->Log(Ktestcalfvisualhandlernewl);
+
+ CAlfLineVisualHandler*handler = new ( ELeave )
+ CAlfLineVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfVisualSetSize;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfLineVisualHandler*>
+ ( CAlfLineVisualHandler::NewL( *iInterface, iHuiControl, NULL ) );
+ CleanupStack::PushL(handler );
+ CleanupStack::PopAndDestroy(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestLineVisualHandlerMutualL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestLineVisualHandlerMutualL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlercalfvisualhandler, "In TestCAlfVisualHandlerCAlfVisualHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlercalfvisualhandler);
+ iLog->Log(Ktestcalfvisualhandlercalfvisualhandler);
+
+ CTestCAlfLineVisualHandler*handler = new ( ELeave )
+ CTestCAlfLineVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, NULL );
+ handler->TestProtected( aItem );
+ CleanupStack::Pop(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestMeshVisualHandlerConstructL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestMeshVisualHandlerConstructL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlernewl, "In TestCAlfVisualHandlerNewL");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlernewl);
+ iLog->Log(Ktestcalfvisualhandlernewl);
+
+ CAlfMeshVisualHandler*handler = new ( ELeave )
+ CAlfMeshVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, EHuiMeshTypeM3G, NULL );
+ THuiInterfaceSupport interface = EAlfVisualHandler;
+ TInt cmd = EAlfVisualSetSize;
+ TBuf8<KBufSize> input;
+ TBuf8<KBufSize> response;
+ handler->GetInterface( interface );
+ handler->HandleCmdL( cmd, input, response );
+ handler->Release();
+ CleanupStack::Pop(handler );
+ handler = NULL;
+ handler = static_cast<CAlfMeshVisualHandler*>
+ ( CAlfMeshVisualHandler::NewL( *iInterface, iHuiControl,
+ EHuiMeshTypeM3G, NULL ) );
+ CleanupStack::PushL(handler );
+ handler->Release();
+ CleanupStack::Pop(handler );
+
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestMeshVisualHandlerMutualL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestMeshVisualHandlerMutualL( CStifItemParser& aItem )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestcalfvisualhandlercalfvisualhandler, "In TestCAlfVisualHandlerCAlfVisualHandler");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestcalfvisualhandlercalfvisualhandler);
+ iLog->Log(Ktestcalfvisualhandlercalfvisualhandler);
+
+ CTestCAlfMeshVisualHandler*handler = new ( ELeave )
+ CTestCAlfMeshVisualHandler( *iInterface );
+ CleanupStack::PushL(handler );
+ handler->ConstructL( iHuiVisual, *iHuiControl, EHuiMeshTypeM3G, NULL );
+ handler->TestProtected( aItem );
+ CleanupStack::Pop(handler );
+
+ return KErrNone;
+ }
+// End of file
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocksftokenclient.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,74 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test ftokenclient.h
+ *
+*/
+
+
+// [INCLUDE FILES]
+#include "testalfext.h"
+
+// CONSTANTS
+const TInt KBufSize = 64;
+
+// ============================ MEMBER FUNCTIONS =========================
+
+// --------------------------------------------------------------------------
+// CTestAlfExt::TestRFTokenClientFuncL
+// --------------------------------------------------------------------------
+//
+TInt CTestAlfExt::TestRFTokenClientFuncL( CStifItemParser& /*aItem*/ )
+ {
+ _LIT(Kctestalfext, "CTestAlfExt");
+ _LIT(Ktestrftokenclientconnect, "In TestRFTokenClientConnect");
+ TestModuleIf().Printf(0, Kctestalfext, Ktestrftokenclientconnect);
+ iLog->Log(Ktestrftokenclientconnect);
+
+ RFTokenClient rtoken;
+ CleanupClosePushL( rtoken );
+ User::LeaveIfError( rtoken.Connect() );
+ _LIT( KFileName, "c:\\testframework\\ui_testalfextalfbrushhandlers.cfg" );
+ TBuf<KBufSize> fileName( KFileName );
+ TInt64 token = 0;
+ TPckg<TInt64> tokenbuf(token);
+ token = 1;
+ TPckg<TInt64> tokenbufexist(token);
+ TSecureId consumerSecId(0x10282845);
+ TSecurityPolicy policy( consumerSecId );
+ TUid id = { 0x00000001 };
+
+ rtoken.GenerateToken( fileName, policy, tokenbuf );
+ rtoken.GenerateToken( tokenbufexist, policy, tokenbuf );
+ rtoken.GenerateToken( fileName, id, tokenbuf );
+ rtoken.GenerateToken( tokenbufexist, id, tokenbuf );
+ RFile rfile;
+ TInt err = rfile.Open( CEikonEnv::Static()->FsSession(), fileName, EFileRead );
+ if ( err != KErrNone )
+ {
+ return KErrNone;
+ }
+ rtoken.GenerateToken( rfile, id, tokenbuf );
+ rtoken.GenerateToken( rfile, policy, tokenbuf );
+ rtoken.OpenFileForToken( rfile, tokenbuf );
+ rfile.Close();
+ CleanupStack::PopAndDestroy( &rtoken );
+
+ return KErrNone;
+ }
+
+
+// End of file
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/src/testalflayouthandlers.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,299 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test functions for alflayouthandlers.h
+ *
+*/
+
+
+// [INCLUDE FILES]
+#include "testalfext.h"
+#include "testalflayouthandlers.h"
+
+
+// ============================ MEMBER FUNCTIONS =========================
+
+// --------------------------------------------------------------------------
+// CTestCAlfLayoutHandler::CTestCAlfLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfLayoutHandler::CTestCAlfLayoutHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfLayoutHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfLayoutHandler::~CTestCAlfLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfLayoutHandler::~CTestCAlfLayoutHandler()
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfLayoutHandler::TestProtect
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfAnchorLayoutHandler::CTestCAlfAnchorLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfAnchorLayoutHandler::CTestCAlfAnchorLayoutHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfAnchorLayoutHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfAnchorLayoutHandler::~CTestCAlfAnchorLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfAnchorLayoutHandler::~CTestCAlfAnchorLayoutHandler()
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfAnchorLayoutHandler::TestProtect
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfAnchorLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfLCTAnchorLayoutHandler::CTestCAlfLCTAnchorLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfLCTAnchorLayoutHandler::CTestCAlfLCTAnchorLayoutHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfLCTAnchorLayoutHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfLCTAnchorLayoutHandler::~CTestCAlfLCTAnchorLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfLCTAnchorLayoutHandler::~CTestCAlfLCTAnchorLayoutHandler()
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfLCTAnchorLayoutHandler::TestProtect
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfLCTAnchorLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfGridLayoutHandler::CTestCAlfGridLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfGridLayoutHandler::CTestCAlfGridLayoutHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfGridLayoutHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfGridLayoutHandler::~CTestCAlfGridLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfGridLayoutHandler::~CTestCAlfGridLayoutHandler()
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfGridLayoutHandler::TestProtect
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfGridLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfLCTGridLayoutHandler::CTestCAlfLCTGridLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfLCTGridLayoutHandler::CTestCAlfLCTGridLayoutHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfLCTGridLayoutHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfLCTGridLayoutHandler::~CTestCAlfLCTGridLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfLCTGridLayoutHandler::~CTestCAlfLCTGridLayoutHandler()
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfLCTGridLayoutHandler::TestProtect
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfLCTGridLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfDeckLayoutHandler::CTestCAlfDeckLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfDeckLayoutHandler::CTestCAlfDeckLayoutHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfDeckLayoutHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfDeckLayoutHandler::~CTestCAlfDeckLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfDeckLayoutHandler::~CTestCAlfDeckLayoutHandler()
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfDeckLayoutHandler::TestProtect
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfDeckLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfFlowLayoutHandler::CTestCAlfFlowLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfFlowLayoutHandler::CTestCAlfFlowLayoutHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfFlowLayoutHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfFlowLayoutHandler::~CTestCAlfFlowLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfFlowLayoutHandler::~CTestCAlfFlowLayoutHandler()
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfFlowLayoutHandler::TestProtect
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfFlowLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfCurvePathLayoutHandler::CTestCAlfCurvePathLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfCurvePathLayoutHandler::CTestCAlfCurvePathLayoutHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfCurvePathLayoutHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfCurvePathLayoutHandler::~CTestCAlfCurvePathLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfCurvePathLayoutHandler::~CTestCAlfCurvePathLayoutHandler()
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfCurvePathLayoutHandler::TestProtect
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfCurvePathLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfViewportLayoutHandler::CTestCAlfViewportLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfViewportLayoutHandler::CTestCAlfViewportLayoutHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfViewportLayoutHandler( aResolver )
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfViewportLayoutHandler::~CTestCAlfViewportLayoutHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfViewportLayoutHandler::~CTestCAlfViewportLayoutHandler()
+ {
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfViewportLayoutHandler::TestProtect
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfViewportLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// End of file
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfvisualhandlers.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,197 @@
+/*
+* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Test functions for alfvisualhandlers.h
+ *
+*/
+
+
+// [INCLUDE FILES]
+#include "testalfext.h"
+#include "testalfvisualhandlers.h"
+
+
+// ============================ MEMBER FUNCTIONS =========================
+
+// --------------------------------------------------------------------------
+// CTestCAlfVisualHandler::CTestCAlfVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfVisualHandler::CTestCAlfVisualHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfVisualHandler( aResolver )
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfVisualHandler::~CTestCAlfVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfVisualHandler::~CTestCAlfVisualHandler()
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfVisualHandler::TestProtected
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfVisualHandler::TestProtected( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfTextVisualHandler::CTestCAlfTextVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfTextVisualHandler::CTestCAlfTextVisualHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfTextVisualHandler( aResolver )
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfTextVisualHandler::~CTestCAlfTextVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfTextVisualHandler::~CTestCAlfTextVisualHandler()
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfTextVisualHandler::TestProtected
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfTextVisualHandler::TestProtected( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfLCTTextVisualHandler::CTestCAlfLCTTextVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfLCTTextVisualHandler::CTestCAlfLCTTextVisualHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfLCTTextVisualHandler( aResolver )
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfLCTTextVisualHandler::~CTestCAlfLCTTextVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfLCTTextVisualHandler::~CTestCAlfLCTTextVisualHandler()
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfLCTTextVisualHandler::TestProtected
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfLCTTextVisualHandler::TestProtected( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfImageVisualHandler::CTestCAlfImageVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfImageVisualHandler::CTestCAlfImageVisualHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfImageVisualHandler( aResolver )
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfImageVisualHandler::~CTestCAlfImageVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfImageVisualHandler::~CTestCAlfImageVisualHandler()
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfImageVisualHandler::TestProtected
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfImageVisualHandler::TestProtected( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+// --------------------------------------------------------------------------
+// CTestCAlfLineVisualHandler::CTestCAlfLineVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfLineVisualHandler::CTestCAlfLineVisualHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfLineVisualHandler( aResolver )
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfLineVisualHandler::~CTestCAlfLineVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfLineVisualHandler::~CTestCAlfLineVisualHandler()
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfLineVisualHandler::TestProtected
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfLineVisualHandler::TestProtected( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+// --------------------------------------------------------------------------
+// CTestCAlfMeshVisualHandler::CTestCAlfMeshVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfMeshVisualHandler::CTestCAlfMeshVisualHandler( MAlfInterfaceProvider& aResolver )
+ : CAlfMeshVisualHandler( aResolver )
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfMeshVisualHandler::~CTestCAlfMeshVisualHandler
+// --------------------------------------------------------------------------
+//
+CTestCAlfMeshVisualHandler::~CTestCAlfMeshVisualHandler()
+ {
+ }
+// --------------------------------------------------------------------------
+// CTestCAlfMeshVisualHandler::TestProtected
+// --------------------------------------------------------------------------
+//
+TInt CTestCAlfMeshVisualHandler::TestProtected( CStifItemParser& /*aItem*/ )
+ {
+ TUid id = { 0x00000001 };
+ TAny** extent = NULL;
+ VisualHandlerExtension( id, extent );
+ return KErrNone;
+ }
+
+
+
+
+// End of file
+
+
+
--- a/uiaccelerator_plat/alf_visual_api/inc/alf/alfcompositionutility.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiaccelerator_plat/alf_visual_api/inc/alf/alfcompositionutility.h Tue May 11 17:03:00 2010 +0300
@@ -325,6 +325,13 @@
*/
IMPORT_C void SubscribeCallbackL(MAlfEffectObserver* aObserver, TInt aHandle, TInt aType = MAlfEffectObserver::EAlfEffectComplete );
+ /**
+ * Define window, that should be considered transparent
+ * by fullscreen heuristic analysis. The window will
+ * be drawn normally.
+ */
+ IMPORT_C void SetDistractionWindow(const RWindowTreeNode& aWindow, TInt aState = 1);
+
private:
CAlfEffectObserver();
class CAlfEffectObserverData;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualanchorlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,89 @@
+[Test]
+title TestAnchorLayoutAddNewL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 1
+[Endtest]
+
+[Test]
+title TestAnchorLayoutConstructorL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 2
+[Endtest]
+
+[Test]
+title TestAnchorLayoutConstructL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 3
+[Endtest]
+
+[Test]
+title TestAnchorLayoutResetL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 4
+[Endtest]
+
+[Test]
+title TestAnchorLayoutSetAnchorL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 5
+[Endtest]
+
+[Test]
+title TestAnchorLayoutSetRelativeAnchorRectL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 6
+[Endtest]
+
+[Test]
+title TestAnchorLayoutRemoveAnchorL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 7
+[Endtest]
+
+[Test]
+title TestAnchorLayoutAttachEdgeL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 8
+[Endtest]
+
+[Test]
+title TestAnchorLayoutAttachCornerL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 9
+[Endtest]
+
+[Test]
+title TestAnchorLayoutAttachBoxL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 10
+[Endtest]
+
+[Test]
+title TestAnchorLayoutDetachL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 11
+[Endtest]
+
+[Test]
+title TestAnchorLayoutDetachTypeL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 12
+[Endtest]
+
+[Test]
+title TestAnchorLayoutRemoveAndDestroyAllDL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 13
+[Endtest]
+
+[Test]
+title TestAnchorLayoutUpdateChildrenLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 14
+[Endtest]
+
+[Test]
+title TestAnchorLayoutFindTagL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 15
+[Endtest]
+
+[Test]
+title TestAnchorLayoutBaseUnitL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 16
+[Endtest]
+
+[Test]
+title TestAnchorLayoutDoRemoveAndDestroyAllDL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 17
+[Endtest]
+
+[Test]
+title TestAnchorLayoutPropertyOwnerExtensionL
+run testscripter c:\testframework\ui_testplatalfvisualanchorlayout.cfg 18
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualbatchbuffer.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,25 @@
+
+[Test]
+title TestBBSetAutoFlushModeL
+run testscripter c:\testframework\ui_testplatalfvisualbatchbuffer.cfg 1
+[Endtest]
+
+[Test]
+title TestBBAutoFlushModeL
+run testscripter c:\testframework\ui_testplatalfvisualbatchbuffer.cfg 2
+[Endtest]
+
+[Test]
+title TestBBFlushBatchBufferL
+run testscripter c:\testframework\ui_testplatalfvisualbatchbuffer.cfg 3
+[Endtest]
+
+[Test]
+title TestBBSetMaxBatchBufferSizeL
+run testscripter c:\testframework\ui_testplatalfvisualbatchbuffer.cfg 4
+[Endtest]
+
+[Test]
+title TestBBGetBatchBufferInfoL
+run testscripter c:\testframework\ui_testplatalfvisualbatchbuffer.cfg 5
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualborderbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,79 @@
+[Test]
+title TestBorderBrushNewL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 1
+[Endtest]
+
+[Test]
+title TestBorderBrushNewLCL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 2
+[Endtest]
+
+[Test]
+title TestBorderBrushOffsetNewL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 3
+[Endtest]
+
+[Test]
+title TestBorderBrushOffsetNewLCL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 4
+[Endtest]
+
+[Test]
+title TestBorderBrushSetImageL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 5
+[Endtest]
+
+[Test]
+title TestBorderBrushImageL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 6
+[Endtest]
+
+[Test]
+title TestBorderBrushSetColorL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 7
+[Endtest]
+
+[Test]
+title TestBorderBrushThicknessL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 8
+[Endtest]
+
+[Test]
+title TestBorderBrushSetThicknessL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 9
+[Endtest]
+
+[Test]
+title TestBorderBrushSetThicknessMetricL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 10
+[Endtest]
+
+[Test]
+title TestBorderBrushEdgeOffsetL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 11
+[Endtest]
+
+[Test]
+title TestBorderBrushSetEdgeOffsetL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 12
+[Endtest]
+
+[Test]
+title TestBorderBrushSetEdgeOffsetMetricL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 13
+[Endtest]
+
+[Test]
+title TestBorderBrushImageOffsetL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 14
+[Endtest]
+
+[Test]
+title TestBorderBrushSetImageOffsetL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 15
+[Endtest]
+
+[Test]
+title TestBorderBrushSetImageOffsetMetricL
+run testscripter c:\testframework\ui_testplatalfvisualborderbrush.cfg 16
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,51 @@
+[Test]
+title TestAlfBrushOpacityL
+run testscripter c:\testframework\ui_testplatalfvisualbrush.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfBrushSetOpacityL
+run testscripter c:\testframework\ui_testplatalfvisualbrush.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfBrushSetLayerL
+run testscripter c:\testframework\ui_testplatalfvisualbrush.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfBrushSetClipToVisualL
+run testscripter c:\testframework\ui_testplatalfvisualbrush.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfBrushClipToVisualL
+run testscripter c:\testframework\ui_testplatalfvisualbrush.cfg 5
+[Endtest]
+
+[Test]
+title TestAlfBrushIdentifierL
+run testscripter c:\testframework\ui_testplatalfvisualbrush.cfg 6
+[Endtest]
+
+[Test]
+title TestAlfBrushCommsL
+run testscripter c:\testframework\ui_testplatalfvisualbrush.cfg 7
+[Endtest]
+
+[Test]
+title TestAlfBrushConstructLWithParamL
+run testscripter c:\testframework\ui_testplatalfvisualbrush.cfg 8
+[Endtest]
+
+[Test]
+title TestAlfBrushConstructL
+run testscripter c:\testframework\ui_testplatalfvisualbrush.cfg 9
+[Endtest]
+
+[Test]
+title TestAlfBrushPropertyOwnerExtL
+run testscripter c:\testframework\ui_testplatalfvisualbrush.cfg 10
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualbrusharray.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,36 @@
+[Test]
+title TestBrushArrayResetL
+run testscripter c:\testframework\ui_testplatalfvisualbrusharray.cfg 1
+[Endtest]
+
+[Test]
+title TestBrushArrayAppendL
+run testscripter c:\testframework\ui_testplatalfvisualbrusharray.cfg 2
+[Endtest]
+
+[Test]
+title TestBrushArrayInsertL
+run testscripter c:\testframework\ui_testplatalfvisualbrusharray.cfg 3
+[Endtest]
+
+[Test]
+title TestBrushArrayRemoveL
+run testscripter c:\testframework\ui_testplatalfvisualbrusharray.cfg 4
+[Endtest]
+
+[Test]
+title TestBrushArrayCountL
+run testscripter c:\testframework\ui_testplatalfvisualbrusharray.cfg 5
+[Endtest]
+
+[Test]
+title TestBrushArrayOperatorL
+run testscripter c:\testframework\ui_testplatalfvisualbrusharray.cfg 6
+[Endtest]
+
+[Test]
+title TestBrushArrayAtL
+run testscripter c:\testframework\ui_testplatalfvisualbrusharray.cfg 7
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualcommand.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,66 @@
+[Test]
+title TestCmdMethods
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 1
+[Endtest]
+
+[Test]
+title TestActCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 2
+[Endtest]
+
+[Test]
+title TestObjCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 3
+[Endtest]
+
+[Test]
+title TestGroupCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 4
+[Endtest]
+
+[Test]
+title TestCtrlCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 5
+[Endtest]
+
+[Test]
+title TestVisualCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 6
+[Endtest]
+
+[Test]
+title TestImageCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 7
+[Endtest]
+
+[Test]
+title TestTextCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 8
+[Endtest]
+
+[Test]
+title TestValueCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 9
+[Endtest]
+
+[Test]
+title TestPointCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 10
+[Endtest]
+
+[Test]
+title TestTransCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 11
+[Endtest]
+
+[Test]
+title TestMarkerCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 12
+[Endtest]
+
+[Test]
+title TestCustomEventCmdMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualcommand.cfg 13
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualcontrol.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,106 @@
+[Test]
+title TestAlfCtrlConstructorL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfCtrlConstructL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfCtrlIdL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfCtrlGetCtrlMember
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfCtrlProcessVisualL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 5
+[Endtest]
+
+[Test]
+title TestAlfCtrlProcessConnectL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 6
+[Endtest]
+
+[Test]
+title TestAlfCtrlProcessRole
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 7
+[Endtest]
+
+[Test]
+title TestAlfCtrlProcessHostL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 8
+[Endtest]
+
+[Test]
+title TestAlfCtrlHostDisplayL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 9
+[Endtest]
+
+[Test]
+title TestAlfCtrlDisplayPos
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 10
+[Endtest]
+
+[Test]
+title TestAlfCtrlEventL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 11
+[Endtest]
+
+[Test]
+title TestAlfCtrlProcessFocus
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 12
+[Endtest]
+
+[Test]
+title TestAlfCtrlLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 13
+[Endtest]
+
+[Test]
+title TestAlfCtrlIdentifier
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 14
+[Endtest]
+
+[Test]
+title TestAlfCtrlBounds
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 15
+[Endtest]
+
+[Test]
+title TestAlfCtrlShowL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 16
+[Endtest]
+
+[Test]
+title TestAlfCtrlAddAndRemoveVisualL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 17
+[Endtest]
+
+[Test]
+title TestAlfCtrlNotifyControlVisibilityL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 18
+[Endtest]
+
+[Test]
+title TestAlfCtrlAddAndRemoveConnectionL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 19
+[Endtest]
+
+[Test]
+title TestAlfCtrlHostChangingL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 20
+[Endtest]
+
+[Test]
+title TestAlfCtrlPropertyOwnerExtensionL
+run testscripter c:\testframework\ui_testplatalfvisualcontrol.cfg 21
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualcontrolgroup.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,38 @@
+[Test]
+title TestAlfCtrlGroupResourceId
+run testscripter c:\testframework\ui_testplatalfvisualcontrolgroup.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfCtrlGroupProcessCtrlL
+run testscripter c:\testframework\ui_testplatalfvisualcontrolgroup.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfCtrlGroupProcessInput
+run testscripter c:\testframework\ui_testplatalfvisualcontrolgroup.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfCtrlGroupProcessTransformL
+run testscripter c:\testframework\ui_testplatalfvisualcontrolgroup.cfg 4
+[Endtest]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualcurvepath.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,30 @@
+[Test]
+title TestAlfCurvePathNewL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepath.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLoopL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepath.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfCurvePathOffsetL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepath.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfCurvePathProcessPointsL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepath.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfCurvePathResetL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepath.cfg 5
+[Endtest]
+
+[Test]
+title TestAlfCurvePathMappingFunctionIdentifierL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepath.cfg 6
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualcurvepathlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,30 @@
+[Test]
+title TestAlfCurvePathLayoutAddNewL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepathlayout.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLayoutFullConstructL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepathlayout.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLayoutForLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepathlayout.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLayoutForVisualL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepathlayout.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLayoutForMapL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepathlayout.cfg 5
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLayoutProtectedFuncL
+run testscripter c:\testframework\ui_testplatalfvisualcurvepathlayout.cfg 6
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualdecklayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,25 @@
+[Test]
+title TestAlfDeckLayoutAddNewL
+run testscripter c:\testframework\ui_testplatalfvisualDecklayout.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfDeckLayoutFullConstructL
+run testscripter c:\testframework\ui_testplatalfvisualDecklayout.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfDeckLayoutForLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualDecklayout.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfDeckLayoutForVisualL
+run testscripter c:\testframework\ui_testplatalfvisualDecklayout.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfDeckLayoutProtectedFuncL
+run testscripter c:\testframework\ui_testplatalfvisualDecklayout.cfg 5
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualdisplay.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,44 @@
+[Test]
+title TestAlfDisplayForBackgroundL
+run testscripter c:\testframework\ui_testplatalfvisualdisplay.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfDisplayForRoster
+run testscripter c:\testframework\ui_testplatalfvisualdisplay.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfDisplayForVisibleArea
+run testscripter c:\testframework\ui_testplatalfvisualdisplay.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfDisplayForSetAttributesL
+run testscripter c:\testframework\ui_testplatalfvisualdisplay.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfDisplayGetAttributes
+run testscripter c:\testframework\ui_testplatalfvisualdisplay.cfg 5
+[Endtest]
+
+[Test]
+title TestAlfDisplayFading
+run testscripter c:\testframework\ui_testplatalfvisualdisplay.cfg 6
+[Endtest]
+
+[Test]
+title TestAlfDisplayHandlePointerEventL
+run testscripter c:\testframework\ui_testplatalfvisualdisplay.cfg 7
+[Endtest]
+
+
+
+
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualdisplaybgitem.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,9 @@
+[Test]
+title TestAlfDisplayBgItemConstructor
+run testscripter c:\testframework\ui_testplatalfvisualdisplaybgitem.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfDisplayBgItemSetAttributes
+run testscripter c:\testframework\ui_testplatalfvisualdisplaybgitem.cfg 2
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualdropsshadow.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,5 @@
+[Test]
+title TestAlfDropShadowSetAttributesL
+run testscripter c:\testframework\ui_testplatalfvisualdropsshadow.cfg 1
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualdropsshadowbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,25 @@
+[Test]
+title TestAlfDropShadowBrushNewFuncsL
+run testscripter c:\testframework\ui_testplatalfvisualdropsshadowbrush.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfDropShadowBrushSoftnessL
+run testscripter c:\testframework\ui_testplatalfvisualdropsshadowbrush.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfDropShadowBrushDepthL
+run testscripter c:\testframework\ui_testplatalfvisualdropsshadowbrush.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfDropShadowBrushSetColorL
+run testscripter c:\testframework\ui_testplatalfvisualdropsshadowbrush.cfg 4
+[Endtest]
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualenv.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,91 @@
+[Test]
+title TestAlfEnvNewFuncsL
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfEnvClient
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfEnvNewDisplayL
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfEnvCtrlGroupL
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfEnvProcessFresh
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 5
+[Endtest]
+
+[Test]
+title TestAlfEnvProcessTextureManagerL
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 6
+[Endtest]
+
+[Test]
+title TestAlfEnvObserverL
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 7
+[Endtest]
+
+[Test]
+title TestAlfEnvProcessCmd
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 8
+[Endtest]
+
+[Test]
+title TestAlfEnvKeyAndPointerEventL
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 9
+[Endtest]
+
+[Test]
+title TestAlfEnvNotifyL
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 10
+[Endtest]
+
+[Test]
+title TestAlfEnvProcessWidgetL
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 11
+[Endtest]
+
+[Test]
+title TestAlfEnvGetAttributes
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 12
+[Endtest]
+
+[Test]
+title TestAlfEnvFindControl
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 13
+[Endtest]
+
+[Test]
+title TestAlfEnvFindDisplayIndex
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 14
+[Endtest]
+
+[Test]
+title TestAlfEnvAddExtension
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 15
+[Endtest]
+
+[Test]
+title TestAlfEnvSetAndReSetL
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 16
+[Endtest]
+
+[Test]
+title TestAlfEnvStatic
+run testscripter c:\testframework\ui_testplatalfvisualenv.cfg 17
+[Endtest]
+
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualevent.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,20 @@
+[Test]
+title TestAlfEventConstructor
+run testscripter c:\testframework\ui_testplatalfvisualevent.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfEventParameters
+run testscripter c:\testframework\ui_testplatalfvisualevent.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfEventCustomData
+run testscripter c:\testframework\ui_testplatalfvisualevent.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfEventDisplayAndVisual
+run testscripter c:\testframework\ui_testplatalfvisualevent.cfg 4
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualflowlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,31 @@
+[Test]
+title TestAlfFlowLayoutAddNewL
+run testscripter c:\testframework\ui_testplatalfvisualflowlayout.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfFlowLayoutFullConstructL
+run testscripter c:\testframework\ui_testplatalfvisualflowlayout.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfFlowLayoutForLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualflowlayout.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfFlowLayoutForVisualL
+run testscripter c:\testframework\ui_testplatalfvisualflowlayout.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfFlowLayoutProtectedFuncL
+run testscripter c:\testframework\ui_testplatalfvisualflowlayout.cfg 5
+[Endtest]
+
+[Test]
+title TestAlfFlowLayoutSetParametersL
+run testscripter c:\testframework\ui_testplatalfvisualflowlayout.cfg 6
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualframebrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,10 @@
+[Test]
+title TestAlfFrameBrushNewL
+run testscripter c:\testframework\ui_testplatalfvisualframebrush.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfFrameBrushSetParaL
+run testscripter c:\testframework\ui_testplatalfvisualframebrush.cfg 2
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualgencomponent.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,11 @@
+/*
+[Test]
+title TestAlfGenComponentNewL
+run testscripter c:\testframework\ui_testplatalfvisualgencomponent.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfGenComponentProcessL
+run testscripter c:\testframework\ui_testplatalfvisualgencomponent.cfg 2
+[Endtest]
+*/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualgradientbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,17 @@
+[Test]
+title TestAlfGradientBrushNewL
+run testscripter c:\testframework\ui_testplatalfvisualgradientbrush.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfGradientBrushSetL
+run testscripter c:\testframework\ui_testplatalfvisualgradientbrush.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfGradientBrushGetL
+run testscripter c:\testframework\ui_testplatalfvisualgradientbrush.cfg 3
+[Endtest]
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualgridlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,39 @@
+[Test]
+title TestAlfGridLayoutAddNewL
+run testscripter c:\testframework\ui_testplatalfvisualgridlayout.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutFullConstructL
+run testscripter c:\testframework\ui_testplatalfvisualgridlayout.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutForLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualgridlayout.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutForVisualL
+run testscripter c:\testframework\ui_testplatalfvisualgridlayout.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutProtectedFuncL
+run testscripter c:\testframework\ui_testplatalfvisualgridlayout.cfg 5
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutSetParametersL
+run testscripter c:\testframework\ui_testplatalfvisualgridlayout.cfg 6
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutGetParaL
+run testscripter c:\testframework\ui_testplatalfvisualgridlayout.cfg 7
+[Endtest]
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualimage.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,15 @@
+[Test]
+title TestAlfImageConstructorL
+run testscripter c:\testframework\ui_testplatalfvisualimage.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfImageSetAttributesL
+run testscripter c:\testframework\ui_testplatalfvisualimage.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfImageGetAttributesL
+run testscripter c:\testframework\ui_testplatalfvisualimage.cfg 3
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualimagebrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,11 @@
+[Test]
+title TestAlfImageBrushNewL
+run testscripter c:\testframework\ui_testplatalfvisualimagebrush.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfImageBrushSetAndGetParaL
+run testscripter c:\testframework\ui_testplatalfvisualimagebrush.cfg 2
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualimageloaderutil.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,19 @@
+[Test]
+title TestAlfImgLoadUtilConstructorL
+run testscripter c:\testframework\ui_testplatalfvisualimageloaderutil.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfImgLoadUtilCreateImageLoaderL
+run testscripter c:\testframework\ui_testplatalfvisualimageloaderutil.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfImgLoadUtilSetL
+run testscripter c:\testframework\ui_testplatalfvisualimageloaderutil.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfAutoSizeImgLoadUtilSetL
+run testscripter c:\testframework\ui_testplatalfvisualimageloaderutil.cfg 4
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualimagevisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,26 @@
+[Test]
+title TestAlfImgVisualFullConstructorL
+run testscripter c:\testframework\ui_testplatalfvisualimagevisual.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfImgVisualAddNewL
+run testscripter c:\testframework\ui_testplatalfvisualimagevisual.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfImgVisualSetAndGetL
+run testscripter c:\testframework\ui_testplatalfvisualimagevisual.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfImgVisualForVisualL
+run testscripter c:\testframework\ui_testplatalfvisualimagevisual.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfImgVisualProtectedFuncL
+run testscripter c:\testframework\ui_testplatalfvisualimagevisual.cfg 5
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisuallayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,30 @@
+[Test]
+title TestAlfLayoutFullConstructorL
+run testscripter c:\testframework\ui_testplatalfvisuallayout.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfLayoutAddNewL
+run testscripter c:\testframework\ui_testplatalfvisuallayout.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfLayoutSetAndGetL
+run testscripter c:\testframework\ui_testplatalfvisuallayout.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfLayoutForVisualL
+run testscripter c:\testframework\ui_testplatalfvisuallayout.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfLayoutBaseUnitL
+run testscripter c:\testframework\ui_testplatalfvisuallayout.cfg 5
+[Endtest]
+
+[Test]
+title TestAlfLayoutProtectedFuncL
+run testscripter c:\testframework\ui_testplatalfvisuallayout.cfg 6
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisuallinevisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,26 @@
+[Test]
+title TestAlfLineVisualFullConstructorL
+run testscripter c:\testframework\ui_testplatalfvisuallinevisual.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfLineVisualAddNewL
+run testscripter c:\testframework\ui_testplatalfvisuallinevisual.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfLineVisualSetAndGetL
+run testscripter c:\testframework\ui_testplatalfvisuallinevisual.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfLineVisualForVisualL
+run testscripter c:\testframework\ui_testplatalfvisuallinevisual.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfLineVisualProtectedFuncL
+run testscripter c:\testframework\ui_testplatalfvisuallinevisual.cfg 5
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualm3gmesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,4 @@
+[Test]
+title TestAlfM3GMeshLoadSceneL
+run testscripter c:\testframework\ui_testplatalfvisualm3gmesh.cfg 1
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualmapfunc.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,30 @@
+[Test]
+title TestAlfConstantMapFuncL
+run testscripter c:\testframework\ui_testplatalfvisualmapfunc.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfLinearMapFuncL
+run testscripter c:\testframework\ui_testplatalfvisualmapfunc.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfSineMapFuncL
+run testscripter c:\testframework\ui_testplatalfvisualmapfunc.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfCosineMapFuncL
+run testscripter c:\testframework\ui_testplatalfvisualmapfunc.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfAverageMapFuncL
+run testscripter c:\testframework\ui_testplatalfvisualmapfunc.cfg 5
+[Endtest]
+
+[Test]
+title TestAlfTableMapFuncL
+run testscripter c:\testframework\ui_testplatalfvisualmapfunc.cfg 6
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualmaterial.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,4 @@
+[Test]
+title TestAlfMaterialConstructor
+run testscripter c:\testframework\ui_testplatalfvisualmaterial.cfg 1
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualmesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,5 @@
+[Test]
+title TestAlfMeshSetAndGetL
+run testscripter c:\testframework\ui_testplatalfvisualmesh.cfg 1
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualmeshvisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,26 @@
+[Test]
+title TestAlfMeshVisualFullConstructorL
+run testscripter c:\testframework\ui_testplatalfvisualmeshvisual.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfMeshVisualAddNewL
+run testscripter c:\testframework\ui_testplatalfvisualmeshvisual.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfMeshVisualSetAndGetL
+run testscripter c:\testframework\ui_testplatalfvisualmeshvisual.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfMeshVisualForVisualL
+run testscripter c:\testframework\ui_testplatalfvisualmeshvisual.cfg 4
+[Endtest]
+
+[Test]
+title TestAlfMeshVisualProtectedFuncL
+run testscripter c:\testframework\ui_testplatalfvisualmeshvisual.cfg 5
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualmetric.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,16 @@
+[Test]
+title TestMetricMethods
+run testscripter c:\testframework\ui_testplatalfvisualmetric.cfg 1
+[Endtest]
+
+[Test]
+title TestXYMetricMethods
+run testscripter c:\testframework\ui_testplatalfvisualmetric.cfg 2
+[Endtest]
+
+[Test]
+title TestBoxMetricMethods
+run testscripter c:\testframework\ui_testplatalfvisualmetric.cfg 3
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualproceduralmesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,11 @@
+[Test]
+title TestProMeshMakeMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualproceduralmesh.cfg 1
+[Endtest]
+
+[Test]
+title TestProMeshMaterialMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualproceduralmesh.cfg 2
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualpropertyowner.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,31 @@
+[Test]
+title TestPropOwnerConstructorL
+run testscripter c:\testframework\ui_testplatalfvisualpropertyowner.cfg 1
+[Endtest]
+
+[Test]
+title TestPropOwnerPropertyRemoveL
+run testscripter c:\testframework\ui_testplatalfvisualpropertyowner.cfg 2
+[Endtest]
+
+[Test]
+title TestPropOwnerPropertyClearL
+run testscripter c:\testframework\ui_testplatalfvisualpropertyowner.cfg 3
+[Endtest]
+
+[Test]
+title TestPropOwnerPropertyStringL
+run testscripter c:\testframework\ui_testplatalfvisualpropertyowner.cfg 4
+[Endtest]
+
+[Test]
+title TestPropOwnerCopyPropertyL
+run testscripter c:\testframework\ui_testplatalfvisualpropertyowner.cfg 5
+[Endtest]
+
+[Test]
+title TestPropOwnerPropertyOwnerExtensionL
+run testscripter c:\testframework\ui_testplatalfvisualpropertyowner.cfg 6
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualroster.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,36 @@
+[Test]
+title TestRosterCtrlGroupMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualroster.cfg 1
+[Endtest]
+
+[Test]
+title TestRosterCtrlMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualroster.cfg 2
+[Endtest]
+
+[Test]
+title TestRosterVisualMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualroster.cfg 3
+[Endtest]
+
+[Test]
+title TestRosterPointerEventObserverMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualroster.cfg 4
+[Endtest]
+
+[Test]
+title TestRosterSetPointerDragThresholdL
+run testscripter c:\testframework\ui_testplatalfvisualroster.cfg 5
+[Endtest]
+
+[Test]
+title TestRosterDisableLongTapEventsWhenDraggingL
+run testscripter c:\testframework\ui_testplatalfvisualroster.cfg 6
+[Endtest]
+
+[Test]
+title TestRosterCtrlGroupOrderChangedObserverL
+run testscripter c:\testframework\ui_testplatalfvisualroster.cfg 7
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualscreenbuffer.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,21 @@
+[Test]
+title TestScrBufNewLMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualscreenbuffer.cfg 1
+[Endtest]
+
+[Test]
+title TestScrBufGetMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualscreenbuffer.cfg 2
+[Endtest]
+
+[Test]
+title TestScrBufRequestMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualscreenbuffer.cfg 3
+[Endtest]
+
+[Test]
+title TestScrBufObserverMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualscreenbuffer.cfg 4
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualscrollerevent.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,6 @@
+[Test]
+title TestScrollEventMethods
+run testscripter c:\testframework\ui_testplatalfvisualscrollerevent.cfg 1
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualshadowborderbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,16 @@
+[Test]
+title TestShadowBBNewL
+run testscripter c:\testframework\ui_testplatalfvisualshadowborderbrush.cfg 1
+[Endtest]
+
+[Test]
+title TestShadowBBNewLCL
+run testscripter c:\testframework\ui_testplatalfvisualshadowborderbrush.cfg 2
+[Endtest]
+
+[Test]
+title TestShadowBBWidthMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualshadowborderbrush.cfg 3
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualstatic.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,6 @@
+[Test]
+title TestStaticEnv
+run testscripter c:\testframework\ui_testplatalfvisualstatic.cfg 1
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualsymbiansbdrawer.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,16 @@
+[Test]
+title TestBufDrawerDrawBufferL
+run testscripter c:\testframework\ui_testplatalfvisualsymbiansbdrawer.cfg 1
+[Endtest]
+
+[Test]
+title TestBufDrawerGetBufferBitmapsL
+run testscripter c:\testframework\ui_testplatalfvisualsymbiansbdrawer.cfg 2
+[Endtest]
+
+[Test]
+title TestBufDrawerReleaseDrawerL
+run testscripter c:\testframework\ui_testplatalfvisualsymbiansbdrawer.cfg 3
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtextstyle.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,51 @@
+[Test]
+title TestStyleParentIdL
+run testscripter c:\testframework\ui_testplatalfvisualtextstyle.cfg 1
+[Endtest]
+
+[Test]
+title TestStyleIdL
+run testscripter c:\testframework\ui_testplatalfvisualtextstyle.cfg 2
+[Endtest]
+
+[Test]
+title TestStyleTextColorL
+run testscripter c:\testframework\ui_testplatalfvisualtextstyle.cfg 3
+[Endtest]
+
+[Test]
+title TestStyleTextSizeL
+run testscripter c:\testframework\ui_testplatalfvisualtextstyle.cfg 4
+[Endtest]
+
+[Test]
+title TestStyleBoldL
+run testscripter c:\testframework\ui_testplatalfvisualtextstyle.cfg 5
+[Endtest]
+
+[Test]
+title TestStyleItalicL
+run testscripter c:\testframework\ui_testplatalfvisualtextstyle.cfg 6
+[Endtest]
+
+[Test]
+title TestStyleUnderlineL
+run testscripter c:\testframework\ui_testplatalfvisualtextstyle.cfg 7
+[Endtest]
+
+[Test]
+title TestStyleStrikeThroughL
+run testscripter c:\testframework\ui_testplatalfvisualtextstyle.cfg 8
+[Endtest]
+
+[Test]
+title TestStyleTypefaceNameL
+run testscripter c:\testframework\ui_testplatalfvisualtextstyle.cfg 9
+[Endtest]
+
+[Test]
+title TestStyleSetTextPaneHeightInPixelsL
+run testscripter c:\testframework\ui_testplatalfvisualtextstyle.cfg 10
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtextstylemanager.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,6 @@
+[Test]
+title TestStyleMgrTextStyleMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtextstylemanager.cfg 1
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtexture.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,16 @@
+[Test]
+title TestTextureGetMethods
+run testscripter c:\testframework\ui_testplatalfvisualtexture.cfg 1
+[Endtest]
+
+[Test]
+title TestTextureAnimation
+run testscripter c:\testframework\ui_testplatalfvisualtexture.cfg 2
+[Endtest]
+
+[Test]
+title TestTextureSetMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtexture.cfg 3
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtextureautosize.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,16 @@
+[Test]
+title TestTxtAutoSizeParamsConstructor
+run testscripter c:\testframework\ui_testplatalfvisualtextureautosize.cfg 1
+[Endtest]
+
+[Test]
+title TestTxtAutoSizeParamsGetMethods
+run testscripter c:\testframework\ui_testplatalfvisualtextureautosize.cfg 2
+[Endtest]
+
+[Test]
+title TestTxtAutoSizeParamsSetMethods
+run testscripter c:\testframework\ui_testplatalfvisualtextureautosize.cfg 3
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtexturegroup.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,26 @@
+[Test]
+title TestTxtGroupNewL
+run testscripter c:\testframework\ui_testplatalfvisualtexturegroup.cfg 1
+[Endtest]
+
+[Test]
+title TestTxtGroupNewLCL
+run testscripter c:\testframework\ui_testplatalfvisualtexturegroup.cfg 2
+[Endtest]
+
+[Test]
+title TestTxtGroupTextureMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtexturegroup.cfg 3
+[Endtest]
+
+[Test]
+title TestTxtGroupIsLoadingCompletedL
+run testscripter c:\testframework\ui_testplatalfvisualtexturegroup.cfg 4
+[Endtest]
+
+[Test]
+title TestTxtGroupObserverMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtexturegroup.cfg 5
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtexturemanager.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,76 @@
+[Test]
+title TestTxtMgrEnv
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 1
+[Endtest]
+
+[Test]
+title TestTxtMgrTextureL
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 2
+[Endtest]
+
+[Test]
+title TestTxtMgrImagePathL
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 3
+[Endtest]
+
+[Test]
+title TestTxtMgrBlankTexture
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 4
+[Endtest]
+
+[Test]
+title TestTxtMgrLoadTextureL
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 5
+[Endtest]
+
+[Test]
+title TestTxtMgrCreateTextureL
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 6
+[Endtest]
+
+[Test]
+title TestTxtMgrUnloadTextureL
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 7
+[Endtest]
+
+[Test]
+title TestTxtMgrUpdateTextureL
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 8
+[Endtest]
+
+[Test]
+title TestTxtMgrDefineFileNameL
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 9
+[Endtest]
+
+[Test]
+title TestTxtMgrPrependImagePath
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 10
+[Endtest]
+
+[Test]
+title TestTxtMgrObserverMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 11
+[Endtest]
+
+[Test]
+title TestTxtMgrProcessor
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 12
+[Endtest]
+
+[Test]
+title TestTxtMgrSetAutomaticTextureIdRange
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 13
+[Endtest]
+
+[Test]
+title TestTxtMgrIsLoadedL
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 14
+[Endtest]
+
+[Test]
+title TestTxtMgrTextureIdL
+run testscripter c:\testframework\ui_testplatalfvisualtexturemanager.cfg 15
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtextureprocessor.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,6 @@
+[Test]
+title TestTxtProcessorBlurL
+run testscripter c:\testframework\ui_testplatalfvisualtextureprocessor.cfg 1
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtextvisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,101 @@
+[Test]
+title TestTxtVisualAddNewL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 1
+[Endtest]
+
+[Test]
+title TestTxtVisualConstructorL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 2
+[Endtest]
+
+[Test]
+title TestTxtVisualConstructL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 3
+[Endtest]
+
+[Test]
+title TestTxtVisualTxtMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 4
+[Endtest]
+
+[Test]
+title TestTxtVisualStyleMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 5
+[Endtest]
+
+[Test]
+title TestTxtVisualSetAlignL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 6
+[Endtest]
+
+[Test]
+title TestTxtVisualSetLineSpacingL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 7
+[Endtest]
+
+[Test]
+title TestTxtVisualExtentsMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 8
+[Endtest]
+
+[Test]
+title TestTxtVisualMaxLineCountMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 9
+[Endtest]
+
+[Test]
+title TestTxtVisualWrappingMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 10
+[Endtest]
+
+[Test]
+title TestTxtVisualBackgroundTypeL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 11
+[Endtest]
+
+[Test]
+title TestTxtVisualShadowOpacityMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 12
+[Endtest]
+
+[Test]
+title TestTxtVisualColorMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 13
+[Endtest]
+
+[Test]
+title TestTxtVisualEnableShadowL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 14
+[Endtest]
+
+[Test]
+title TestTxtVisualOffsetMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 15
+[Endtest]
+
+[Test]
+title TestTxtVisualRemoveAndDestroyAllDL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 16
+[Endtest]
+
+[Test]
+title TestTxtVisualUpdateChildrenLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 17
+[Endtest]
+
+[Test]
+title TestTxtVisualFindTagL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 18
+[Endtest]
+
+[Test]
+title TestTxtVisualSetHighlightRangeL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 19
+[Endtest]
+
+[Test]
+title TestTxtVisualProtectedMethodsL
+run testscripter c:\testframework\ui_testplatalfvisualtextvisual.cfg 20
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtimedvalue.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,70 @@
+[Test]
+title TestTimedValueConstructor
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 1
+[Endtest]
+
+[Test]
+title TestTimedValueValueNow
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 2
+[Endtest]
+
+[Test]
+title TestTimedValueTargetAndSpeed
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 3
+[Endtest]
+
+[Test]
+title TestTimedValueStyle
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 4
+[Endtest]
+
+[Test]
+title TestTimedValueMappingFunctionIdentifier
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 5
+[Endtest]
+
+[Test]
+title TestTimedValueFlags
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 6
+[Endtest]
+
+[Test]
+title TestRealPointMethods
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 7
+[Endtest]
+
+[Test]
+title TestRealSizeMethods
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 8
+[Endtest]
+
+[Test]
+title TestRealRectMethods
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 9
+[Endtest]
+
+[Test]
+title TestTimedPointConstructor
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 10
+[Endtest]
+
+[Test]
+title TestTimedPointSetStyle
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 11
+[Endtest]
+
+[Test]
+title TestTimedPointSetMapFuncIdentifier
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 12
+[Endtest]
+
+[Test]
+title TestTimedPointTargetMethods
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 13
+[Endtest]
+
+[Test]
+title TestTimedPointValueNowMethods
+run testscripter c:\testframework\ui_testplatalfvisualtimedvalue.cfg 14
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtransformation.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,51 @@
+[Test]
+title TestTransNewL
+run testscripter c:\testframework\ui_testplatalfvisualtransformation.cfg 1
+[Endtest]
+
+[Test]
+title TestTransNewLCL
+run testscripter c:\testframework\ui_testplatalfvisualtransformation.cfg 2
+[Endtest]
+
+[Test]
+title TestTransCountL
+run testscripter c:\testframework\ui_testplatalfvisualtransformation.cfg 3
+[Endtest]
+
+[Test]
+title TestTransNonIdentityCountL
+run testscripter c:\testframework\ui_testplatalfvisualtransformation.cfg 4
+[Endtest]
+
+[Test]
+title TestTransStepL
+run testscripter c:\testframework\ui_testplatalfvisualtransformation.cfg 5
+[Endtest]
+
+[Test]
+title TestTransReplaceStepL
+run testscripter c:\testframework\ui_testplatalfvisualtransformation.cfg 6
+[Endtest]
+
+[Test]
+title TestTransLoadIdentityL
+run testscripter c:\testframework\ui_testplatalfvisualtransformation.cfg 7
+[Endtest]
+
+[Test]
+title TestTransTranslateL
+run testscripter c:\testframework\ui_testplatalfvisualtransformation.cfg 8
+[Endtest]
+
+[Test]
+title TestTransScaleL
+run testscripter c:\testframework\ui_testplatalfvisualtransformation.cfg 9
+[Endtest]
+
+[Test]
+title TestTransRotateL
+run testscripter c:\testframework\ui_testplatalfvisualtransformation.cfg 10
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualutil.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,135 @@
+[Test]
+title TestUtilPower2
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 1
+[Endtest]
+
+[Test]
+title TestUtilPower2RoundDown
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 2
+[Endtest]
+
+[Test]
+title TestUtilInterpolate
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 3
+[Endtest]
+
+[Test]
+title TestUtilWrapValue
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 4
+[Endtest]
+
+[Test]
+title TestUtilRandomInt
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 5
+[Endtest]
+
+[Test]
+title TestUtilRandomReal
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 6
+[Endtest]
+
+[Test]
+title TestUtilQuickLengthWithPoint
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 7
+[Endtest]
+
+[Test]
+title TestUtilQuickLength
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 8
+[Endtest]
+
+[Test]
+title TestUtilQuickNormalize
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 9
+[Endtest]
+
+[Test]
+title TestUtilQuickNormalizeWithVector
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 10
+[Endtest]
+
+[Test]
+title TestUtilCrossProduct
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 11
+[Endtest]
+
+[Test]
+title TestUtilNormalFromPoints
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 12
+[Endtest]
+
+[Test]
+title TestUtilShadowMatrix
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 13
+[Endtest]
+
+[Test]
+title TestUtilFreeMemory
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 14
+[Endtest]
+
+[Test]
+title TestUtilScreenSize
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 15
+[Endtest]
+
+[Test]
+title TestUtilNearestFontInTwipsL
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 16
+[Endtest]
+
+[Test]
+title TestUtilReleaseFont
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 17
+[Endtest]
+
+[Test]
+title TestUtilLengthUnit
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 18
+[Endtest]
+
+[Test]
+title TestUtilColorLightness
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 19
+[Endtest]
+
+[Test]
+title TestUtilScaleFbsBitmapL
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 20
+[Endtest]
+
+[Test]
+title TestUtilCombineMaskFbsBitmapL
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 21
+[Endtest]
+
+[Test]
+title TestUtilCropFbsBitmapL
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 22
+[Endtest]
+
+[Test]
+title TestUtilScaleImageL
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 23
+[Endtest]
+
+[Test]
+title TestUtilCropImageL
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 24
+[Endtest]
+
+[Test]
+title TestUtilTagMatches
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 25
+[Endtest]
+
+[Test]
+title TestUtilConvertBitmapToDisplayModeLCL
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 26
+[Endtest]
+
+[Test]
+title TestUtilThemeItemIdL
+run testscripter c:\testframework\ui_testplatalfvisualutil.cfg 27
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualviewportlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,60 @@
+[Test]
+title TestVpLayoutAddNewL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 1
+[Endtest]
+
+[Test]
+title TestVpLayoutConstructorL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 2
+[Endtest]
+
+[Test]
+title TestVpLayoutConstructL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 3
+[Endtest]
+
+[Test]
+title TestVpLayoutSetVirtualSizeL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 4
+[Endtest]
+
+[Test]
+title TestVpLayoutSetViewportSizeL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 5
+[Endtest]
+
+[Test]
+title TestVpLayoutSetViewportPosL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 6
+[Endtest]
+
+[Test]
+title TestVpLayoutRemoveAndDestroyAllDL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 7
+[Endtest]
+
+[Test]
+title TestVpLayoutUpdateChildrenLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 8
+[Endtest]
+
+[Test]
+title TestVpLayoutFindTagL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 9
+[Endtest]
+
+[Test]
+title TestVpLayoutBaseUnitL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 10
+[Endtest]
+
+[Test]
+title TestVpLayoutDoRemoveAndDestroyAllDL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 11
+[Endtest]
+
+[Test]
+title TestVpLayoutPropertyOwnerExtensionL
+run testscripter c:\testframework\ui_testplatalfvisualviewportlayout.cfg 12
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualvisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,406 @@
+[Test]
+title TestCAlfVCAlfVisualL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 1
+[Endtest]
+
+[Test]
+title TestCAlfVConstructL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 2
+[Endtest]
+
+[Test]
+title TestCAlfVRemoveAndDestroyAllDL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 3
+[Endtest]
+
+[Test]
+title TestCAlfVIdentifierL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 4
+[Endtest]
+
+[Test]
+title TestCAlfVSetFlagL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 5
+[Endtest]
+
+[Test]
+title TestCAlfVSetFlagsL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 6
+[Endtest]
+
+[Test]
+title TestCAlfVClearFlagL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 7
+[Endtest]
+
+[Test]
+title TestCAlfVClearFlagsL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 8
+[Endtest]
+
+[Test]
+title TestCAlfVFlagsL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 9
+[Endtest]
+
+[Test]
+title TestCAlfVLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 10
+[Endtest]
+
+[Test]
+title TestCAlfVPosL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 11
+[Endtest]
+
+[Test]
+title TestCAlfVSetPosL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 12
+[Endtest]
+
+[Test]
+title TestCAlfVSizeL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 13
+[Endtest]
+
+[Test]
+title TestCAlfVSetSizeL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 14
+[Endtest]
+
+[Test]
+title TestCAlfVOpacityL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 15
+[Endtest]
+
+[Test]
+title TestCAlfVSetOpacityL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 16
+[Endtest]
+
+[Test]
+title TestCAlfVEnvL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 17
+[Endtest]
+
+[Test]
+title TestCAlfVDisplayL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 18
+[Endtest]
+
+[Test]
+title TestCAlfVTagL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 19
+[Endtest]
+
+[Test]
+title TestCAlfVUpdateChildrenLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 20
+[Endtest]
+
+[Test]
+title TestCAlfVDisplayRectTargetL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 21
+[Endtest]
+
+[Test]
+title TestCAlfVLocalToDisplayL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 22
+[Endtest]
+
+[Test]
+title TestCAlfVLocalToDisplayWithRealPointL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 23
+[Endtest]
+
+[Test]
+title TestCAlfVDisplayToLocalL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 24
+[Endtest]
+
+[Test]
+title TestCAlfVDisplayToLocalWithRealPointL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 25
+[Endtest]
+
+[Test]
+title TestCAlfVEnableBrushesL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 26
+[Endtest]
+
+[Test]
+title TestCAlfVBrushesL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 27
+[Endtest]
+
+[Test]
+title TestCAlfVMoveToFrontL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 28
+[Endtest]
+
+[Test]
+title TestCAlfVEnableTransformationL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 29
+[Endtest]
+
+[Test]
+title TestCAlfVTransformationL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 30
+[Endtest]
+
+[Test]
+title TestCAlfVSetPaddingL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 31
+[Endtest]
+
+[Test]
+title TestCAlfVSetPaddingWithPointL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 32
+[Endtest]
+
+[Test]
+title TestCAlfVSetPaddingWithMetricL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 33
+[Endtest]
+
+[Test]
+title TestCAlfVPaddingInPixelsL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 34
+[Endtest]
+
+[Test]
+title TestCAlfVSetTagL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 35
+[Endtest]
+
+[Test]
+title TestCAlfVIsTaggedL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 36
+[Endtest]
+
+[Test]
+title TestCAlfVFindTagL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 37
+[Endtest]
+
+[Test]
+title TestCAlfVConstructWithMoreParamsL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 38
+[Endtest]
+
+[Test]
+title TestCAlfVCommsL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 39
+[Endtest]
+
+[Test]
+title TestCAlfVDepthOffsetL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 40
+[Endtest]
+
+[Test]
+title TestCAlfVSetDepthOffsetL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 41
+[Endtest]
+
+[Test]
+title TestCAlfVOwnerL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 42
+[Endtest]
+
+[Test]
+title TestCAlfVSetOwnerL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 43
+[Endtest]
+
+[Test]
+title TestCAlfVSetOriginL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 44
+[Endtest]
+
+[Test]
+title TestCAlfVHorizontalOriginL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 45
+[Endtest]
+
+[Test]
+title TestCAlfVVerticalOriginL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 46
+[Endtest]
+
+[Test]
+title TestCAlfVAlignByOriginL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 47
+[Endtest]
+
+[Test]
+title TestCAlfVSetMinSizeL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 48
+[Endtest]
+
+[Test]
+title TestCAlfVSetMinSizeWithRealSizeL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 49
+[Endtest]
+
+[Test]
+title TestCAlfVMinSizeL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 50
+[Endtest]
+
+[Test]
+title TestCAlfVMinSizeInBaseUnitsL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 51
+[Endtest]
+
+[Test]
+title TestCAlfVSetMaxSizeL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 52
+[Endtest]
+
+[Test]
+title TestCAlfVSetMaxSizeWithRealSizeL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 53
+[Endtest]
+
+[Test]
+title TestCAlfVMaxSizeL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 54
+[Endtest]
+
+[Test]
+title TestCAlfVMaxSizeInBaseUnitsL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 55
+[Endtest]
+
+[Test]
+title TestCAlfVSetRectL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 56
+[Endtest]
+
+[Test]
+title TestCAlfVMoveL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 57
+[Endtest]
+
+[Test]
+title TestCAlfVMoveWithRealPointL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 58
+[Endtest]
+
+[Test]
+title TestCAlfVMimicL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 59
+[Endtest]
+
+[Test]
+title TestCAlfVSetCenteredPosAndSizeL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 60
+[Endtest]
+
+[Test]
+title TestCAlfVSetCenteredPosAndSizeWithRealL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 61
+[Endtest]
+
+[Test]
+title TestCAlfVDisplayRectL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 62
+[Endtest]
+
+[Test]
+title TestCAlfVEffectiveOpacityL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 63
+[Endtest]
+
+[Test]
+title TestCAlfVSetClippingL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 64
+[Endtest]
+
+[Test]
+title TestCAlfVClippingL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 65
+[Endtest]
+
+[Test]
+title TestCAlfVPaddingL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 66
+[Endtest]
+
+[Test]
+title TestCAlfVPaddingAsMetricL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 67
+[Endtest]
+
+[Test]
+title TestCAlfVHorizontalPaddingL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 68
+[Endtest]
+
+[Test]
+title TestCAlfVVerticalPaddingL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 69
+[Endtest]
+
+[Test]
+title TestCAlfVSetPosWithTimedPointL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 70
+[Endtest]
+
+[Test]
+title TestCAlfVSetSizeWithTimedPointL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 71
+[Endtest]
+
+[Test]
+title TestCAlfVCopyValuesL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 72
+[Endtest]
+
+[Test]
+title TestCAlfVPauseL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 73
+[Endtest]
+
+[Test]
+title TestCAlfVResumeL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 74
+[Endtest]
+
+[Test]
+title TestCAlfVDoRemoveAndDestroyAllDL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 75
+[Endtest]
+
+[Test]
+title TestCAlfVSetTactileFeedbackL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 76
+[Endtest]
+
+[Test]
+title TestCAlfVHasTactileFeedbackL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 77
+[Endtest]
+
+[Test]
+title TestCAlfVRemoveTactileFeedbackL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 78
+[Endtest]
+
+[Test]
+title TestCAlfVEnableDropShadowL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 79
+[Endtest]
+
+[Test]
+title TestCAlfVDropShadowHandlerL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 80
+[Endtest]
+
+[Test]
+title TestCAlfVPropertyOwnerExtensionL
+run testscripter c:\testframework\ui_testplatalfvisualvisual.cfg 81
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualvisualfactory.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,21 @@
+[Test]
+title TestAlfVFNewLayoutL
+run testscripter c:\testframework\ui_testplatalfvisualvisualfactory.cfg 1
+[Endtest]
+
+[Test]
+title TestAlfVFNewLayoutLCL
+run testscripter c:\testframework\ui_testplatalfvisualvisualfactory.cfg 2
+[Endtest]
+
+[Test]
+title TestAlfVFNewVisualL
+run testscripter c:\testframework\ui_testplatalfvisualvisualfactory.cfg 3
+[Endtest]
+
+[Test]
+title TestAlfVFNewVisualLCL
+run testscripter c:\testframework\ui_testplatalfvisualvisualfactory.cfg 4
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualanchorlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,125 @@
+[Test]
+title TestAnchorLayoutAddNewL
+create testplatalfvisual test
+test TestAnchorLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutConstructorL
+create testplatalfvisual test
+test TestAnchorLayoutConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutConstructL
+create testplatalfvisual test
+test TestAnchorLayoutConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutResetL
+create testplatalfvisual test
+test TestAnchorLayoutResetL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutSetAnchorL
+create testplatalfvisual test
+test TestAnchorLayoutSetAnchorL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutSetRelativeAnchorRectL
+create testplatalfvisual test
+test TestAnchorLayoutSetRelativeAnchorRectL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutRemoveAnchorL
+create testplatalfvisual test
+test TestAnchorLayoutRemoveAnchorL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutAttachEdgeL
+create testplatalfvisual test
+test TestAnchorLayoutAttachEdgeL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutAttachCornerL
+create testplatalfvisual test
+test TestAnchorLayoutAttachCornerL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutAttachBoxL
+create testplatalfvisual test
+test TestAnchorLayoutAttachBoxL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutDetachL
+create testplatalfvisual test
+test TestAnchorLayoutDetachL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutDetachTypeL
+create testplatalfvisual test
+test TestAnchorLayoutDetachTypeL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutRemoveAndDestroyAllDL
+create testplatalfvisual test
+test TestAnchorLayoutRemoveAndDestroyAllDL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutUpdateChildrenLayoutL
+create testplatalfvisual test
+test TestAnchorLayoutUpdateChildrenLayoutL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutFindTagL
+create testplatalfvisual test
+test TestAnchorLayoutFindTagL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutBaseUnitL
+create testplatalfvisual test
+test TestAnchorLayoutBaseUnitL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutDoRemoveAndDestroyAllDL
+create testplatalfvisual test
+test TestAnchorLayoutDoRemoveAndDestroyAllDL
+delete test
+[Endtest]
+
+[Test]
+title TestAnchorLayoutPropertyOwnerExtensionL
+create testplatalfvisual test
+test TestAnchorLayoutPropertyOwnerExtensionL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualbatchbuffer.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,35 @@
+
+[Test]
+title TestBBSetAutoFlushModeL
+create testplatalfvisual test
+test TestBBSetAutoFlushModeL
+delete test
+[Endtest]
+
+[Test]
+title TestBBAutoFlushModeL
+create testplatalfvisual test
+test TestBBAutoFlushModeL
+delete test
+[Endtest]
+
+[Test]
+title TestBBFlushBatchBufferL
+create testplatalfvisual test
+test TestBBFlushBatchBufferL
+delete test
+[Endtest]
+
+[Test]
+title TestBBSetMaxBatchBufferSizeL
+create testplatalfvisual test
+test TestBBSetMaxBatchBufferSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestBBGetBatchBufferInfoL
+create testplatalfvisual test
+test TestBBGetBatchBufferInfoL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualborderbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,111 @@
+[Test]
+title TestBorderBrushNewL
+create testplatalfvisual test
+test TestBorderBrushNewL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushNewLCL
+create testplatalfvisual test
+test TestBorderBrushNewLCL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushOffsetNewL
+create testplatalfvisual test
+test TestBorderBrushOffsetNewL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushOffsetNewLCL
+create testplatalfvisual test
+test TestBorderBrushOffsetNewLCL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushSetImageL
+create testplatalfvisual test
+test TestBorderBrushSetImageL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushImageL
+create testplatalfvisual test
+test TestBorderBrushImageL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushSetColorL
+create testplatalfvisual test
+test TestBorderBrushSetColorL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushThicknessL
+create testplatalfvisual test
+test TestBorderBrushThicknessL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushSetThicknessL
+create testplatalfvisual test
+test TestBorderBrushSetThicknessL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushSetThicknessMetricL
+create testplatalfvisual test
+test TestBorderBrushSetThicknessMetricL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushEdgeOffsetL
+create testplatalfvisual test
+test TestBorderBrushEdgeOffsetL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushSetEdgeOffsetL
+create testplatalfvisual test
+test TestBorderBrushSetEdgeOffsetL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushSetEdgeOffsetMetricL
+create testplatalfvisual test
+test TestBorderBrushSetEdgeOffsetMetricL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushImageOffsetL
+create testplatalfvisual test
+test TestBorderBrushImageOffsetL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushSetImageOffsetL
+create testplatalfvisual test
+test TestBorderBrushSetImageOffsetL
+delete test
+[Endtest]
+
+[Test]
+title TestBorderBrushSetImageOffsetMetricL
+create testplatalfvisual test
+test TestBorderBrushSetImageOffsetMetricL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,67 @@
+[Test]
+title TestAlfBrushOpacityL
+create testplatalfvisual test
+test TestAlfBrushOpacityL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfBrushSetOpacityL
+create testplatalfvisual test
+test TestAlfBrushSetOpacityL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfBrushSetLayerL
+create testplatalfvisual test
+test TestAlfBrushSetLayerL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfBrushSetClipToVisualL
+create testplatalfvisual test
+test TestAlfBrushSetClipToVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfBrushClipToVisualL
+create testplatalfvisual test
+test TestAlfBrushClipToVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfBrushIdentifierL
+create testplatalfvisual test
+test TestAlfBrushIdentifierL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfBrushCommsL
+create testplatalfvisual test
+test TestAlfBrushCommsL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfBrushConstructLWithParamL
+create testplatalfvisual test
+test TestAlfBrushConstructLWithParamL
+delete test
+[Endtest]
+[Test]
+title TestAlfBrushConstructL
+create testplatalfvisual test
+test TestAlfBrushConstructL
+delete test
+[Endtest]
+[Test]
+title TestAlfBrushPropertyOwnerExtL
+create testplatalfvisual test
+test TestAlfBrushPropertyOwnerExtL
+delete test
+[Endtest]
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualbrusharray.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,50 @@
+[Test]
+title TestBrushArrayResetL
+create testplatalfvisual test
+test TestBrushArrayResetL
+delete test
+[Endtest]
+
+[Test]
+title TestBrushArrayAppendL
+create testplatalfvisual test
+test TestBrushArrayAppendL
+delete test
+[Endtest]
+
+[Test]
+title TestBrushArrayInsertL
+create testplatalfvisual test
+test TestBrushArrayInsertL
+delete test
+[Endtest]
+
+[Test]
+title TestBrushArrayRemoveL
+create testplatalfvisual test
+test TestBrushArrayRemoveL
+delete test
+[Endtest]
+
+[Test]
+title TestBrushArrayCountL
+create testplatalfvisual test
+test TestBrushArrayCountL
+delete test
+[Endtest]
+
+[Test]
+title TestBrushArrayOperatorL
+create testplatalfvisual test
+test TestBrushArrayOperatorL
+delete test
+[Endtest]
+
+[Test]
+title TestBrushArrayAtL
+create testplatalfvisual test
+test TestBrushArrayAtL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualcommand.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,92 @@
+[Test]
+title TestCmdMethods
+create testplatalfvisual test
+test TestCmdMethods
+delete test
+[Endtest]
+
+[Test]
+title TestActCmdMethodsL
+create testplatalfvisual test
+test TestActCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestObjCmdMethodsL
+create testplatalfvisual test
+test TestObjCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestGroupCmdMethodsL
+create testplatalfvisual test
+test TestGroupCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestCtrlCmdMethodsL
+create testplatalfvisual test
+test TestCtrlCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestVisualCmdMethodsL
+create testplatalfvisual test
+test TestVisualCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestImageCmdMethodsL
+create testplatalfvisual test
+test TestImageCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTextCmdMethodsL
+create testplatalfvisual test
+test TestTextCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestValueCmdMethodsL
+create testplatalfvisual test
+test TestValueCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestPointCmdMethodsL
+create testplatalfvisual test
+test TestPointCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTransCmdMethodsL
+create testplatalfvisual test
+test TestTransCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestMarkerCmdMethodsL
+create testplatalfvisual test
+test TestMarkerCmdMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestCustomEventCmdMethodsL
+create testplatalfvisual test
+test TestCustomEventCmdMethodsL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualcontrol.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,149 @@
+[Test]
+title TestAlfCtrlConstructorL
+create testplatalfvisual test
+test TestAlfCtrlConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlConstructL
+create testplatalfvisual test
+test TestAlfCtrlConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlIdL
+create testplatalfvisual test
+test TestAlfCtrlIdL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlGetCtrlMember
+create testplatalfvisual test
+test TestAlfCtrlGetCtrlMember
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlProcessVisualL
+create testplatalfvisual test
+test TestAlfCtrlProcessVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlProcessConnectL
+create testplatalfvisual test
+test TestAlfCtrlProcessConnectL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlProcessRole
+create testplatalfvisual test
+test TestAlfCtrlProcessRole
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlProcessHostL
+create testplatalfvisual test
+test TestAlfCtrlProcessHostL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlHostDisplayL
+create testplatalfvisual test
+test TestAlfCtrlHostDisplayL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlDisplayPos
+create testplatalfvisual test
+test TestAlfCtrlDisplayPos
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlEventL
+create testplatalfvisual test
+test TestAlfCtrlEventL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlProcessFocus
+create testplatalfvisual test
+test TestAlfCtrlProcessFocus
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlLayoutL
+create testplatalfvisual test
+test TestAlfCtrlLayoutL
+delete test
+[Endtest]
+
+
+[Test]
+title TestAlfCtrlIdentifier
+create testplatalfvisual test
+test TestAlfCtrlIdentifier
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlBounds
+create testplatalfvisual test
+test TestAlfCtrlBounds
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlShowL
+create testplatalfvisual test
+test TestAlfCtrlShowL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlAddAndRemoveVisualL
+create testplatalfvisual test
+test TestAlfCtrlAddAndRemoveVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlNotifyControlVisibilityL
+create testplatalfvisual test
+test TestAlfCtrlNotifyControlVisibilityL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlAddAndRemoveConnectionL
+create testplatalfvisual test
+test TestAlfCtrlAddAndRemoveConnectionL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlHostChangingL
+create testplatalfvisual test
+test TestAlfCtrlHostChangingL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlPropertyOwnerExtensionL
+create testplatalfvisual test
+test TestAlfCtrlPropertyOwnerExtensionL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualcontrolgroup.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,49 @@
+[Test]
+title TestAlfCtrlGroupResourceId
+create testplatalfvisual test
+test TestAlfCtrlGroupResourceId
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlGroupProcessCtrlL
+create testplatalfvisual test
+test TestAlfCtrlGroupProcessCtrlL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlGroupProcessInput
+create testplatalfvisual test
+test TestAlfCtrlGroupProcessInput
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCtrlGroupProcessTransformL
+create testplatalfvisual test
+test TestAlfCtrlGroupProcessTransformL
+delete test
+[Endtest]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualcurvepath.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,42 @@
+[Test]
+title TestAlfCurvePathNewL
+create testplatalfvisual test
+test TestAlfCurvePathNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLoopL
+create testplatalfvisual test
+test TestAlfCurvePathLoopL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCurvePathOffsetL
+create testplatalfvisual test
+test TestAlfCurvePathOffsetL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCurvePathProcessPointsL
+create testplatalfvisual test
+test TestAlfCurvePathProcessPointsL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCurvePathResetL
+create testplatalfvisual test
+test TestAlfCurvePathResetL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCurvePathMappingFunctionIdentifierL
+create testplatalfvisual test
+test TestAlfCurvePathMappingFunctionIdentifierL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualcurvepathlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,43 @@
+[Test]
+title TestAlfCurvePathLayoutAddNewL
+create testplatalfvisual test
+test TestAlfCurvePathLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLayoutFullConstructL
+create testplatalfvisual test
+test TestAlfCurvePathLayoutFullConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLayoutForLayoutL
+create testplatalfvisual test
+test TestAlfCurvePathLayoutForLayoutL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLayoutForVisualL
+create testplatalfvisual test
+test TestAlfCurvePathLayoutForVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLayoutForMapL
+create testplatalfvisual test
+test TestAlfCurvePathLayoutForMapL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCurvePathLayoutProtectedFuncL
+create testplatalfvisual test
+test TestAlfCurvePathLayoutProtectedFuncL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualdecklayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,36 @@
+[Test]
+title TestAlfDeckLayoutAddNewL
+create testplatalfvisual test
+test TestAlfDeckLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDeckLayoutFullConstructL
+create testplatalfvisual test
+test TestAlfDeckLayoutFullConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDeckLayoutForLayoutL
+create testplatalfvisual test
+test TestAlfDeckLayoutForLayoutL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDeckLayoutForVisualL
+create testplatalfvisual test
+test TestAlfDeckLayoutForVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDeckLayoutProtectedFuncL
+create testplatalfvisual test
+test TestAlfDeckLayoutProtectedFuncL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualdisplay.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,57 @@
+[Test]
+title TestAlfDisplayForBackgroundL
+create testplatalfvisual test
+test TestAlfDisplayForBackgroundL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDisplayForRoster
+create testplatalfvisual test
+test TestAlfDisplayForRoster
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDisplayForVisibleArea
+create testplatalfvisual test
+test TestAlfDisplayForVisibleArea
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDisplayForSetAttributesL
+create testplatalfvisual test
+test TestAlfDisplayForSetAttributesL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDisplayGetAttributes
+create testplatalfvisual test
+test TestAlfDisplayGetAttributes
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDisplayFading
+create testplatalfvisual test
+test TestAlfDisplayFading
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDisplayHandlePointerEventL
+create testplatalfvisual test
+test TestAlfDisplayHandlePointerEventL
+delete test
+[Endtest]
+
+
+
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualdisplaybgitem.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,15 @@
+[Test]
+title TestAlfDisplayBgItemConstructor
+create testplatalfvisual test
+test TestAlfDisplayBgItemConstructor
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDisplayBgItemSetAttributes
+create testplatalfvisual test
+test TestAlfDisplayBgItemSetAttributes
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualdropsshadow.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,7 @@
+[Test]
+title TestAlfDropShadowSetAttributesL
+create testplatalfvisual test
+test TestAlfDropShadowSetAttributesL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualdropsshadowbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,39 @@
+[Test]
+title TestAlfDropShadowBrushNewFuncsL
+create testplatalfvisual test
+test TestAlfDropShadowBrushNewFuncsL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDropShadowBrushSoftnessL
+create testplatalfvisual test
+test TestAlfDropShadowBrushSoftnessL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDropShadowBrushDepthL
+create testplatalfvisual test
+test TestAlfDropShadowBrushDepthL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfDropShadowBrushSetColorL
+create testplatalfvisual test
+test TestAlfDropShadowBrushSetColorL
+delete test
+[Endtest]
+
+
+
+
+
+
+
+
+
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualenv.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,120 @@
+[Test]
+title TestAlfEnvNewFuncsL
+create testplatalfvisual test
+test TestAlfEnvNewFuncsL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvClient
+create testplatalfvisual test
+test TestAlfEnvClient
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvNewDisplayL
+create testplatalfvisual test
+test TestAlfEnvNewDisplayL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvCtrlGroupL
+create testplatalfvisual test
+test TestAlfEnvCtrlGroupL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvProcessFresh
+create testplatalfvisual test
+test TestAlfEnvProcessFresh
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvProcessTextureManagerL
+create testplatalfvisual test
+test TestAlfEnvProcessTextureManagerL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvObserverL
+create testplatalfvisual test
+test TestAlfEnvObserverL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvProcessCmd
+create testplatalfvisual test
+test TestAlfEnvProcessCmd
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvKeyAndPointerEventL
+create testplatalfvisual test
+test TestAlfEnvKeyAndPointerEventL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvNotifyL
+create testplatalfvisual test
+test TestAlfEnvNotifyL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvProcessWidgetL
+create testplatalfvisual test
+test TestAlfEnvProcessWidgetL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvGetAttributes
+create testplatalfvisual test
+test TestAlfEnvGetAttributes
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvFindControl
+create testplatalfvisual test
+test TestAlfEnvFindControl
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvFindDisplayIndex
+create testplatalfvisual test
+test TestAlfEnvFindDisplayIndex
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvAddExtension
+create testplatalfvisual test
+test TestAlfEnvAddExtension
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvSetAndReSetL
+create testplatalfvisual test
+test TestAlfEnvSetAndReSetL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEnvStatic
+create testplatalfvisual test
+test TestAlfEnvStatic
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualevent.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,28 @@
+[Test]
+title TestAlfEventConstructor
+create testplatalfvisual test
+test TestAlfEventConstructor
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEventParameters
+create testplatalfvisual test
+test TestAlfEventParameters
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEventCustomData
+create testplatalfvisual test
+test TestAlfEventCustomData
+delete test
+[Endtest]
+
+[Test]
+title TestAlfEventDisplayAndVisual
+create testplatalfvisual test
+test TestAlfEventDisplayAndVisual
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualflowlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,42 @@
+[Test]
+title TestAlfFlowLayoutAddNewL
+create testplatalfvisual test
+test TestAlfFlowLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfFlowLayoutFullConstructL
+create testplatalfvisual test
+test TestAlfFlowLayoutFullConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfFlowLayoutForLayoutL
+create testplatalfvisual test
+test TestAlfFlowLayoutForLayoutL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfFlowLayoutForVisualL
+create testplatalfvisual test
+test TestAlfFlowLayoutForVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfFlowLayoutProtectedFuncL
+create testplatalfvisual test
+test TestAlfFlowLayoutProtectedFuncL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfFlowLayoutSetParametersL
+create testplatalfvisual test
+test TestAlfFlowLayoutSetParametersL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualframebrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,15 @@
+[Test]
+title TestAlfFrameBrushNewL
+create testplatalfvisual test
+test TestAlfFrameBrushNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfFrameBrushSetParaL
+create testplatalfvisual test
+test TestAlfFrameBrushSetParaL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualgencomponent.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,14 @@
+[Test]
+title TestAlfGenComponentNewL
+create testplatalfvisual test
+test TestAlfGenComponentNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfGenComponentProcessL
+create testplatalfvisual test
+test TestAlfGenComponentProcessL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualgradientbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,21 @@
+[Test]
+title TestAlfGradientBrushNewL
+create testplatalfvisual test
+test TestAlfGradientBrushNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfGradientBrushSetL
+create testplatalfvisual test
+test TestAlfGradientBrushSetL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfGradientBrushGetL
+create testplatalfvisual test
+test TestAlfGradientBrushGetL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualgridlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,50 @@
+[Test]
+title TestAlfGridLayoutAddNewL
+create testplatalfvisual test
+test TestAlfGridLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutFullConstructL
+create testplatalfvisual test
+test TestAlfGridLayoutFullConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutForLayoutL
+create testplatalfvisual test
+test TestAlfGridLayoutForLayoutL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutForVisualL
+create testplatalfvisual test
+test TestAlfGridLayoutForVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutProtectedFuncL
+create testplatalfvisual test
+test TestAlfGridLayoutProtectedFuncL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutSetParametersL
+create testplatalfvisual test
+test TestAlfGridLayoutSetParametersL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfGridLayoutGetParaL
+create testplatalfvisual test
+test TestAlfGridLayoutGetParaL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualimage.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,21 @@
+[Test]
+title TestAlfImageConstructorL
+create testplatalfvisual test
+test TestAlfImageConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfImageSetAttributesL
+create testplatalfvisual test
+test TestAlfImageSetAttributesL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfImageGetAttributesL
+create testplatalfvisual test
+test TestAlfImageGetAttributesL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualimagebrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,13 @@
+[Test]
+title TestAlfImageBrushNewL
+create testplatalfvisual test
+test TestAlfImageBrushNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfImageBrushSetAndGetParaL
+create testplatalfvisual test
+test TestAlfImageBrushSetAndGetParaL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualimageloaderutil.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,27 @@
+[Test]
+title TestAlfImgLoadUtilConstructorL
+create testplatalfvisual test
+test TestAlfImgLoadUtilConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfImgLoadUtilCreateImageLoaderL
+create testplatalfvisual test
+test TestAlfImgLoadUtilCreateImageLoaderL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfImgLoadUtilSetL
+create testplatalfvisual test
+test TestAlfImgLoadUtilSetL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfAutoSizeImgLoadUtilSetL
+create testplatalfvisual test
+test TestAlfAutoSizeImgLoadUtilSetL
+delete test
+[Endtest]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualimagevisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,35 @@
+[Test]
+title TestAlfImgVisualFullConstructorL
+create testplatalfvisual test
+test TestAlfImgVisualFullConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfImgVisualAddNewL
+create testplatalfvisual test
+test TestAlfImgVisualAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfImgVisualSetAndGetL
+create testplatalfvisual test
+test TestAlfImgVisualSetAndGetL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfImgVisualForVisualL
+create testplatalfvisual test
+test TestAlfImgVisualForVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfImgVisualProtectedFuncL
+create testplatalfvisual test
+test TestAlfImgVisualProtectedFuncL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisuallayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,43 @@
+[Test]
+title TestAlfLayoutFullConstructorL
+create testplatalfvisual test
+test TestAlfLayoutFullConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfLayoutAddNewL
+create testplatalfvisual test
+test TestAlfLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfLayoutSetAndGetL
+create testplatalfvisual test
+test TestAlfLayoutSetAndGetL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfLayoutForVisualL
+create testplatalfvisual test
+test TestAlfLayoutForVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfLayoutBaseUnitL
+create testplatalfvisual test
+test TestAlfLayoutBaseUnitL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfLayoutProtectedFuncL
+create testplatalfvisual test
+test TestAlfLayoutProtectedFuncL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisuallinevisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,35 @@
+[Test]
+title TestAlfLineVisualFullConstructorL
+create testplatalfvisual test
+test TestAlfLineVisualFullConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfLineVisualAddNewL
+create testplatalfvisual test
+test TestAlfLineVisualAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfLineVisualSetAndGetL
+create testplatalfvisual test
+test TestAlfLineVisualSetAndGetL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfLineVisualForVisualL
+create testplatalfvisual test
+test TestAlfLineVisualForVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfLineVisualProtectedFuncL
+create testplatalfvisual test
+test TestAlfLineVisualProtectedFuncL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualm3gmesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,7 @@
+[Test]
+title TestAlfM3GMeshLoadSceneL
+create testplatalfvisual test
+test TestAlfM3GMeshLoadSceneL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualmapfunc.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,42 @@
+[Test]
+title TestAlfConstantMapFuncL
+create testplatalfvisual test
+test TestAlfConstantMapFuncL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfLinearMapFuncL
+create testplatalfvisual test
+test TestAlfLinearMapFuncL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfSineMapFuncL
+create testplatalfvisual test
+test TestAlfSineMapFuncL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfCosineMapFuncL
+create testplatalfvisual test
+test TestAlfCosineMapFuncL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfAverageMapFuncL
+create testplatalfvisual test
+test TestAlfAverageMapFuncL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfTableMapFuncL
+create testplatalfvisual test
+test TestAlfTableMapFuncL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualmaterial.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,7 @@
+[Test]
+title TestAlfMaterialConstructor
+create testplatalfvisual test
+test TestAlfMaterialConstructor
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualmesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,7 @@
+[Test]
+title TestAlfMeshSetAndGetL
+create testplatalfvisual test
+test TestAlfMeshSetAndGetL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualmeshvisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,35 @@
+[Test]
+title TestAlfMeshVisualFullConstructorL
+create testplatalfvisual test
+test TestAlfMeshVisualFullConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfMeshVisualAddNewL
+create testplatalfvisual test
+test TestAlfMeshVisualAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfMeshVisualSetAndGetL
+create testplatalfvisual test
+test TestAlfMeshVisualSetAndGetL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfMeshVisualForVisualL
+create testplatalfvisual test
+test TestAlfMeshVisualForVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfMeshVisualProtectedFuncL
+create testplatalfvisual test
+test TestAlfMeshVisualProtectedFuncL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualmetric.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,22 @@
+[Test]
+title TestMetricMethods
+create testplatalfvisual test
+test TestMetricMethods
+delete test
+[Endtest]
+
+[Test]
+title TestXYMetricMethods
+create testplatalfvisual test
+test TestXYMetricMethods
+delete test
+[Endtest]
+
+[Test]
+title TestBoxMetricMethods
+create testplatalfvisual test
+test TestBoxMetricMethods
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualproceduralmesh.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,15 @@
+[Test]
+title TestProMeshMakeMethodsL
+create testplatalfvisual test
+test TestProMeshMakeMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestProMeshMaterialMethodsL
+create testplatalfvisual test
+test TestProMeshMaterialMethodsL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualpropertyowner.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,43 @@
+[Test]
+title TestPropOwnerConstructorL
+create testplatalfvisual test
+test TestPropOwnerConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestPropOwnerPropertyRemoveL
+create testplatalfvisual test
+test TestPropOwnerPropertyRemoveL
+delete test
+[Endtest]
+
+[Test]
+title TestPropOwnerPropertyClearL
+create testplatalfvisual test
+test TestPropOwnerPropertyClearL
+delete test
+[Endtest]
+
+[Test]
+title TestPropOwnerPropertyStringL
+create testplatalfvisual test
+test TestPropOwnerPropertyStringL
+delete test
+[Endtest]
+
+[Test]
+title TestPropOwnerCopyPropertyL
+create testplatalfvisual test
+test TestPropOwnerCopyPropertyL
+delete test
+[Endtest]
+
+[Test]
+title TestPropOwnerPropertyOwnerExtensionL
+create testplatalfvisual test
+test TestPropOwnerPropertyOwnerExtensionL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualroster.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,50 @@
+[Test]
+title TestRosterCtrlGroupMethodsL
+create testplatalfvisual test
+test TestRosterCtrlGroupMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestRosterCtrlMethodsL
+create testplatalfvisual test
+test TestRosterCtrlMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestRosterVisualMethodsL
+create testplatalfvisual test
+test TestRosterVisualMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestRosterPointerEventObserverMethodsL
+create testplatalfvisual test
+test TestRosterPointerEventObserverMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestRosterSetPointerDragThresholdL
+create testplatalfvisual test
+test TestRosterSetPointerDragThresholdL
+delete test
+[Endtest]
+
+[Test]
+title TestRosterDisableLongTapEventsWhenDraggingL
+create testplatalfvisual test
+test TestRosterDisableLongTapEventsWhenDraggingL
+delete test
+[Endtest]
+
+[Test]
+title TestRosterCtrlGroupOrderChangedObserverL
+create testplatalfvisual test
+test TestRosterCtrlGroupOrderChangedObserverL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualscreenbuffer.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,29 @@
+[Test]
+title TestScrBufNewLMethodsL
+create testplatalfvisual test
+test TestScrBufNewLMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestScrBufGetMethodsL
+create testplatalfvisual test
+test TestScrBufGetMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestScrBufRequestMethodsL
+create testplatalfvisual test
+test TestScrBufRequestMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestScrBufObserverMethodsL
+create testplatalfvisual test
+test TestScrBufObserverMethodsL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualscrollerevent.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,8 @@
+[Test]
+title TestScrollEventMethods
+create testplatalfvisual test
+test TestScrollEventMethods
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualshadowborderbrush.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,22 @@
+[Test]
+title TestShadowBBNewL
+create testplatalfvisual test
+test TestShadowBBNewL
+delete test
+[Endtest]
+
+[Test]
+title TestShadowBBNewLCL
+create testplatalfvisual test
+test TestShadowBBNewLCL
+delete test
+[Endtest]
+
+[Test]
+title TestShadowBBWidthMethodsL
+create testplatalfvisual test
+test TestShadowBBWidthMethodsL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualstatic.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,8 @@
+[Test]
+title TestStaticEnv
+create testplatalfvisual test
+test TestStaticEnv
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualsymbiansbdrawer.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,22 @@
+[Test]
+title TestBufDrawerDrawBufferL
+create testplatalfvisual test
+test TestBufDrawerDrawBufferL
+delete test
+[Endtest]
+
+[Test]
+title TestBufDrawerGetBufferBitmapsL
+create testplatalfvisual test
+test TestBufDrawerGetBufferBitmapsL
+delete test
+[Endtest]
+
+[Test]
+title TestBufDrawerReleaseDrawerL
+create testplatalfvisual test
+test TestBufDrawerReleaseDrawerL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtextstyle.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,71 @@
+[Test]
+title TestStyleParentIdL
+create testplatalfvisual test
+test TestStyleParentIdL
+delete test
+[Endtest]
+
+[Test]
+title TestStyleIdL
+create testplatalfvisual test
+test TestStyleIdL
+delete test
+[Endtest]
+
+[Test]
+title TestStyleTextColorL
+create testplatalfvisual test
+test TestStyleTextColorL
+delete test
+[Endtest]
+
+[Test]
+title TestStyleTextSizeL
+create testplatalfvisual test
+test TestStyleTextSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestStyleBoldL
+create testplatalfvisual test
+test TestStyleBoldL
+delete test
+[Endtest]
+
+[Test]
+title TestStyleItalicL
+create testplatalfvisual test
+test TestStyleItalicL
+delete test
+[Endtest]
+
+[Test]
+title TestStyleUnderlineL
+create testplatalfvisual test
+test TestStyleUnderlineL
+delete test
+[Endtest]
+
+[Test]
+title TestStyleStrikeThroughL
+create testplatalfvisual test
+test TestStyleStrikeThroughL
+delete test
+[Endtest]
+
+[Test]
+title TestStyleTypefaceNameL
+create testplatalfvisual test
+test TestStyleTypefaceNameL
+delete test
+[Endtest]
+
+[Test]
+title TestStyleSetTextPaneHeightInPixelsL
+create testplatalfvisual test
+test TestStyleSetTextPaneHeightInPixelsL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtextstylemanager.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,8 @@
+[Test]
+title TestStyleMgrTextStyleMethodsL
+create testplatalfvisual test
+test TestStyleMgrTextStyleMethodsL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtexture.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,22 @@
+[Test]
+title TestTextureGetMethods
+create testplatalfvisual test
+test TestTextureGetMethods
+delete test
+[Endtest]
+
+[Test]
+title TestTextureAnimation
+create testplatalfvisual test
+test TestTextureAnimation
+delete test
+[Endtest]
+
+[Test]
+title TestTextureSetMethodsL
+create testplatalfvisual test
+test TestTextureSetMethodsL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtextureautosize.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,22 @@
+[Test]
+title TestTxtAutoSizeParamsConstructor
+create testplatalfvisual test
+test TestTxtAutoSizeParamsConstructor
+delete test
+[Endtest]
+
+[Test]
+title TestTxtAutoSizeParamsGetMethods
+create testplatalfvisual test
+test TestTxtAutoSizeParamsGetMethods
+delete test
+[Endtest]
+
+[Test]
+title TestTxtAutoSizeParamsSetMethods
+create testplatalfvisual test
+test TestTxtAutoSizeParamsSetMethods
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtexturegroup.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,36 @@
+[Test]
+title TestTxtGroupNewL
+create testplatalfvisual test
+test TestTxtGroupNewL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtGroupNewLCL
+create testplatalfvisual test
+test TestTxtGroupNewLCL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtGroupTextureMethodsL
+create testplatalfvisual test
+test TestTxtGroupTextureMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtGroupIsLoadingCompletedL
+create testplatalfvisual test
+test TestTxtGroupIsLoadingCompletedL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtGroupObserverMethodsL
+create testplatalfvisual test
+test TestTxtGroupObserverMethodsL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtexturemanager.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,106 @@
+[Test]
+title TestTxtMgrEnv
+create testplatalfvisual test
+test TestTxtMgrEnv
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrTextureL
+create testplatalfvisual test
+test TestTxtMgrTextureL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrImagePathL
+create testplatalfvisual test
+test TestTxtMgrImagePathL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrBlankTexture
+create testplatalfvisual test
+test TestTxtMgrBlankTexture
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrLoadTextureL
+create testplatalfvisual test
+test TestTxtMgrLoadTextureL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrCreateTextureL
+create testplatalfvisual test
+test TestTxtMgrCreateTextureL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrUnloadTextureL
+create testplatalfvisual test
+test TestTxtMgrUnloadTextureL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrUpdateTextureL
+create testplatalfvisual test
+test TestTxtMgrUpdateTextureL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrDefineFileNameL
+create testplatalfvisual test
+test TestTxtMgrDefineFileNameL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrPrependImagePath
+create testplatalfvisual test
+test TestTxtMgrPrependImagePath
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrObserverMethodsL
+create testplatalfvisual test
+test TestTxtMgrObserverMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrProcessor
+create testplatalfvisual test
+test TestTxtMgrProcessor
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrSetAutomaticTextureIdRange
+create testplatalfvisual test
+test TestTxtMgrSetAutomaticTextureIdRange
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrIsLoadedL
+create testplatalfvisual test
+test TestTxtMgrIsLoadedL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtMgrTextureIdL
+create testplatalfvisual test
+test TestTxtMgrTextureIdL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtextureprocessor.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,8 @@
+[Test]
+title TestTxtProcessorBlurL
+create testplatalfvisual test
+test TestTxtProcessorBlurL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtextvisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,141 @@
+[Test]
+title TestTxtVisualAddNewL
+create testplatalfvisual test
+test TestTxtVisualAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualConstructorL
+create testplatalfvisual test
+test TestTxtVisualConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualConstructL
+create testplatalfvisual test
+test TestTxtVisualConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualTxtMethodsL
+create testplatalfvisual test
+test TestTxtVisualTxtMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualStyleMethodsL
+create testplatalfvisual test
+test TestTxtVisualStyleMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualSetAlignL
+create testplatalfvisual test
+test TestTxtVisualSetAlignL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualSetLineSpacingL
+create testplatalfvisual test
+test TestTxtVisualSetLineSpacingL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualExtentsMethodsL
+create testplatalfvisual test
+test TestTxtVisualExtentsMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualMaxLineCountMethodsL
+create testplatalfvisual test
+test TestTxtVisualMaxLineCountMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualWrappingMethodsL
+create testplatalfvisual test
+test TestTxtVisualWrappingMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualBackgroundTypeL
+create testplatalfvisual test
+test TestTxtVisualBackgroundTypeL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualShadowOpacityMethodsL
+create testplatalfvisual test
+test TestTxtVisualShadowOpacityMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualColorMethodsL
+create testplatalfvisual test
+test TestTxtVisualColorMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualEnableShadowL
+create testplatalfvisual test
+test TestTxtVisualEnableShadowL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualOffsetMethodsL
+create testplatalfvisual test
+test TestTxtVisualOffsetMethodsL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualRemoveAndDestroyAllDL
+create testplatalfvisual test
+test TestTxtVisualRemoveAndDestroyAllDL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualUpdateChildrenLayoutL
+create testplatalfvisual test
+test TestTxtVisualUpdateChildrenLayoutL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualFindTagL
+create testplatalfvisual test
+test TestTxtVisualFindTagL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualSetHighlightRangeL
+create testplatalfvisual test
+test TestTxtVisualSetHighlightRangeL
+delete test
+[Endtest]
+
+[Test]
+title TestTxtVisualProtectedMethodsL
+create testplatalfvisual test
+test TestTxtVisualProtectedMethodsL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtimedvalue.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,98 @@
+[Test]
+title TestTimedValueConstructor
+create testplatalfvisual test
+test TestTimedValueConstructor
+delete test
+[Endtest]
+
+[Test]
+title TestTimedValueValueNow
+create testplatalfvisual test
+test TestTimedValueValueNow
+delete test
+[Endtest]
+
+[Test]
+title TestTimedValueTargetAndSpeed
+create testplatalfvisual test
+test TestTimedValueTargetAndSpeed
+delete test
+[Endtest]
+
+[Test]
+title TestTimedValueStyle
+create testplatalfvisual test
+test TestTimedValueStyle
+delete test
+[Endtest]
+
+[Test]
+title TestTimedValueMappingFunctionIdentifier
+create testplatalfvisual test
+test TestTimedValueMappingFunctionIdentifier
+delete test
+[Endtest]
+
+[Test]
+title TestTimedValueFlags
+create testplatalfvisual test
+test TestTimedValueFlags
+delete test
+[Endtest]
+
+[Test]
+title TestRealPointMethods
+create testplatalfvisual test
+test TestRealPointMethods
+delete test
+[Endtest]
+
+[Test]
+title TestRealSizeMethods
+create testplatalfvisual test
+test TestRealSizeMethods
+delete test
+[Endtest]
+
+[Test]
+title TestRealRectMethods
+create testplatalfvisual test
+test TestRealRectMethods
+delete test
+[Endtest]
+
+[Test]
+title TestTimedPointConstructor
+create testplatalfvisual test
+test TestTimedPointConstructor
+delete test
+[Endtest]
+
+[Test]
+title TestTimedPointSetStyle
+create testplatalfvisual test
+test TestTimedPointSetStyle
+delete test
+[Endtest]
+
+[Test]
+title TestTimedPointSetMapFuncIdentifier
+create testplatalfvisual test
+test TestTimedPointSetMapFuncIdentifier
+delete test
+[Endtest]
+
+[Test]
+title TestTimedPointTargetMethods
+create testplatalfvisual test
+test TestTimedPointTargetMethods
+delete test
+[Endtest]
+
+[Test]
+title TestTimedPointValueNowMethods
+create testplatalfvisual test
+test TestTimedPointValueNowMethods
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtransformation.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,71 @@
+[Test]
+title TestTransNewL
+create testplatalfvisual test
+test TestTransNewL
+delete test
+[Endtest]
+
+[Test]
+title TestTransNewLCL
+create testplatalfvisual test
+test TestTransNewLCL
+delete test
+[Endtest]
+
+[Test]
+title TestTransCountL
+create testplatalfvisual test
+test TestTransCountL
+delete test
+[Endtest]
+
+[Test]
+title TestTransNonIdentityCountL
+create testplatalfvisual test
+test TestTransNonIdentityCountL
+delete test
+[Endtest]
+
+[Test]
+title TestTransStepL
+create testplatalfvisual test
+test TestTransStepL
+delete test
+[Endtest]
+
+[Test]
+title TestTransReplaceStepL
+create testplatalfvisual test
+test TestTransReplaceStepL
+delete test
+[Endtest]
+
+[Test]
+title TestTransLoadIdentityL
+create testplatalfvisual test
+test TestTransLoadIdentityL
+delete test
+[Endtest]
+
+[Test]
+title TestTransTranslateL
+create testplatalfvisual test
+test TestTransTranslateL
+delete test
+[Endtest]
+
+[Test]
+title TestTransScaleL
+create testplatalfvisual test
+test TestTransScaleL
+delete test
+[Endtest]
+
+[Test]
+title TestTransRotateL
+create testplatalfvisual test
+test TestTransRotateL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualutil.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,189 @@
+[Test]
+title TestUtilPower2
+create testplatalfvisual test
+test TestUtilPower2
+delete test
+[Endtest]
+
+[Test]
+title TestUtilPower2RoundDown
+create testplatalfvisual test
+test TestUtilPower2RoundDown
+delete test
+[Endtest]
+
+[Test]
+title TestUtilInterpolate
+create testplatalfvisual test
+test TestUtilInterpolate
+delete test
+[Endtest]
+
+[Test]
+title TestUtilWrapValue
+create testplatalfvisual test
+test TestUtilWrapValue
+delete test
+[Endtest]
+
+[Test]
+title TestUtilRandomInt
+create testplatalfvisual test
+test TestUtilRandomInt
+delete test
+[Endtest]
+
+[Test]
+title TestUtilRandomReal
+create testplatalfvisual test
+test TestUtilRandomReal
+delete test
+[Endtest]
+
+[Test]
+title TestUtilQuickLengthWithPoint
+create testplatalfvisual test
+test TestUtilQuickLengthWithPoint
+delete test
+[Endtest]
+
+[Test]
+title TestUtilQuickLength
+create testplatalfvisual test
+test TestUtilQuickLength
+delete test
+[Endtest]
+
+[Test]
+title TestUtilQuickNormalize
+create testplatalfvisual test
+test TestUtilQuickNormalize
+delete test
+[Endtest]
+
+[Test]
+title TestUtilQuickNormalizeWithVector
+create testplatalfvisual test
+test TestUtilQuickNormalizeWithVector
+delete test
+[Endtest]
+
+[Test]
+title TestUtilCrossProduct
+create testplatalfvisual test
+test TestUtilCrossProduct
+delete test
+[Endtest]
+
+[Test]
+title TestUtilNormalFromPoints
+create testplatalfvisual test
+test TestUtilNormalFromPoints
+delete test
+[Endtest]
+
+[Test]
+title TestUtilShadowMatrix
+create testplatalfvisual test
+test TestUtilShadowMatrix
+delete test
+[Endtest]
+
+[Test]
+title TestUtilFreeMemory
+create testplatalfvisual test
+test TestUtilFreeMemory
+delete test
+[Endtest]
+
+[Test]
+title TestUtilScreenSize
+create testplatalfvisual test
+test TestUtilScreenSize
+delete test
+[Endtest]
+
+[Test]
+title TestUtilNearestFontInTwipsL
+create testplatalfvisual test
+test TestUtilNearestFontInTwipsL
+delete test
+[Endtest]
+
+[Test]
+title TestUtilReleaseFont
+create testplatalfvisual test
+test TestUtilReleaseFont
+delete test
+[Endtest]
+
+[Test]
+title TestUtilLengthUnit
+create testplatalfvisual test
+test TestUtilLengthUnit
+delete test
+[Endtest]
+
+[Test]
+title TestUtilColorLightness
+create testplatalfvisual test
+test TestUtilColorLightness
+delete test
+[Endtest]
+
+[Test]
+title TestUtilScaleFbsBitmapL
+create testplatalfvisual test
+test TestUtilScaleFbsBitmapL
+delete test
+[Endtest]
+
+[Test]
+title TestUtilCombineMaskFbsBitmapL
+create testplatalfvisual test
+test TestUtilCombineMaskFbsBitmapL
+delete test
+[Endtest]
+
+[Test]
+title TestUtilCropFbsBitmapL
+create testplatalfvisual test
+test TestUtilCropFbsBitmapL
+delete test
+[Endtest]
+
+[Test]
+title TestUtilScaleImageL
+create testplatalfvisual test
+test TestUtilScaleImageL
+delete test
+[Endtest]
+
+[Test]
+title TestUtilCropImageL
+create testplatalfvisual test
+test TestUtilCropImageL
+delete test
+[Endtest]
+
+[Test]
+title TestUtilTagMatches
+create testplatalfvisual test
+test TestUtilTagMatches
+delete test
+[Endtest]
+
+[Test]
+title TestUtilConvertBitmapToDisplayModeLCL
+create testplatalfvisual test
+test TestUtilConvertBitmapToDisplayModeLCL
+delete test
+[Endtest]
+
+[Test]
+title TestUtilThemeItemIdL
+create testplatalfvisual test
+test TestUtilThemeItemIdL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualviewportlayout.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,84 @@
+[Test]
+title TestVpLayoutAddNewL
+create testplatalfvisual test
+test TestVpLayoutAddNewL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutConstructorL
+create testplatalfvisual test
+test TestVpLayoutConstructorL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutConstructL
+create testplatalfvisual test
+test TestVpLayoutConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutSetVirtualSizeL
+create testplatalfvisual test
+test TestVpLayoutSetVirtualSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutSetViewportSizeL
+create testplatalfvisual test
+test TestVpLayoutSetViewportSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutSetViewportPosL
+create testplatalfvisual test
+test TestVpLayoutSetViewportPosL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutRemoveAndDestroyAllDL
+create testplatalfvisual test
+test TestVpLayoutRemoveAndDestroyAllDL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutUpdateChildrenLayoutL
+create testplatalfvisual test
+test TestVpLayoutUpdateChildrenLayoutL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutFindTagL
+create testplatalfvisual test
+test TestVpLayoutFindTagL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutBaseUnitL
+create testplatalfvisual test
+test TestVpLayoutBaseUnitL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutDoRemoveAndDestroyAllDL
+create testplatalfvisual test
+test TestVpLayoutDoRemoveAndDestroyAllDL
+delete test
+[Endtest]
+
+[Test]
+title TestVpLayoutPropertyOwnerExtensionL
+create testplatalfvisual test
+test TestVpLayoutPropertyOwnerExtensionL
+delete test
+[Endtest]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualvisual.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,568 @@
+[Test]
+title TestCAlfVCAlfVisualL
+create testplatalfvisual test
+test TestCAlfVCAlfVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVConstructL
+create testplatalfvisual test
+test TestCAlfVConstructL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVRemoveAndDestroyAllDL
+create testplatalfvisual test
+test TestCAlfVRemoveAndDestroyAllDL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVIdentifierL
+create testplatalfvisual test
+test TestCAlfVIdentifierL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetFlagL
+create testplatalfvisual test
+test TestCAlfVSetFlagL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetFlagsL
+create testplatalfvisual test
+test TestCAlfVSetFlagsL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVClearFlagL
+create testplatalfvisual test
+test TestCAlfVClearFlagL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVClearFlagsL
+create testplatalfvisual test
+test TestCAlfVClearFlagsL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVFlagsL
+create testplatalfvisual test
+test TestCAlfVFlagsL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVLayoutL
+create testplatalfvisual test
+test TestCAlfVLayoutL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVPosL
+create testplatalfvisual test
+test TestCAlfVPosL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetPosL
+create testplatalfvisual test
+test TestCAlfVSetPosL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSizeL
+create testplatalfvisual test
+test TestCAlfVSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetSizeL
+create testplatalfvisual test
+test TestCAlfVSetSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVOpacityL
+create testplatalfvisual test
+test TestCAlfVOpacityL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetOpacityL
+create testplatalfvisual test
+test TestCAlfVSetOpacityL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVEnvL
+create testplatalfvisual test
+test TestCAlfVEnvL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVDisplayL
+create testplatalfvisual test
+test TestCAlfVDisplayL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVTagL
+create testplatalfvisual test
+test TestCAlfVTagL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVUpdateChildrenLayoutL
+create testplatalfvisual test
+test TestCAlfVUpdateChildrenLayoutL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVDisplayRectTargetL
+create testplatalfvisual test
+test TestCAlfVDisplayRectTargetL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVLocalToDisplayL
+create testplatalfvisual test
+test TestCAlfVLocalToDisplayL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVLocalToDisplayWithRealPointL
+create testplatalfvisual test
+test TestCAlfVLocalToDisplayWithRealPointL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVDisplayToLocalL
+create testplatalfvisual test
+test TestCAlfVDisplayToLocalL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVDisplayToLocalWithRealPointL
+create testplatalfvisual test
+test TestCAlfVDisplayToLocalWithRealPointL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVEnableBrushesL
+create testplatalfvisual test
+test TestCAlfVEnableBrushesL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVBrushesL
+create testplatalfvisual test
+test TestCAlfVBrushesL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVMoveToFrontL
+create testplatalfvisual test
+test TestCAlfVMoveToFrontL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVEnableTransformationL
+create testplatalfvisual test
+test TestCAlfVEnableTransformationL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVTransformationL
+create testplatalfvisual test
+test TestCAlfVTransformationL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetPaddingL
+create testplatalfvisual test
+test TestCAlfVSetPaddingL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetPaddingWithPointL
+create testplatalfvisual test
+test TestCAlfVSetPaddingWithPointL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetPaddingWithMetricL
+create testplatalfvisual test
+test TestCAlfVSetPaddingWithMetricL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVPaddingInPixelsL
+create testplatalfvisual test
+test TestCAlfVPaddingInPixelsL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetTagL
+create testplatalfvisual test
+test TestCAlfVSetTagL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVIsTaggedL
+create testplatalfvisual test
+test TestCAlfVIsTaggedL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVFindTagL
+create testplatalfvisual test
+test TestCAlfVFindTagL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVConstructWithMoreParamsL
+create testplatalfvisual test
+test TestCAlfVConstructWithMoreParamsL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVCommsL
+create testplatalfvisual test
+test TestCAlfVCommsL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVDepthOffsetL
+create testplatalfvisual test
+test TestCAlfVDepthOffsetL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetDepthOffsetL
+create testplatalfvisual test
+test TestCAlfVSetDepthOffsetL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVOwnerL
+create testplatalfvisual test
+test TestCAlfVOwnerL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetOwnerL
+create testplatalfvisual test
+test TestCAlfVSetOwnerL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetOriginL
+create testplatalfvisual test
+test TestCAlfVSetOriginL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVHorizontalOriginL
+create testplatalfvisual test
+test TestCAlfVHorizontalOriginL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVVerticalOriginL
+create testplatalfvisual test
+test TestCAlfVVerticalOriginL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVAlignByOriginL
+create testplatalfvisual test
+test TestCAlfVAlignByOriginL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetMinSizeL
+create testplatalfvisual test
+test TestCAlfVSetMinSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetMinSizeWithRealSizeL
+create testplatalfvisual test
+test TestCAlfVSetMinSizeWithRealSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVMinSizeL
+create testplatalfvisual test
+test TestCAlfVMinSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVMinSizeInBaseUnitsL
+create testplatalfvisual test
+test TestCAlfVMinSizeInBaseUnitsL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetMaxSizeL
+create testplatalfvisual test
+test TestCAlfVSetMaxSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetMaxSizeWithRealSizeL
+create testplatalfvisual test
+test TestCAlfVSetMaxSizeWithRealSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVMaxSizeL
+create testplatalfvisual test
+test TestCAlfVMaxSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVMaxSizeInBaseUnitsL
+create testplatalfvisual test
+test TestCAlfVMaxSizeInBaseUnitsL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetRectL
+create testplatalfvisual test
+test TestCAlfVSetRectL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVMoveL
+create testplatalfvisual test
+test TestCAlfVMoveL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVMoveWithRealPointL
+create testplatalfvisual test
+test TestCAlfVMoveWithRealPointL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVMimicL
+create testplatalfvisual test
+test TestCAlfVMimicL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetCenteredPosAndSizeL
+create testplatalfvisual test
+test TestCAlfVSetCenteredPosAndSizeL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetCenteredPosAndSizeWithRealL
+create testplatalfvisual test
+test TestCAlfVSetCenteredPosAndSizeWithRealL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVDisplayRectL
+create testplatalfvisual test
+test TestCAlfVDisplayRectL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVEffectiveOpacityL
+create testplatalfvisual test
+test TestCAlfVEffectiveOpacityL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetClippingL
+create testplatalfvisual test
+test TestCAlfVSetClippingL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVClippingL
+create testplatalfvisual test
+test TestCAlfVClippingL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVPaddingL
+create testplatalfvisual test
+test TestCAlfVPaddingL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVPaddingAsMetricL
+create testplatalfvisual test
+test TestCAlfVPaddingAsMetricL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVHorizontalPaddingL
+create testplatalfvisual test
+test TestCAlfVHorizontalPaddingL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVVerticalPaddingL
+create testplatalfvisual test
+test TestCAlfVVerticalPaddingL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetPosWithTimedPointL
+create testplatalfvisual test
+test TestCAlfVSetPosWithTimedPointL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetSizeWithTimedPointL
+create testplatalfvisual test
+test TestCAlfVSetSizeWithTimedPointL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVCopyValuesL
+create testplatalfvisual test
+test TestCAlfVCopyValuesL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVPauseL
+create testplatalfvisual test
+test TestCAlfVPauseL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVResumeL
+create testplatalfvisual test
+test TestCAlfVResumeL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVDoRemoveAndDestroyAllDL
+create testplatalfvisual test
+test TestCAlfVDoRemoveAndDestroyAllDL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVSetTactileFeedbackL
+create testplatalfvisual test
+test TestCAlfVSetTactileFeedbackL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVHasTactileFeedbackL
+create testplatalfvisual test
+test TestCAlfVHasTactileFeedbackL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVRemoveTactileFeedbackL
+create testplatalfvisual test
+test TestCAlfVRemoveTactileFeedbackL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVEnableDropShadowL
+create testplatalfvisual test
+test TestCAlfVEnableDropShadowL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVDropShadowHandlerL
+create testplatalfvisual test
+test TestCAlfVDropShadowHandlerL
+delete test
+[Endtest]
+
+[Test]
+title TestCAlfVPropertyOwnerExtensionL
+create testplatalfvisual test
+test TestCAlfVPropertyOwnerExtensionL
+delete test
+[Endtest]
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualvisualfactory.cfg Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,29 @@
+[Test]
+title TestAlfVFNewLayoutL
+create testplatalfvisual test
+test TestAlfVFNewLayoutL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfVFNewLayoutLCL
+create testplatalfvisual test
+test TestAlfVFNewLayoutLCL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfVFNewVisualL
+create testplatalfvisual test
+test TestAlfVFNewVisualL
+delete test
+[Endtest]
+
+[Test]
+title TestAlfVFNewVisualLCL
+create testplatalfvisual test
+test TestAlfVFNewVisualLCL
+delete test
+[Endtest]
+
+
--- a/uiacceltk/hitchcock/AlfDecoderServerClient/bwins/alfdecoderserverclientu.def Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/AlfDecoderServerClient/bwins/alfdecoderserverclientu.def Tue May 11 17:03:00 2010 +0300
@@ -49,4 +49,5 @@
??1CAlfEffectObserver@@UAE@XZ @ 48 NONAME ; CAlfEffectObserver::~CAlfEffectObserver(void)
?SubscribeCallbackL@CAlfEffectObserver@@QAEXPAVMAlfEffectObserver@1@HH@Z @ 49 NONAME ; void CAlfEffectObserver::SubscribeCallbackL(class CAlfEffectObserver::MAlfEffectObserver *, int, int)
?GetListOfWindowGroupsWSurfaces@RAlfBridgerClient@@QAEHPAV?$RArray@H@@@Z @ 50 NONAME ; int RAlfBridgerClient::GetListOfWindowGroupsWSurfaces(class RArray<int> *)
+ ?SetDistractionWindow@CAlfEffectObserver@@QAEXABVRWindowTreeNode@@H@Z @ 51 NONAME ; void CAlfEffectObserver::SetDistractionWindow(class RWindowTreeNode const &, int)
--- a/uiacceltk/hitchcock/AlfDecoderServerClient/eabi/alfdecoderserverclientu.def Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/AlfDecoderServerClient/eabi/alfdecoderserverclientu.def Tue May 11 17:03:00 2010 +0300
@@ -72,4 +72,5 @@
_ZN18CAlfEffectObserverD2Ev @ 71 NONAME
_ZN18CAlfEffectObserver18SubscribeCallbackLEPNS_18MAlfEffectObserverEii @ 72 NONAME
_ZN17RAlfBridgerClient30GetListOfWindowGroupsWSurfacesEP6RArrayIiE @ 73 NONAME
+ _ZN18CAlfEffectObserver20SetDistractionWindowERK15RWindowTreeNodei @ 74 NONAME
--- a/uiacceltk/hitchcock/AlfDecoderServerClient/src/alfcompositionclient.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/AlfDecoderServerClient/src/alfcompositionclient.cpp Tue May 11 17:03:00 2010 +0300
@@ -1243,6 +1243,7 @@
{
public:
virtual void Remove(CAlfSignalObserver* aObserver) = 0;
+ virtual RAlfBridgerClient& Client() = 0;
};
NONSHARABLE_CLASS(CAlfEffectObserver::CAlfEffectObserverData): public CBase, public MAlfEffectObserverData
@@ -1251,6 +1252,7 @@
void SubscribeCallbackL(MAlfEffectObserver* aObserver, TInt aHandle, TInt aType = MAlfEffectObserver::EAlfEffectComplete );
~CAlfEffectObserverData();
void Remove(CAlfSignalObserver* aObserver);
+ RAlfBridgerClient& Client();
// data
RAlfBridgerClient iClient;
@@ -1267,20 +1269,40 @@
CActiveScheduler::Add(this);
SetActive();
}
-
- void DoCancel(){} // do not...
+
+ ~CAlfSignalObserver()
+ {
+ Cancel();
+ }
+
+ private:
+ void DoCancel()
+ {
+ if (iOwner)
+ {
+ iOwner->Client().SendSynch(EAlfCompleteSignal, TIpcArgs(iHandle, iType));
+ }
+ }
+
+ // just to prohibit cancel outside destructor
+ void Cancel()
+ {
+ CActive::Cancel();
+ }
+
void RunL()
{
iObserver->HandleEffectCallback(iType, iHandle, iStatus.Int());
iOwner->Remove(this);
}
- MAlfEffectObserverData* iOwner;
- CAlfEffectObserver::MAlfEffectObserver* iObserver;
- TInt iHandle;
- TInt iType;
- TIpcArgs iArgs;
+ public:
+ MAlfEffectObserverData* iOwner;
+ CAlfEffectObserver::MAlfEffectObserver* iObserver;
+ TInt iHandle;
+ TInt iType;
+ TIpcArgs iArgs;
};
void CAlfEffectObserver::CAlfEffectObserverData::SubscribeCallbackL(MAlfEffectObserver* aObserver, TInt aHandle, TInt aType)
@@ -1294,15 +1316,24 @@
CAlfEffectObserver::CAlfEffectObserverData::~CAlfEffectObserverData()
{
+ iObservers.ResetAndDestroy();
+ iObservers.Close();
iClient.Close(); // destroys signals
- iObservers.ResetAndDestroy();
}
-
+
+RAlfBridgerClient& CAlfEffectObserver::CAlfEffectObserverData::Client()
+ {
+ return iClient;
+ }
+
void CAlfEffectObserver::CAlfEffectObserverData::Remove(CAlfSignalObserver* aObserver)
{
TInt index = iObservers.Find(aObserver);
- iObservers.Remove(index);
- delete aObserver;
+ if (index != KErrNotFound)
+ {
+ iObservers.Remove(index);
+ }
+ delete aObserver;
}
EXPORT_C CAlfEffectObserver* CAlfEffectObserver::NewL()
@@ -1317,7 +1348,7 @@
EXPORT_C CAlfEffectObserver::~CAlfEffectObserver()
{
- delete iData;
+ delete iData;
}
EXPORT_C TInt CAlfEffectObserver::ActiveEffectsCount()
@@ -1330,11 +1361,14 @@
iData->SubscribeCallbackL(aObserver, aHandle, aType );
}
+EXPORT_C void CAlfEffectObserver::SetDistractionWindow(const RWindowTreeNode& aWindow, TInt aState)
+ {
+ iData->iClient.SendSynch(EAlfSetDistractionWindow, TIpcArgs(aWindow.WindowGroupId(), aWindow.ClientHandle(), aState));
+ }
+
CAlfEffectObserver::CAlfEffectObserver()
{
}
-
+//end of file
-
-//end of file
--- a/uiacceltk/hitchcock/AlfRenderStage/inc/alfrssendbuffer.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/AlfRenderStage/inc/alfrssendbuffer.h Tue May 11 17:03:00 2010 +0300
@@ -408,7 +408,14 @@
void RunL();
void DoCancel();
-
+ TInt RunError(TInt aError)
+ {
+ // will likely lead to inconsistent state and thus reset anyway
+ RDebug::Print(_L("CAlfRsSendBuffer::RunError( %d )"),aError);
+ aError -= (aError);
+ return aError; //KErrNone;
+ }
+
private:
/**
--- a/uiacceltk/hitchcock/Client/src/alfdirectclient.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/Client/src/alfdirectclient.cpp Tue May 11 17:03:00 2010 +0300
@@ -118,8 +118,6 @@
EXPORT_C RAlfDirectClient::RAlfDirectClient()
: RAlfClientBase(KAlfServiceUid.iUid)
{
- // elegant SW design, right
- TRAP_IGNORE(OpenL());
}
// ---------------------------------------------------------------------------
--- a/uiacceltk/hitchcock/CommonInc/alfbridgecommands.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/CommonInc/alfbridgecommands.h Tue May 11 17:03:00 2010 +0300
@@ -83,6 +83,7 @@
EAlfDSSetWindowArea,
EAlfDSSetTransparencyAlphaChannel,
EAlfDSIncludeToVisibilityCalculation,
+ EAlfDSSetDistractionWindow,
KUnInitialized
};
--- a/uiacceltk/hitchcock/ServerCore/Inc/alfbridge.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Inc/alfbridge.h Tue May 11 17:03:00 2010 +0300
@@ -352,6 +352,16 @@
void HandleGfxStopControlEffectsL( TAlfBridgerData data );
/**
+ * HandleSetDistractionWindowL
+ *
+ * Define or undefine, window that should be discarded in fullscreen
+ * heuristic analysus.
+ *
+ * Used by avkon to mark CAknLocalScreenClearer window.
+ */
+ void HandleSetDistractionWindowL( TAlfBridgerData data );
+
+ /**
* RemoveEffectFromApp
*
* Removes effects on appui.
@@ -812,6 +822,9 @@
void SetCursorTimerL(TUint aTime = 0, CHuiVisual* aCursor = 0);
TBool IsAlfOriginatedWindow(CHuiCanvasVisual& aVisual);
+
+ TBool IsFullScreenDrawnRecursiveAlfContent(CHuiVisual* aVisual, TRect& aFullScreen);
+
// Experimental
TBool IsFullScreenDrawnRecursive(
CHuiLayout* aLayout,
@@ -1002,6 +1015,9 @@
TBool iHomeScreenWallpaperWindowFound;
TBool iBgAnimHidden;
+
+ TBool iHomeScreenVisible;
+ TInt iHomeScreenPSValue;
CAlfLayoutSwitchEffectCoordinator* iLayoutSwitchEffectCoordinator;
TInt iAlfSecureId;
--- a/uiacceltk/hitchcock/ServerCore/Inc/alfeffectutils.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Inc/alfeffectutils.h Tue May 11 17:03:00 2010 +0300
@@ -205,11 +205,22 @@
NONSHARABLE_CLASS(CControlEffectState ) : public CEffectState
{
public:
-
+
TUint32 iClientHandle;
TUint32 iClientGroupHandle;
-
+
+ enum TDistractionType
+ {
+ ENoOperation = 0,
+ ESetDistractionWindow = 100,
+ ERemoveDistractionWindow
+ };
+
+ TDistractionType iSetDistractionWindow;
+
void ConstructL(TInt aAction, RMemReadStream& aStream);
+
+ void ConstructL(TUint32 aClientHandle, TUint32 aClientGroupHandle, TBool aSetDistractionWindow);
};
NONSHARABLE_CLASS(CFullScreenEffectState ) : public CEffectState
--- a/uiacceltk/hitchcock/ServerCore/Inc/alfstreamerconsts.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Inc/alfstreamerconsts.h Tue May 11 17:03:00 2010 +0300
@@ -45,7 +45,8 @@
EAlfQueueRequestBGSessions,
EAlfGetNumberOfActiveEffects,
EAlfRequestSignal,
- EAlfCompleteSignal
+ EAlfCompleteSignal,
+ EAlfSetDistractionWindow
};
--- a/uiacceltk/hitchcock/ServerCore/Src/alfappserver.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfappserver.cpp Tue May 11 17:03:00 2010 +0300
@@ -297,8 +297,10 @@
return;
}
+ TBool lastActiveDying = EFalse;
if ( dying->ClientWindowGroup() == iLastActiveClientWg )
{
+ lastActiveDying = ETrue;
iLastActiveClientWg = KErrNotFound;
parentWg = dying->ParentWindowGroupId();
}
@@ -349,8 +351,10 @@
}
delete wgs;
}
-
- TRAP_IGNORE(FocusedWindowGroupChangedL(newFocusSession, parentWg))
+ if( lastActiveDying || newFocusSession )
+ {
+ TRAP_IGNORE(FocusedWindowGroupChangedL(newFocusSession, parentWg));
+ }
}
--- a/uiacceltk/hitchcock/ServerCore/Src/alfappui.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfappui.cpp Tue May 11 17:03:00 2010 +0300
@@ -690,10 +690,6 @@
//
EXPORT_C CAlfAppUi::CAlfAppUi()
{
- if (CCoeEnv::Static())
- {
- SetFullScreenApp(EFalse); // to avoid getting queued/suspended in case of S60 system events
- }
}
// ---------------------------------------------------------------------------
@@ -808,25 +804,12 @@
User::LeaveIfError(AMT_CONTROL()->OpenGlobalObjects());
#endif
- TInt flags = EStandardApp|ENoScreenFurniture|ENonStandardResourceFile|EAknEnableSkin;
- CCoeEnv* coe = CCoeEnv::Static();
iData = new (ELeave) CAlfAppUiData();
iData->iSettingsHandler = CAlfSrvSettingsHandler::NewL( *this );
CreateHuiEnvL();
- if (coe)
- {
- // initialize app basic services
- CAknAppUi::BaseConstructL(flags);
-
- // create direct pointer to server so no need to access coestatics whenever server needed
- iData->iServer = static_cast<CAlfAppServer*>(static_cast<CEikonEnv*>(coe)->AppServer());
- }
- else
- {
- iData->iServer = CAlfAppServer::NewAppServerL();
- }
+ iData->iServer = CAlfAppServer::NewAppServerL();
iData->iServer->SetAppUi(this);
@@ -838,34 +821,25 @@
mainWg.SetOrdinalPosition(-1,ECoeWinPriorityNeverAtFront);
- if (!coe) // multiple screen support missing, for main display only atm
- {
- TUid appUid = TUid::Uid(KAlfAppServerInterfaceUid3);
- // complete server construction
- TName serverName;
- _LIT(KServerNameFormat, "%08x_%08x_AppServer");
- serverName.Format(
+ TUid appUid = TUid::Uid(KAlfAppServerInterfaceUid3);
+ // complete server construction
+ TName serverName;
+ _LIT(KServerNameFormat, "%08x_%08x_AppServer");
+ serverName.Format(
KServerNameFormat,
appUid,
appUid.iUid );
- iData->iServer->ConstructL(serverName);
+ iData->iServer->ConstructL(serverName);
- // parametrize our window group
- CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(CHuiStatic::WsSession());
- wgName->SetHidden(ETrue); // hides us from FSW and protects us from OOM FW etc.
- wgName->SetSystem(ETrue); // Allow only application with PowerManagement cap to shut us down
- wgName->SetCaptionL(_L("ALF"));
- wgName->SetAppUid(appUid);
- wgName->SetWindowGroupName(mainWg);
- CleanupStack::PopAndDestroy();
- }
- // misc settings for surroundings
- if (coe)
- { // we ndon't need these in NGA
- mainWg.EnableFocusChangeEvents();
- }
-
+ // parametrize our window group
+ CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(CHuiStatic::WsSession());
+ wgName->SetHidden(ETrue); // hides us from FSW and protects us from OOM FW etc.
+ wgName->SetSystem(ETrue); // Allow only application with PowerManagement cap to shut us down
+ wgName->SetCaptionL(_L("ALF"));
+ wgName->SetAppUid(appUid);
+ wgName->SetWindowGroupName(mainWg);
+ CleanupStack::PopAndDestroy();
CHuiStatic::WsSession().ComputeMode(RWsSession::EPriorityControlDisabled);
RThread thread;
@@ -873,27 +847,16 @@
// delegates..
iData->iResourceManager = CAlfSrvResourceManager::NewL( *iData->iHuiEnv );
-
- if (coe)
- {
- iData->iSharedWindow = new (ELeave) CAlfSharedDisplayCoeControl();
- iData->iSharedWindow->ConstructL();
- iData->iSharedWindow->DrawableWindow()->EnableVisibilityChangeEvents();
- }
- else
- {
- //mainWg.EnableScreenChangeEvents();
- CHuiStatic::WsSession().EnableWindowSizeCacheL();
- iData->iPlainWindow = new (ELeave) RWindow(CHuiStatic::WsSession());
- iData->iPlainWindow->Construct(*CHuiStatic::RootWin(),0x000FAB10); // FYI: multiple display support neglegted atm
- iData->iPlainWindow->SetExtentErr(TPoint(0,0),CHuiStatic::ScreenDevice()->SizeInPixels()); // FYI: multiple display support neglegted atm
- iData->iPlainWindow->Size(); // to populate size cache
- iData->iPlainWindow->Activate();
- iData->iPlainWindow->SetVisible(ETrue);
- iData->iPlainWindow->SetTransparencyAlphaChannel();
- iData->iPlainWindow->SetBackgroundColor(~0);
- }
+ CHuiStatic::WsSession().EnableWindowSizeCacheL();
+ iData->iPlainWindow = new (ELeave) RWindow(CHuiStatic::WsSession());
+ iData->iPlainWindow->Construct(*CHuiStatic::RootWin(),0x000FAB10); // FYI: multiple display support neglegted atm
+ iData->iPlainWindow->SetExtentErr(TPoint(0,0),CHuiStatic::ScreenDevice()->SizeInPixels()); // FYI: multiple display support neglegted atm
+ iData->iPlainWindow->Size(); // to populate size cache
+ iData->iPlainWindow->Activate();
+ iData->iPlainWindow->SetVisible(ETrue);
+ iData->iPlainWindow->SetTransparencyAlphaChannel();
+ iData->iPlainWindow->SetBackgroundColor(~0);
iData->iBridge = CAlfStreamerBridge::NewL(0);
iData->iBridge->iAlfWindowData.iAlfWindowGrpId = mainWg.Identifier();
@@ -908,19 +871,12 @@
iData->iAlfEffectObserver = new (ELeave) TAlfEffectObserver(&iData->iBridge->iActiveEffectCount, *iData->iBridgeObj);
iData->iHuiEnv->EffectsEngine()->SetObserver(iData->iAlfEffectObserver);
- if( !iData->iPlainWindow)
- {
- // Create default CAlfScreen already now to be able to show controlgroups early enough...
- iData->iBridgeObj->AddNewScreenL(iData->iSharedWindow);
- }
- else
- {
- iData->iBridgeObj->AddNewScreenFromWindowL(iData->iPlainWindow);
- iData->iEventAo = new (ELeave) CAlfEventBridge(*this, *iData->iBridgeObj->Display(0));
+ iData->iBridgeObj->AddNewScreenFromWindowL(iData->iPlainWindow);
+ iData->iEventAo = new (ELeave) CAlfEventBridge(*this, *iData->iBridgeObj->Display(0));
- RThread eventThread;
+ RThread eventThread;
- User::LeaveIfError(eventThread.Create(
+ User::LeaveIfError(eventThread.Create(
KAlfEventThreadName,
AlfEventThreadStartFunction,
16384, // magic
@@ -928,9 +884,8 @@
(TAny*)iData->iEventAo,
EOwnerThread));
- eventThread.Resume();
- eventThread.Close();
- }
+ eventThread.Resume();
+ eventThread.Close();
AppendDisplayOnSharedWindowL(*(iData->iBridgeObj->Display(0)));
@@ -941,9 +896,11 @@
iData->iServer->TextureManager().HandleEnvCreateL( *iData->iHuiEnv );
// Construct transition effect instance if it does not yet exist
+ // OBSOLETE
iData->iServer->CreateTransitionEffectsL();
// Load Tfx server client API plugin, if exists
+ // OBSOLETE
iData->iServer->CreateTfxServerPlugin();
#ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS
@@ -956,21 +913,11 @@
// ---------------------------------------------------------------------------
// From class CAknAppUi.
// Handles system event.
+// OBSOLETE
// ---------------------------------------------------------------------------
//
-EXPORT_C void CAlfAppUi::HandleSystemEventL(const TWsEvent& aEvent)
+EXPORT_C void CAlfAppUi::HandleSystemEventL(const TWsEvent&)
{
- switch (*(TApaSystemEvent*)(aEvent.EventData()))
- {
- case EApaSystemEventBroughtToForeground:
- { // we need to suppress this event as it causes undesired effects on applications underneath
- break;
- }
- default:
- CAknAppUi::HandleSystemEventL(aEvent);
- }
-
- return;
}
void CAlfAppUi::StartPointerEventHandling()
@@ -996,17 +943,6 @@
iData->iResourceManager->SetActiveSession( iData->iActiveSession );
- if (CCoeEnv::Static())
- {
- if( aSession )
- {
- CHuiStatic::RootWin()->EnableGroupListChangeEvents();
- }
- else
- {
- CHuiStatic::RootWin()->DisableGroupListChangeEvents();
- }
- }
if(!aSession)
{
if (iData->iMainDisplay) // TBD: multiple display support once again...
@@ -1023,41 +959,14 @@
//
EXPORT_C void CAlfAppUi::HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination)
{
- TBool handlingPtrEvent(EFalse);
-
if (aEvent.Type() >= EEventPointer && aEvent.Type() <= EEventDragDrop )
{
StartPointerEventHandling();
- handlingPtrEvent = ETrue; // just to play it safe
- }
-
- // A Fix for AlfServer not shutting down on power off (ANIA-7EWFV6)
- if ( aEvent.Type() == EEventPowerMgmt )
- {
- TApaSystemEvent systemEvent( *(TApaSystemEvent*)(aEvent.EventData()) );
- if ( systemEvent == EApaSystemEventShutdown || systemEvent == EApaSystemEventSecureShutdown )
- {
- // Don't let this event go further to base class' HandleWsEventL,
- // since it'll start the appShutter, which will be ignored first,
- // and when it would be really needed (after AllClientsClosed), it's already destroyed.
- return;
- }
}
- if (!iData->iEventAo) // CCoeEnv exists
+ if( aEvent.Type() == EEventScreenDeviceChanged )
{
- CAknAppUi::HandleWsEventL(aEvent, aDestination);
- if (handlingPtrEvent)
- {
- EndPointerEventHandling();
- }
- }
- else
- {
- if( aEvent.Type() == EEventScreenDeviceChanged )
- {
- HandleResourceChangeL( KEikDynamicLayoutVariantSwitch );
- }
+ HandleResourceChangeL( KEikDynamicLayoutVariantSwitch );
}
switch ( aEvent.Type() )
@@ -1180,8 +1089,7 @@
//
EXPORT_C TBool CAlfAppUi::FrameworkCallsRendezvous() const
{
- // just basecall for now
- return CAknAppUi::FrameworkCallsRendezvous();
+ return EFalse;
}
// ---------------------------------------------------------------------------
@@ -1248,12 +1156,8 @@
// Called when a command is received.
// ---------------------------------------------------------------------------
//
-EXPORT_C void CAlfAppUi::HandleCommandL(TInt aCommand)
+EXPORT_C void CAlfAppUi::HandleCommandL(TInt)
{
- if (aCommand == EEikCmdExit && iData->iAllClientsClosed)
- {
- Exit();
- }
}
// ---------------------------------------------------------------------------
@@ -1269,27 +1173,8 @@
// Updates non-fading setting to window.
// ---------------------------------------------------------------------------
//
-void CAlfAppUi::SetContainerNonFading( TBool aNonFading )
+void CAlfAppUi::SetContainerNonFading(TBool)
{
- const TBool nonFading = iData->iSharedWindowNonFading;
- if ( ( nonFading && !aNonFading ) ||
- ( !nonFading && aNonFading ) )
- {
- // Update window server setting.
- iData->iSharedWindowNonFading = aNonFading;
- iData->iSharedWindow->DrawableWindow()->SetNonFading( aNonFading );
-
- // If non-fading is turned off, update fading to correct value.
- // It's assumed that alfred applications are not shown in a pop up.
- // If it were possible, we would need to know if alfred pop up is
- // topmost.
- if ( !aNonFading )
- {
- iData->iSharedWindow->DrawableWindow()->SetFaded(
- IsFaded(),
- RWindowTreeNode::EFadeIncludeChildren );
- }
- }
}
// ---------------------------------------------------------------------------
@@ -1355,7 +1240,7 @@
TTypeUid::Ptr CAlfAppUi::MopSupplyObject(TTypeUid aId)
{
- return CAknAppUi::MopSupplyObject(aId);
+ return TTypeUid::Null();
}
// ---------------------------------------------------------------------------
@@ -1384,8 +1269,7 @@
void CAlfAppUi::ShowControlGroupL(CHuiRoster& aRoster, CHuiControlGroup& aGroup, TInt aWhere, TInt aScreenNumber )
{
iData->iBridgeObj->ShowControlGroupL(aRoster, aGroup, aWhere, aScreenNumber);
- iData->iBridgeObj->HandleVisualVisibility( aScreenNumber );
-
+ iData->iBridgeObj->HandleVisualVisibility( aScreenNumber );
}
// ---------------------------------------------------------------------------
@@ -1431,18 +1315,6 @@
//
void CAlfAppUi::NotifyLowMemory(TInt aAmountOfFreeMemRequested)
{
-/*
- // Toggle between normal & low memory levels
- if (!aAmountOfFreeMemRequested)
- {
- iData->iBridgeObj->SetMemoryLevel(EHuiMemoryLevelNormal);
- }
- else
- {
- iData->iBridgeObj->SetMemoryLevel(EHuiMemoryLevelLow);
- }
-*/
-
// Enable "ultra-low" memory mode
if (!aAmountOfFreeMemRequested)
{
@@ -1511,11 +1383,6 @@
{
User::Leave(KErrPermissionDenied);
}
-
-// if (iData->iBridgeObj->LayoutSwitchEffectCoordinator())
-// {
-// iData->iBridgeObj->LayoutSwitchEffectCoordinator()->EnableSafeCounter(EFalse); // let capserver rule
-// }
TBool pause = aMessage.Int0();
--- a/uiacceltk/hitchcock/ServerCore/Src/alfbridge.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfbridge.cpp Tue May 11 17:03:00 2010 +0300
@@ -103,6 +103,10 @@
// Timeout for manual refresh
const TInt KAlfManualRefreshTimeout = 35000;
+_LIT_SECURITY_POLICY_PASS(KAlwaysPass);
+const TUid KPSSysCategory = { KUidSystemCategoryValue };
+const TUint32 KAlfPSKeyHSVisible = 0x2002EA91;
+
const TInt KFadeAction = 6000;
NONSHARABLE_CLASS( TAlfBridgeDrawerWrapper ) : public MAlfDrawerScreenInterface
@@ -222,6 +226,10 @@
RegisterFadeEffectL();
iManualRefreshTimer = CPeriodic::NewL(CActive::EPriorityStandard);
+
+ RProperty::Define( KPSSysCategory, KAlfPSKeyHSVisible, RProperty::EInt, KAlwaysPass, KAlwaysPass );
+ RProperty::Set( KPSSysCategory, KAlfPSKeyHSVisible, 0 );
+
}
// ---------------------------------------------------------------------------
@@ -1385,6 +1393,7 @@
iBgSurfaceFound = EFalse;
iHomeScreenWallpaperWindowFound = EFalse;
+ iHomeScreenVisible = EFalse;
// Check if effect group has an effect with opaque hint.
CHuiControlGroup& fxcontrolgroup = *(iAlfScreens[aScreenNumber]->iFullscreenEffectControlGroup);
@@ -1663,11 +1672,22 @@
}
}
}
-
- if ( iSwRenderingEnabled )
- {
- screen->iDisplay->SetForegroundTextureOptions( alfWindowGroupFoundVisible );
- }
+
+ if (iHomeScreenPSValue != iHomeScreenVisible)
+ {
+ TInt value = iHomeScreenVisible;
+ if ((iHomeScreenVisible && iHomeScreenWallpaperWindowFound) || iBgAnimHidden)
+ {
+ value = EFalse;
+ }
+ if (value != iHomeScreenPSValue)
+ {
+ RProperty::Set( KPSSysCategory, KAlfPSKeyHSVisible, value );
+ iHomeScreenPSValue = value;
+ }
+ }
+
+ screen->iDisplay->SetForegroundTextureOptions( alfWindowGroupFoundVisible | alfClientWindowGroupVisible );
// Finally, if there are fadeeffects applied to windowgroups, make sure first one does not
// blend itself, but other windowgroups do blend. Otherwise windowgrouops above others
@@ -1861,6 +1881,7 @@
// We found an _ACTIVE_ window in homescreens controlgroup
if (aControlGroup.SecureId() == 0x102750F0)
{
+ iHomeScreenVisible = ETrue;
// which is fully opaque, and visible ...
if ( (canvasVisual->iOpacity.Now() > 0.001) && canvasVisual->Flags() & EHuiVisualFlagOpaqueHint)
{
@@ -2071,9 +2092,17 @@
// Determine if surface is visible.
TBool surfaceWasVisible = ( canvasVisual->CanvasFlags() & EHuiCanvasFlagSurfaceVisible );
TBool surfaceWasInvisible = ( canvasVisual->CanvasFlags() & EHuiCanvasFlagSurfaceInvisible );
- __ALFLOGSTRING2("CAlfBridge::HideTarget: %d %d", aVisible, surfaceWasVisible);
+ __ALFLOGSTRING2("CAlfBridge::HandleLayerVisibility aVisible %d surfaceWasVisible %d", aVisible, surfaceWasVisible);
TBool forcedUpdate = !surfaceWasVisible && !surfaceWasInvisible;
+
+#ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS
+ if ( !aVisible && canvasVisual->LayerUsesAlphaFlag() )
+ {
+ __ALFLOGSTRING( "CAlfBridge::HandleLayerVisibility LayerUsesAlphaFlag setting visible" );
+ aVisible = ETrue;
+ }
+#endif // SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS
if ( !aVisible && ( forcedUpdate || surfaceWasVisible ) )
{
@@ -2477,6 +2506,11 @@
iHuiEnv->ContinueRefresh();
break;
}
+ case EAlfDSSetDistractionWindow:
+ {
+ HandleSetDistractionWindowL( data );
+ break;
+ }
case KUnInitialized:
{
__ALFLOGSTRING1("CAlfBridge::DoDispatchL: Received KUnInitialized: %d - CRITICAL ERROR!",data.iOp);
@@ -2618,14 +2652,10 @@
viz->SetCanvasFlags(EHuiCanvasFlagEnableCanvasClipping);
viz->SetParentCanvas(parentViz);
}
- else
- {
- __ALFLOGSTRING1("CAlfBridge::HandleNewWindowL: Parent not found for visual %d!",windowNodeId);
- }
}
else
{
- __ALFLOGSTRING1("CAlfBridge::HandleNewWindowL: Control group not found for visual %d!",windowNodeId);
+ __ALFLOGSTRING1("CAlfBridge::HandleNewWindowL: Control group not found for visual 0x%x!",windowNodeId);
}
break;
@@ -2674,6 +2704,16 @@
if (layout)
layout->Remove(aVisual);
aVisual->Owner().Remove(aVisual);
+ RPointerArray<CHuiLayout> familyTree;
+ ListFamilyTreeL(familyTree, (CHuiLayout*)aVisual); // recursively dig the family tree
+ for (TInt familyIndex = 1; familyIndex < familyTree.Count();familyIndex++)
+ {
+ CHuiLayout* lVisual = familyTree[familyIndex];
+ lVisual->Owner().Remove(lVisual);
+ iOrphanStorage->AppendL( lVisual );
+ }
+ familyTree.Close();
+
__ALFLOGSTRING1("CAlfBridge::HandleDestroyWindow - destroying visual 0x%x", aVisual);
// check if visual is having an effect at the moment. This could occur, if options menu is exited (with effect) and then
// application is exited. EHuiVisualFlagDrawOnlyAsExternalContent is indication that
@@ -5016,7 +5056,36 @@
__ALFFXLOGSTRING("CAlfBridge::HandleGfxStopControlEffectsL - end");
}
-
+void CAlfBridge::HandleSetDistractionWindowL( TAlfBridgerData data )
+ {
+ TInt windowGroupId = data.iInt1;
+ TInt windowClientHandle = data.iInt2;
+ TBool setDistractionWindow = (TBool)data.iPtr;
+
+ CControlEffectState* fxData = new (ELeave) CControlEffectState;
+ CleanupStack::PushL(fxData);
+ fxData->ConstructL(windowClientHandle, windowGroupId, setDistractionWindow);
+
+ __ALFFXLOGSTRING2("CAlfBridge::HandleSetDistractionWindowL client handle: %d, group: %d", windowClientHandle, windowGroupId );
+ CHuiCanvasVisual* visual = FindVisualByClientSideIds(windowClientHandle, windowGroupId);
+
+ iControlEffectData = fxData;
+ CleanupStack::Pop(fxData);
+
+ if (visual)
+ {
+ HandleGfxControlEventL(*iControlEffectData, visual);
+ }
+ else
+ {
+ __ALFFXLOGSTRING2("CAlfBridge::HandleGfxControlEffectsL - Control not found. iClientHandle %d, iClientGroupHandle %d",
+ fxData->iClientHandle,
+ fxData->iClientGroupHandle);
+ return;
+ }
+ delete iControlEffectData;
+ iControlEffectData = NULL;
+ }
void CAlfBridge::HandleRegisterEffectL( TAlfBridgerData data )
{
TInt action = data.iInt1;
@@ -5280,6 +5349,32 @@
void CAlfBridge::HandleGfxControlEventL(CControlEffectState& aEvent,
CHuiCanvasVisual* aCanvasVisual)
{
+
+ if (aEvent.iSetDistractionWindow)
+ {
+ // marks the background clear window that comes as courtesy of the framework.
+ __ALFFXLOGSTRING2("CAlfBridge::HandleGfxControlEventL - setting distraction window 0x%x to state %d", aCanvasVisual, aEvent.iSetDistractionWindow);
+ switch(aEvent.iSetDistractionWindow)
+ {
+ case CControlEffectState::ESetDistractionWindow:
+ {
+ aCanvasVisual->SetCanvasFlags(EHuiCanvasFlagDistractionWindow);
+ break;
+ }
+ case CControlEffectState::ERemoveDistractionWindow:
+ {
+ aCanvasVisual->ClearCanvasFlags(EHuiCanvasFlagDistractionWindow);
+ break;
+ }
+ }
+ return;
+ }
+
+ if ( aCanvasVisual && aCanvasVisual->Owner().ControlGroup() && aCanvasVisual->Owner().ControlGroup()->SecureId() == 0x101f857A ) // Camera id
+ {
+ __ALFFXLOGSTRING("CAlfBridge::HandleGfxControlEventL - Returning because inside camera app");
+ return;
+ }
TInt err = KErrNone;
// Check if there is an effects engine in HuiEnv
CHuiFxEffect* effect = NULL;
@@ -6361,7 +6456,6 @@
TRect fullscreen = TRect(TPoint(0,0), screen->Size());
__ALFFXLOGSTRING3("CAlfBridge::IsFullScreenDrawn - new orientation %d, screen size: (%d,%d)", aOrientation, fullscreen.iBr.iX, fullscreen.iBr.iY );
TBool fullscreenCovered = EFalse;
- CAlfAppSrvSessionBase* topMostAlfSrvSession = NULL;
// Check if effect group has an effect with opaque hint.
CHuiControlGroup& fxcontrolgroup = *(iAlfScreens[0]->iFullscreenEffectControlGroup);
@@ -6377,9 +6471,9 @@
{
fullscreenCovered = ETrue;
}
+
+ TBool alfClientWindowGroupVisible = EFalse;
- TBool alfWindowGroupFoundVisible = EFalse;
-
AMT_SET_VALUE( iVisibleVisualCount, 0 );
// skip the topmost (effect) layer, start from floating sprite group
@@ -6402,7 +6496,10 @@
if (!fullscreenCovered)
{
fullscreenCovered = IsRectCoveredByRegion(fullscreen, iTempRegion);
-
+ if(fullscreenCovered)
+ {
+ return ETrue;
+ }
for(TInt ii=0;ii< iTempRegion.Count(); ii++)
{
__ALFFXLOGSTRING4("CAlfBridge::IsFullScreenDrawn (%d,%d)-(%d,%d)", iTempRegion[ii].iTl.iX, iTempRegion[ii].iTl.iY , iTempRegion[ii].iBr.iX, iTempRegion[ii].iBr.iY );
@@ -6412,7 +6509,29 @@
// Dont mess with alf control group visuals, alf session handling does it for us
if (control.Role() == EAlfSessionContainer)
{
- // Skip alf session containers until we have better heuristic implement for them
+ CHuiLayout* hostContainer = control.ContainerLayout( NULL );
+ TInt flags = hostContainer->Flags();
+ if (alfClientWindowGroupVisible)
+ {
+ // check visual sizes if client has not made this control group hidden
+ if(!(flags&EHuiVisualFlagUnderOpaqueHint))
+ {
+ if(iAppUi)
+ {
+ CAlfAppSrvSessionBase* alfSrvSession = iAppUi->SrvSessionForControlGroup(controlgroup);
+
+ TInt clientWindowGroupId = alfSrvSession->ClientWindowGroup();
+ // checking the case if there are multiple alf application openend.
+ if (clientWindowGroupId == iAppUi->GetLastActiveClient())
+ {
+ if(IsFullScreenDrawnRecursiveAlfContent(hostContainer, fullscreen) )
+ {
+ return ETrue;
+ }
+ }
+ }
+ }
+ }
continue;
}
@@ -6428,6 +6547,11 @@
}
*/
+ if(controlgroup.iAlfApp && layout->iOpacity.Now() > 0.0f )
+ {
+ alfClientWindowGroupVisible = ETrue;
+ }
+
if (fullscreenCovered)
{
return ETrue;
@@ -6436,6 +6560,40 @@
return fullscreenCovered;
}
+TBool CAlfBridge::IsFullScreenDrawnRecursiveAlfContent(CHuiVisual* aVisual, TRect& aFullScreen)
+ {
+ if(aVisual)
+ {
+ TInt flags = aVisual->Flags();
+ if(!(flags && EHuiVisualFlagInactive) && aVisual->iOpacity.Now() > 0 ) // don't take inactive or invisible visual into account
+ {
+ TPoint point = aVisual->Pos().Now();
+ TPoint size = aVisual->Size().Now();
+ TRect visualRect(point, TSize(size.iX, size.iY));
+ iTempRegion.AddRect(visualRect);
+ iTempRegion.Tidy();
+
+ if( IsRectCoveredByRegion(aFullScreen, iTempRegion) )
+ {
+ return ETrue;
+ }
+ }
+ TInt count = aVisual->Count();
+ if(count)
+ {
+ for(TInt i = 0 ; i < count ; i++)
+ {
+ if( IsFullScreenDrawnRecursiveAlfContent( &aVisual->Visual(i), aFullScreen ) )
+ {
+ return ETrue;
+ }
+ }
+ }
+ }
+ return EFalse;
+ }
+
+
TBool CAlfBridge::IsFullScreenDrawnRecursive(
CHuiLayout* aLayout,
CHuiControlGroup& aControlGroup,
@@ -6515,7 +6673,9 @@
visualIsOpaque = EFalse;
}
- if (visualIsActive && visualIsOpaque && !visualRectIsCovered)
+ if (visualIsActive && visualIsOpaque && !visualRectIsCovered
+ && !(canvasVisual->CanvasFlags() & EHuiCanvasFlagDistractionWindow) // exclude the akn clearer window from heuristics
+ )
{
// New visibility system takes only window shape into account.
if ( canvasVisual->CanvasFlags() & EHuiCanvasFlagIncludeToVisibilityCalculation )
--- a/uiacceltk/hitchcock/ServerCore/Src/alfeffectutils.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfeffectutils.cpp Tue May 11 17:03:00 2010 +0300
@@ -510,7 +510,7 @@
if ( iBridge.iAlfRegisteredEffects[i].iAction == aContext)
{
//RDebug::Print(_L("CAlfLayoutSwitchEffectCoordinator::SetLayoutSwitchEffectL - loading effect"));
- TRAP_IGNORE(engine->LoadEffectL(*iBridge.iAlfRegisteredEffects[i].iEffectFile, effect, effectable, NULL, this, iLayoutSwitchEffectContext, 0 ) );
+ TRAP_IGNORE(engine->LoadEffectL(*iBridge.iAlfRegisteredEffects[i].iEffectFile, effect, effectable, NULL, this, iLayoutSwitchEffectContext, KHuiFxDelayRunUntilFirstFrameHasBeenDrawn ) );
break;
}
}
@@ -854,8 +854,22 @@
iHandle = aStream.ReadInt32L();
iClientHandle = aStream.ReadInt32L();
iClientGroupHandle = aStream.ReadInt32L();
- TInt screenNumber = aStream.ReadInt32L(); // this has always value 0
+ TInt screenNumber = aStream.ReadInt32L(); // this has always value 0
+ iSetDistractionWindow = ENoOperation;
// Are Symbian full filename+directory combinations still max 256 characters long?
ResolveFileNameL(aStream);
}
+void CControlEffectState::ConstructL(TUint32 aClientHandle, TUint32 aClientGroupHandle, TInt aSetDistractionWindow)
+ {
+ iClientHandle = aClientHandle;
+ iClientGroupHandle = aClientGroupHandle;
+ if (aSetDistractionWindow)
+ {
+ iSetDistractionWindow = CControlEffectState::ESetDistractionWindow;
+ }
+ else
+ {
+ iSetDistractionWindow = CControlEffectState::ERemoveDistractionWindow;
+ }
+ }
--- a/uiacceltk/hitchcock/ServerCore/Src/alfsrvsettingshandler.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfsrvsettingshandler.cpp Tue May 11 17:03:00 2010 +0300
@@ -282,5 +282,8 @@
//
TInt CAlfSrvSettingsHandler::RunError(TInt aError)
{
- return aError;
+ // will likely lead to inconsistent state and thus reset anyway
+ RDebug::Print(_L("CAlfSrvSettingsHandler::RunError( %d )"),aError);
+ aError -= (aError);
+ return aError; //KErrNone;
}
--- a/uiacceltk/hitchcock/ServerCore/Src/alfstreamerbridge.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfstreamerbridge.cpp Tue May 11 17:03:00 2010 +0300
@@ -201,10 +201,12 @@
{
err = Trigger(iMessages.Count()-1);
}
- else
- {
- iQueueSema.Signal();
- }
+ else if (iVarDataAddedButNotPosted)
+ {
+ iVarDataAddedButNotPosted = EFalse; // data lost
+ iQueueSema.Signal();
+ }
+
return err;
}
--- a/uiacceltk/hitchcock/ServerCore/Src/alfstreamerserver.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfstreamerserver.cpp Tue May 11 17:03:00 2010 +0300
@@ -978,7 +978,16 @@
{
server->CompleteSignal(aMessage.Int0(), aMessage.Int1());
break;
- }
+ }
+ case EAlfSetDistractionWindow:
+ {
+ TInt windowGroupId = aMessage.Int0();
+ TInt windowHandle = aMessage.Int1();
+ TInt state = (TInt)aMessage.Int2();
+ aMessage.Complete(KErrNone);
+ server->Bridge()->AddData( EAlfDSSetDistractionWindow, windowGroupId, windowHandle, (TAny*)state );
+ break;
+ }
default:
{
aMessage.Complete(KErrNotSupported);
--- a/uiacceltk/hitchcock/ServerInterface/src/alfdocument.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/ServerInterface/src/alfdocument.cpp Tue May 11 17:03:00 2010 +0300
@@ -42,7 +42,8 @@
//
CEikAppUi* CAlfDocument::CreateAppUiL()
{
- return new (ELeave) CAlfAppUi;
+ User::Leave(KErrNotSupported);
+ return 0;
}
--- a/uiacceltk/hitchcock/backgroundanim/group/bganimhost.mmp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/backgroundanim/group/bganimhost.mmp Tue May 11 17:03:00 2010 +0300
@@ -56,6 +56,7 @@
SOURCE screensaverpropertylistener.cpp
#endif
SOURCE sensor.cpp
+SOURCE fgapppropertylistener.cpp
STATICLIBRARY libcrt0.lib
LIBRARY libc.lib
--- a/uiacceltk/hitchcock/backgroundanim/inc/bganimhost.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/backgroundanim/inc/bganimhost.h Tue May 11 17:03:00 2010 +0300
@@ -26,6 +26,7 @@
#include "plugininterface.h"
#include "themerepositorylistener.h"
#include "screensaverpropertylistener.h"
+#include "fgapppropertylistener.h"
#include "sensor.h"
#include "../../../../uiaccelerator_plat/alf_visual_api/inc/alf/alfcompositionutility.h"
@@ -39,6 +40,8 @@
void ExecuteL();
static TInt TimerFunc(TAny* aPtr);
+ static TInt ReaperFunc(TAny* aPtr);
+ static TInt DoomBringerFunc(TAny* aPtr);
// from MAlfCompositionObserver
void FrameReady(TInt aScreenNumber);
@@ -67,11 +70,14 @@
void LoadPluginL();
void ReleasePlugin();
void NewFrame();
+ void Kill();
void HandleScreenSaverEvent();
+ void HandleFGAppEvent();
TBool GetPluginConfigurationL();
- static TInt ScreenSaverCallback(TAny* aPtr);
void StartSensorsL();
void StopSensors();
+ static TInt ScreenSaverCallback(TAny* aPtr);
+ static TInt FgAppCallback(TAny* aPtr);
private:
// windowing stuff
@@ -96,6 +102,8 @@
// timer
CHighResTimer* iTimer;
TBool iTimerRunning;
+ CHighResTimer* iTheReaper;
+ CHighResTimer* iDoomBringer;
TBool iEGLInitialized;
TBool iSurfaceInitialized;
@@ -108,11 +116,15 @@
CThemeRepositoryListener* iThemeRepositoryListener;
CScreenSaverPropertyListener* iSCPropertyListener;
+ CFGAppPropertyListener *iHSFgStatusPropertyListener;
RPointerArray<CSensorListener> iSensorListeners;
+ TBool iSensorsStopped;
RAknsSrvSession iSkinSrv;
HBufC* iCurrentPluginDllName;
HBufC* iCurrentPluginAssetDir;
TBool iIsUIReady;
+
+ TBool iReaped;
};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiacceltk/hitchcock/backgroundanim/inc/fgapppropertylistener.h Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,44 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef __FGAPPPROPERTYLISTENER_H__
+#define __FGAPPPROPERTYLISTENER_H__
+
+#include <e32std.h>
+#include <e32base.h>
+#include <e32property.h>
+
+class CFGAppPropertyListener : public CActive
+ {
+ public:
+ static CFGAppPropertyListener* NewL(TCallBack aCallback);
+ virtual ~CFGAppPropertyListener();
+ void RunL();
+ void DoCancel();
+ void IssueRequest();
+ TInt GetHSFGStatus();
+ protected:
+ void ConstructL();
+ private:
+ CFGAppPropertyListener(TCallBack aCallback);
+
+ RProperty iHSFGProperty;
+ TCallBack iCallback;
+ TInt iHSFGStatus;
+ };
+
+#endif
--- a/uiacceltk/hitchcock/backgroundanim/inc/plugininterface.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/backgroundanim/inc/plugininterface.h Tue May 11 17:03:00 2010 +0300
@@ -61,6 +61,8 @@
// If plugin does not want to use sensors, the function pointer must to be initialized to NULL
void (*receivesensordata)(void*, int, int);
+ void (*setfaded)(int);
+
// this function can be used to convey any additional data from/to the plugin.
int (*extension)(int, void*);
} plugin_export_v1_t;
--- a/uiacceltk/hitchcock/backgroundanim/refplugin/src/plugin.c Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/backgroundanim/refplugin/src/plugin.c Tue May 11 17:03:00 2010 +0300
@@ -197,6 +197,7 @@
interface->destroy = destroy;
interface->desiredsensors = 0;
interface->receivesensordata = 0;
+ interface->setfaded = 0;
interface->extension = extension;
}
}
--- a/uiacceltk/hitchcock/backgroundanim/src/bganimhost.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/backgroundanim/src/bganimhost.cpp Tue May 11 17:03:00 2010 +0300
@@ -41,21 +41,17 @@
delete iCurrentPluginDllName;
delete iCurrentPluginAssetDir;
delete iTimer;
- if (iPlugin)
- {
- iPlugin->destroy();
- free(iPlugin);
- }
- iPluginLibrary.Close();
+ delete iTheReaper;
+ delete iDoomBringer;
+
+ ReleasePlugin();
+
#if !defined(SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS)
delete iSCPropertyListener;
#endif
+ delete iHSFgStatusPropertyListener;
delete iThemeRepositoryListener;
- while (iSensorListeners.Count())
- {
- delete iSensorListeners[0];
- iSensorListeners.Remove(0);
- }
+
iSensorListeners.Close();
delete CActiveScheduler::Current();
CActiveScheduler::Install(NULL);
@@ -82,11 +78,12 @@
CActiveScheduler *ac = new (ELeave) CActiveScheduler;
CActiveScheduler::Install(ac);
iTimer = CHighResTimer::NewL(TCallBack(TimerFunc, this),CActive::EPriorityStandard);
+ iTheReaper = CHighResTimer::NewL(TCallBack(ReaperFunc, this),CActive::EPriorityStandard);
iThemeRepositoryListener = CThemeRepositoryListener::NewL(&iRunning);
#if !defined(SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS)
iSCPropertyListener = CScreenSaverPropertyListener::NewL(TCallBack(ScreenSaverCallback, this));
#endif
-
+ iHSFgStatusPropertyListener = CFGAppPropertyListener::NewL(TCallBack(FgAppCallback, this));
CreateWindowL();
User::LeaveIfError(iSkinSrv.Connect());
@@ -101,6 +98,7 @@
#if !defined(SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS)
iSCPropertyListener->IssueRequest();
#endif
+ iHSFgStatusPropertyListener->IssueRequest();
}
void CBgAnimHost::CreateWindowL()
@@ -507,11 +505,16 @@
void CBgAnimHost::NewFrame()
{
- if (!iRunning)
+ if (!iRunning && !iDoomBringer)
{
- // Stop and exit
- CActiveScheduler::Stop();
- return;
+ iDoomBringer = CHighResTimer::NewL(TCallBack(DoomBringerFunc, this),CActive::EPriorityStandard);
+ iDoomBringer->CallBack(5000);
+ }
+
+ if (iRunning && iDoomBringer)
+ {
+ delete iDoomBringer;
+ iDoomBringer = NULL;
}
if (!iSurfaceInitialized)
{
@@ -545,7 +548,28 @@
iTimer->CallBack(nextcallback);
}
+
+void CBgAnimHost::Kill()
+ {
+ if (!iRunning)
+ {
+ CActiveScheduler::Stop();
+ }
+ else
+ {
+ delete iDoomBringer;
+ iDoomBringer = NULL;
+ }
+ return;
+ }
+
+TInt CBgAnimHost::DoomBringerFunc(TAny* aPtr)
+ {
+ CBgAnimHost* me = (CBgAnimHost*)(aPtr);
+ me->Kill();
+ return ETrue;
+ }
TInt CBgAnimHost::TimerFunc(TAny* aPtr)
{
@@ -554,7 +578,14 @@
return ETrue;
}
-
+TInt CBgAnimHost::ReaperFunc(TAny* aPtr)
+ {
+ CBgAnimHost* me = (CBgAnimHost*)(aPtr);
+ me->CompositionTargetHidden();
+ return ETrue;
+ }
+
+
void CBgAnimHost::ExecuteL()
{
// finally start our timer and scheduler...
@@ -606,7 +637,13 @@
void CBgAnimHost::CompositionTargetVisible()
{
- if (iSurfaceInitialized || iHiddenDueSC)
+ if (!iRunning && !iDoomBringer)
+ {
+ iDoomBringer = CHighResTimer::NewL(TCallBack(DoomBringerFunc, this),CActive::EPriorityStandard);
+ iDoomBringer->CallBack(5000);
+ }
+
+ if (iSurfaceInitialized || iHiddenDueSC || iReaped)
{
// don't bother if we are already in
// a correct state, or if we are hidden by
@@ -626,6 +663,7 @@
if (!err)
{
iPlugin->gpuresourcesavailable(1);
+ iPlugin->setfaded(iHSFgStatusPropertyListener->GetHSFGStatus());
iTimer->CallBack(1);
iTimerRunning = ETrue;
}
@@ -636,6 +674,7 @@
{
#if !defined(SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS)
TInt scStatus = iSCPropertyListener->GetScreenSaverStatus();
+
if (scStatus)
{
// screensaver is ON
@@ -666,6 +705,35 @@
iSensorListeners[count]->StopListening();
}
}
+
+void CBgAnimHost::HandleFGAppEvent()
+ {
+ if (!iRunning && !iDoomBringer)
+ {
+ iDoomBringer = CHighResTimer::NewL(TCallBack(DoomBringerFunc, this),CActive::EPriorityStandard);
+ iDoomBringer->CallBack(5000);
+ }
+
+ if (iPlugin && iPlugin->setfaded)
+ {
+ iPlugin->setfaded(iHSFgStatusPropertyListener->GetHSFGStatus());
+ if (!iHSFgStatusPropertyListener->GetHSFGStatus())
+ {
+ // reap the anim in 5 seconds...
+ // 5 seconds is probably just allright
+ // to have enought time for the plugin to fade out...
+ iReaped = ETrue;
+ iTheReaper->CallBack(5000);
+ }
+ else
+ {
+ iReaped = EFalse;
+ iTheReaper->Cancel();
+ CompositionTargetVisible();
+ }
+ }
+ }
+
TInt CBgAnimHost::ScreenSaverCallback(TAny* aPtr)
{
CBgAnimHost* me = (CBgAnimHost*) aPtr;
@@ -673,6 +741,13 @@
return EFalse;
}
+TInt CBgAnimHost::FgAppCallback(TAny* aPtr)
+ {
+ CBgAnimHost* me = (CBgAnimHost*) aPtr;
+ me->HandleFGAppEvent();
+ return EFalse;
+ }
+
void CBgAnimHost::DataReceived( CSensrvChannel& aChannel, TInt aCount, TInt aDataLost )
{
if (iPlugin && iPlugin->receivesensordata)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiacceltk/hitchcock/backgroundanim/src/fgapppropertylistener.cpp Tue May 11 17:03:00 2010 +0300
@@ -0,0 +1,75 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+#include <e32debug.h>
+#include "fgapppropertylistener.h"
+
+const TUid KPSSysCategory = { KUidSystemCategoryValue };
+const TUint32 KAlfPSKeyHSVisible = 0x2002EA91;
+
+CFGAppPropertyListener::CFGAppPropertyListener(TCallBack aCallback) : CActive(EPriorityStandard), iCallback(aCallback)
+ {
+ CActiveScheduler::Add(this);
+ }
+
+CFGAppPropertyListener::~CFGAppPropertyListener()
+ {
+ Cancel();
+ iHSFGProperty.Close();
+ }
+
+CFGAppPropertyListener* CFGAppPropertyListener::NewL(TCallBack aCallback)
+ {
+ CFGAppPropertyListener* me = new (ELeave)CFGAppPropertyListener(aCallback);
+ CleanupStack::PushL(me);
+ me->ConstructL();
+ CleanupStack::Pop();
+ return me;
+ }
+
+void CFGAppPropertyListener::ConstructL()
+ {
+ User::LeaveIfError(iHSFGProperty.Attach(KPSSysCategory, KAlfPSKeyHSVisible));
+ }
+
+void CFGAppPropertyListener::RunL()
+ {
+ if (iStatus.Int() != KErrCancel)
+ {
+ IssueRequest();
+ iHSFGProperty.Get(iHSFGStatus);
+ iCallback.CallBack();
+ }
+ }
+
+void CFGAppPropertyListener::DoCancel()
+ {
+ iHSFGProperty.Cancel();
+ }
+
+void CFGAppPropertyListener::IssueRequest()
+ {
+ iHSFGProperty.Subscribe(iStatus);
+ SetActive();
+ }
+
+TInt CFGAppPropertyListener::GetHSFGStatus()
+ {
+ return iHSFGStatus;
+ }
+
+
+
--- a/uiacceltk/hitchcock/backgroundanim/src/highrestimer.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/backgroundanim/src/highrestimer.cpp Tue May 11 17:03:00 2010 +0300
@@ -39,9 +39,9 @@
{
wait = 1000;
}
- if (wait > 100000)
+ if (wait > 5000000)
{
- wait = 100000;
+ wait = 5000000;
}
HighRes( TTimeIntervalMicroSeconds32( wait ) );
--- a/uiacceltk/hitchcock/backgroundanim/src/themerepositorylistener.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/backgroundanim/src/themerepositorylistener.cpp Tue May 11 17:03:00 2010 +0300
@@ -53,12 +53,15 @@
// we are only interested in the value if it
// is something else than 0
// as it means that we should stop...
- if (value && value != iPreviousValue)
+ if (value)
{
*iValueToChange = EFalse;
}
+ else
+ {
+ *iValueToChange = ETrue;
+ }
- iPreviousValue = value;
if (iStatus.Int() != KErrCancel)
{
--- a/uiacceltk/hitchcock/coretoolkit/inc/huicanvaswspainter.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/huicanvaswspainter.h Tue May 11 17:03:00 2010 +0300
@@ -186,6 +186,7 @@
void DoHandleBufferL(TInt aIndex, TRect& aDisplayRect, TInt aAction, const CHuiCanvasVisual& aUser, CHuiGc* aGc, TPoint& aPos);
void DoHandleBufferStringL(TInt aIndex, TRect& aDisplayRect, TInt aAction, const CHuiCanvasVisual& aUser, CHuiGc* aGc, TPoint& aPos, TPtr8 aCommandBuffer, CHuiCanvasCommandBuffer *aBuffer);
+ void DoPeekBufferAndUpdateShapeRegionL();
void DoPeekBufferL(TInt aIndex);
void DoDigestPaddingL();
@@ -284,6 +285,9 @@
virtual void ClearCapturingBufferArea(const TRect& aRect);
+ void ApplyShapeRegion();
+ void TranslateShapeRegion(const TPoint& aNewOrigin);
+
private:
/** Region which this painter updates with current command buffers */
@@ -314,6 +318,8 @@
TBool iAutomaticRenderBufferUsage;
/** Flags to tell whether the window shape region has been changed */
+ TBool iShapeRegionAvailable;
+ TPoint iShapeRegionOrigin;
TBool iShapeRegionClearingPending;
TBool iShapeRegionClippingPending;
@@ -390,6 +396,6 @@
// Boolean flag indicating if render buffer ought to be used.
TBool iEnableRenderBuffer;
- };
+ };
#endif // __HUICANVASWSPAINTER_H__
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiDisplay.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiDisplay.cpp Tue May 11 17:03:00 2010 +0300
@@ -218,6 +218,8 @@
iVisibleAreaObservers.Reset();
iRosterObservers.Reset();
+ iTempDirtyRegions.Close();
+
iDirtyRegions.Close();
iDirtyRegions2.Close();
if ( iCurrentDirtyRegions )
@@ -649,6 +651,9 @@
iWholeDisplayAreaIsDirty = EFalse;
+ // Restore state to defaults. Alf client may have done some NVG drawing outside refresh loop and main drawing context may be wrong
+ iGc->RestoreState();
+
if(iUpdateRenderState)
{
// Set state when requested.
@@ -734,16 +739,18 @@
// this frame and the previous frame (this is needed when buffer swapping
// is used; with buffer copying a single list of dirty regions would
// suffice).
- RDirtyRegions dirty;
+
+
+ iTempDirtyRegions.Reset();
for(i = 0; i < iCurrentDirtyRegions->Count(); ++i)
{
- dirty.Append((*iCurrentDirtyRegions)[i]);
+ iTempDirtyRegions.Append((*iCurrentDirtyRegions)[i]);
}
if (iPreviousDirtyRegions)
{
for(i = 0; i < iPreviousDirtyRegions->Count(); ++i)
{
- AddDirtyRegion((*iPreviousDirtyRegions)[i], dirty, EFalse);
+ AddDirtyRegion((*iPreviousDirtyRegions)[i], iTempDirtyRegions, EFalse);
}
}
@@ -794,25 +801,25 @@
// Set dirty rect in render surface to minimize screen update
// Only implemented for BitGdi renderer for now
TRect mergedDirtyRect;
- if (dirty.Count() > 0)
+ if (iTempDirtyRegions.Count() > 0)
{
- mergedDirtyRect = dirty[0];
+ mergedDirtyRect = iTempDirtyRegions[0];
}
if (useDirtyRects)
{
// When Bitgdi renderer used set dirty rect in render surface
// to minimize screen update in CHuiBitgdiRenderSurface::SwapBuffers
- if (dirty.Count() == 1)
+ if (iTempDirtyRegions.Count() == 1)
{
ClipDirtyRect(mergedDirtyRect, VisibleAreaClippingRect());
iRenderSurface->SetDirtyRect(mergedDirtyRect);
}
- else if (dirty.Count() > 1)
+ else if (iTempDirtyRegions.Count() > 1)
{
- for(i = 1; i < dirty.Count(); ++i)
+ for(i = 1; i < iTempDirtyRegions.Count(); ++i)
{
- TRect r(dirty[i]);
+ TRect r(iTempDirtyRegions[i]);
// check top left corner to expand or not
if (r.iTl.iX < mergedDirtyRect.iTl.iX)
{
@@ -852,8 +859,8 @@
// Merge into max one dirty area when HW accelrated drawing is used
if (useDirtyRects && IsRendererHWAccelerated())
{
- dirty.Reset();
- dirty.Append(mergedDirtyRect);
+ iTempDirtyRegions.Reset();
+ iTempDirtyRegions.Append(mergedDirtyRect);
}
#ifdef HUI_DEBUG_PRINT_PERFORMANCE_INTERVAL
@@ -865,10 +872,11 @@
#endif
// Usually there is only one dirty region (if any).
- for(i = 0; i < dirty.Count(); ++i)
+ iCurrentDirtyIndx = 0;
+ for(; iCurrentDirtyIndx < iTempDirtyRegions.Count(); ++iCurrentDirtyIndx)
{
// Set up the clipping rectangle.
- TRect dirtyRect = dirty[i];
+ TRect dirtyRect = iTempDirtyRegions[iCurrentDirtyIndx];
ClipDirtyRect(dirtyRect, VisibleAreaClippingRect());
iGc->PushClip();
@@ -886,34 +894,7 @@
iBackgroundColor = oldBgColor;
}
- // Clear background for the dirty area
- if (iBackgroundItems.Count() != 0)
- {
- ClearWithBackgroundItems(dirtyRect);
- }
- else
- {
- switch (iClearBackground)
- {
- case EClearWithColor:
- {
- ClearWithColor(dirtyRect);
- break;
- }
- case EClearWithSkinBackground:
- {
- ClearWithSkinBackground(dirtyRect);
- break;
- }
- case EClearNone:
- default:
- {
- // Don't do anything
- break;
- }
- }
- }
-
+
if ( iForegroundBitmapGc && iForegroundTextureTransparency )
{
// There is ALF content in the background, we have to
@@ -965,7 +946,7 @@
iGc->PopClip();
}
- dirty.Reset();
+ iTempDirtyRegions.Reset();
// There must be no disparity in the number of pushed clipping rectangles.
// (equivalent to __ASSERT_ALWAYS)
@@ -1787,3 +1768,39 @@
User::LeaveIfError( err );
}
+
+void CHuiDisplay::DoBackgroundClear()
+ {
+ if(iForegroundTextureTransparency) // alf application is visible -> clear background as requested
+ {
+ // Clear background for the dirty area
+ TRect dirtyRect = iTempDirtyRegions[iCurrentDirtyIndx];
+ if (iBackgroundItems.Count() != 0)
+ {
+ ClearWithBackgroundItems(dirtyRect);
+ }
+ else
+ {
+ switch (iClearBackground)
+ {
+ case EClearWithColor:
+ {
+ ClearWithColor(dirtyRect);
+ break;
+ }
+ case EClearWithSkinBackground:
+ {
+ ClearWithSkinBackground(dirtyRect);
+ break;
+ }
+ case EClearNone:
+ default:
+ {
+ // Don't do anything
+ break;
+ }
+ }
+ }
+ }
+ }
+
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiRosterImpl.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiRosterImpl.cpp Tue May 11 17:03:00 2010 +0300
@@ -542,7 +542,10 @@
DrawSelfFrozen(aGc, display);
return;
}
-
+
+ // this was moved here because otherwise background clear did never end up to effect canvas buffers
+ display->DoBackgroundClear();
+
TInt visualCount = 0;
TInt entryCount = iEntries.Count();
// Draw the visuals tree in the display.
--- a/uiacceltk/hitchcock/coretoolkit/src/huicanvaswshwgc.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/huicanvaswshwgc.cpp Tue May 11 17:03:00 2010 +0300
@@ -987,9 +987,11 @@
destinationRect.Move(-dx,-dy);
TRgb oldPenColor = iCanvasGc->PenColor();
+ TReal32 oldOpacity = iCanvasGc->Opacity();
if (cachedImage->iUseColorModulation)
{
iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetOpacity(TReal32(iWsPenColor.Alpha() / 255.f));
}
// Draw
@@ -998,6 +1000,7 @@
if (cachedImage->iUseColorModulation)
{
iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetOpacity(oldOpacity);
}
}
}
@@ -1027,9 +1030,11 @@
destinationRect.Move(-dx,-dy);
TRgb oldPenColor = iCanvasGc->PenColor();
+ TReal32 oldOpacity = iCanvasGc->Opacity();
if (cachedImage->iUseColorModulation)
{
- iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetOpacity(TReal32(iWsPenColor.Alpha() / 255.f));
}
// Draw
@@ -1038,6 +1043,7 @@
if (cachedImage->iUseColorModulation)
{
iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetOpacity(oldOpacity);
}
}
}
@@ -1068,10 +1074,12 @@
destinationRect.Move(-dx,-dy);
TRgb oldPenColor = iCanvasGc->PenColor();
+ TReal32 oldOpacity = iCanvasGc->Opacity();
if (cachedImage->iUseColorModulation)
{
DrawTextBrush( destinationRect );
- iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetOpacity(TReal32(iWsPenColor.Alpha() / 255.f));
}
// Draw
@@ -1079,7 +1087,8 @@
if (cachedImage->iUseColorModulation)
{
- iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetOpacity(oldOpacity);
}
}
}
@@ -1114,10 +1123,12 @@
destinationRect.Move(-dx,-dy);
TRgb oldPenColor = iCanvasGc->PenColor();
+ TReal32 oldOpacity = iCanvasGc->Opacity();
if (cachedImage->iUseColorModulation)
{
DrawTextBrush( destinationRect );
- iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetOpacity(TReal32(iWsPenColor.Alpha() / 255.f));
}
// Draw
@@ -1125,7 +1136,8 @@
if (cachedImage->iUseColorModulation)
{
- iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetOpacity(oldOpacity);
}
}
}
@@ -1160,10 +1172,12 @@
destinationRect.Move(-dx,-dy);
TRgb oldPenColor = iCanvasGc->PenColor();
+ TReal32 oldOpacity = iCanvasGc->Opacity();
if (cachedImage->iUseColorModulation)
{
DrawTextBrush( destinationRect );
- iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetOpacity(TReal32(iWsPenColor.Alpha() / 255.f));
}
// Draw
@@ -1171,7 +1185,8 @@
if (cachedImage->iUseColorModulation)
{
- iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetOpacity(oldOpacity);
}
}
}
@@ -1205,9 +1220,11 @@
destinationRect.Move(-dx,-dy);
TRgb oldPenColor = iCanvasGc->PenColor();
+ TReal32 oldOpacity = iCanvasGc->Opacity();
if (cachedImage->iUseColorModulation)
{
iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetOpacity(TReal32(iWsPenColor.Alpha() / 255.f));
}
// Draw
@@ -1215,7 +1232,8 @@
if (cachedImage->iUseColorModulation)
{
- iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetOpacity(oldOpacity);
}
}
}
@@ -1248,9 +1266,11 @@
destinationRect.Move(-dx,-dy);
TRgb oldPenColor = iCanvasGc->PenColor();
+ TReal32 oldOpacity = iCanvasGc->Opacity();
if (cachedImage->iUseColorModulation)
{
- iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetOpacity(TReal32(iWsPenColor.Alpha() / 255.f));
}
// Draw
@@ -1258,7 +1278,8 @@
if (cachedImage->iUseColorModulation)
{
- iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetOpacity(oldOpacity);
}
}
}
@@ -1292,10 +1313,12 @@
destinationRect.Move(-dx,-dy);
TRgb oldPenColor = iCanvasGc->PenColor();
+ TReal32 oldOpacity = iCanvasGc->Opacity();
if (cachedImage->iUseColorModulation)
{
DrawTextBrush( destinationRect );
- iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetOpacity(TReal32(iWsPenColor.Alpha() / 255.f));
}
// Draw
@@ -1303,7 +1326,8 @@
if (cachedImage->iUseColorModulation)
{
- iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetOpacity(oldOpacity);
}
}
}
@@ -1341,10 +1365,12 @@
destinationRect.Move(-dx,-dy);
TRgb oldPenColor = iCanvasGc->PenColor();
+ TReal32 oldOpacity = iCanvasGc->Opacity();
if (cachedImage->iUseColorModulation)
{
DrawTextBrush( destinationRect );
- iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetOpacity(TReal32(iWsPenColor.Alpha() / 255.f));
}
// Draw
@@ -1352,7 +1378,8 @@
if (cachedImage->iUseColorModulation)
{
- iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetOpacity(oldOpacity);
}
}
}
@@ -1390,10 +1417,12 @@
destinationRect.Move(-dx,-dy);
TRgb oldPenColor = iCanvasGc->PenColor();
+ TReal32 oldOpacity = iCanvasGc->Opacity();
if (cachedImage->iUseColorModulation)
{
DrawTextBrush( destinationRect );
- iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetPenColor(ConvertToLinear(iWsPenColor));
+ iCanvasGc->SetOpacity(TReal32(iWsPenColor.Alpha() / 255.f));
}
// Draw
@@ -1401,7 +1430,8 @@
if (cachedImage->iUseColorModulation)
{
- iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetPenColor(oldPenColor);
+ iCanvasGc->SetOpacity(oldOpacity);
}
}
}
--- a/uiacceltk/hitchcock/coretoolkit/src/huicanvaswspainter.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/huicanvaswspainter.cpp Tue May 11 17:03:00 2010 +0300
@@ -246,6 +246,9 @@
// Initialize canvas
canvasGc.SetDefaults();
+ // Ensure that all regions have been shifted to correct origin (before calculating iFullUpdateRegion).
+ UpdateBufferUpdateRegions(aPos);
+
// Make sure we got up to date update reagion
iFullUpdateRegion.Clear();
TInt bufferCount = iCommandBuffers.Count();
@@ -313,7 +316,6 @@
/* Begin draw. If render buffer is used this sets up the render buffer if needed */
iCanvasWsGc->BeginActionL(aAction,aDisplayRect,aUser,cachePrepared,iFullUpdateRegion);
- TBool isFullUpdateRegionCleared = EFalse;
if(iShapeRegionClearingPending)
{
#ifdef HUI_DEBUG_PRINT_PERFORMANCE_INTERVAL
@@ -323,7 +325,6 @@
TBool doClear = ETrue;
iCanvasWsGc->EnableUpdateRegion(iFullUpdateRegion, doClear);
iCanvasWsGc->DisableUpdateRegion();
- isFullUpdateRegionCleared = ETrue;
iShapeRegionClearingPending = EFalse;
}
@@ -472,9 +473,7 @@
TBool aIgnoreClippedBuffers,
TBool aIgnoreHandledBuffers,
TBool aClearBeforeHandlingBuffers)
- {
- UpdateBufferUpdateRegions(aPos);
-
+ {
TInt bufferCount = iCommandBuffers.Count();
for (TInt cb = 0; cb < bufferCount; cb++)
{
@@ -623,6 +622,23 @@
CleanupStack::PopAndDestroy();
}
+void CHuiCanvasWsPainter::DoPeekBufferAndUpdateShapeRegionL()
+ {
+ TBool hadShapeRegion = iShapeRegionAvailable;
+ iShapeRegionAvailable = EFalse;
+
+ TInt latest = iCommandBuffers.Count() - 1;
+ DoPeekBufferL(latest);
+
+ if (hadShapeRegion && !iShapeRegionAvailable)
+ {
+ // Previously we had shape region, but not any more.
+ // So refresh update regions.
+ iShapeRegionClearingPending = ETrue;
+ iShapeRegionClippingPending = ETrue;
+ }
+ }
+
void CHuiCanvasWsPainter::DoPeekBufferL(TInt aIndex)
{
RMemReadStream& readerStream = iWsCommandBufferReader->Stream();
@@ -1270,22 +1286,13 @@
{
CHuiCanvasPainter::SetCommandSetL(aCommands);
- TInt latest = iCommandBuffers.Count() - 1;
- DoPeekBufferL(latest);
+ DoPeekBufferAndUpdateShapeRegionL();
SelectGcL();
// If shape region has changed recalculate all update regions and remove redundant buffers
if (iShapeRegionClippingPending)
{
- TInt bufferCount = iCommandBuffers.Count();
- for (TInt cb = 0; cb < bufferCount; cb++)
- {
- CHuiCanvasCommandBuffer* cmdbuffer = iCommandBuffers[cb];
- cmdbuffer->iUpdateRegion.Copy(cmdbuffer->iOriginalUpdateRegion);
- cmdbuffer->iUpdateRegion.Intersect(iShapeRegion);
- cmdbuffer->iUpdateRegion.Tidy();
- }
- iShapeRegionClippingPending = EFalse;
+ ApplyShapeRegion();
RemoveRedundantBuffers();
}
@@ -1307,8 +1314,11 @@
#endif
CHuiCanvasPainter::ClearCommandSet();
+
+ iShapeRegionAvailable = EFalse;
+
// Release currently cached images.
- // They may still be taken into use after next HandleBuffferL call.
+ // They may still be taken into use after next HandleBufferL call.
if (iCanvasVisual)
{
iCanvasVisual->Env().CanvasTextureCache().ReleaseAllCachedEntries(*iCanvasVisual);
@@ -1338,23 +1348,10 @@
#endif
CHuiCanvasPainter::AddCommandSetL(aMoreCommands);
- TInt latest = iCommandBuffers.Count() - 1;
- DoPeekBufferL(latest);
+ DoPeekBufferAndUpdateShapeRegionL();
SelectGcL();
- // If shape region has changed recalculate all update regions
- if (iShapeRegionClippingPending)
- {
- TInt bufferCount = iCommandBuffers.Count();
- for (TInt cb = 0; cb < bufferCount; cb++)
- {
- CHuiCanvasCommandBuffer* cmdbuffer = iCommandBuffers[cb];
- cmdbuffer->iUpdateRegion.Copy(cmdbuffer->iOriginalUpdateRegion);
- cmdbuffer->iUpdateRegion.Intersect(iShapeRegion);
- cmdbuffer->iUpdateRegion.Tidy();
- }
- iShapeRegionClippingPending = EFalse;
- }
+ ApplyShapeRegion();
RemoveRedundantBuffers();
@@ -2142,27 +2139,19 @@
for (TInt i=count-1; i>=0; i--)
{
TRect rect = iTempRegion[i];
- TRect screen = iCanvasVisual->Display()->VisibleArea();
- if (rect.Intersects(screen) || rect == screen)
- {
- // - Sometimes updateregion is outiside window (WSERV...why?!)
- // We clip it here to avoid ui probs.
- // - Lets remove this for now, this seems to break scrollbars again
- // when window parent-child relations work..
- // - Hmm, should we add this anyway because now the idle softkeys are lost again in landscape mode ?
- // - Added again after WSERV fix in the window parent-child relations
+
+ // - Sometimes updateregion is outiside window (WSERV...why?!)
+ // We clip it here to avoid ui probs.
+ // - Lets remove this for now, this seems to break scrollbars again
+ // when window parent-child relations work..
+ // - Hmm, should we add this anyway because now the idle softkeys are lost again in landscape mode ?
+ // - Added again after WSERV fix in the window parent-child relations
+ // - Rect may be outside the screen and that's fine (Visual may be moved later).
#ifndef HUI_DISABLE_CANVAS_VISUAL_CLIPPING
- rect.Intersection(displayRect);
+ rect.Intersection(displayRect);
#endif
- iCommandBuffers[aIndex]->iUpdateRegion.AddRect(rect);
- iCommandBuffers[aIndex]->iOriginalUpdateRegion.AddRect(rect);
- }
- else
- {
-#ifdef _DEBUG
- RDebug::Print(_L("CHuiCanvasWsPainter::WsSetUpdateRegionL: Incorrect update region removed from buffer, this should not happen !"));
-#endif
- }
+ iCommandBuffers[aIndex]->iUpdateRegion.AddRect(rect);
+ iCommandBuffers[aIndex]->iOriginalUpdateRegion.AddRect(rect);
}
// Combine areas that are next to each others
@@ -2210,16 +2199,19 @@
iShapeRegion.Copy(iTempRegion);
// note: iUpdateRegion will be updated later, set flags to indicate pending
+ iShapeRegionAvailable = ETrue;
+ iShapeRegionOrigin = iCanvasVisual->DisplayRect().Round().iTl;
+
iShapeRegionClearingPending = ETrue;
- iShapeRegionClippingPending = ETrue;
- }
+ iShapeRegionClippingPending = ETrue;
+ }
#ifdef _DEBUG
if (iShapeRegion.Count() == 0 && iTempRegion.Count() > 0)
{
HUI_DEBUG(_L("CHuiCanvasWsPainter::WsSetShapeRegionL. Error: iShapeRegion not set by any command buffer! However, there exists at least one command buffer that has shape region command."));
- }
+ }
#endif
}
@@ -2268,9 +2260,9 @@
RemoveBuffersWithoutRealDrawing();
- // Remove buffers only with moved display rect and modify the clip region
- // of buffers with changed size instead of completely removing all.
- RemoveBuffersWithMovedDisplayRect();
+ // Don't remove command buffers with modified display rect.
+ // Instead, apply clipping.
+ //RemoveBuffersWithMovedDisplayRect();
ModifyBuffersWithChangedDisplayRect();
//RemoveBuffersWithOldDisplayRect();
@@ -2304,16 +2296,32 @@
TInt bufferCount = iCommandBuffers.Count();
TRect canvasRect = iCanvasVisual->DisplayRect().Round();
TRegionFix<1> region(canvasRect);
+
+ // We must first offset to canvasRect.iTl, otherwise region clipping doesn't work.
+ UpdateBufferUpdateRegions(canvasRect.iTl);
// If the buffers have different update region than CanvasVisual, clip
// the drawing to canvas visual's & cmdbuffer's updateregions' intersection.
for (TInt cb = 0; cb < bufferCount; cb++)
{
CHuiCanvasCommandBuffer* cmdbuffer = iCommandBuffers[cb];
- if (cmdbuffer->iOriginalDisplayRect.Round() != canvasRect)
+ TRect bufRect = cmdbuffer->iOriginalDisplayRect.Round();
+
+ if (bufRect != canvasRect)
{
cmdbuffer->iUpdateRegion.Copy(cmdbuffer->iOriginalUpdateRegion);
+
+ TPoint deltaPos = cmdbuffer->iPositionForUpdateRegion - cmdbuffer->iOriginalDisplayRect.Round().iTl;
+ cmdbuffer->iUpdateRegion.Offset(deltaPos);
+
cmdbuffer->iUpdateRegion.Intersect(region);
+
+ if ( iShapeRegionAvailable )
+ {
+ TranslateShapeRegion(cmdbuffer->iPositionForUpdateRegion);
+ cmdbuffer->iUpdateRegion.Intersect(iShapeRegion);
+ }
+
cmdbuffer->iUpdateRegion.Tidy();
}
}
@@ -2383,7 +2391,11 @@
{
iTempRegion.AddRect(cmdbuffer->iOriginalUpdateRegion[j]);
}
-
+
+ // Translate region to be relative to visual top left corner.
+ TPoint offset = -cmdbuffer->iOriginalDisplayRect.Round().iTl;
+ iTempRegion.Offset(offset);
+
// Check older buffers for overlapping regions against current buffer
if (cb > 0)
{
@@ -2394,19 +2406,26 @@
break;
}
- CHuiCanvasCommandBuffer* previousCommands = iCommandBuffers[i];
+ CHuiCanvasCommandBuffer* previousCommands = iCommandBuffers[i];
+ TPoint previousCommandsOffset = previousCommands->iOriginalDisplayRect.Round().iTl;
+
// Keep count how many subregions of the prevous command are contained inside current command buffer region
TInt coveredRegionCount = 0;
for (TInt k=0; k < previousCommands->iOriginalUpdateRegion.Count();k++)
{
iTempCurrentSubRegion.Clear();
iTempIntersectingRegion.Clear();
- iTempCurrentSubRegion.AddRect(previousCommands->iOriginalUpdateRegion[k]);
+ iTempCurrentSubRegion.AddRect(previousCommands->iOriginalUpdateRegion[k]);
+
+ iTempCurrentSubRegion.Offset(-previousCommandsOffset);
+
iTempIntersectingRegion.Intersection(iTempRegion, iTempCurrentSubRegion);
iTempIntersectingRegion.Tidy();
if (iTempIntersectingRegion.Count() == 1)
{
+ iTempIntersectingRegion.Offset(previousCommandsOffset);
+
if (iTempIntersectingRegion[0] == previousCommands->iOriginalUpdateRegion[k])
{
coveredRegionCount++;
@@ -2432,6 +2451,45 @@
}
}
+void CHuiCanvasWsPainter::ApplyShapeRegion()
+ {
+ // If shape region has changed recalculate all update regions
+ if (iShapeRegionClippingPending)
+ {
+ TRect canvasRect = iCanvasVisual->DisplayRect().Round();
+
+ // We must first offset to canvasRect.iTl, otherwise region clipping doesn't work.
+ UpdateBufferUpdateRegions(canvasRect.iTl);
+
+ TInt bufferCount = iCommandBuffers.Count();
+ for (TInt cb = 0; cb < bufferCount; cb++)
+ {
+ CHuiCanvasCommandBuffer* cmdbuffer = iCommandBuffers[cb];
+ cmdbuffer->iUpdateRegion.Copy(cmdbuffer->iOriginalUpdateRegion);
+
+ TPoint deltaPos = cmdbuffer->iPositionForUpdateRegion - cmdbuffer->iOriginalDisplayRect.Round().iTl;
+ cmdbuffer->iUpdateRegion.Offset(deltaPos);
+
+ if ( iShapeRegionAvailable )
+ {
+ TranslateShapeRegion(cmdbuffer->iPositionForUpdateRegion);
+ cmdbuffer->iUpdateRegion.Intersect(iShapeRegion);
+ }
+ cmdbuffer->iUpdateRegion.Tidy();
+ }
+ iShapeRegionClippingPending = EFalse;
+ }
+ }
+
+void CHuiCanvasWsPainter::TranslateShapeRegion(const TPoint& aNewOrigin)
+ {
+ if (iShapeRegionOrigin != aNewOrigin)
+ {
+ iShapeRegion.Offset(aNewOrigin - iShapeRegionOrigin);
+ iShapeRegionOrigin = aNewOrigin;
+ }
+ }
+
CHuiCanvasGc& CHuiCanvasWsPainter::CanvasGc() const
{
return iCanvasWsGc->CanvasGc();
@@ -2704,18 +2762,28 @@
{
// iUpdateRegion is in screen coordinates. If visual moves position, iUpdateRegion
// should be updated as well. Otherwise visual will encounter clipping.
- for (TInt cb = 0; cb < iCommandBuffers.Count(); cb++)
+ TBool updated = EFalse;
+
+ for (TInt cb = 0; cb < iCommandBuffers.Count(); cb++)
{
if (iCommandBuffers[cb]->iPositionForUpdateRegion != aPos && !iCommandBuffers[cb]->iUpdateRegion.IsEmpty() )
{
+ updated = ETrue;
+
TPoint deltaPos = aPos - iCommandBuffers[cb]->iPositionForUpdateRegion;
iCommandBuffers[cb]->iUpdateRegion.Offset(deltaPos);
iCommandBuffers[cb]->iPositionForUpdateRegion = aPos;
- iCommandBuffers[cb]->ClearStatusFlags(EHuiCanvasBufferStatusAll);
- iCommandBuffers[cb]->SetStatusFlags(EHuiCanvasBufferStatusNew);
}
+
+ if (updated)
+ {
+ // If one command buffer is drawn, then all following command
+ // buffers must be redrawn as well.
+ iCommandBuffers[cb]->ClearStatusFlags(EHuiCanvasBufferStatusAll);
+ iCommandBuffers[cb]->SetStatusFlags(EHuiCanvasBufferStatusNew);
+ }
}
- }
+ }
void CHuiCanvasWsPainter::SetMemoryLevel(THuiMemoryLevel /*aLevel*/)
{
--- a/uiacceltk/hitchcock/goommonitor/src/goommemorymonitor.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goommemorymonitor.cpp Tue May 11 17:03:00 2010 +0300
@@ -313,7 +313,7 @@
{
FUNC_LOG;
// Build the list of memory freeing actions (by killing apps)
- iGOomActionList->BuildKillAppActionListL(*iGOomWindowGroupList, *iConfig);
+ TRAP_IGNORE(iGOomActionList->BuildKillAppActionListL(*iGOomWindowGroupList, *iConfig));
iGOomActionList->FreeMemory(aMaxPriority);
}
--- a/uiacceltk/hitchcock/goommonitor/src/goomwindowgrouplist.cpp Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goomwindowgrouplist.cpp Tue May 11 17:03:00 2010 +0300
@@ -75,8 +75,9 @@
iLowOnMemWgs.Reset();
RArray<TInt> inactiveSurfaces;
- User::LeaveIfError(iAlfClient.GetListOfInactiveWindowGroupsWSurfaces(&inactiveSurfaces));
- User::LeaveIfError(iAlfClient.GetListOfWindowGroupsWSurfaces(&iLowOnMemWgs));
+ // ignore possible errors, we have information from profiling extension anyway
+ iAlfClient.GetListOfInactiveWindowGroupsWSurfaces(&inactiveSurfaces);
+ iAlfClient.GetListOfWindowGroupsWSurfaces(&iLowOnMemWgs);
TRACES1("Inactive surfaces count %d", inactiveSurfaces.Count());
TRACES1("Windowgroups w/ surfaces count %d", iLowOnMemWgs.Count());
@@ -87,14 +88,16 @@
//if (inactiveSurfaces.Count() == 1) // ALF only
// {
- NOK_resource_profiling eglQueryProfilingData = (NOK_resource_profiling)eglGetProcAddress("eglQueryProfilingDataNOK");
+ NOK_resource_profiling eglQueryProfilingData = (NOK_resource_profiling)eglGetProcAddress("eglQueryProfilingDataNOK");
- if (!eglQueryProfilingData)
- {
- TRACES("RefreshL EGL_NOK_resource_profiling not available");
- return;
- }
+ if (!eglQueryProfilingData && inactiveSurfaces.Count() == 0)
+ {
+ TRACES("RefreshL EGL_NOK_resource_profiling not available");
+ return;
+ }
+ if (eglQueryProfilingData)
+ {
EGLint data_count;
EGLint* prof_data;
TInt i(0);
@@ -202,7 +205,7 @@
}
}
}
- // }
+ }
// Refresh window group list
// get all window groups, with info about parents
--- a/uiacceltk/hitchcock/plugins/openwfcrs/inc/rsdisplaychangeao.h Tue Apr 27 17:34:42 2010 +0300
+++ b/uiacceltk/hitchcock/plugins/openwfcrs/inc/rsdisplaychangeao.h Tue May 11 17:03:00 2010 +0300
@@ -31,6 +31,14 @@
protected:
virtual void RunL();
virtual void DoCancel();
+ TInt RunError(TInt aError)
+ {
+ // will likely lead to inconsistent state and thus reset anyway
+ RDebug::Print(_L("CRsDisplayChangeNotifier::RunError( %d )"),aError);
+ aError -= (aError);
+ return aError; //KErrNone;
+ }
+
private:
CRsDisplayChangeNotifier(MWsDisplayControl* aNextLevelInterface, CDisplayPolicy* aDisplayPolicy);