--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/package_definition.xml Tue Aug 31 16:07:35 2010 +0300
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<SystemDefinition schema="3.0.0">
+ <package id="uiaccelerator" name="UI Accelerator" levels="plugin framework server ex if">
+ <collection id="uiaccelerator_plat" name="UI Accelerator Platform Interfaces" level="if">
+ <component id="alf_core_toolkit_api" name="ALF Core Toolkit API" class="api" filter="s60">
+ <meta rel="Api" href="uiaccelerator_plat/alf_core_toolkit_api/alf_core_toolkit_api.metaxml"/>
+ <unit bldFile="uiaccelerator_plat/alf_core_toolkit_api/group" filter="!test"/>
+ <unit bldFile="uiaccelerator_plat/alf_core_toolkit_api/tsrc/group" filter="test,unit_test"/>
+ </component>
+ <component id="alf_visual_api" name="ALF Visual API" class="api" filter="s60">
+ <meta rel="Api" href="uiaccelerator_plat/alf_visual_api/alf_visual_api.metaxml"/>
+ <unit bldFile="uiaccelerator_plat/alf_visual_api/group" filter="!test"/>
+ <unit bldFile="uiaccelerator_plat/alf_visual_api/tsrc/group" filter="test,unit_test"/>
+ </component>
+ <component id="alf_extended_visual_api" name="ALF Extended Visual API" class="api" filter="s60">
+ <meta rel="Api" href="uiaccelerator_plat/alf_extended_visual_api/alf_extended_visual_api.metaxml"/>
+ <unit bldFile="uiaccelerator_plat/alf_extended_visual_api/group" filter="!test"/>
+ <unit bldFile="uiaccelerator_plat/alf_extended_visual_api/tsrc/group" filter="test,unit_test"/>
+ </component>
+ <component id="alf_extension_api" name="ALF Extension API" class="api" filter="s60">
+ <meta rel="Api" href="uiaccelerator_plat/alf_extension_api/alf_extension_api.metaxml"/>
+ <unit bldFile="uiaccelerator_plat/alf_extension_api/group"/>
+ </component>
+ <component id="alf_tracing_api" name="ALF Tracing API" class="api" filter="s60">
+ <meta rel="Api" href="uiaccelerator_plat/alf_tracing_api/alf_tracing_api.metaxml"/>
+ <unit bldFile="uiaccelerator_plat/alf_tracing_api/group"/>
+ </component>
+ <component id="alf_client_server_api" name="ALF Client Server API" class="api" filter="s60">
+ <meta rel="Api" href="uiaccelerator_plat/alf_client_server_api/alf_client_server_api.metaxml"/>
+ <unit bldFile="uiaccelerator_plat/alf_client_server_api/group"/>
+ </component>
+ </collection>
+ <collection id="uiacceltk" name="UI Accelerator Toolkit" level="framework">
+ <component id="hitchcock" filter="s60" name="Hitchcock">
+ <unit bldFile="uiacceltk/hitchcock/group"/>
+ </component>
+ <component id="uiacceltk_rom" filter="s60" name="UI Accelerator Toolkit ROM">
+ <unit bldFile="uiacceltk/rom"/>
+ </component>
+ </collection>
+ </package>
+</SystemDefinition>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/package_map.xml Tue Aug 31 16:07:35 2010 +0300
@@ -0,0 +1,1 @@
+<PackageMap root="sf" layer="mw"/>
--- a/rom/alfred.iby Thu Aug 19 10:48:02 2010 +0300
+++ b/rom/alfred.iby Tue Aug 31 16:07:35 2010 +0300
@@ -140,8 +140,6 @@
data=DATAZ_/RESOURCE_FILES_DIR/effects/optionsmenu_cascade_appear.fxml RESOURCE_FILES_DIR/effects/optionsmenu_cascade_appear.fxml
data=DATAZ_/RESOURCE_FILES_DIR/effects/optionsmenu_cascade_disappear.fxml RESOURCE_FILES_DIR/effects/optionsmenu_cascade_disappear.fxml
data=DATAZ_/RESOURCE_FILES_DIR/effects/optionsmenu_disappear.fxml RESOURCE_FILES_DIR/effects/optionsmenu_disappear.fxml
-data=DATAZ_/RESOURCE_FILES_DIR/effects/phone_callui_appear.fxml RESOURCE_FILES_DIR/effects/phone_callui_appear.fxml
-data=DATAZ_/RESOURCE_FILES_DIR/effects/phone_callui_disappear.fxml RESOURCE_FILES_DIR/effects/phone_callui_disappear.fxml
data=DATAZ_/RESOURCE_FILES_DIR/effects/photos_fullscreen_close.fxml RESOURCE_FILES_DIR/effects/photos_fullscreen_close.fxml
data=DATAZ_/RESOURCE_FILES_DIR/effects/photos_fullscreen_open.fxml RESOURCE_FILES_DIR/effects/photos_fullscreen_open.fxml
data=DATAZ_/RESOURCE_FILES_DIR/effects/photos_gridview_appear.fxml RESOURCE_FILES_DIR/effects/photos_gridview_appear.fxml
--- a/uiaccelerator_plat/alf_client_server_api/inc/alf/alfappsrvsessionbase.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiaccelerator_plat/alf_client_server_api/inc/alf/alfappsrvsessionbase.h Tue Aug 31 16:07:35 2010 +0300
@@ -288,7 +288,7 @@
// creates subsession
CAlfSrvSubSessionBase* CreateSubSessionLC(const RMessage2& aMessage);
-
+
TUint SecureId();
protected: // from baseclasses
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/conf/tctestplatclientserverblocksappui.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/conf/tctestplatclientserverblocksclientbase.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/conf/tctestplatclientserverblocksserver.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/conf/tctestplatclientserverblockssessionbase.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/conf/ui_testplatclientserverblocksappui.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/conf/ui_testplatclientserverblocksclientbase.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/conf/ui_testplatclientserverblocksserver.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/conf/ui_testplatclientserverblockssessionbase.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,118 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/group/bld.inf Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/group/testplatclientserver.mmp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/*
-* 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
-
-
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/group/testplatclientserver.pkg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-;
-; 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
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/inc/testplatclientserver.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,455 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/init/testplatclientserver.ini Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,184 +0,0 @@
-#
-# 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
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserver.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,184 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserverblocks.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,140 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserverblocksappui.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,265 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserverblocksclientbase.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,274 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserverblocksserver.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,238 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_client_server_api/tsrc/src/testplatclientserverblockssessionbase.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,573 +0,0 @@
-/*
-* 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 Thu Aug 19 10:48:02 2010 +0300
+++ b/uiaccelerator_plat/alf_core_toolkit_api/inc/uiacceltk/HuiCanvasVisual.h Tue Aug 31 16:07:35 2010 +0300
@@ -112,9 +112,7 @@
/** Flag to indicate whether surface is visible (based on visibility calculation) */
EHuiCanvasFlagSurfaceVisible = 0x800,
/** Flag to indicate avkon clearer window. This needs to be drawn, but excluded in the heuristics determining application screen coverage */
- EHuiCanvasFlagDistractionWindow = 0x1000,
- /** Flag to indicate that visual is not ready */
- EHuiCanvasVisualFlagNotReady = 0x2000
+ EHuiCanvasFlagDistractionWindow = 0x1000
};
/**
@@ -456,7 +454,6 @@
TBool CanSkipDrawing() const;
TBool KeepNoCache() const;
- TBool EffectReadyToDrawNextFrame() const;
private:
--- a/uiaccelerator_plat/alf_core_toolkit_api/inc/uiacceltk/HuiEnv.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiaccelerator_plat/alf_core_toolkit_api/inc/uiacceltk/HuiEnv.h Tue Aug 31 16:07:35 2010 +0300
@@ -1006,9 +1006,6 @@
IMPORT_C void NotifyMemoryLevel(THuiMemoryLevel aMemoryLevel);
IMPORT_C THuiMemoryLevel MemoryLevel();
- // This is for internally use only, tries to free any available cached resources alf may have reserved
- IMPORT_C void HandleOutOfTextureMemory();
-
void DoSynchronize();
TBool iPauseDrawing;
private:
--- a/uiaccelerator_plat/alf_core_toolkit_api/inc/uiacceltk/HuiVisual.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiaccelerator_plat/alf_core_toolkit_api/inc/uiacceltk/HuiVisual.h Tue Aug 31 16:07:35 2010 +0300
@@ -1406,8 +1406,6 @@
IMPORT_C void SetFreezeState(TBool aEnabled);
IMPORT_C TBool Freezed() const;
- IMPORT_C virtual TBool EffectReadyToDrawNextFrame() const;
-
/**
* Assign an effect for the visual. The ownership of the
* effect is transferred to the visual.
@@ -1627,8 +1625,6 @@
* A value of 0 is fully transparent, a value of 1 is fully opaque.
*/
THuiTimedValue iOpacity;
-
- TReal32 iEffectOpacity;
private:
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctctestuiaifctkitdropshadow.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/** 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]
-*/
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkit.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkitblocks60skin.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkitblockshuievent.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkitblocksskin.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkitdisplay.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,201 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkithuienv.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,215 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkithuitexture.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,208 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkitstylemanager.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifcoretoolkittextstyle.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,129 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifctkitborderbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifctkitcoectrl.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-/** 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]
-*/
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifctkitdisplaybgitem.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifctkitsegmentedtexture.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-[Test]
-title TestHuisegmentedTextureHandleL
-run testscripter c:\testframework\ui_testuiaifctkitsegmentedtexture.cfg 1
-[Endtest]
-
-[Test]
-title TestHuisegmentedTextureBindL
-run testscripter c:\testframework\ui_testuiaifctkitsegmentedtexture.cfg 2
-[Endtest]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuiaifctkitshadowbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuianchorlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-[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]
-
-
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuibordrbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuibrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuibrusharray.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuicntlgroup.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuicommand.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,484 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuicontrol.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,326 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuicurpathlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuicurvepath.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuidecklayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuifixmath.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiflowlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuifont.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiframebrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuigc.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuigifanimationtexture.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-[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]
-*/
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuigradientbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuigridlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,252 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiimage.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiimagebrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiimageloaderutils.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiimagevisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuilayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,314 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuilinevisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuim3gmesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-/** 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuimappingfunctions.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuimesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-/** 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuimeshvisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/** 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuimetric.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiownedpointer.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiproceduralmesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/** 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]
-*/
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuirealpoint.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuirealrect.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuirealsize.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuisoftkeycontrol.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuistatic.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitexture.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitextureautoparams.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitexturehandle.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitexturemanager.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,119 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitextvisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-//[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitimedpoint.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitimedvalue.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,109 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuitransfor.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiutil.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,119 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuiviewportlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/tctestuihuivisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,553 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_tctestuiaifctkitdropshadow.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkit.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkitblocks60skin.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkitblockshuievent.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkitblocksskin.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkitdisplay.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,261 +0,0 @@
-[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]
-
-
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkithuienv.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,302 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkithuitexture.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,281 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkitstylemanager.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifcoretoolkittextstyle.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,181 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifctkitborderbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifctkitcoectrl.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifctkitdisplaybgitem.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifctkitsegmentedtexture.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuiaifctkitshadowbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuianchorlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuibordrbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuibrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,112 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuibrusharray.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuicntlgroup.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuicommand.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,650 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuicontrol.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,412 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuicurpathlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuicurvepath.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuidecklayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuifixmath.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiflowlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuifont.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiframebrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuigc.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuigifanimationtexture.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuigradientbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuigridlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,480 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiimage.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiimagebrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiimageloaderutils.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiimagevisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuilayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,440 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuilinevisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuim3gmesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuimappingfunctions.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuimesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuimeshvisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuimetric.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiownedpointer.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiproceduralmesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuirealpoint.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuirealrect.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,132 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuirealsize.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuisoftkeycontrol.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuistatic.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,160 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitexture.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitextureautoparams.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitexturehandle.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,160 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitexturemanager.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,195 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitextvisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,161 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitimedpoint.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitimedvalue.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,153 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuitransfor.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,118 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiutil.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,167 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuiviewportlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/conf/ui_testuihuivisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1007 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/group/bld.inf Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/group/testuiaifcoretoolkit.mmp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,129 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/group/testuiaifcoretoolkit.pkg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,206 +0,0 @@
-;
-; 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuiactioncommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuicontrolchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuicontrolcommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuicustomeventcommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuigroupcommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuiimagecommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuimarkercommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuipointcommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuitextcommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuitranscommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuivaluecommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockshuivisualcommandchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblocksmanagerchild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblockstexturechild.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifcoretoolkit.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8808 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuialfcoretoolkitvisualext.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/init/testuiaifcoretoolkit.ini Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,317 +0,0 @@
-#
-# 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuiactioncommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/*
-* 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);
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuicontrolchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +0,0 @@
-/*
-* 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 );
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuicontrolcommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
-* 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 );
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuicustomeventcommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-/*
-* 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 );
-
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuigroupcommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
-* 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 );
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuiimagecommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
-* 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 );
-
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuimarkercommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-/*
-* 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 );
-
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuipointcommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
-* 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 );
-
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuitextcommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-/*
-* 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 );
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuitranscommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-/*
-* 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 );
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuivaluecommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-/*
-* 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 );
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockshuivisualcommandchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-/*
-* 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 );
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblocksmanagerchild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifblockstexturechild.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/*
-* 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 );
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkit.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,214 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocks.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1985 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocks60skin.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,397 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksborderbrush.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,142 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockscoecontrol.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,206 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksdisplay.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1069 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksdisplaybackgrounditem.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,269 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksdropshadow.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,156 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockshuienv.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,956 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockshuievent.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,314 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockshuitexture.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1208 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockssegmentedtexture.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksshadowbrush.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,196 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksskin.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,337 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblocksstylemanager.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,113 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifcoretoolkitblockstextstyle.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,611 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblocksbodebrush.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,233 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshskcontrol.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,245 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuianchorlayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,347 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuicommand.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2823 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuicontrol.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1729 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuicontrolgroup.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,453 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuicurve.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,464 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuidecklayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,113 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuifixmath.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,161 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiflowlayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,168 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuifont.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,194 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuigridlayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1102 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiimage.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,400 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiimagebrush.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,274 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiimageloaderutil.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,186 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiimagevisual.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,298 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuilayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1581 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuilinevisual.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,208 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuim3gmesh.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,123 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuimesh.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,355 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuimeshvisual.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,225 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuimetric.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,316 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuimf.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,326 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuipathlayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiproceduralmesh.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,190 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuirealpoint.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,285 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuirealrect.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,432 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuirealsize.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,147 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuistatic.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,516 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitexture.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,538 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitextureautosizepara.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,211 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitexturehandle.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,616 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitexturemanager.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,591 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitimedpoint.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,294 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitimedvalue.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,484 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuitransf.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,438 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiutil.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,650 +0,0 @@
-/*
-* 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;
- }
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuiviewportlayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuivisual.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2517 +0,0 @@
-/*
-* 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]
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockstextvisual.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,504 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuibrush.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,442 +0,0 @@
-/*
-* 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.
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuibrusharray.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,289 +0,0 @@
-/*
-* 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.
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuiframebrush.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,213 +0,0 @@
-/*
-* 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.
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuigc.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,312 +0,0 @@
-/*
-* 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.
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuigifanimationtexture.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,160 +0,0 @@
-/*
-* 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.
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuigradientbrush.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,230 +0,0 @@
-/*
-* 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.
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkithuiownedpointer.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,238 +0,0 @@
-/*
-* 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.
--- a/uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuialfcoretoolkitvisualext.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/bwins/UT_CAlfLCTAnchorLayoutu.def Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-EXPORTS
- ?CreateTestSuiteL@@YAPAVMEUnitTest@@XZ @ 1 NONAME ; class MEUnitTest * CreateTestSuiteL(void)
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/bwins/UT_CAlfLCTGridLayoutu.def Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-EXPORTS
- ?CreateTestSuiteL@@YAPAVMEUnitTest@@XZ @ 1 NONAME ; class MEUnitTest * CreateTestSuiteL(void)
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/bwins/UT_CAlfLCTTextVisualu.def Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-EXPORTS
- ?CreateTestSuiteL@@YAPAVMEUnitTest@@XZ @ 1 NONAME ; class MEUnitTest * CreateTestSuiteL(void)
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/eabi/UT_CAlfLCTAnchorLayoutu.def Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-EXPORTS
- _Z16CreateTestSuiteLv @ 1 NONAME
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/eabi/UT_CAlfLCTGridLayoutu.def Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-EXPORTS
- _Z16CreateTestSuiteLv @ 1 NONAME
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/eabi/UT_CAlfLCTTextVisualu.def Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-EXPORTS
- _Z16CreateTestSuiteLv @ 1 NONAME
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/UT_CAlfLCTAnchorLayout.mmp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/UT_CAlfLCTGridLayout.mmp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/UT_CAlfLCTTextVisual.mmp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/alf_extended_visual_api.pkg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-;
-; 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"}
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/alfclientstatic_extended_visual.mmp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,108 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/bld.inf Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/eunit_bld_extended_visual.inc Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-/*
-* ============================================================================
-* 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
-
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/mmp_common.inc Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-#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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/Create-UT_CAlfLCTAnchorLayout-Sis.bat Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-@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.
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/Create-UT_CAlfLCTGridLayout-Sis.bat Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-@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.
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/Create-UT_CAlfLCTTextVisual-Sis.bat Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-@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.
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/DoTestTargetWinscwUDeb.bat Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-@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\*.*
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/client.py Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,130 +0,0 @@
-#
-# 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/group/sis/testserver.py Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-#
-# 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/inc/UT_CAlfLCTAnchorLayout.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/inc/UT_CAlfLCTGridLayout.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/inc/UT_CAlfLCTTextVisual.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTAnchorLayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,214 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTAnchorLayoutDllMain.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
-* 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
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTGridLayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,196 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTGridLayoutDllMain.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
-* 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
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTTextVisual.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,201 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_extended_visual_api/tsrc/src/UT_CAlfLCTTextVisualDllMain.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
-* 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
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/conf/tctestalfextalfbrushhandlers.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/conf/tctestalfextalflayouthandlers.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/conf/tctestalfextalfserverutils.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_extension_api/tsrc/conf/tctestalfextalfvisualhandlers.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/conf/tctestalfextftokenclient.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-[Test]
-title TestRFTokenClientFuncL
-run testscripter c:\testframework\ui_testalfextftokenclient.cfg 1
-[Endtest]
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/conf/ui_testalfextalfbrushhandlers.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,113 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/conf/ui_testalfextalflayouthandlers.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,127 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/conf/ui_testalfextalfserverutils.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/conf/ui_testalfextalfvisualhandlers.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/conf/ui_testalfextftokenclient.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-[Test]
-title TestRFTokenClientFuncL
-create testalfext test
-test TestRFTokenClientFuncL
-delete test
-[Endtest]
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/group/bld.inf Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/group/testalfext.mmp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/group/testalfext.pkg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-;
-; 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
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/inc/testalfbrushhandlers.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,199 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/inc/testalfext.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,649 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/inc/testalflayouthandlers.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,225 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/inc/testalfvisualhandlers.h Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,158 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/init/testalfext.ini Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,185 +0,0 @@
-#
-# 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
--- a/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfbrushhandlers.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,305 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfext.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,198 +0,0 @@
-/*
-* 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
--- a/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocks.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-/*
-* 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 );
-
- }
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocksalfbrushhandlers.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,451 +0,0 @@
-/*
-* 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
-
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocksalflayouthandlers.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,500 +0,0 @@
-/*
-* 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
-
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocksalfserverutils.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-/*
-* 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
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocksalfvisualhandlers.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,350 +0,0 @@
-/*
-* 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
-
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfextblocksftokenclient.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
-* 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
-
-
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/src/testalflayouthandlers.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,299 +0,0 @@
-/*
-* 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
-
-
--- a/uiaccelerator_plat/alf_extension_api/tsrc/src/testalfvisualhandlers.cpp Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,197 +0,0 @@
-/*
-* 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/goommonitor/goommonitorplugin.hrh Thu Aug 19 10:48:02 2010 +0300
+++ b/uiaccelerator_plat/alf_visual_api/inc/goommonitor/goommonitorplugin.hrh Tue Aug 31 16:07:35 2010 +0300
@@ -25,6 +25,8 @@
// Extension interface "uids"
#define KGoomClientSecureId 0x1000
-
+// Goom Events through Window Server
+#define KGoomMemoryLowEvent 0x10282DBF
+#define KGoomMemoryGoodEvent 0x20026790
#endif // GOOMMONITORPLUGIN_HRH
--- a/uiaccelerator_plat/alf_visual_api/inc/goommonitor/goommonitorsession.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiaccelerator_plat/alf_visual_api/inc/goommonitor/goommonitorsession.h Tue Aug 31 16:07:35 2010 +0300
@@ -21,10 +21,6 @@
#include <e32std.h>
-// Goom Events through Window Server
-#define KGoomMemoryLowEvent 0x10282DBF
-#define KGoomMemoryGoodEvent 0x20026790
-
/**
* The maximum amount of memory that can be allocated without permission.
*/
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualanchorlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualbatchbuffer.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-
-[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
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualborderbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualbrusharray.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualcommand.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualcontrol.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,106 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualcontrolgroup.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-[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]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualcurvepath.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualcurvepathlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualdecklayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualdisplay.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-[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]
-
-
-
-
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualdisplaybgitem.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-[Test]
-title TestAlfDisplayBgItemConstructor
-run testscripter c:\testframework\ui_testplatalfvisualdisplaybgitem.cfg 1
-[Endtest]
-
-[Test]
-title TestAlfDisplayBgItemSetAttributes
-run testscripter c:\testframework\ui_testplatalfvisualdisplaybgitem.cfg 2
-[Endtest]
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualdropsshadow.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-[Test]
-title TestAlfDropShadowSetAttributesL
-run testscripter c:\testframework\ui_testplatalfvisualdropsshadow.cfg 1
-[Endtest]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualdropsshadowbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-[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]
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualenv.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-[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]
-
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualevent.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualflowlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualframebrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-[Test]
-title TestAlfFrameBrushNewL
-run testscripter c:\testframework\ui_testplatalfvisualframebrush.cfg 1
-[Endtest]
-
-[Test]
-title TestAlfFrameBrushSetParaL
-run testscripter c:\testframework\ui_testplatalfvisualframebrush.cfg 2
-[Endtest]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualgencomponent.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-/*
-[Test]
-title TestAlfGenComponentNewL
-run testscripter c:\testframework\ui_testplatalfvisualgencomponent.cfg 1
-[Endtest]
-
-[Test]
-title TestAlfGenComponentProcessL
-run testscripter c:\testframework\ui_testplatalfvisualgencomponent.cfg 2
-[Endtest]
-*/
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualgradientbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-[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]
-
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualgridlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-[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]
-
-
-
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualimage.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualimagebrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-[Test]
-title TestAlfImageBrushNewL
-run testscripter c:\testframework\ui_testplatalfvisualimagebrush.cfg 1
-[Endtest]
-
-[Test]
-title TestAlfImageBrushSetAndGetParaL
-run testscripter c:\testframework\ui_testplatalfvisualimagebrush.cfg 2
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualimageloaderutil.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualimagevisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisuallayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisuallinevisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualm3gmesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-[Test]
-title TestAlfM3GMeshLoadSceneL
-run testscripter c:\testframework\ui_testplatalfvisualm3gmesh.cfg 1
-[Endtest]
\ No newline at end of file
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualmapfunc.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualmaterial.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-[Test]
-title TestAlfMaterialConstructor
-run testscripter c:\testframework\ui_testplatalfvisualmaterial.cfg 1
-[Endtest]
\ No newline at end of file
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualmesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-[Test]
-title TestAlfMeshSetAndGetL
-run testscripter c:\testframework\ui_testplatalfvisualmesh.cfg 1
-[Endtest]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualmeshvisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualmetric.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualproceduralmesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-[Test]
-title TestProMeshMakeMethodsL
-run testscripter c:\testframework\ui_testplatalfvisualproceduralmesh.cfg 1
-[Endtest]
-
-[Test]
-title TestProMeshMaterialMethodsL
-run testscripter c:\testframework\ui_testplatalfvisualproceduralmesh.cfg 2
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualpropertyowner.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualroster.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualscreenbuffer.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualscrollerevent.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-[Test]
-title TestScrollEventMethods
-run testscripter c:\testframework\ui_testplatalfvisualscrollerevent.cfg 1
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualshadowborderbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualstatic.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-[Test]
-title TestStaticEnv
-run testscripter c:\testframework\ui_testplatalfvisualstatic.cfg 1
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualsymbiansbdrawer.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtextstyle.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtextstylemanager.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-[Test]
-title TestStyleMgrTextStyleMethodsL
-run testscripter c:\testframework\ui_testplatalfvisualtextstylemanager.cfg 1
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtexture.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtextureautosize.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtexturegroup.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtexturemanager.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtextureprocessor.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-[Test]
-title TestTxtProcessorBlurL
-run testscripter c:\testframework\ui_testplatalfvisualtextureprocessor.cfg 1
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtextvisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtimedvalue.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualtransformation.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualutil.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,135 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualviewportlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualvisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,406 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/tctestplatalfvisualvisualfactory.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualanchorlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualbatchbuffer.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-
-[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
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualborderbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-[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
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualbrusharray.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualcommand.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualcontrol.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,149 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualcontrolgroup.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-[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]
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualcurvepath.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualcurvepathlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualdecklayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualdisplay.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-[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]
-
-
-
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualdisplaybgitem.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-[Test]
-title TestAlfDisplayBgItemConstructor
-create testplatalfvisual test
-test TestAlfDisplayBgItemConstructor
-delete test
-[Endtest]
-
-[Test]
-title TestAlfDisplayBgItemSetAttributes
-create testplatalfvisual test
-test TestAlfDisplayBgItemSetAttributes
-delete test
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualdropsshadow.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-[Test]
-title TestAlfDropShadowSetAttributesL
-create testplatalfvisual test
-test TestAlfDropShadowSetAttributesL
-delete test
-[Endtest]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualdropsshadowbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-[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]
-
-
-
-
-
-
-
-
-
-
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualenv.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,120 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualevent.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualflowlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualframebrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-[Test]
-title TestAlfFrameBrushNewL
-create testplatalfvisual test
-test TestAlfFrameBrushNewL
-delete test
-[Endtest]
-
-[Test]
-title TestAlfFrameBrushSetParaL
-create testplatalfvisual test
-test TestAlfFrameBrushSetParaL
-delete test
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualgencomponent.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-[Test]
-title TestAlfGenComponentNewL
-create testplatalfvisual test
-test TestAlfGenComponentNewL
-delete test
-[Endtest]
-
-[Test]
-title TestAlfGenComponentProcessL
-create testplatalfvisual test
-test TestAlfGenComponentProcessL
-delete test
-[Endtest]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualgradientbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualgridlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualimage.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualimagebrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-[Test]
-title TestAlfImageBrushNewL
-create testplatalfvisual test
-test TestAlfImageBrushNewL
-delete test
-[Endtest]
-
-[Test]
-title TestAlfImageBrushSetAndGetParaL
-create testplatalfvisual test
-test TestAlfImageBrushSetAndGetParaL
-delete test
-[Endtest]
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualimageloaderutil.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-[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]
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualimagevisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisuallayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisuallinevisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualm3gmesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-[Test]
-title TestAlfM3GMeshLoadSceneL
-create testplatalfvisual test
-test TestAlfM3GMeshLoadSceneL
-delete test
-[Endtest]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualmapfunc.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualmaterial.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-[Test]
-title TestAlfMaterialConstructor
-create testplatalfvisual test
-test TestAlfMaterialConstructor
-delete test
-[Endtest]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualmesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-[Test]
-title TestAlfMeshSetAndGetL
-create testplatalfvisual test
-test TestAlfMeshSetAndGetL
-delete test
-[Endtest]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualmeshvisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualmetric.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualproceduralmesh.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-[Test]
-title TestProMeshMakeMethodsL
-create testplatalfvisual test
-test TestProMeshMakeMethodsL
-delete test
-[Endtest]
-
-[Test]
-title TestProMeshMaterialMethodsL
-create testplatalfvisual test
-test TestProMeshMaterialMethodsL
-delete test
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualpropertyowner.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualroster.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualscreenbuffer.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualscrollerevent.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-[Test]
-title TestScrollEventMethods
-create testplatalfvisual test
-test TestScrollEventMethods
-delete test
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualshadowborderbrush.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualstatic.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-[Test]
-title TestStaticEnv
-create testplatalfvisual test
-test TestStaticEnv
-delete test
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualsymbiansbdrawer.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtextstyle.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtextstylemanager.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-[Test]
-title TestStyleMgrTextStyleMethodsL
-create testplatalfvisual test
-test TestStyleMgrTextStyleMethodsL
-delete test
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtexture.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtextureautosize.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtexturegroup.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtexturemanager.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,106 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtextureprocessor.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-[Test]
-title TestTxtProcessorBlurL
-create testplatalfvisual test
-test TestTxtProcessorBlurL
-delete test
-[Endtest]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtextvisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,141 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtimedvalue.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualtransformation.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualutil.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,189 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualviewportlayout.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-[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]
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualvisual.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,568 +0,0 @@
-[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]
-
-
--- a/uiaccelerator_plat/alf_visual_api/tsrc/conf/ui_testplatalfvisualvisualfactory.cfg Thu Aug 19 10:48:02 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-[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/src/alfdecoderserverclient.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -98,21 +98,13 @@
}
else
{
- // Maximum heap size for alfredserver thread.
- // Emulator has smaller heap size in order not to cause memory issues.
-#ifdef __WINSCW__
- const TInt KAlfServerMaxHeapSize = 10*1024*1024;
-#else
- const TInt KAlfServerMaxHeapSize = 16*1024*1024;
-#endif
-
RThread serverThread;
User::LeaveIfError(serverThread.Create(
KAlfServerThreadName,
AlfThreadFucntion,
16384, // magic
4*1024*1024, // uses own heap for now
- KAlfServerMaxHeapSize,
+ 10*1024*1024,
0,
EOwnerThread));
--- a/uiacceltk/hitchcock/Client/src/alfdrawer.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/Client/src/alfdrawer.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -51,7 +51,7 @@
TInt ReadPixels(CFbsBitmap* aBitmap);
private:
- RAlfDirectClient& iClient;
+ RAlfDirectClient iClient;
};
/**
--- a/uiacceltk/hitchcock/CommonInc/alfbridgecommands.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/CommonInc/alfbridgecommands.h Tue Aug 31 16:07:35 2010 +0300
@@ -84,7 +84,6 @@
EAlfDSSetTransparencyAlphaChannel,
EAlfDSIncludeToVisibilityCalculation,
EAlfDSSetDistractionWindow,
- EAlfDSSetScreenDeviceValid,
KUnInitialized // This must be kept as last command!
};
--- a/uiacceltk/hitchcock/CommonInc/alfmoduletestconf.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/CommonInc/alfmoduletestconf.h Tue Aug 31 16:07:35 2010 +0300
@@ -4,9 +4,6 @@
// Define this to build module testing enchanced version of ALF
//#define USE_MODULE_TEST_HOOKS_FOR_ALF
-// Define this to override the effects on ROM with effects on MMC
-// #define USE_ALTERNATIVE_EFFECTS_FROM_MMC
-
#endif // ALF_MODULETEST_CONF_H
// End of File
--- a/uiacceltk/hitchcock/ServerCore/Inc/alfbridge.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Inc/alfbridge.h Tue Aug 31 16:07:35 2010 +0300
@@ -159,7 +159,7 @@
CHuiRoster& aRoster,
CHuiControlGroup& aGroup,
TInt aWhere,
- TInt aScreenNumber = 0);
+ TInt aScreenNumber );
/**
* This method sets the windowgroup id for the alf window.
@@ -202,8 +202,8 @@
*/
void AlfGfxEffectEndCallBack( TInt aHandle );
- TInt FindClientWindowGroupId(CHuiControlGroup& aControlGroup );
- TInt FindWindowGroupNodeId(CHuiControlGroup& aControlGroup ) const;
+ TInt FindClientWindowGroupId( TInt aScreenNumber, CHuiControlGroup& aControlGroup );
+ TInt FindWindowGroupNodeId( TInt aScreenNumber, CHuiControlGroup& aControlGroup ) const;
void CleanAllFxVisuals();
@@ -318,25 +318,6 @@
TInt aDuration,
TBool& aCoverageRegionModified );
- // Experimental
-
- /**
- * Checks if visual that's flagged as not ready for current orientation is reachable.
- */
- TBool IsVisualNotReadyReachable();
-
- /**
- * Recursive helper function for IsVisualNotReadyReachable.
- */
- TBool IsVisualNotReadyReachableRecursive(
- CHuiLayout* aLayout,
- CHuiControlGroup& aControlGroup,
- CHuiControl& aControl,
- TBool& aFullscreenCovered,
- const TRect& aFullscreen,
- CAlfScreen* aScreen,
- TBool aChildCanBeOpaque,
- TBool aOnlyForEmbeddedAlfApp);
void LayoutSwitchStart();
void LayoutSwitchComplete();
@@ -426,16 +407,6 @@
TBool StoreLayoutIfRequiredByEffectL(CHuiLayout* aLayout, CFullScreenEffectState& aEvent, TBool& aNeededStoredLayout);
/**
- * HandleGfxRedirection
- *
- * Redirect effect to correct application in case of effect requested for host application, but
- * embedded (chained) application is on top of it.
- *
- * If effect setup has been already made for the layout, effect is not redirected.
- */
- void HandleGfxRedirection(CFullScreenEffectState& aEvent, CHuiLayout*& aLayout);
-
- /**
* Handles begin and end fullscreen events
*/
TBool HandleGfxEventL(CFullScreenEffectState& aEvent, CHuiLayout* aToLayout, CHuiLayout *aFromLayout);
@@ -620,8 +591,6 @@
void HandleIncludeToVisibilityCalculationL( TAlfBridgerData& aData );
- void HandleSetScreenDeviceValidL( TAlfBridgerData& aData );
-
void HandleSetWindowAreaL( TAlfBridgerData& aData );
void HandleReorderWindowL( TAlfBridgerData& aData );
@@ -648,10 +617,6 @@
void HandleSetFadeEffectL( TAlfBridgerData& aData );
- void HandleGroupChained( TAlfBridgerData& aData);
-
- void HandleGroupChainBroken( TAlfBridgerData& aData);
-
void HandleMoveWindowToNewGroupL( TAlfBridgerData& aData );
void HandleSetLayoutSwitchEffectL();
@@ -746,26 +711,12 @@
CHuiCanvasVisual* FindVisualByClientSideIds(TUint32 aClientSideId, TUint32 aClientSideGroupId );
/**
- * FindChainedGroup
- *
- * Find chained windowgroup from iWindowChainsArray. Return 0, if not found.
- */
- TUint32 FindChainedGroup(TUint32 aTreeNodeId);
-
- /**
- * IsChainedGroup
- *
- * @return ETrue if group is chained.
- */
- TBool IsChainedGroup(TUint32 aTreeNodeId);
-
- /**
* This method finds controlgroup which has been assosiated with given window group id.
* Control group may or may not be active in roster.
*
* @param aWindowGroupNodeId Node id of the window group, internal.
*/
- CHuiControlGroup* FindControlGroup(TInt aWindowGroupNodeId, TInt aScreenNumber = 0);
+ CHuiControlGroup* FindControlGroup(TInt aWindowGroupNodeId, TInt aScreenNumber );
/**
* This method finds controlgroup which has been assosiated with window server window group id.
@@ -789,12 +740,6 @@
* @return Pointer to found control gruop. NULL if not found.
*/
CHuiControlGroup* FindControlGroupBySecureId( TInt aSecureId, TInt aWgId = -1 ) const;
- /**
- * FindControlGroupBySecureId
- *
- * Returns a list of window groups belonging to aSecureId.
- */
- void FindControlGroupBySecureId( TInt aSecureId, RPointerArray<CHuiControlGroup>& aGroupList);
/**
* Finds control gruop which matches the full screen effect end state.
@@ -816,7 +761,7 @@
*
* @param aWindowGroupNodeId Node id of the window group, internal.
*/
- void DeleteControlGroupL(TInt aWindowGroupNodeId, TInt aScreenNumber = 0);
+ void DeleteControlGroupL(TInt aWindowGroupNodeId, TInt aScreenNumber );
/**
* Creates a control group
@@ -842,7 +787,7 @@
*
*/
- void ReorderAlfControlGroupsL( TInt aScreenNumber = 0);
+ void ReorderAlfControlGroupsL( TInt aScreenNumber );
/**
* Called to notify the observer that a display refresh is about to begin.
@@ -909,16 +854,6 @@
*/
void UpdateRootVisualsToFullscreen();
- /**
- * Report memory consumption details (if enabled).
- */
- void ReportMemory();
-
- /**
- * Clears rasterizer cache.
- */
- void ClearRasterizerCache();
-
private:
RPointerArray<CAlfScreen> iAlfScreens;
@@ -1074,18 +1009,6 @@
};
RHashMap<TUint32,THashVisualStruct> iWindowHashArray;
-
- class TChainData
- {
- public:
- TChainData(TUint32 aParent, TUint32 aChainee) : iParent(aParent), iChainee(aChainee)
- {
- }
- TUint32 iParent;
- TUint32 iChainee;
- };
- RHashMap<TUint32,TChainData> iWindowChainsArray;
-
CHuiControl* iOrphanStorage; // owned. holds the visuals which are orphaned from their control group
class TRegisteredEffectsStruct
{
--- a/uiacceltk/hitchcock/ServerCore/Inc/alfeffectutils.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Inc/alfeffectutils.h Tue Aug 31 16:07:35 2010 +0300
@@ -124,7 +124,6 @@
void Blank(TBool aEnabled);
void LowMemoryEvent();
void BeginLayoutSwitch();
- void ImplicitBlank();
void Event(TEvent aEvent);
void Transition(TState aNewState, TState aPreviousState);
@@ -139,8 +138,7 @@
void HandleThemeEvent(TEvent aEvent);
void FreezeFinished();
- void HandleBlankChange();
-
+
public:
TBool IsThemeEffectEnabled() const;
TBool LayoutSwitchEffectsExist() const;
@@ -168,7 +166,6 @@
static TInt DoFreezeFinished(TAny* aAny);
static TInt DoNextLayoutSwitchContext(TAny* aAny);
- static TInt DoImplicitBlankOff(TAny* aAny);
private: // Data
@@ -177,12 +174,9 @@
TThreadPriority iOriginalPriority;
CAlfRosterFreezeEndTimer* iRosterFreezeEndTimer;
TBool iBlankEnabled;
- TBool iImplicitBlankEnabled;
- TBool iAknBlankEnabled;
TState iCurrentState;
TBool iLayoutSwitchNotCompleted;
- CPeriodic* iImplicitBlankTimer;
};
// ---------------------------------------------------------
@@ -263,7 +257,7 @@
TRect iRect;
TBool iLongAppStartTimeout;
TBool iTimeout;
- TBool iIsRedirected;
+
void SetState(TEffectState aState);
--- a/uiacceltk/hitchcock/ServerCore/Inc/alfnodes.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Inc/alfnodes.h Tue Aug 31 16:07:35 2010 +0300
@@ -58,9 +58,7 @@
CAlfHierarchyModel* aModel,
RMemReadStream* aStream,
MWsWindowTreeNode::TType aType );
-
- static void ReportOOM();
-
+
protected:
void ConstructL(
--- a/uiacceltk/hitchcock/ServerCore/Inc/alfstreamerbridge.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Inc/alfstreamerbridge.h Tue Aug 31 16:07:35 2010 +0300
@@ -30,8 +30,7 @@
class CAlfStreamerServer;
class CAlfCommandDebug;
-const TInt KInitialVariableBufferSize = 35000; // enough until booting to idle
-const TInt KIncreaseVariableBufferSize = 2000;
+const TInt KInitialVariableBufferSize = 2000;
// basic signalling for frame flow control
const TInt KRELEASEWINDOWSERVER = 0;
--- a/uiacceltk/hitchcock/ServerCore/Inc/alfwindow.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Inc/alfwindow.h Tue Aug 31 16:07:35 2010 +0300
@@ -48,8 +48,6 @@
static CAlfWindow* NewL(TUint aId, CAlfWindowManager& aOwner, const TSize& aSizeInPixels);
virtual ~CAlfWindow();
-
- static void ReportOOM();
public:
// getters
@@ -290,19 +288,8 @@
* Include to visibility calculation.
*/
void IncludeToVisibilityCalculation(TBool aActive);
-
- /**
- * Sets screen device valid/invalid.
- * @param aValid ETrue if screen device valid, EFalse otherwise.
- */
- void SetScreenDeviceValid(TBool aValid);
-
- /**
- * Returns ETrue if screen device is valid.
- */
- TBool IsScreenDeviceValid() const;
-
-public: // utils
+
+ public: // utils
/**
* SetFlag
--- a/uiacceltk/hitchcock/ServerCore/Inc/alfwindowdata.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Inc/alfwindowdata.h Tue Aug 31 16:07:35 2010 +0300
@@ -60,7 +60,6 @@
TBool iTransparencyAlphaChannel;
TBool iIncludeToVisibilityCalculation;
- TBool iScreenDeviceValid;
};
--- a/uiacceltk/hitchcock/ServerCore/Src/alfappservercore.mmp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfappservercore.mmp Tue Aug 31 16:07:35 2010 +0300
@@ -38,11 +38,6 @@
// MACRO ALF_DEBUG_PRINT_NODE_INFO
-// Have these lines active if you want to have additional memory logging.
-// Comment these lines out if you don't want any memory logging.
-//MACRO ALF_MEMORYLOGGING
-//#define ALF_MEMORYLOGGING
-
TARGET alfappservercore.dll
TARGETTYPE dll
@@ -139,7 +134,3 @@
#ifdef HUI_DEBUG_TRACK_DRAWING
LIBRARY alfcommanddebug.lib
#endif
-
-#ifdef ALF_MEMORYLOGGING
-LIBRARY hal.lib
-#endif
--- a/uiacceltk/hitchcock/ServerCore/Src/alfappui.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfappui.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -972,7 +972,7 @@
// Handles window server event.
// ---------------------------------------------------------------------------
//
-EXPORT_C void CAlfAppUi::HandleWsEventL(const TWsEvent& aEvent, CCoeControl* /*aDestination*/)
+EXPORT_C void CAlfAppUi::HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination)
{
if (aEvent.Type() >= EEventPointer && aEvent.Type() <= EEventDragDrop )
{
@@ -1253,7 +1253,7 @@
}
-TTypeUid::Ptr CAlfAppUi::MopSupplyObject(TTypeUid /*aId*/)
+TTypeUid::Ptr CAlfAppUi::MopSupplyObject(TTypeUid aId)
{
return TTypeUid::Null();
}
--- a/uiacceltk/hitchcock/ServerCore/Src/alfbridge.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfbridge.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -84,13 +84,6 @@
#include <bautils.h>
#endif
-#ifdef ALF_MEMORYLOGGING
-#include <hal.h>
-#endif
-
-#include <graphics/fbsrasterizer.h>
-#include <graphics/fbsrasterizerclearcache.h>
-
const TInt KVisualTransformationStepRotate = 0;
const TReal32 KAlfVisualDefaultOpacity = 1.0f;
@@ -139,9 +132,6 @@
// its layout properly.
const TInt KAlfCheckCoverageFromMultipleGroups = 20;
-// Duration to wait if visual is not ready for current orientation.
-// 1 unit = 50ms.
-const TInt KAlfCheckVisualIsNotReady = 15;
NONSHARABLE_CLASS( TAlfBridgeDrawerWrapper ) : public MAlfDrawerScreenInterface
{
@@ -206,7 +196,6 @@
delete iEffectEndTimer;
iDeadControlGroups.Close();
iEffectWindowGroups.Close();
- iWindowChainsArray.Close();
delete iFSFxData;
delete iFSFXDataPart2;
@@ -280,11 +269,7 @@
void CAlfBridge::RegisterFadeEffectL()
{
// TODO: RND, REMOVE MMC DRIVE-F, WHEN NOT REQUIRED FOR TESTING
-#ifdef USE_ALTERNATIVE_EFFECTS_FROM_MMC
_LIT(KDrivePrefence,"FZC");
-#else
- _LIT(KDrivePrefence,"Z");
-#endif
// Force register fade effect. Try first MMC, then ROM.
CHuiFxEngine* engine = iHuiEnv->EffectsEngine();
RFs& fs = CHuiStatic::FsSession();
@@ -475,57 +460,7 @@
while(node);
return NULL;
}
-
-// ---------------------------------------------------------------------------
-// FindChainedGroup
-// ---------------------------------------------------------------------------
-//
-TUint32 CAlfBridge::FindChainedGroup(
- TUint32 aTreeNodeId)
- {
- THashMapIter<TUint32, TChainData> iter(iWindowChainsArray);
- TChainData const * data = 0;
- do
- {
- data = iter.NextValue();
- if (data && data->iParent == aTreeNodeId)
- {
- TUint32 chainedTo = FindChainedGroup(data->iChainee);
- if (!chainedTo)
- {
- return data->iChainee;
- }
- else
- {
- return chainedTo;
- }
- }
- }
- while(data);
- return NULL;
- }
-
-// ---------------------------------------------------------------------------
-// IsChainedGroup
-// ---------------------------------------------------------------------------
-//
-TBool CAlfBridge::IsChainedGroup(
- TUint32 aTreeNodeId)
- {
- THashMapIter<TUint32, TChainData> iter(iWindowChainsArray);
- TChainData const * data = 0;
- do
- {
- data = iter.NextValue();
- if (data && data->iChainee == aTreeNodeId)
- {
- return ETrue;
- }
- }
- while(data);
- return EFalse;
- }
-
+
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
//
@@ -545,13 +480,13 @@
// FindClientWindowGroupId
// ---------------------------------------------------------------------------
//
-TInt CAlfBridge::FindClientWindowGroupId(CHuiControlGroup& aControlGroup )
- {
- for (TInt i=0; i<iAlfScreens[0]->iControlGroups.Count();i++)
- {
- if( iAlfScreens[0]->iControlGroups[i].iControlGroup == &aControlGroup )
- {
- return iAlfScreens[0]->iControlGroups[i].iClientWindowGroupId;
+TInt CAlfBridge::FindClientWindowGroupId( TInt aScreenNumber, CHuiControlGroup& aControlGroup )
+ {
+ for (TInt i=0; i<iAlfScreens[aScreenNumber]->iControlGroups.Count();i++)
+ {
+ if( iAlfScreens[aScreenNumber]->iControlGroups[i].iControlGroup == &aControlGroup )
+ {
+ return iAlfScreens[aScreenNumber]->iControlGroups[i].iClientWindowGroupId;
}
}
return KErrNotFound;
@@ -561,13 +496,13 @@
// FindWindowGroupNodeId
// ---------------------------------------------------------------------------
//
-TInt CAlfBridge::FindWindowGroupNodeId(CHuiControlGroup& aControlGroup ) const
- {
- for (TInt i=0; i<iAlfScreens[0]->iControlGroups.Count();i++)
- {
- if( iAlfScreens[0]->iControlGroups[i].iControlGroup == &aControlGroup )
- {
- return iAlfScreens[0]->iControlGroups[i].iWindowGroupNodeId;
+TInt CAlfBridge::FindWindowGroupNodeId( TInt aScreenNumber, CHuiControlGroup& aControlGroup ) const
+ {
+ for (TInt i=0; i<iAlfScreens[aScreenNumber]->iControlGroups.Count();i++)
+ {
+ if( iAlfScreens[aScreenNumber]->iControlGroups[i].iControlGroup == &aControlGroup )
+ {
+ return iAlfScreens[aScreenNumber]->iControlGroups[i].iWindowGroupNodeId;
}
}
return KErrNotFound;
@@ -641,28 +576,6 @@
}
// ---------------------------------------------------------------------------
-// FindControlGroupBySecureId
-// May return multiple groups
-// ---------------------------------------------------------------------------
-//
-void CAlfBridge::FindControlGroupBySecureId( TInt aSecureId, RPointerArray<CHuiControlGroup>& aGroupList)
- {
- if ( aSecureId == 0 )
- {
- return;
- }
-
- for ( TInt i = 0; i < iAlfScreens[0]->iControlGroups.Count(); i++ )
- {
- TAlfControlGroupEntry& groupEntry = iAlfScreens[0]->iControlGroups[i];
- if ( groupEntry.iSecureId == aSecureId )
- {
- aGroupList.Append(groupEntry.iControlGroup);
- }
- }
- }
-
-// ---------------------------------------------------------------------------
// FindControlGroupByFullScreenToEffect
// ---------------------------------------------------------------------------
//
@@ -881,7 +794,7 @@
TInt aSecureId,
TInt aScreenNumber )
{
- CHuiControlGroup* group = FindControlGroup(aWindowGroupNodeId);
+ CHuiControlGroup* group = FindControlGroup(aWindowGroupNodeId,aScreenNumber);
if (!group)
{
group = &iHuiEnv->NewControlGroupL(aWindowGroupNodeId);
@@ -917,11 +830,6 @@
entry.iWindowGroupNodeId = aWindowGroupNodeId;
entry.iClientWindowGroupId = aClientWindowGroupId;
entry.iSecureId = aSecureId;
- // Add to the control group. HandleGfxEventL effect redirection will need this information
- entry.iScreenNumber = aScreenNumber;
- iAlfScreens[aScreenNumber]->iControlGroups.Append(entry);
- CleanupStack::Pop(group);
-
// we have received start effect for this group, but the group did not exist in alf universe at the time. hide the group.
if (iFSFxData
&& (iFSFxData->State() == EWaitingWindowGroup || iFSFxData->State() == EEndFullScreenReceivedWaitingWindowGroup)
@@ -962,6 +870,11 @@
HandleGfxStopEvent( EFalse ); // destroys iFSFxData and iFSFXDataPart2
}
}
+ entry.iScreenNumber = aScreenNumber;
+// entry.iRole = EHuiWindowGroupContainer;
+
+ iAlfScreens[aScreenNumber]->iControlGroups.Append(entry);
+ CleanupStack::Pop(group);
if (iAlfScreens[aScreenNumber]->iDisplay)
ShowControlGroupL(iAlfScreens[aScreenNumber]->iDisplay->Roster(), *group, KHuiRosterShowAtTop, aScreenNumber);
@@ -1176,14 +1089,14 @@
{
lSyncDone = ETrue;
CHuiControlGroup &lGroup = aRoster.ControlGroup(i+1);
- TInt clientWindowGroupId = FindClientWindowGroupId(lGroup );
+ TInt clientWindowGroupId = FindClientWindowGroupId( aScreenNumber, lGroup );
iAppUi->AdjustWindowGroupPositionL(clientWindowGroupId,CAlfAppServer::EBehindOfParent);
}
if(!lSyncDone && aGroup.iAlfApp && aRoster.ControlGroup(i-1).ResourceId() != iAlfWindowGroupNodeId )
{
CHuiControlGroup &lGroup = aRoster.ControlGroup(i);
- TInt clientWindowGroupId = FindClientWindowGroupId(lGroup );
+ TInt clientWindowGroupId = FindClientWindowGroupId( aScreenNumber, lGroup );
iAppUi->AdjustWindowGroupPositionL(clientWindowGroupId,CAlfAppServer::EBehindOfParent);
}
break;
@@ -1232,7 +1145,7 @@
{
iAlfWindowGroupNodeId = iAlfScreens[0]->iControlGroups[i].iWindowGroupNodeId;
- CHuiControlGroup* controlGroup = FindControlGroup(iAlfWindowGroupNodeId);
+ CHuiControlGroup* controlGroup = FindControlGroup(iAlfWindowGroupNodeId, 0);
CHuiControl& control = controlGroup->Control(0);
CHuiVisual* layout = &control.Visual(0);
iAlfScreens[0]->iDisplay->Roster().SetAlfEventWindow(layout);
@@ -1366,7 +1279,7 @@
numBuf.AppendNum(fps, TRealFormat(5,1));
TRAP_IGNORE(
{
- iAlfScreens[0]->iFPSText->SetTextL( numBuf );
+ iAlfScreens[screenNumber]->iFPSText->SetTextL( numBuf );
})
}
}
@@ -1377,10 +1290,10 @@
iActivated = (err == KErrNone);
}
- if (iAlfScreens[0]->IsVisualTreeVisibilityChanged())
+ if (iAlfScreens[screenNumber]->IsVisualTreeVisibilityChanged())
{
HandleVisualVisibility( screenNumber );
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(EFalse);
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(EFalse);
}
}
}
@@ -1443,10 +1356,7 @@
transparent |= (!((aVisual.Flags() & EHuiVisualFlagOpaqueHint) == EHuiVisualFlagOpaqueHint));
transparent |= (aVisual.iOpacity.Now() < KAlfVisualDefaultOpacity);
transparent |= (aVisual.iOpacity.Target() < KAlfVisualDefaultOpacity);
- if(aVisual.Effect())
- {
- transparent |= (aVisual.iEffectOpacity < KAlfVisualDefaultOpacity);
- }
+
return !transparent;
}
@@ -1577,7 +1487,6 @@
TBool alfWindowGroupFoundVisible = EFalse;
TBool alfClientWindowGroupVisible = EFalse;
- TBool firstAlfControlGroupFound = EFalse;
AMT_SET_VALUE( iVisibleVisualCount, 0 );
@@ -1630,7 +1539,7 @@
}
// !fullscreenCovered need to be checked because for fullscreen
// alf applications alf event window group could be on top of alf client windowgroup
- if ( (!firstAlfControlGroupFound || !fullscreenCovered) && activeSession)
+ if ( (alfClientWindowGroupVisible || !fullscreenCovered) && activeSession)
{
// clear inactive flag if client has not made this controlgroup hidden
if(!(flags&EHuiVisualFlagUnderOpaqueHint))
@@ -1651,11 +1560,7 @@
iTempRegion.AddRect(fullscreen);
iTempRegion.Tidy();
fullscreenCovered = ETrue;
- firstAlfControlGroupFound = ETrue; // change flag so that we don't go in this branch again
- }
- else
- {
- hostContainer->SetFlags(EHuiVisualFlagInactive);
+ alfClientWindowGroupVisible = EFalse; // change flag so that we don't go in this branch again
}
}
}
@@ -1725,56 +1630,9 @@
subTreeCovered, hasLayers, IsVisualOpaque(*layout) );
}
- if ( hasLayers && iActivated )
- {
- HandleLayerVisibility( layout, controlgroup, control, hasActiveVisualsInVisualTree );
- }
-
- TBool isLayoutActive = !(layout->Flags() & EHuiVisualFlagInactive);
-
- // we need to set /clear inactive flags before we evaluate the fade effect,
- // otherwise the fade effect will be removed without a reason in
- // some use cases
- if (isLayoutActive && (fullscreenCovered || (!hasActiveVisualsInVisualTree && !IsOpaqueEffect(layout->Effect()))))
- {
- // don't inactivate alf event wg if alf client is visible
- if( !( alfClientWindowGroupVisible && (controlgroup.ResourceId() == iAlfWindowGroupNodeId)) )
- // Setting also the root visual (layout) as inactive, if it had none
- // active children. This is because otherwise the Inactive checks won't
- // work correctly within RosterImpl ScanDirty & ClearChanged phases.
- // If root visual is having an opaque effect, it must remain active
- {
- layout->SetFlag(EHuiVisualFlagInactive);
- }
- }
- else if(!isLayoutActive && !fullscreenCovered && (hasActiveVisualsInVisualTree || IsOpaqueEffect(layout->Effect())) ||
- (alfClientWindowGroupVisible && (controlgroup.ResourceId() == iAlfWindowGroupNodeId)) )
- {
- layout->ClearFlag(EHuiVisualFlagInactive);
- layout->SetPos(fullscreen.iTl);
- layout->SetSize(fullscreen.Size());
-
- // New visible window group may have received effect just before appearing to the screen.
- // start the effect if this is the case.
- if(iFSFxData && iFSFxData->iToSecureId == controlgroup.SecureId() )
- {
- TInt windowGroupId = FindClientWindowGroupId(controlgroup);
-
- if (iFSFxData->iToWg == windowGroupId && iFSFxData->State() == EWaitEndFullScreen &&
- iFSFxData->iTwoPhaseEffect <= CFullScreenEffectState::ESecondPartActive)
- {
- GfxTriggerEffectWhenFullScreenDrawn(&controlgroup);
- }
- }
- }
-
- // If root visuals effect is marked as opaque, then add whole screen area as covered.
- if (!fullscreenCovered)
- {
- fullscreenCovered = IsOpaqueEffect(layout->Effect());
- }
-
-
+
+ TBool hasFadeEffectsInVisualTree = (layout->CanvasFlags() & EHuiCanvasFlagExternalFadeExistsInsideVisualTree);
+
// if native alf app is found visible and the client it self is not covering whole screen, we can assume that alf content
// fills the rest.
// this is for embedded native alf application cases. Otherwise chained window groups tend to
@@ -1791,9 +1649,39 @@
alfClientWindowGroupVisible = ETrue;
}
}
+
+ // If root visuals effect is marked as opaque, then add whole screen area as covered.
+ if (!fullscreenCovered)
+ {
+ fullscreenCovered = IsOpaqueEffect(layout->Effect());
+ }
+
+ if ( hasLayers && iActivated )
+ {
+ HandleLayerVisibility( layout, controlgroup, control, hasActiveVisualsInVisualTree );
+ }
+
+ TBool isLayoutActive = !(layout->Flags() & EHuiVisualFlagInactive);
+
+ // we need to set /clear inactive flags before we evaluate the fade effect,
+ // otherwise the fade effect will be removed without a reason in
+ // some use cases
+ if (isLayoutActive && !hasActiveVisualsInVisualTree && !IsOpaqueEffect(layout->Effect()))
+ {
+ // Setting also the root visual (layout) as inactive, if it had none
+ // active children. This is because otherwise the Inactive checks won't
+ // work correctly within RosterImpl ScanDirty & ClearChanged phases.
+ // If root visual is having an opaque effect, it must remain active
+ layout->SetFlag(EHuiVisualFlagInactive);
+ }
+ else if(!isLayoutActive && (hasActiveVisualsInVisualTree || IsOpaqueEffect(layout->Effect())))
+ {
+ layout->ClearFlag(EHuiVisualFlagInactive);
+ layout->SetPos(fullscreen.iTl);
+ layout->SetSize(fullscreen.Size());
+ }
+
- TBool hasFadeEffectsInVisualTree = (layout->CanvasFlags() & EHuiCanvasFlagExternalFadeExistsInsideVisualTree);
-
// If we layout is active setup the fade effects. Also if it is inactive, but has been
// flagged as containing fade effect, then run the setup as well so that effects which
// are no more needed get removed.
@@ -2516,12 +2404,6 @@
HandleIncludeToVisibilityCalculationL( data );
break;
}
- case EAlfDSSetScreenDeviceValid:
- {
- HandleSetScreenDeviceValidL( data );
- break;
- }
-
case EAlfDSSetWindowArea:
{
HandleSetWindowAreaL( data );
@@ -2570,12 +2452,14 @@
}
case EAlfDSGroupChained:
{
- HandleGroupChained(data);
+ __ALFLOGSTRING("CAlfBridge::DoDispatchL, EAlfDSGroupChained");
+ // TODO, link groups
break;
}
case EAlfDSGroupChainBroken:
{
- HandleGroupChainBroken(data);
+ __ALFLOGSTRING("CAlfBridge::DoDispatchL, EAlfDSGroupChainBroken");
+ // TODO, break link
break;
}
case EAlfDSMoveWindowToNewGroup:
@@ -2784,6 +2668,7 @@
TInt windowGroupNodeId = aData.iInt1;
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*) (*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
__ALFLOGSTRING1("CAlfBridge::HandleNewWindowL: new window %d!",windowNodeId);
switch (windowAttributes->iWindowNodeType)
@@ -2794,8 +2679,7 @@
windowGroupNodeId,
windowAttributes->iClientHandle,
windowAttributes->iSecureId,
- 0 // Only one screen for avkon content supported
- );
+ screenNumber);
// We just received notification for our own window group creation, store its node id for doing
// faster lookups later...
@@ -2811,11 +2695,11 @@
case EAlfWinTreeNodeSprite:
case EAlfWinTreeNodeTextCursor:
{
- CHuiControlGroup* controlGroup = FindControlGroup(windowGroupNodeId);
+ CHuiControlGroup* controlGroup = FindControlGroup(windowGroupNodeId,screenNumber);
// Floating sprites only require own group. Normal sprites should behave as normal visuals.
if (!controlGroup && windowAttributes->iWindowNodeType == EAlfWinTreeNodeSprite )
{
- controlGroup = iAlfScreens[0]->iFloatingSpriteControlGroup;
+ controlGroup = iAlfScreens[screenNumber]->iFloatingSpriteControlGroup;
}
if (controlGroup)
@@ -2893,11 +2777,7 @@
__ALFLOGSTRING("CAlfBridge::HandleNewWindowL: Unknown window node type received !");
}
}
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue);
-
-#ifdef ALF_MEMORYLOGGING
- ReportMemory();
-#endif
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue);
}
// ---------------------------------------------------------------------------
@@ -2980,13 +2860,14 @@
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*) (*iHost)->GetVarDataL( (TInt)aData.iPtr );
-
+ TInt screenNumber = windowAttributes->iScreenNumber;
+
switch (windowAttributes->iWindowNodeType)
{
case EAlfWinTreeNodeGroup:
{
HandleVisualVisibility(0);
- DeleteControlGroupL(windowGroupNodeId);
+ DeleteControlGroupL(windowGroupNodeId, screenNumber);
break;
}
case EAlfWinTreeNodeClient:
@@ -3006,7 +2887,7 @@
CHuiCanvasVisual* viz;
viz = (CHuiCanvasVisual*)FindVisual(windowNodeId);
- CHuiControlGroup* controlGroup = FindControlGroup( windowGroupNodeId);
+ CHuiControlGroup* controlGroup = FindControlGroup( windowGroupNodeId, screenNumber );
// Sprite is in its own group, and can be deleted normally.
if ( !controlGroup && windowAttributes->iWindowNodeType != EAlfWinTreeNodeSprite )
{
@@ -3046,7 +2927,7 @@
}
// TODO: Toolkit does not support recycling (of visuals),
// this is not in line with Nokia environmental policy...
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue);
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue);
}
// ---------------------------------------------------------------------------
@@ -3057,6 +2938,7 @@
{
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*) (*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
// fetch visual
CHuiVisual* viz = FindVisual(windowNodeId);
if (viz)
@@ -3068,8 +2950,8 @@
}
#endif
- viz->SetPos(windowAttributes->iPosition, windowAttributes->iTransitionTime);
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
+ viz->SetPos(windowAttributes->iPosition, windowAttributes->iTransitionTime);
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
}
else
{
@@ -3091,6 +2973,7 @@
{
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*) (*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
// fetch visual
CHuiVisual* viz = FindVisual(windowNodeId);
if (viz)
@@ -3107,7 +2990,7 @@
{
__ALFLOGSTRING("CAlfBridge::HandleSetWindowSizeL, EAlfDSSetWindowSize: Visual not found!");
}
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue);
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue);
AMT_INC_COUNTER_IF(viz, iVisualSizeChangedCount );
AMT_SET_VALUE_IF(viz, iLatestVisualExtentRect, TRect( windowAttributes->iPosition, windowAttributes->iSize ) );
@@ -3153,6 +3036,7 @@
{
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*) (*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
// fetch visual
CHuiVisual* viz = FindVisual(windowNodeId);
if (viz)
@@ -3163,9 +3047,9 @@
RDebug::Print(_L("CAlfBridge::HandleSetWindowOpacityL - Tracked visual"));
}
#endif
- viz->iOpacity.Set(windowAttributes->iOpacity, windowAttributes->iTransitionTime);
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
- }
+ viz->iOpacity.Set(windowAttributes->iOpacity, windowAttributes->iTransitionTime);
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
+ }
else
{
__ALFLOGSTRING("CAlfBridge::HandleSetWindowOpacityL, EAlfDSSetWindowOpacity: Visual not found!");
@@ -3180,6 +3064,7 @@
{
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*) (*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
// fetch visual
CHuiVisual* viz = FindVisual(windowNodeId);
if (viz)
@@ -3199,7 +3084,7 @@
viz->SetFlag( EHuiVisualFlagOpaqueHint );
}
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
}
else
{
@@ -3215,6 +3100,7 @@
{
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*) (*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
// fetch visual
CHuiVisual* viz = FindVisual(windowNodeId);
if (viz)
@@ -3239,7 +3125,7 @@
}
}
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
}
else
{
@@ -3248,42 +3134,6 @@
}
// ---------------------------------------------------------------------------
-// HandleSetScreenDeviceValidL
-// ---------------------------------------------------------------------------
-//
-void CAlfBridge::HandleSetScreenDeviceValidL( TAlfBridgerData& aData )
- {
- TInt windowNodeId = aData.iInt2;
- TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*) (*iHost)->GetVarDataL( (TInt)aData.iPtr );
-
- // fetch visual
- CHuiCanvasVisual* viz = (CHuiCanvasVisual*)FindVisual(windowNodeId);
- if (viz)
- {
-#ifdef HUI_DEBUG_TRACK_DRAWING
- if ( viz->Tracking() )
- {
- RDebug::Print(_L("CAlfBridge::HandleSetScreenDeviceValidL - Tracked visual"));
- }
-#endif
- if ( windowAttributes->iActive )
- {
- viz->ClearCanvasFlags( EHuiCanvasVisualFlagNotReady );
- }
- else
- {
- viz->SetCanvasFlags( EHuiCanvasVisualFlagNotReady );
- }
-
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue);
- }
- else
- {
- __ALFLOGSTRING("CAlfBridge::HandleSetScreenDeviceValidL, EAlfDSSetScreenDeviceValid: Visual not found!");
- }
- }
-
-// ---------------------------------------------------------------------------
// HandleSetWindowAreaL
// ---------------------------------------------------------------------------
//
@@ -3292,6 +3142,7 @@
TInt windowNodeId = aData.iInt2;
TAny* ptr = (TAny*)(*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = 0;
TPoint origin;
TInt count = 0;
RRegion region;
@@ -3299,7 +3150,7 @@
{
RMemReadStream str(ptr, 4*sizeof(TInt32));
- str.ReadInt32L(); // screen number, obsolete
+ screenNumber = str.ReadInt32L();
origin.iX = str.ReadInt32L();
origin.iY = str.ReadInt32L();
count = str.ReadInt32L();
@@ -3337,7 +3188,7 @@
CHuiCanvasVisual* canvas = static_cast<CHuiCanvasVisual*>(viz);
canvas->SetShape( origin, region );
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue);
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue);
}
else
{
@@ -3356,6 +3207,7 @@
TInt windowGroupNodeId = aData.iInt1;
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*) (*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
TInt ordinalPosition = windowAttributes->iOrdinalPosition;
switch (windowAttributes->iWindowNodeType)
@@ -3375,9 +3227,7 @@
}
#endif
- TBool wasInvalidReachable = IsVisualNotReadyReachable();
-
- CHuiControlGroup* controlGroup = FindControlGroup(windowGroupNodeId);
+ CHuiControlGroup* controlGroup = FindControlGroup(windowGroupNodeId,screenNumber);
if (!controlGroup)
{
@@ -3385,11 +3235,11 @@
}
ResolveAfterEffectAppearingApplicationL(controlGroup); // does nothing, if effect is not active on this control group
// Window server nodes are in inverted Z-order, we switch it here.
- iAlfScreens[0]->iDisplay->Roster().Hide(*controlGroup);
+ iAlfScreens[screenNumber]->iDisplay->Roster().Hide(*controlGroup);
TInt wsWindowGroupCount = 0;
- for (TInt i=0; i<iAlfScreens[0]->iDisplay->Roster().Count();i++)
+ for (TInt i=0; i<iAlfScreens[screenNumber]->iDisplay->Roster().Count();i++)
{
- if (iAlfScreens[0]->iDisplay->Roster().ControlGroup(i).Control(0).Role()==EHuiWindowGroupContainer)
+ if (iAlfScreens[screenNumber]->iDisplay->Roster().ControlGroup(i).Control(0).Role()==EHuiWindowGroupContainer)
{
wsWindowGroupCount++;
}
@@ -3407,30 +3257,16 @@
ordinalPosition = -1; // show at top ?
}
- if (iAlfScreens[0]->iDisplay && controlGroup)
+ if (iAlfScreens[screenNumber]->iDisplay && controlGroup)
{
- ShowControlGroupL(iAlfScreens[0]->iDisplay->Roster(), *controlGroup, ordinalPosition);
+ ShowControlGroupL(iAlfScreens[screenNumber]->iDisplay->Roster(), *controlGroup, ordinalPosition, screenNumber);
}
else
{
- __ALFLOGSTRING1("CAlfBridge::HandleReorderWindowL, EAlfDSReorder: Control group not found! Id: %d ", windowNodeId );
+ __ALFLOGSTRING2("CAlfBridge::HandleReorderWindowL, EAlfDSReorder: Control group not found! Screen: %d, Id: %d ", screenNumber, windowNodeId );
}
- ReorderAlfControlGroupsL();
-
- // Usually, layout switch is initiated by akncapserver before window group in new orientation
- // becomes visible. However, sometimes either akncapserver isn't fast enough or then applications
- // perform operations in wrong order. To reduce flickering, uiaccelerator provides implicit blanker.
-
- // We will check if there is a visual that is not ready for current orientation.
- // If such visual is found before fullscreen is covered then we will enable
- // implicit blanker. That gives akncapserver some time to start layout switch.
-
- if (!wasInvalidReachable && IsVisualNotReadyReachable())
- {
- iLayoutSwitchEffectCoordinator->ImplicitBlank();
- }
-
+ ReorderAlfControlGroupsL(screenNumber);
break;
}
case EAlfWinTreeNodeClient:
@@ -3468,7 +3304,7 @@
}
else
{
- __ALFLOGSTRING1("CAlfBridge::HandleReorderWindowL, EAlfDSReorder: Visual not found! Id: %d ", windowNodeId );
+ __ALFLOGSTRING2("CAlfBridge::HandleReorderWindowL, EAlfDSReorder: Visual not found! Screen: %d, Id: %d ", screenNumber, windowNodeId );
}
break;
}
@@ -3479,7 +3315,7 @@
}
}
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
AMT_MAP_BRIDGE_SET_ORDINAL_POSITION();
}
@@ -3493,6 +3329,7 @@
TInt windowGroupNodeId = aData.iInt1;
TInt windowNodeId = aData.iInt2;
TAlfWindowCommandBufferAttributes* bufferAttributes = (TAlfWindowCommandBufferAttributes*)(*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = bufferAttributes->iScreenNumber;
CHuiCanvasVisual* viz = (CHuiCanvasVisual*)FindVisual(windowNodeId);
@@ -3504,7 +3341,7 @@
#ifdef HUI_DEBUG_TRACK_DRAWING
TBool tracking( EFalse );
CHuiControlGroup* controlGroup = FindControlGroup( windowGroupNodeId, screenNumber );
- CAlfScreen* screen = iAlfScreens[0];
+ CAlfScreen* screen = iAlfScreens[screenNumber];
//TInt clientWindowGroupId = FindClientWindowGroupId( screenNumber, *controlGroup );
// NOTE, THE FOLLOWING WServClientFileName MAY CAUSE DEADLOCK.
@@ -3527,7 +3364,7 @@
{
// For performance resons, only set visual tree changed if this
// was the first buffer for the window.
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue);
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue);
}
TPtrC8 commands((TUint8*)bufferAttributes->iBuffer, bufferAttributes->iBufferLength);
@@ -3588,10 +3425,8 @@
}
else
{
- __ALFLOGSTRING2("CAlfBridge::HandlePostCanvasBufferL, EAlfDSPostCanvasBuffer: Visual not found! Id: %d, GroupId: %d ", windowNodeId, windowGroupNodeId );
+ __ALFLOGSTRING3("CAlfBridge::HandlePostCanvasBufferL, EAlfDSPostCanvasBuffer: Visual not found! Screen: %d, Id: %d, GroupId: %d ", screenNumber, windowNodeId, windowGroupNodeId );
}
- // Uncomment the following for tracking which application is doing drawing
- //__ALFFXLOGSTRING1("CAlfBridge::HandlePostCanvasBufferL 0x%x", viz->Owner().ControlGroup()->SecureId());
#ifdef USE_APPLICATION_ENDFULLSCREEN_TIMEOUT
if (iFSFxData
&& iFSFxData->iEffectType != CFullScreenEffectState::ENotDefinedEffect
@@ -3670,7 +3505,6 @@
TInt effectIndex;
if (!HasActiveEffect(aVisual, effectIndex))
{
- __ALFFXLOGSTRING2("CAlfBridge::SetWindowActiveL 0x%x - New state: %d", aVisual, aActive);
// Does not have effect
if (aActive)
{
@@ -3736,6 +3570,7 @@
TInt windowGroupNodeId = aData.iInt1;
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*)(*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
if (windowAttributes->iWindowNodeType == EAlfWinTreeNodeTextCursor && iCursorTimer)
{
@@ -3754,7 +3589,7 @@
{
case EAlfWinTreeNodeGroup:
{
- CHuiControlGroup* controlGroup = FindControlGroup(windowGroupNodeId);
+ CHuiControlGroup* controlGroup = FindControlGroup(windowGroupNodeId,screenNumber);
if (controlGroup)
{
CHuiControl& control = controlGroup->Control(0);
@@ -3800,7 +3635,7 @@
break;
}
}
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
AMT_INC_COUNTER( iTotalVisualFlagChangedCount );
AMT_INC_COUNTER_IF( windowAttributes->iActive, iActiveVisualCount );
@@ -3822,6 +3657,7 @@
TInt windowGroupNodeId = aData.iInt1;
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*)(*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
TInt windowFlag = windowAttributes->iActive;
THuiVisualFlags visualFlag = (THuiVisualFlags)0;
switch(windowFlag)
@@ -3843,7 +3679,7 @@
{
case EAlfWinTreeNodeGroup:
{
- CHuiControlGroup* controlGroup = FindControlGroup(windowGroupNodeId);
+ CHuiControlGroup* controlGroup = FindControlGroup(windowGroupNodeId,screenNumber);
if (controlGroup)
{
CHuiControl& control = controlGroup->Control(0);
@@ -3904,7 +3740,7 @@
break;
}
}
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
}
// ---------------------------------------------------------------------------
@@ -3988,14 +3824,14 @@
TInt windowGroupNodeId = aData.iInt1;
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*)(*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
// fetch visual
CHuiCanvasVisual* viz = FindVisual(windowNodeId);
- CHuiControlGroup* controlgroup = FindControlGroup(windowGroupNodeId, 0);
-
+
// We should not do this for alf window, but renderstage does not know if it is
// handling alf window or other window, so we ignore the request here if needed.
// TODO: When alf apps work in multiple display, check here for every displays alf groups...
- if (viz && iAlfWindowGroupNodeId != windowGroupNodeId && controlgroup && controlgroup->SecureId() != iAlfSecureId )
+ if (viz && iAlfWindowGroupNodeId != windowGroupNodeId)
{
viz->SetLayerExtent(windowAttributes->iSurfaceExtent);
// Set surface extend area to be cleared with fully transparent color
@@ -4024,7 +3860,7 @@
if (iAlfWindowGroupNodeId != windowGroupNodeId)
__ALFLOGSTRING("CAlfBridge::HandleSetSurfaceExtentL, EAlfDSSetSurfaceExtent: Visual not found!");
}
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
}
// ---------------------------------------------------------------------------
@@ -4036,6 +3872,7 @@
TInt windowGroupNodeId = aData.iInt1;
TInt windowNodeId = aData.iInt2;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*)(*iHost)->GetVarDataL( (TInt)aData.iPtr );
+ TInt screenNumber = windowAttributes->iScreenNumber;
// fetch visual
CHuiCanvasVisual* viz = (CHuiCanvasVisual*)FindVisual(windowNodeId);
@@ -4052,7 +3889,7 @@
if (iAlfWindowGroupNodeId != windowGroupNodeId)
__ALFLOGSTRING("CAlfBridge::HandleLayerUsesAlphaFlagChanged: Visual not found!");
}
- iAlfScreens[0]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
+ iAlfScreens[screenNumber]->SetVisualTreeVisibilityChanged(ETrue); // TODO: Check if really changed
}
@@ -4470,18 +4307,9 @@
effectFlags |= KHuiFxEffectExcludeChildrenFlag;
//RDebug::Print(_L("CAlfBridge::SetupFadeEffectL - no children faded by parent"));
}
-
- if (iHuiEnv->MemoryLevel() <= EHuiMemoryLevelLowest)
- {
- __ALFFXLOGSTRING("CAlfBridge::SetupFadeEffectL - Skipping because in SW rendering mode");
- didFadeEffectLoad = EFalse;
- }
- else
- {
- __ALFFXLOGSTRING1("CAlfBridge::SetupFadeEffectL - insert fade 0x%x", &aVisual);
- TRAP( err, engine->LoadEffectL(*iFadeEffectFile, effect, aVisual.Effectable(), NULL, NULL, 0, effectFlags ) );
- didFadeEffectLoad = ETrue;
- }
+ __ALFFXLOGSTRING1("CAlfBridge::SetupFadeEffectL - insert fade 0x%x", &aVisual);
+ TRAP( err, engine->LoadEffectL(*iFadeEffectFile, effect, aVisual.Effectable(), NULL, NULL, 0, effectFlags ) );
+ didFadeEffectLoad = ETrue;
}
}
}
@@ -4506,45 +4334,6 @@
return (didFadeEffectLoad || alreadyFaded);
}
-// ---------------------------------------------------------------------------
-// HandleGroupChained
-//
-// Chain information is used for redirecting effects to correct windowgroup
-// ---------------------------------------------------------------------------
-//
-void CAlfBridge::HandleGroupChained( TAlfBridgerData& aData)
- {
- TInt parentId = aData.iInt1;
- TInt chainedId = aData.iInt2;
-
- TChainData data(parentId, chainedId);
- iWindowChainsArray.Insert(parentId,data);
- __ALFFXLOGSTRING3("CAlfBridge::DoDispatchL, EAlfDSGroupChained %d chained to %d (host), iWindowChainsArray.Count() = %d", chainedId, parentId, iWindowChainsArray.Count());
-#ifdef _ALF_FXLOGGING
- CHuiControlGroup* parent = FindControlGroup(parentId);
- CHuiControlGroup* chained = FindControlGroup(chainedId);
-
- if (parent)
- {
- RDebug::Printf("CAlfBridge::DoDispatch - parent: 0x%x", parent->SecureId());
- }
- if (chained)
- {
- RDebug::Printf("CAlfBridge::DoDispatch - chained: 0x%x", chained->SecureId());
- }
-#endif
- }
-
-// ---------------------------------------------------------------------------
-// HandleGroupChainBroken
-// ---------------------------------------------------------------------------
-//
-void CAlfBridge::HandleGroupChainBroken( TAlfBridgerData& aData)
- {
- TInt parentId = aData.iInt2;
- iWindowChainsArray.Remove(parentId);
- __ALFFXLOGSTRING2("CAlfBridge::DoDispatchL, EAlfDSGroupChainBroken - parent: %d, iWindowChainsArray.Count() = %d", parentId, iWindowChainsArray.Count());
- }
// ---------------------------------------------------------------------------
// HandleMoveWindowToNewGroupL
@@ -4553,6 +4342,7 @@
void CAlfBridge::HandleMoveWindowToNewGroupL( TAlfBridgerData& aData )
{
TInt windowNodeId = aData.iInt1;
+ TInt screenNumber = aData.iInt2;
TInt newWindowGroupNodeId = (TInt)aData.iPtr;
CHuiCanvasVisual* viz = (CHuiCanvasVisual*)FindVisual(windowNodeId);
@@ -4562,7 +4352,7 @@
TInt oldWindowGroupId = 0;
if ( oldControlGroup )
{
- oldWindowGroupId = FindWindowGroupNodeId(*oldControlGroup );
+ oldWindowGroupId = FindWindowGroupNodeId(screenNumber, *oldControlGroup );
}
__ALFLOGSTRING3("CAlfBridge::HandleMoveWindowToNewGroupL moving nodeId 0x%x from group 0x%x to 0x%x ",windowNodeId, oldWindowGroupId, newWindowGroupNodeId );
#endif
@@ -4596,7 +4386,7 @@
viz->Owner().Remove(viz);
// #2 insert visual to the beginning of the new group
- CHuiControlGroup* newControlGroup = FindControlGroup(newWindowGroupNodeId);
+ CHuiControlGroup* newControlGroup = FindControlGroup(newWindowGroupNodeId,screenNumber);
if (newControlGroup)
{
CHuiControl& newControl = newControlGroup->Control(0);
@@ -4642,7 +4432,7 @@
}
else
{
- CHuiControlGroup* cg = FindControlGroup(windowNodeId); // TODO: Screen
+ CHuiControlGroup* cg = FindControlGroup(windowNodeId, 0); // TODO: Screen
if (cg)
{
CHuiControl& control = cg->Control(0);
@@ -4834,117 +4624,11 @@
}
}
-// ---------------------------------------------------------------------------
-// HandleGfxRedirection
-//
-// This effect might have been request for the host application, while the intent was to show it on the application started embedded.
-// Embedded application has its _own_ windowgroup separate from the host application. Fullscreen effect are shown on a windowgroup level.
-// e.g. Messaging -> New Message (editor), or Settings -> Themes (application)
-// Wserv notifies us the window group chaining of applications. See HandleGroupChained and HandleGroupChainBroken for more details. This code
-// will redirect the requested effect on correct windowgroup.
-//
-// NOTE! If embedded application effects are implemented, this will need revision
-// ---------------------------------------------------------------------------
-
-void CAlfBridge::HandleGfxRedirection(CFullScreenEffectState& aEvent, CHuiLayout*& aToLayout)
- {
- __ALFFXLOGSTRING2("CAlfBridge::HandleGfxRedirection - Redirection check for SecureId 0x%x. Effect setup result: %d.", aEvent.iToSecureId, aEvent.iSetupDone);
- TInt windowGroupNodeId = FindWindowGroupNodeId(*((*aToLayout).Owner().ControlGroup()));
- CHuiControlGroup* chainedGroup = NULL;
-
- // check, if the effect is being asked for chained application. This propably indicates that there are two or more instances of it and
- // effect was supposed to go to the single standalone instance
- if (IsChainedGroup(windowGroupNodeId))
- {
- RPointerArray<CHuiControlGroup> groupList;
- FindControlGroupBySecureId(aEvent.iToSecureId, groupList);
- TInt i = groupList.Count();
- TInt standaloneGroups = 0;
- while(--i >= 0)
- {
- windowGroupNodeId = FindWindowGroupNodeId(*groupList[i]);
-
- if (!IsChainedGroup(windowGroupNodeId))
- {
- // This is an educated guess, which will make the standalone version to have effect.
- // Currently (tm) standard appstart effect is never requested for embbedded instances.
- chainedGroup = groupList[i];
- standaloneGroups++;
- __ALFFXLOGSTRING2("CAlfBridge::HandleGfxRedirection - Wg id: %d is NOT chained. Index: %d",windowGroupNodeId, i);
- }
- else
- {
- __ALFFXLOGSTRING2("CAlfBridge::HandleGfxRedirection - Wg id: %d IS chained. Index: %d", windowGroupNodeId, i);
- }
- }
- groupList.Close();
- // Skip effect redirection if the end result is uncertain. This is the case, if
- // there are multiple standalone app groups (e.g. single application having multiple groups),
- if (standaloneGroups>1)
- {
- chainedGroup = NULL;
- aEvent.iIsRedirected = ETrue;
- if (iFSFXDataPart2)
- {
- iFSFXDataPart2->iIsRedirected = ETrue;
- }
- }
- }
- else
- {
- // Which group is chained to this group?
- TUint32 chainedId = FindChainedGroup(windowGroupNodeId);
- chainedGroup = FindControlGroup(chainedId);
- }
-
- // Redirection is skipped if the host layout has been already prepared (in practice added
- // to iEffectCleanupStack) for the effect.
- if (chainedGroup && !aEvent.iSetupDone)
- {
- __ALFFXLOGSTRING2("CAlfBridge::HandleGfxRedirection - Chained app found for this application. Transferring effect from 0x%x to 0x%x.", aToLayout->Owner().ControlGroup()->SecureId(), chainedGroup->SecureId());
- aToLayout = (CHuiLayout*)&chainedGroup->Control(0).Visual(0);
- // we'll change the original effect request to point to this new group. Thus, if effect is
- // canceled, it will be removed from the right place.
-
- aEvent.iToSecureId = chainedGroup->SecureId(); // Update the effect
- aEvent.iToWg = FindClientWindowGroupId(*chainedGroup);
-
- if (iFSFXDataPart2)
- {
- iFSFXDataPart2->iToSecureId = aEvent.iToSecureId;
- iFSFXDataPart2->iToWg = aEvent.iToWg;
- }
- }
- else
- {
- __ALFFXLOGSTRING2("CAlfBridge::HandleGfxRedirection - Skip redirection for SecureId 0x%x. Chained group: 0x%x", aEvent.iToSecureId, chainedGroup);
- }
- // Redirection attemp is allowed to happen only once, because this redirects effects for
- // _running_ embedded applications that must exist at the time of the request.
- // We are not interested in the embedded applications effects. Start effects for embedded applications
- // are not currently supported.
- aEvent.iIsRedirected = ETrue;
- if (iFSFXDataPart2)
- {
- iFSFXDataPart2->iIsRedirected = ETrue;
- }
- }
-
-// ---------------------------------------------------------------------------
-// HandleGfxEventL
-//
-// ---------------------------------------------------------------------------
-//
-TBool CAlfBridge::HandleGfxEventL(CFullScreenEffectState& aEvent, CHuiLayout* aToLayout, CHuiLayout* /*aFromLayout */)
- {
- __ALFFXLOGSTRING4("CAlfBridge::HandleGfxEventL - Operation: %d, To SecureUid: 0x%x, From SecureUid: 0x%x, effect %S", aEvent.iOperation, aEvent.iToSecureId, aEvent.iFromSecureId, aEvent.iEffectName);
- __ALFFXLOGSTRING3("CAlfBridge::HandleGfxEventL - To layout: 0x%x Effect handle: %d, Action: %d", aToLayout, aEvent.iHandle, aEvent.iAction);
-
- if (!aEvent.iIsRedirected)
- {
- HandleGfxRedirection(aEvent, aToLayout);
- }
-
+TBool CAlfBridge::HandleGfxEventL(CFullScreenEffectState& aEvent, CHuiLayout* aToLayout, CHuiLayout *aFromLayout)
+ {
+ __ALFFXLOGSTRING3("CAlfBridge::HandleGfxEventL - To SecureUid: 0x%x, From SecureUid: 0x%x, effect %S", aEvent.iToSecureId, aEvent.iFromSecureId, aEvent.iEffectName);
+ __ALFFXLOGSTRING4("CAlfBridge::HandleGfxEventL - To layout: 0x%x, From layout: 0x%x, Effect handle: %d, Action: %d", aToLayout, aFromLayout, aEvent.iHandle, aEvent.iAction);
+
TInt err = KErrNone;
TBool failed = EFalse;
@@ -4996,6 +4680,8 @@
case AknTransEffect::EApplicationStartSwitchRect:
case KAlfFSTaskSwapperAppStart:
{
+ aToLayout->iOpacity.Set(0.0f); // these are meant for applications that are not yet ready to be drawn, but possible already on the foreground
+ FreezeLayoutUntilEffectDestroyedL(aFromLayout, aEvent.iHandle);
aEvent.iEffectType = CFullScreenEffectState::EStartEffect;
if (iFSFXDataPart2)
{
@@ -5078,18 +4764,10 @@
if (aToLayout)
{
- // 1. If this is timeout, then we should be update the
- // screenshot for the long app start effect usage.
- // 2. For the second part of the effect, screenshot must be
- // update. Thus the transition may continue smoothly, where app_start_long.fxml finished.
- // 3. Sometimes BeginFullScreen has not run for the effect. For instance
- // when window group is created after EndFullScreen was received.
- TBool requiresScreenshot = NeedsStoredBuffers(iHuiEnv->EffectsEngine(), *aEvent.iEffectName);
- TBool hasScreenshot = TBool(aToLayout->StoredRenderBuffer());
- if ((aEvent.iLongAppStartTimeout && !hasScreenshot) // (1)
- || aEvent.iTwoPhaseEffect == CFullScreenEffectState::ESecondPartActive // (2)
- || (requiresScreenshot && !hasScreenshot) // (3)
- )
+ // if this was timeout appstart effect, we need to take screenshot at this point.
+ // It was not taken in the beginfullscreen
+
+ if (aEvent.iLongAppStartTimeout)
{
__ALFFXLOGSTRING1("CAlfBridge::HandleGfxEventL - taking screenshot for the timeout appstart effect. Handle: %d", aEvent.iHandle );
aToLayout->SetStoredRenderBufferModificationsEnabled(ETrue);
@@ -5130,18 +4808,13 @@
}
else
{
- // SetupEffectLayoutContainerL always returns ETrue. Code cleanup needed.
layoutEffectable = SetupEffectLayoutContainerL(aEvent.iHandle,aToLayout, ETrue, EFalse, aEvent.iCanDestroyOrHideImmediately);
}
- aEvent.iSetupDone = ETrue;
- if (iFSFXDataPart2)
- {
- iFSFXDataPart2->iSetupDone = aEvent.iSetupDone;
- }
+ aEvent.iSetupDone = layoutEffectable;
aToLayout->SetStoredRenderBufferModificationsEnabled(ETrue);
}
- if (layoutEffectable) // Note, this is always ETrue
+ if (layoutEffectable)
{
TInt effectFlags = 0;
TInt activeEffectGroup = engine->ActiveGroupEffect();
@@ -5151,7 +4824,8 @@
}
__ALFFXLOGSTRING1("CAlfBridge::HandleGfxEventL - Active effect group: %d", activeEffectGroup);
effectFlags = KHuiFxDelayRunUntilFirstFrameHasBeenDrawn;
- if (FxmlHasOpaqueHint(iHuiEnv->EffectsEngine(), *aEvent.iEffectName))
+ if (FxmlHasOpaqueHint(iHuiEnv->EffectsEngine(), *aEvent.iEffectName) ||
+ aEvent.iTwoPhaseEffect == CFullScreenEffectState::ESecondPartActive)
{
effectFlags |= KHuiFxOpaqueHint;
}
@@ -5223,11 +4897,8 @@
{
// Freeze only, if buffer was reserved succesfully
aLayout->SetFreezeState(ETrue);
- if (!HasActiveEffect(aLayout))
- {
- TBool itemsDestroyed;
- AddFxItemL(aHandle, aLayout, NULL, NULL, EFalse, itemsDestroyed, ETrue, EFalse);
- }
+ TBool itemsDestroyed;
+ AddFxItemL(aHandle, aLayout, NULL, NULL, EFalse, itemsDestroyed, ETrue, EFalse);
iFSFxData->iAppStartScreenshotItemHandle = aHandle;
}
}
@@ -5338,7 +5009,7 @@
// If we are in low memory state, we don't want to do any effects
if(iHuiEnv->MemoryLevel() < EHuiMemoryLevelReduced)
{
- __ALFFXLOGSTRING("CAlfBridge::HandleGfxEffectsL - WARNING! - Returning because memory level below NORMAL - EFFECT IS NOT SHOWN!");
+ __ALFFXLOGSTRING("CAlfBridge::HandleGfxEffectsL - Returning because memory level below NORMAL");
stream.Release();
return;
}
@@ -5576,7 +5247,6 @@
&& fxData->iOperation == MAlfGfxEffectPlugin::EBeginFullscreen
&& fxData->iEffectType == CFullScreenEffectState::EStartEffect)
{
- __ALFFXLOGSTRING("CAlfBridge::HandleGfxEffectsL - Try triggering effect immediately");
GfxTriggerEffectWhenFullScreenDrawn(toGroup);
}
}
@@ -5626,10 +5296,9 @@
CHuiControl& control = aToGroup->Control(0);
CHuiLayout* toLayout = control.VisualCount() > 0 ? (CHuiLayout*)&control.Visual(0) : NULL;
- if (!toLayout || (toLayout->Flags() & EHuiVisualFlagInactive ))
+ if (!toLayout)
{
// no point starting effect, if the layout is still inactive.
- __ALFFXLOGSTRING1("CAlfBridge::GfxTriggerEffectWhenFullScreenDrawn - Do not trigger. Layout 0x%x inactive or not found.", toLayout);
return EFalse;
}
TBool opaque = ETrue; // in app start case the layout is propably not opaque. Fake it.
@@ -5638,7 +5307,7 @@
// alf content check is relavant only for alf apps
if (!fullscreenCovered && aToGroup->iAlfApp)
{
- TInt clientGroupId = FindClientWindowGroupId(*aToGroup);
+ TInt clientGroupId = FindClientWindowGroupId(0, *aToGroup);
if (clientGroupId != KErrNotFound)
{
fullscreenCovered = HasActiveAlfContent(clientGroupId);
@@ -5990,7 +5659,9 @@
CControlEffectState* fxData = new (ELeave) CControlEffectState;
CleanupStack::PushL(fxData);
fxData->ConstructL(action, stream);
-
+ iControlEffectData = fxData;
+ CleanupStack::Pop(fxData);
+
// We now have all the data sent to us.
stream.Release();
@@ -6003,22 +5674,21 @@
if (visual)
{
- HandleGfxControlEventL(*fxData, visual);
- CleanupStack::PopAndDestroy(fxData);
+ HandleGfxControlEventL(*iControlEffectData, visual);
}
else
{
- iControlEffectData = fxData; // move ownership
- // Control was not found. Apply effect later when control appears in HandleNewWindow
__ALFFXLOGSTRING2("CAlfBridge::HandleGfxControlEffectsL - Control not found. iClientHandle %d, iClientGroupHandle %d",
iControlEffectData->iClientHandle,
iControlEffectData->iClientGroupHandle);
- CleanupStack::Pop(fxData);
return;
}
iAlfScreens[0]->iDisplay->SetDirty();
iHuiEnv->ContinueRefresh();
+ delete iControlEffectData;
+ iControlEffectData = NULL;
+
__ALFFXLOGSTRING("HandleGfxControlEffectsL - end");
}
@@ -6267,7 +5937,7 @@
sourceViz->Owner().Remove(sourceViz);
delete sourceViz;
- __ALFFXLOGSTRING1("CAlfBridge::CleanFxItem - Destroying sourceViz: 0x%x", sourceViz);
+ __ALFFXLOGSTRING1("CAlfBridge::RemoveTemporaryPresenterItem - Destroying sourceViz: 0x%x", sourceViz);
aEffectItem.iEffectedVisual = NULL;
}
else
@@ -6282,7 +5952,7 @@
TBool CAlfBridge::CleanFxVisual(CHuiVisual* aVisual,
TInt aHandle)
{
- __ALFFXLOGSTRING2("CAlfBridge::CleanFxVisual - cleaning handle: %d, 0x%x", aHandle, aVisual);
+ __ALFFXLOGSTRING2("CAlfBridge::RemoveTemporaryPresenterVisual - cleaning handle: %d, 0x%x", aHandle, aVisual);
TInt visualsRemoved = 0;
for (TInt i = 0; i < iEffectCleanupStack.Count(); i++)
{
@@ -6892,14 +6562,6 @@
{
iManualRefreshTimer->Cancel();
}
- if (!aEnable)
- {
- ClearRasterizerCache();
- }
-
-#ifdef ALF_MEMORYLOGGING
- ReportMemory();
-#endif
}
// ---------------------------------------------------------------------------
@@ -7509,14 +7171,6 @@
TRect displayRect = visualDisplayRect;
visualDisplayRect = canvasVisual->CommandBufferCoverage(aOrientation);
- if (aDuration <= KAlfCheckVisualIsNotReady && !visualRectIsCovered && visualIsVisible &&
- !displayRect.IsEmpty() && (canvasVisual->CanvasFlags() & EHuiCanvasVisualFlagNotReady))
- {
- __ALFLOGSTRING("CAlfBridge::IsLayoutSwitchReady not ready - invalid screen device reachable");
- visualTreeReady = EFalse;
- break;
- }
-
// Heuristic: Check that visual drawing isn't completely empty.
if ( aDuration <= KAlfCheckVisualDrawingNotEmpty && !visualRectIsCovered &&
visualIsVisible && visualDisplayRect.IsEmpty() )
@@ -7597,262 +7251,6 @@
return visualTreeReady;
}
-// ---------------------------------------------------------------------------
-// ---------------------------------------------------------------------------
-//
-TBool CAlfBridge::IsVisualNotReadyReachable()
- {
- TBool invalidReachable = ETrue;
-
- if (!iAlfScreens.Count())
- {
- return EFalse;
- }
-
- iTempRegion.Clear();
- iTempRegion2.Clear();
-
- CAlfScreen* screen = iAlfScreens[0];
- TRect fullscreen = TRect(TPoint(0,0), screen->Size());
- TInt orientation = screen->iDisplay->Orientation();
-
- TBool fullscreenCovered = EFalse;
- TBool alfClientWindowGroupVisible = EFalse;
-
- // Skip the topmost (effect) layer, start from floating sprite group
- for (TInt j=screen->iDisplay->Roster().Count() - screen->FixedControlGroupCount(); j>=0; j--)
- {
- CHuiControlGroup& controlgroup = screen->iDisplay->Roster().ControlGroup(j);
- CHuiControl& control = controlgroup.Control(0);
-
- if (control.Role() == EHuiFpsIndicatorContainer)
- {
- // FPS container doesn't contain canvas visuals
- continue;
- }
-
- CHuiCanvasVisual* layout = (CHuiCanvasVisual*)&control.Visual(0);
-
- // For optimization reasons, check if all visuals below in Z-order are covered
- if (!fullscreenCovered)
- {
- fullscreenCovered = IsRectCoveredByRegion(fullscreen, iTempRegion);
- }
-
- if (fullscreenCovered)
- {
- break;
- }
-
- // ALF applications are handled by checking if their visuals cover the whole screen.
- if (control.Role() == EHuiSessionContainer)
- {
- 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())
- {
- return EFalse;
- }
- }
- }
- }
- continue;
- }
-
- TBool hasActiveVisualsInVisualTree(EFalse);
-
- if (alfClientWindowGroupVisible && (controlgroup.ResourceId() == iAlfWindowGroupNodeId))
- {
- invalidReachable =
- IsVisualNotReadyReachableRecursive( layout, controlgroup, control,
- hasActiveVisualsInVisualTree, fullscreen, screen,
- IsVisualOpaque(*layout), alfClientWindowGroupVisible);
- }
- else
- {
- invalidReachable =
- IsVisualNotReadyReachableRecursive( layout, controlgroup, control,
- fullscreenCovered, fullscreen, screen,
- IsVisualOpaque(*layout), EFalse);
- }
-
- if (invalidReachable)
- {
- // Problem found in IsInvalidScreenDeviceVisualReachableRecursive
- break;
- }
-
- if ( controlgroup.iAlfApp && layout->iOpacity.Now() > 0.0f )
- {
- alfClientWindowGroupVisible = ETrue;
- }
- }
-
- iTempRegion2.Clear();
-
- return invalidReachable;
- }
-
-// ---------------------------------------------------------------------------
-// ---------------------------------------------------------------------------
-//
-TBool CAlfBridge::IsVisualNotReadyReachableRecursive(
- CHuiLayout* aLayout,
- CHuiControlGroup& aControlGroup,
- CHuiControl& aControl,
- TBool& aFullscreenCovered,
- const TRect& aFullscreen,
- CAlfScreen* aScreen,
- TBool aChildCanBeOpaque,
- TBool aOnlyForEmbeddedAlfApp)
- {
- TBool invalidReachable = EFalse;
- TRect visualDisplayRect;
- TBool visualRectIsCovered = EFalse;
- TBool visualIsOpaque = EFalse;
- TBool visualIsActive = EFalse;
- CHuiCanvasVisual* canvasVisual = NULL;
-
- for (TInt i = aLayout->Count() - 1; i >= 0; i--)
- {
- visualDisplayRect = TRect(0,0,0,0);
- visualRectIsCovered = EFalse;
- visualIsOpaque = EFalse;
- visualIsActive = EFalse;
-
- canvasVisual = (CHuiCanvasVisual*)(&aLayout->Visual(i));
-
- // Distraction windows are completely ignored.
- TBool distractionWindow = (canvasVisual->CanvasFlags() & EHuiCanvasFlagDistractionWindow);
- if ( distractionWindow )
- {
- continue;
- }
-
- visualIsOpaque = aChildCanBeOpaque && IsVisualOpaque(*canvasVisual);
- TBool visualIsVisible = (canvasVisual->iOpacity.Now() > 0.01f);
-
- if (canvasVisual->Count() && visualIsVisible)
- {
- invalidReachable = IsVisualNotReadyReachableRecursive( canvasVisual, aControlGroup, aControl,
- aFullscreenCovered, aFullscreen, aScreen,
- visualIsOpaque, EFalse);
-
- if (invalidReachable)
- {
- break;
- }
- }
-
- // Calculate visual display rect
- visualDisplayRect = canvasVisual->DisplayRect();
-
- ClipVisualRect(visualDisplayRect, aLayout->DisplayRect());
- ClipVisualRect(visualDisplayRect, aFullscreen);
-
- // Check if covered.
- if (aFullscreenCovered)
- {
- visualRectIsCovered = ETrue;
- }
- else
- {
- // Check if this visual is covered by other opaque visuals which rects are in "covered" region
- // it should not check for alf event window group, when we have embedded alf application,
- // because we have assumed that alf app will have full screen covered
- if(!aOnlyForEmbeddedAlfApp)
- {
- visualRectIsCovered = IsRectCoveredByRegion(visualDisplayRect, iTempRegion);
- }
- }
-
- // Determine if visual is active from coverage point of view.
- visualIsActive = EFalse;
- if (visualRectIsCovered)
- {
- if (!(canvasVisual->Flags() & EHuiVisualFlagAlwaysDraw))
- {
- visualIsActive = EFalse;
- }
- else
- {
- visualIsActive = ETrue;
- }
- }
- else
- {
- visualIsActive = ETrue;
- }
-
- // Sprites and effects as we consider them always as transparent and also
- // if controlgroup is transformed somehow
- if (aControl.Role() == EHuiFullScreenEffectContainer ||
- aControl.Role() == EHuiWindowFloatingSpriteContainer ||
- aControlGroup.IsTransformed())
- {
- visualIsOpaque = EFalse;
- }
-
- // Check that command buffers are ok.
- if ( visualIsActive )
- {
- if (!visualRectIsCovered && visualIsVisible && !visualDisplayRect.IsEmpty() &&
- (canvasVisual->CanvasFlags() & EHuiCanvasVisualFlagNotReady))
- {
- __ALFLOGSTRING("CAlfBridge::IsLayoutSwitchReady not ready reachable");
- invalidReachable = ETrue;
- break;
- }
- }
-
- if (visualIsActive && visualIsOpaque && !visualRectIsCovered)
- {
- // New visibility system takes only window shape into account.
- if ( canvasVisual->CanvasFlags() & EHuiCanvasFlagIncludeToVisibilityCalculation )
- {
- if ( !canvasVisual->HasCustomShape() )
- {
- TRect displayRect(canvasVisual->DisplayRect());
- ClipVisualRect(displayRect, aLayout->DisplayRect());
- ClipVisualRect(displayRect, aFullscreen);
-
- iTempRegion.AddRect(displayRect);
- iTempRegion.Tidy();
- }
- else
- {
- TRect displayRect = canvasVisual->DisplayRect();
- const TRegion& region = canvasVisual->ShapeRegion();
- TPoint delta = -canvasVisual->ShapeOrigin() + displayRect.iTl;
-
- for (TInt i = 0; i < region.Count(); ++i)
- {
- TRect coveredRect(region[i]);
- coveredRect.Move(delta);
- ClipVisualRect(coveredRect, aFullscreen);
-
- iTempRegion.AddRect(coveredRect);
- }
- iTempRegion.Tidy();
- }
- }
- }
- } // for loop end : children checking loop
-
- return invalidReachable;
- }
-
TBool CAlfBridge::IsFullScreenDrawnRecursiveAlfContent(CHuiVisual* aVisual, TRect& aFullScreen)
{
if(aVisual)
@@ -8141,39 +7539,4 @@
return hasAlfContent;
}
-void CAlfBridge::ReportMemory()
- {
-#ifdef ALF_MEMORYLOGGING
- TInt totalSpaceAllocated = 0;
- TInt cellsAllocatedInHeap = User::AllocSize(totalSpaceAllocated);
- TInt largestFreeBlock = 0;
- TInt totalFreeSpaceInHeap = User::Available(largestFreeBlock);
- TInt freeRAM = 0;
- if ( HAL::Get( HALData::EMemoryRAMFree, freeRAM ) != KErrNone )
- {
- freeRAM = -1;
- }
- TInt timestamp = User::NTickCount();
-
- RDebug::Printf("%x CAlfBridge::ReportMemory - Allocated space: %d, Amount of allocated cells: %d, Largest free block: %d, Free space in heap: %d",
- timestamp,
- totalSpaceAllocated,
- cellsAllocatedInHeap,
- largestFreeBlock,
- totalFreeSpaceInHeap);
- RDebug::Printf("%x CAlfBridge::ReportMemory - Free RAM in system: %d", timestamp, freeRAM);
-#endif
- }
-
-void CAlfBridge::ClearRasterizerCache()
- {
- CFbsRasterizer* rasterizer = CFbsBitmap::Rasterizer();
- MFbsRasterizerClearCache* cacheInterfacePtr = NULL;
- rasterizer->GetInterface(TUid::Uid(KUidFbsRasterizerClearCache), (TAny*&)cacheInterfacePtr);
- if (cacheInterfacePtr)
- {
- cacheInterfacePtr->ClearCache();
- }
- }
-
// end of file
--- a/uiacceltk/hitchcock/ServerCore/Src/alfeffectutils.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfeffectutils.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -27,8 +27,6 @@
// Maximum amount of end checks to be performed.
// This can be lower, should be visible enough to see, if heuristics fail.
const TInt KRosterFreezeEndAttempts = 50;
-// Timeout for implicit blank off.
-const TInt KAlfImplicitBlankerTimeoutInMs = 250;
// ---------------------------------------------------------
// CAlfRosterFreezeEndTimer
@@ -121,8 +119,6 @@
CAlfLayoutSwitchEffectCoordinator::~CAlfLayoutSwitchEffectCoordinator()
{
- delete iRosterFreezeEndTimer;
- delete iImplicitBlankTimer;
}
// ---------------------------------------------------------
@@ -132,64 +128,8 @@
void CAlfLayoutSwitchEffectCoordinator::Blank(TBool aEnabled)
{
__ALFLOGSTRING1("CAlfLayoutSwitchEffectCoordinator::Blank %d", aEnabled);
- iAknBlankEnabled = aEnabled;
- HandleBlankChange();
- }
-
-// ---------------------------------------------------------
-// CAlfLayoutSwitchEffectCoordinator::ImplicitBlank
-// ---------------------------------------------------------
-//
-void CAlfLayoutSwitchEffectCoordinator::ImplicitBlank()
- {
- __ALFLOGSTRING("CAlfLayoutSwitchEffectCoordinator::ImplicitBlank");
-
- if (!iImplicitBlankTimer)
- {
- iImplicitBlankTimer = CPeriodic::New(CActive::EPriorityHigh);
- if (!iImplicitBlankTimer)
- {
- return;
- }
- }
-
- iImplicitBlankEnabled = ETrue;
- HandleBlankChange();
-
- if (iImplicitBlankTimer)
- {
- iImplicitBlankTimer->Cancel();
- iImplicitBlankTimer->Start(KAlfImplicitBlankerTimeoutInMs*1000, KAlfImplicitBlankerTimeoutInMs*1000,
- TCallBack(DoImplicitBlankOff, this));
- }
- }
-
-// ---------------------------------------------------------
-// CAlfLayoutSwitchEffectCoordinator::DoImplicitBlankOff
-// ---------------------------------------------------------
-//
-TInt CAlfLayoutSwitchEffectCoordinator::DoImplicitBlankOff(TAny* aAny)
- {
- __ALFLOGSTRING("CAlfLayoutSwitchEffectCoordinator::DoImplicitBlankOff");
-
- CAlfLayoutSwitchEffectCoordinator* self = static_cast<CAlfLayoutSwitchEffectCoordinator*>(aAny);
- self->iImplicitBlankTimer->Cancel();
- self->iImplicitBlankEnabled = EFalse;
- self->HandleBlankChange();
-
- return KErrNone;
- }
-
-// ---------------------------------------------------------
-// CAlfLayoutSwitchEffectCoordinator::HandleBlankChange
-// ---------------------------------------------------------
-//
-void CAlfLayoutSwitchEffectCoordinator::HandleBlankChange()
- {
- TBool newBlankState = iAknBlankEnabled || iImplicitBlankEnabled;
-
- iBlankEnabled = newBlankState;
- Event( newBlankState ? EEventBlankOn : EEventBlankOff );
+ iBlankEnabled = aEnabled;
+ Event( aEnabled ? EEventBlankOn : EEventBlankOff );
}
// ---------------------------------------------------------
--- a/uiacceltk/hitchcock/ServerCore/Src/alfnodes.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfnodes.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -33,11 +33,6 @@
#else
#include "alflogger.h"
#endif
-
-#ifdef ALF_MEMORYLOGGING
-#include <hal.h>
-#endif
-
// ---------------------------------------------------------------------------
// Constructor
// ---------------------------------------------------------------------------
@@ -47,30 +42,6 @@
{
}
-
-void CAlfNode::ReportOOM()
- {
-#ifdef ALF_MEMORYLOGGING
- RDebug::Printf("CAlfNode::ReportOOM");
-
- TInt totalSpaceAllocated = 0;
- TInt cellsAllocatedInHeap = User::AllocSize(totalSpaceAllocated);
- TInt largestFreeBlock = 0;
- TInt totalFreeSpaceInHeap = User::Available(largestFreeBlock);
- TInt freeRAM = 0;
- if ( HAL::Get( HALData::EMemoryRAMFree, freeRAM ) != KErrNone )
- {
- freeRAM = -1;
- }
-
- RDebug::Printf("CAlfNode::ReportOOM - Allocated space: %d, Amount of allocated cells: %d, Largest free block: %d, Free space in heap: %d",
- totalSpaceAllocated,
- cellsAllocatedInHeap,
- largestFreeBlock,
- totalFreeSpaceInHeap);
- RDebug::Printf("CAlfNode::ReportOOM - Free RAM in system: %d", freeRAM);
-#endif
- }
// ---------------------------------------------------------------------------
// ConstructL
// ---------------------------------------------------------------------------
@@ -394,60 +365,61 @@
// ---------------------------------------------------------------------------
//
+// ---------------------------------------------------------------------------
+// CAlfNode::TraverseNodeTree
+// Traverse through node tree and fill node array
+// ---------------------------------------------------------------------------
+//
+
void CAlfNode::TraverseNodeTree( CAlfNode* node, RPointerArray<CAlfNode>& nodes, TBool aTraverseOnlySiblings, TBool aAddMe)
{
// Exit if we've already finished walking the tree.
if ( node == NULL)
{
- __ALFLOGSTRING("TraverseNodeTree returning - NULL");
+ __ALFLOGSTRING(" returning NULL");
return;
}
-
- while ( node )
+ if (!aTraverseOnlySiblings)
{
- if (!aTraverseOnlySiblings)
- {
- if ( node->iSpriteChild )
- {
- CAlfNode* spritenode = node->iSpriteChild ;
- while ( spritenode )
- {
- nodes.Append( spritenode );
- spritenode = spritenode->iSibling;
- }
- }
-
- if( node->iTextCursor )
- {
- nodes.Append(node->iTextCursor );
- }
-
- if( node->iAnimChild )
+ if ( node->iSpriteChild )
+ {
+ CAlfNode* spritenode = node->iSpriteChild ;
+ while ( spritenode )
{
- CAlfNode* animnode = node->iAnimChild ;
- while ( animnode )
- {
- nodes.Append( animnode );
- animnode = animnode->iSibling;
- }
- }
-
- if ( node->iChild)
- {
- TraverseNodeTree(node->iChild , nodes, EFalse, ETrue);
+ nodes.Append( spritenode );
+ spritenode = spritenode->iSibling;
}
- }
-
- if (aAddMe)
+ }
+
+ if( node->iTextCursor )
{
- nodes.Append( node );
+ nodes.Append(node->iTextCursor );
+ }
+
+ if( node->iAnimChild )
+ {
+ CAlfNode* animnode = node->iAnimChild ;
+ while ( animnode )
+ {
+ nodes.Append( animnode );
+ animnode = animnode->iSibling;
+ }
}
+
+ if ( node->iChild)
+ {
+ TraverseNodeTree(node->iChild , nodes, EFalse, ETrue);
+ }
+ }
- // Without recursion, continue with the following:
- // TraverseNodeTree(node->iSibling, nodes, ETrue, ETrue);
- node = node->iSibling;
- aTraverseOnlySiblings = ETrue;
- aAddMe = ETrue;
+ if (aAddMe)
+ {
+ nodes.Append( node );
+ }
+
+ if ( node->iSibling )
+ {
+ TraverseNodeTree(node->iSibling, nodes, ETrue, ETrue);
}
}
@@ -1018,14 +990,7 @@
{
TAny* attributes = NULL;
TRAP_IGNORE(attributes = (TAny*)iModel->Server().Bridge()->AppendVarDataL( aSize, aIndex ))
- if (attributes)
- {
- Mem::FillZ( (TUint8*)attributes, aSize ); // Initialize the returned memory area to 0
- }
- else
- {
- CAlfNode::ReportOOM();
- }
+ Mem::FillZ( (TUint8*)attributes, aSize ); // Initialize the returned memory area to 0
return attributes;
}
@@ -1342,21 +1307,14 @@
// position must be updated, because it not necessary the first drawn.
TInt offset;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*)CreateWindowAttributes(offset, sizeof(TAlfWindowAttributes));
- if (windowAttributes)
- {
- windowAttributes->iOrdinalPosition = ordinal;
- windowAttributes->iWindowNodeType = iType;
- windowAttributes->iScreenNumber = iScreenNumber;
- // for updating window group ordinals
- iModel->Server().Bridge()->AddData( EAlfDSReorder,
- iGroupId,
- iId,
- (TAny*)offset );
- }
- else
- {
- CAlfNode::ReportOOM();
- }
+ windowAttributes->iOrdinalPosition = ordinal;
+ windowAttributes->iWindowNodeType = iType;
+ windowAttributes->iScreenNumber = iScreenNumber;
+ // for updating window group ordinals
+ iModel->Server().Bridge()->AddData( EAlfDSReorder,
+ iGroupId,
+ iId,
+ (TAny*)offset );
}
}
AMT_MAP_NODE_SET_ORDINAL_POSITION();
@@ -1426,10 +1384,8 @@
{
nodeFlags |= EAlfWinNodeFlagOpaque;
}
-
- // New drawing commands always replace all the previous drawing commands for text cursor and anim nodes.
- if ( iType == MWsWindowTreeNode::EWinTreeNodeStandardTextCursor
- || iType == MWsWindowTreeNode:: EWinTreeNodeAnim )
+
+ if ( iType == MWsWindowTreeNode::EWinTreeNodeStandardTextCursor )
{
emptyBuffer = ETrue;
}
@@ -1554,13 +1510,6 @@
}
break;
}
- case MWsWindowTreeObserver::EScreenDeviceValid:
- {
- iWindow->SetScreenDeviceValid(aNewValue);
- break;
- }
- default:
- break;
}
if ( aFlag == MWsWindowTreeObserver::ENonFading && HasChildren() )
{
@@ -1953,24 +1902,17 @@
TInt offset;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*)CreateWindowAttributes(offset, sizeof(TAlfWindowAttributes));
- if (windowAttributes)
- {
- windowAttributes->iWindowNodeType = iType;
- windowAttributes->iClientHandle = clientHandle;
- windowAttributes->iScreenNumber = iScreenNumber;
- windowAttributes->iSecureId = iSecureId;
- windowAttributes->iParentNodeId = parentId;
-
- iModel->Server().Bridge()->AddData( EAlfDSNewWindow,
- iGroupId,
- iId,
- (TAny*)offset );
- }
- else
- {
- CAlfNode::ReportOOM();
- }
-
+ windowAttributes->iWindowNodeType = iType;
+ windowAttributes->iClientHandle = clientHandle;
+ windowAttributes->iScreenNumber = iScreenNumber;
+ windowAttributes->iSecureId = iSecureId;
+ windowAttributes->iParentNodeId = parentId;
+
+ iModel->Server().Bridge()->AddData( EAlfDSNewWindow,
+ iGroupId,
+ iId,
+ (TAny*)offset );
+
AMT_MAP_STREAMER_NODE_GROUP_CONSTRUCT();
}
@@ -2007,8 +1949,8 @@
if (iModel)
{
iModel->Server().Bridge()->AddData( EAlfDSGroupChained,
- iGroupId,
- iChainedTo->iGroupId,
+ iId,
+ aChainedGroup,
(TAny*)iScreenNumber
);
}
@@ -2020,18 +1962,16 @@
//
void CAlfNodeGroup::GroupChainBrokenAfter( )
{
- TUint32 oldChainedTo = 0;
if ( iChainedTo )
{
iChainedTo->iChainedFrom = NULL;
- oldChainedTo = iChainedTo->iId;
iChainedTo = NULL;
}
if (iModel)
{
iModel->Server().Bridge()->AddData( EAlfDSGroupChainBroken,
- oldChainedTo,
iId,
+ 0,
(TAny*)iScreenNumber );
}
@@ -2050,33 +1990,20 @@
}
if ( iChainedFrom )
{
- if (iModel)
- {
- iModel->Server().Bridge()->AddData( EAlfDSGroupChainBroken,
- iChainedFrom->iId,
- iId,
- (TAny*)iScreenNumber );
- }
+ iChainedFrom->iChainedTo = NULL;
}
if (iModel)
{
TInt offset;
TAlfWindowAttributes* windowAttributes = (TAlfWindowAttributes*)CreateWindowAttributes(offset, sizeof(TAlfWindowAttributes));
- if (windowAttributes)
- {
- windowAttributes->iWindowNodeType = iType;
- windowAttributes->iScreenNumber = iScreenNumber;
-
- iModel->Server().Bridge()->AddData( EAlfDSDestroyWindow,
- iGroupId,
- iId,
- (TAny*)offset );
- }
- else
- {
- CAlfNode::ReportOOM();
- }
+ windowAttributes->iWindowNodeType = iType;
+ windowAttributes->iScreenNumber = iScreenNumber;
+
+ iModel->Server().Bridge()->AddData( EAlfDSDestroyWindow,
+ iGroupId,
+ iId,
+ (TAny*)offset );
iWindow = 0; // just in case
}
RemoveDependencies( iParent->iChild );
@@ -2209,26 +2136,19 @@
TInt offset;
// pass rest of the cursor data
TAlfCursorDataBufferAttributes* attributes = (TAlfCursorDataBufferAttributes*)CreateWindowAttributes(offset, sizeof(TAlfCursorDataBufferAttributes));
- if (attributes)
- {
- attributes->iColor = iColor;
- attributes->iFlags = iFlags;
- attributes->iFlashInterval = iFlashInterval;
- attributes->iScreenNumber = iScreenNumber;
-
- aModel->Server().Bridge()->AddData( EAlfDSSetCursorData,
- iGroupId,
- iId,
- (TAny*)offset );
-
- UpdateOrdinalPosition();
-
- AMT_MAP_STREAMER_TEXT_CURSOR_CONSTRUCT();
- }
- else
- {
- CAlfNode::ReportOOM();
- }
+ attributes->iColor = iColor;
+ attributes->iFlags = iFlags;
+ attributes->iFlashInterval = iFlashInterval;
+ attributes->iScreenNumber = iScreenNumber;
+
+ aModel->Server().Bridge()->AddData( EAlfDSSetCursorData,
+ iGroupId,
+ iId,
+ (TAny*)offset );
+
+ UpdateOrdinalPosition();
+
+ AMT_MAP_STREAMER_TEXT_CURSOR_CONSTRUCT();
}
// ---------------------------------------------------------------------------
@@ -2278,23 +2198,17 @@
}
TInt offset;
TAlfCursorDataBufferAttributes* attributes = (TAlfCursorDataBufferAttributes*)CreateWindowAttributes(offset, sizeof(TAlfCursorDataBufferAttributes));
- if (attributes)
- {
- attributes->iColor = iColor;
- attributes->iFlags = iFlags;
- attributes->iFlashInterval = iFlashInterval;
- attributes->iScreenNumber = iScreenNumber;
- __ALFLOGSTRING("Forwarding cursor data");
- iModel->Server().Bridge()->AddData( EAlfDSSetCursorData,
+ attributes->iColor = iColor;
+ attributes->iFlags = iFlags;
+ attributes->iFlashInterval = iFlashInterval;
+ attributes->iScreenNumber = iScreenNumber;
+ __ALFLOGSTRING("Forwarding cursor data");
+ iModel->Server().Bridge()->AddData( EAlfDSSetCursorData,
iGroupId,
iId,
(TAny*)offset );
- AMT_MAP_STREAMER_TEXT_CURSOR_CHANGE();
- }
- else
- {
- CAlfNode::ReportOOM();
- }
+
+ AMT_MAP_STREAMER_TEXT_CURSOR_CHANGE();
}
CAlfNodeTextCursor::~CAlfNodeTextCursor( )
{
--- a/uiacceltk/hitchcock/ServerCore/Src/alfstaticfactory.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfstaticfactory.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -69,12 +69,7 @@
iPtr(ptr),
iSession(aSession)
{}
-
- void ClearPtr()
- {
- iPtr = NULL;
- }
-
+
TBool OfferEventL(const THuiEvent& aEvent)
{
if ( aEvent.IsPointerEvent() )
@@ -121,13 +116,9 @@
~CAlfControl2()
{
- // iPtr might have been cleared previously
- if (iPtr != NULL)
- {
- *iPtr = 0;
- }
+ *iPtr = 0;
- // Remove possible pointer observers
+ // Remove possbile pointer observers
if ( Env().DisplayCount() )
{
CHuiDisplay& disp = Env().PrimaryDisplay(); // assume one display
@@ -153,14 +144,7 @@
void HandleCmdL(TInt aCommandId, const TDesC8& aInputBuffer, TDes8& aResponse);
CAlfControl2* iControl;
~CAlfControlHandler()
- {
- // Clear the control's iPtr so that it wouldn't be left as dangling pointer
- // and cause potential memory corruption
- if (iControl != NULL)
- {
- iControl->ClearPtr();
- }
-
+ {
if (iControl && !iControl->ControlGroup())
{
delete iControl;
--- a/uiacceltk/hitchcock/ServerCore/Src/alfstreamerbridge.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfstreamerbridge.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -96,7 +96,6 @@
{
iDataBuf.Close();
iQueueSema.Close();
- iMessages.Close();
#ifdef ALF_DEBUG_TRACK_DRAWING
delete iCommandDebugger;
#endif
@@ -204,8 +203,7 @@
}
else if (iVarDataAddedButNotPosted)
{
- __ALFLOGSTRING1("CAlfStreamerBridge::AddData - Data lost, error: %d", err);
- iVarDataAddedButNotPosted = EFalse; // data lost
+ iVarDataAddedButNotPosted = EFalse; // data lost
iQueueSema.Signal();
}
@@ -415,7 +413,7 @@
}
if ( iDataBuf.Length() + aSize >= iDataBuf.MaxLength() )
{
- TRAPD(err, iDataBuf.ReAllocL( iDataBuf.MaxLength() + aSize + KIncreaseVariableBufferSize ));
+ TRAPD(err, iDataBuf.ReAllocL( iDataBuf.MaxLength() + KInitialVariableBufferSize ));
if ( err )
{
__ALFLOGSTRING("CAlfStreamerBridge::AppendVarDataL, realloc failed");
--- a/uiacceltk/hitchcock/ServerCore/Src/alfstreamerserver.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfstreamerserver.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -227,19 +227,14 @@
CAlfStreamerServer::~CAlfStreamerServer()
{
delete iThemesListener;
+ delete iWindowMgr;
delete iWindowHierarcy;
- iWindowHierarcy = NULL;
iCompositionSessions.Close();
iCompositionHostSessions.Close();
iCompositionTokens.Close();
iWindowServerSessions.Close();
iAlfTargets.Close();
iOptionalGRAM.Close();
- iSignals.Close();
- // Remove "effectpluginnotunloaded" from 10282CAF.rss in order to really unload effect plugin
- // iWindowMgr->DestroyPlugin(TUid::Uid(0x2001e2cf)); // effects plugin. window manager needed for unloading.
- delete iWindowMgr;
- iWindowMgr = NULL;
}
void CAlfStreamerServer::AppendCompositionSessionL(CAlfStreamerServerSession* aSession, TBool aHost)
@@ -802,12 +797,6 @@
TInt i = 0;
RImplInfoPtrArray pluginArray;
REComSession::ListImplementationsL( KAlfGfxPluginInterfaceUId, pluginArray );
- CAlfWindowManager* windowMgr = NULL;
- if (Server())
- {
- windowMgr = ((CAlfStreamerServer*)(Server()))->WindowMgr();
- }
-
for ( i = iLoadedPlugins.Count() - 1; i >= 0; i-- )
{
TInt j = 0;
@@ -816,9 +805,9 @@
TUid loaded = TUid::Uid(iLoadedPlugins[i]);
TUid listed = pluginArray[j]->ImplementationUid();
TPtrC8 listedopaque = pluginArray[j]->OpaqueData();
- if ( loaded == listed && ( (listedopaque.CompareF( KAlfDoNotUnloadPlugin )) != 0 ) && windowMgr)
+ if ( loaded == listed && ( (listedopaque.CompareF( KAlfDoNotUnloadPlugin )) != 0 ) )
{
- windowMgr->DestroyPlugin(TUid::Uid(iLoadedPlugins[i]));
+ ((CAlfStreamerServer*)(Server()))->WindowMgr()->DestroyPlugin(TUid::Uid(iLoadedPlugins[i]));
}
}
}
--- a/uiacceltk/hitchcock/ServerCore/Src/alfwindow.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfwindow.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -28,10 +28,6 @@
#include <string.h>
#include <s32mem.h>
-#ifdef ALF_MEMORYLOGGING
-#include <hal.h>
-#endif
-
// ---------------------------------------------------------------------------
// NewL
// ---------------------------------------------------------------------------
@@ -63,30 +59,7 @@
delete iData;
}
}
-
-void CAlfWindow::ReportOOM()
- {
-#ifdef ALF_MEMORYLOGGING
- RDebug::Printf("CAlfWindow::ReportOOM");
- TInt totalSpaceAllocated = 0;
- TInt cellAllocatedInHeap = User::AllocSize(totalSpaceAllocated);
- TInt largestFreeBlock = 0;
- TInt totalFreeSpaceInHeap = User::Available(largestFreeBlock);
- TInt freeRAM = 0;
- if ( HAL::Get( HALData::EMemoryRAMFree, freeRAM ) != KErrNone )
- {
- freeRAM = -1;
- }
-
- RDebug::Printf("CAlfWindow::ReportOOM - Allocated space: %d, Amount of allocated cells: %d, Largest free block: %d, Free space in heap: %d",
- totalSpaceAllocated,
- cellAllocatedInHeap,
- largestFreeBlock,
- totalFreeSpaceInHeap);
- RDebug::Printf("CAlfWindow::ReportOOM - Free RAM in system: %d", freeRAM);
-#endif
- }
-
+
// ---------------------------------------------------------------------------
// WsInfo
// ---------------------------------------------------------------------------
@@ -534,28 +507,21 @@
const TInt size = ( 4*aRegion.Count() + 4 ) * sizeof(TInt32);
TAny* data = (TAny*)iData->iWindowManager->Bridge()->AppendVarDataL( size, aOffset );
- if (data)
+ RMemWriteStream str( data, size );
+ str.WriteInt32L( aScreenNumber );
+ str.WriteInt32L( aOrigin.iX );
+ str.WriteInt32L( aOrigin.iY );
+ str.WriteInt32L( aRegion.Count() );
+
+ for (TInt i = 0; i < aRegion.Count(); ++i )
{
- RMemWriteStream str( data, size );
- str.WriteInt32L( aScreenNumber );
- str.WriteInt32L( aOrigin.iX );
- str.WriteInt32L( aOrigin.iY );
- str.WriteInt32L( aRegion.Count() );
-
- for (TInt i = 0; i < aRegion.Count(); ++i )
- {
- const TRect rect(aRegion[i]);
- str.WriteInt32L(rect.iTl.iX);
- str.WriteInt32L(rect.iTl.iY);
- str.WriteInt32L(rect.iBr.iX);
- str.WriteInt32L(rect.iBr.iY);
- }
+ const TRect rect(aRegion[i]);
+ str.WriteInt32L(rect.iTl.iX);
+ str.WriteInt32L(rect.iTl.iY);
+ str.WriteInt32L(rect.iBr.iX);
+ str.WriteInt32L(rect.iBr.iY);
}
- else
- {
- CAlfWindow::ReportOOM();
- }
-
+
return data;
}
@@ -663,56 +629,6 @@
}
// ---------------------------------------------------------------------------
-// SetScreenDeviceValid
-// ---------------------------------------------------------------------------
-//
-void CAlfWindow::SetScreenDeviceValid(TBool aValid)
- {
- if ( WsInfo().iNodeType != MWsWindowTreeNode::EWinTreeNodeClient )
- {
- // We intentionally omit other than client windows. Actually, we
- // we should get this valid information only for top level windows.
- return;
- }
-
- if (!IsInsertedToScene())
- {
- iData->iScreenDeviceValid = aValid;
- return;
- }
-
- TAlfWServInfo wservInfo = WsInfo();
-
- TInt offset;
- TAlfWindowAttributes* windowAttributes = CreateWindowAttributes(offset);
- if ( windowAttributes )
- {
- windowAttributes->iActive = aValid;
- windowAttributes->iScreenNumber = wservInfo.iScreenNumber;
-
- TAlfBridgerData d;
- d.Set(EAlfDSSetScreenDeviceValid,
- wservInfo.iRefId.iWindowGroupId,
- wservInfo.iRefId.iWindowIdentifer,
- (TAny*)offset);
-
- if (iData->iWindowManager->PostIt(d))
- {
- iData->iScreenDeviceValid = aValid;
- }
- }
- }
-
-// ---------------------------------------------------------------------------
-// IsScreenDeviceValid
-// ---------------------------------------------------------------------------
-//
-TBool CAlfWindow::IsScreenDeviceValid() const
- {
- return iData->iScreenDeviceValid;
- }
-
-// ---------------------------------------------------------------------------
// IsIncludedToVisibilityCalculation
// ---------------------------------------------------------------------------
//
@@ -791,7 +707,6 @@
iData->iWindowArea = RRegion();
iData->iTransparencyAlphaChannel = EFalse;
iData->iIncludeToVisibilityCalculation = EFalse;
- iData->iScreenDeviceValid = ETrue;
SetSize(aSizeInPixels);
}
@@ -976,10 +891,6 @@
// ???
}
}
- else
- {
- ReportOOM();
- }
}
@@ -1013,10 +924,6 @@
// ???
}
}
- else
- {
- CAlfWindow::ReportOOM();
- }
}
// ---------------------------------------------------------------------------
@@ -1048,10 +955,6 @@
{
*attributes = empty;
}
- else
- {
- CAlfWindow::ReportOOM();
- }
return attributes;
}
@@ -1068,9 +971,5 @@
{
*windowCommandBuffer = empty;
}
- else
- {
- CAlfWindow::ReportOOM();
- }
return windowCommandBuffer;
}
--- a/uiacceltk/hitchcock/ServerCore/Src/alfwindowmanager.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/ServerCore/Src/alfwindowmanager.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -208,7 +208,6 @@
aWindow->SetSurfaceExtent(aWindow->SurfaceExtent());
aWindow->SetWindowArea();
aWindow->SetTransparencyAlphaChannel(aWindow->TransparencyAlphaChannel());
- aWindow->SetScreenDeviceValid(aWindow->IsScreenDeviceValid());
aWindow->IncludeToVisibilityCalculation(aWindow->IsIncludedToVisibilityCalculation());
aWindow->SetActive(aWindow->IsActive());
}
@@ -254,23 +253,16 @@
TInt offset;
TAlfWindowAttributes* windowAttributes = CreateWindowAttributes(offset);
- if (windowAttributes)
- {
- windowAttributes->iWindowNodeType = wservInfo.iNodeType;
- windowAttributes->iScreenNumber = wservInfo.iScreenNumber;
+ windowAttributes->iWindowNodeType = wservInfo.iNodeType;
+ windowAttributes->iScreenNumber = wservInfo.iScreenNumber;
- TAlfBridgerData data;
- data.Set(EAlfDSDestroyWindow,
- wservInfo.iRefId.iWindowGroupId,
- wservInfo.iRefId.iWindowIdentifer,
- (TAny*)offset);
-
- PostIt(data);
- }
- else
- {
- CAlfWindow::ReportOOM();
- }
+ TAlfBridgerData data;
+ data.Set(EAlfDSDestroyWindow,
+ wservInfo.iRefId.iWindowGroupId,
+ wservInfo.iRefId.iWindowIdentifer,
+ (TAny*)offset);
+
+ PostIt(data);
iData->iWindows.Remove(i);
delete &aWindow;
@@ -324,7 +316,7 @@
// Decaprecated
// ---------------------------------------------------------------------------
//
-EXPORT_C CAlfWindow* CAlfWindowManager::ReserveL( const TWindowIdentifier& /*aId*/, TBool /*aReserveBuffer = ETrue*/ )
+EXPORT_C CAlfWindow* CAlfWindowManager::ReserveL( const TWindowIdentifier& /*aId*/, TBool aReserveBuffer /*= ETrue*/ )
{
return 0; // we never get here
}
@@ -666,14 +658,7 @@
TAlfWindowAttributes empty;
TAlfWindowAttributes* attributes = NULL;
TRAP_IGNORE(attributes = (TAlfWindowAttributes*)Bridge()->AppendVarDataL( sizeof(TAlfWindowAttributes), aIndex ))
- if (attributes)
- {
- *attributes = empty;
- }
- else
- {
- CAlfWindow::ReportOOM();
- }
+ *attributes = empty;
return attributes;
}
@@ -686,14 +671,7 @@
TAlfWindowCommandBufferAttributes empty;
TAlfWindowCommandBufferAttributes* windowCommandBuffer = NULL;
TRAP_IGNORE(windowCommandBuffer = (TAlfWindowCommandBufferAttributes*)Bridge()->AppendVarDataL( sizeof(TAlfWindowCommandBufferAttributes), aIndex ))
- if (windowCommandBuffer)
- {
- *windowCommandBuffer = empty;
- }
- else
- {
- CAlfWindow::ReportOOM();
- }
+ *windowCommandBuffer = empty;
return windowCommandBuffer;
}
--- a/uiacceltk/hitchcock/coretoolkit/BWINS/hitchcocku.DEF Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/BWINS/hitchcocku.DEF Tue Aug 31 16:07:35 2010 +0300
@@ -1603,10 +1603,4 @@
?AppIconCache@CHuiEnv@@QBEAAVCAppIconCache@@XZ @ 1602 NONAME ; class CAppIconCache & CHuiEnv::AppIconCache(void) const
?Find@CAppIconCache@@QAEPAVCFbsBitmap@@_JVTSize@@@Z @ 1603 NONAME ; class CFbsBitmap * CAppIconCache::Find(long long)
?SetSkinSizeChangePending@CHuiDisplay@@QAEXXZ @ 1604 NONAME ; void CHuiDisplay::SetSkinSizeChangePending(void)
- ?EffectReadyToDrawNextFrame@CHuiVisual@@UBEHXZ @ 1605 NONAME ; int CHuiVisual::EffectReadyToDrawNextFrame(void) const
- ?HandleOutOfTextureMemory@CHuiEnv@@QAEXXZ @ 1606 NONAME ; void CHuiEnv::HandleOutOfTextureMemory(void)
- ?ReleaseAllCachedRenderTargets@CHuiFxVisualLayer@@UAEXAAVCHuiFxEngine@@@Z @ 1607 NONAME ; void CHuiFxVisualLayer::ReleaseAllCachedRenderTargets(class CHuiFxEngine &)
- ?ReleaseAllCachedRenderTargets@CHuiFxGroupLayer@@UAEXAAVCHuiFxEngine@@@Z @ 1608 NONAME ; void CHuiFxGroupLayer::ReleaseAllCachedRenderTargets(class CHuiFxEngine &)
- ?ReleaseAllCachedRenderTargets@CHuiFxFilterLayer@@UAEXAAVCHuiFxEngine@@@Z @ 1609 NONAME ; void CHuiFxFilterLayer::ReleaseAllCachedRenderTargets(class CHuiFxEngine &)
- ?ReleaseAllCachedRenderTargets@CHuiFxLayer@@UAEXAAVCHuiFxEngine@@@Z @ 1610 NONAME ; void CHuiFxLayer::ReleaseAllCachedRenderTargets(class CHuiFxEngine &)
--- a/uiacceltk/hitchcock/coretoolkit/eabi/hitchcocku.DEF Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/eabi/hitchcocku.DEF Tue Aug 31 16:07:35 2010 +0300
@@ -2004,10 +2004,4 @@
_ZN13CAppIconCache6InsertER17TRasterizedBitmap @ 2003 NONAME
_ZNK7CHuiEnv12AppIconCacheEv @ 2004 NONAME
_ZN11CHuiDisplay24SetSkinSizeChangePendingEv @ 2005 NONAME
- _ZNK10CHuiVisual26EffectReadyToDrawNextFrameEv @ 2006 NONAME
- _ZN7CHuiEnv24HandleOutOfTextureMemoryEv @ 2007 NONAME
- _ZN11CHuiFxLayer29ReleaseAllCachedRenderTargetsER12CHuiFxEngine @ 2008 NONAME
- _ZN16CHuiFxGroupLayer29ReleaseAllCachedRenderTargetsER12CHuiFxEngine @ 2009 NONAME
- _ZN17CHuiFxFilterLayer29ReleaseAllCachedRenderTargetsER12CHuiFxEngine @ 2010 NONAME
- _ZN17CHuiFxVisualLayer29ReleaseAllCachedRenderTargetsER12CHuiFxEngine @ 2011 NONAME
--- a/uiacceltk/hitchcock/coretoolkit/inc/HuiCmdBufferBrush.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/HuiCmdBufferBrush.h Tue Aug 31 16:07:35 2010 +0300
@@ -84,14 +84,14 @@
public: // from MHuiEffectable
//void SetEffect(CHuiFxEffect* aEffect);
void EffectSetEffect(CHuiFxEffect* aEffect);
- TReal32 EffectOpacity() const;
- void EffectSetOpacityAdditive(TReal32 aOpacity, TBool aReplace);
+ TReal32 EffectOpacityTarget() const;
+ void EffectSetOpacity(TReal32 aOpacity);
void EffectDrawSelf( CHuiGc &aGc, const TRect & aDisplayRect) const;
THuiRealRect EffectDisplayRect() const __SOFTFP;
void SetLoadingEffect(TBool aLoading);
void EffectSetSource( TBool aIsInput1 );
TBool EffectGetSource() const;
- TBool EffectReadyToDrawNextFrame() const;
+
public: // from MHuiCmdBufDestroyObserver
void DestroyBuffer(CHuiCanvasCommandBuffer *aBuffer);
--- a/uiacceltk/hitchcock/coretoolkit/inc/HuiFxEffect.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/HuiFxEffect.h Tue Aug 31 16:07:35 2010 +0300
@@ -146,8 +146,6 @@
void PrepareCachedRenderTarget(const TPoint& aPosition, const TSize& aSize, TBool aClear, TBool aEnableBackground);
void ReleaseCachedRenderTarget();
- TBool PrepareDrawL(CHuiGc& aGc, const TRect& aDisplayRect);
-
/*
* CachedDraw is typically much faster than normal draw as it keeps effect result in pre-rendered format
* instead of doing it on-the-fly as normal draw. There are however few issues that must be noted:
@@ -212,8 +210,6 @@
TInt iFramesDrawn;
TReal32 iElapsedTime;
-
- MHuiEffectable* iEffectable; // not own
};
#endif /*HUIFXEFFECT_H_*/
--- a/uiacceltk/hitchcock/coretoolkit/inc/HuiFxFilterLayer.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/HuiFxFilterLayer.h Tue Aug 31 16:07:35 2010 +0300
@@ -31,7 +31,6 @@
IMPORT_C ~CHuiFxFilterLayer();
IMPORT_C static CHuiFxFilterLayer* NewL(CHuiFxFilter* aFilter); // takes ownership
IMPORT_C TBool PrepareDrawL(CHuiFxEngine& aEngine);
- IMPORT_C void ReleaseAllCachedRenderTargets(CHuiFxEngine& aEngine);
IMPORT_C void Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource, TBool aHasSurface);
IMPORT_C CHuiFxFilter& Filter() const;
IMPORT_C TBool Changed() const;
--- a/uiacceltk/hitchcock/coretoolkit/inc/HuiFxGroupLayer.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/HuiFxGroupLayer.h Tue Aug 31 16:07:35 2010 +0300
@@ -27,7 +27,6 @@
public:
IMPORT_C ~CHuiFxGroupLayer();
IMPORT_C static CHuiFxGroupLayer* NewL(TBool aIsRoot = EFalse);
- IMPORT_C void ReleaseAllCachedRenderTargets(CHuiFxEngine& aEngine);
IMPORT_C TBool PrepareDrawL(CHuiFxEngine& aEngine);
IMPORT_C void Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource, TBool aHasSurface);
IMPORT_C void AddLayerL(const CHuiFxLayer* aLayer); // takes ownership
@@ -56,8 +55,6 @@
virtual void EnableMarginApplyChildren(TBool aEnable);
virtual void SetAlwaysReadSurfacePixels(TBool aAlwaysReadSurfacePixels);
- virtual void SetVisualContentState(TBool aChanged, TBool aOpaque);
-
protected:
IMPORT_C CHuiFxGroupLayer();
IMPORT_C void ConstructL(TBool aIsRoot);
--- a/uiacceltk/hitchcock/coretoolkit/inc/HuiFxLayer.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/HuiFxLayer.h Tue Aug 31 16:07:35 2010 +0300
@@ -32,7 +32,6 @@
IMPORT_C virtual ~CHuiFxLayer();
IMPORT_C virtual TBool PrepareDrawL(CHuiFxEngine& aEngine);
- IMPORT_C virtual void ReleaseAllCachedRenderTargets(CHuiFxEngine& aEngine);
virtual void Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource, TBool aHasSurface) = 0;
IMPORT_C virtual TBool VisualArea(TRect& aRect);
IMPORT_C virtual TBool Margin( TMargins &m );
@@ -77,9 +76,6 @@
virtual void EnableMarginApplyChildren(TBool aEnable);
TBool IsMarginEnabled() const;
- // Internal
- virtual void SetVisualContentState(TBool aChanged, TBool aOpaque);
-
// Internal flag to tell wheter transparency is enabled
virtual TBool IsSemitransparent() const;
--- a/uiacceltk/hitchcock/coretoolkit/inc/HuiFxVisualLayer.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/HuiFxVisualLayer.h Tue Aug 31 16:07:35 2010 +0300
@@ -32,7 +32,6 @@
IMPORT_C static CHuiFxVisualLayer* NewL(MHuiEffectable* aVisual); // param mandatory
IMPORT_C ~CHuiFxVisualLayer();
IMPORT_C TBool PrepareDrawL(CHuiFxEngine& aEngine);
- IMPORT_C void ReleaseAllCachedRenderTargets(CHuiFxEngine& aEngine);
IMPORT_C void Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, CHuiFxRenderbuffer& aSource, TBool aHasSurface);
IMPORT_C TBool VisualArea( TRect& aRect );
IMPORT_C void AdvanceTime(TReal32 aElapsedTime);
@@ -45,8 +44,6 @@
void SetExtBitmapFileL( TDesC& aFilename );
TBool IsSemitransparent() const;
- void SetVisualContentState(TBool aChanged, TBool aOpaque);
-
public: // effect cache
IMPORT_C CHuiFxVisualLayer *CloneL() const;
IMPORT_C void SetExtRect( TRect *aExtRect );
@@ -100,11 +97,6 @@
HBufC* iExtBitmapFile;
TReal32 iOpacity;
TBool iOpaqueHint;
-
- CHuiFxEngine* iEngine; // not own
- CHuiFxRenderbuffer* iRenderBuffer; // owned
- TBool iVisualContentChanged;
- TBool iVisualContentOpaque;
};
#endif /*HUIFXVISUALLAYER_*/
--- a/uiacceltk/hitchcock/coretoolkit/inc/HuiRosterImpl.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/HuiRosterImpl.h Tue Aug 31 16:07:35 2010 +0300
@@ -325,14 +325,13 @@
// From MHuiEffectable
void EffectSetEffect(CHuiFxEffect* aEffect);
- TReal32 EffectOpacity() const;
- void EffectSetOpacityAdditive(TReal32 aOpacity, TBool aReplace);
+ TReal32 EffectOpacityTarget() const;
+ void EffectSetOpacity(TReal32 aOpacity);
void EffectDrawSelf( CHuiGc &aGc, const TRect & aDisplayRect) const;
THuiRealRect EffectDisplayRect() const __SOFTFP;
void SetLoadingEffect(TBool aLoading);
void EffectSetSource( TBool aIsInput1 );
TBool EffectGetSource() const;
- TBool EffectReadyToDrawNextFrame() const;
// From MHuiMemoryLevelObserver
void SetMemoryLevel(THuiMemoryLevel aLevel);
--- a/uiacceltk/hitchcock/coretoolkit/inc/huieffectable.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/huieffectable.h Tue Aug 31 16:07:35 2010 +0300
@@ -29,17 +29,13 @@
public:
virtual ~MHuiEffectable() { }
virtual void EffectSetEffect(CHuiFxEffect* aEffect)=0;
- virtual TReal32 EffectOpacity() const=0;
- // Sets the effect opacity to be given value if bigger than current. Use aReplace to set any value.
- // This can be used to evaluate the greatest opacity of all effect layers for this effect, so that
- // drawing can determine if effect as a whole will hide the effected visual or not
- virtual void EffectSetOpacityAdditive(TReal32 aOpacity, TBool aReplace)=0;
+ virtual TReal32 EffectOpacityTarget() const=0;
+ virtual void EffectSetOpacity(TReal32 aOpacity)=0;
virtual void EffectDrawSelf( CHuiGc &aGc, const TRect & aDisplayRect) const=0;
virtual THuiRealRect EffectDisplayRect() const __SOFTFP=0;
virtual void SetLoadingEffect(TBool aLoading)=0;
virtual void EffectSetSource( TBool aIsInput1 )=0;
virtual TBool EffectGetSource() const=0;
- virtual TBool EffectReadyToDrawNextFrame() const = 0;
};
#endif
--- a/uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiVg10RenderPlugin.h Tue Aug 31 16:07:35 2010 +0300
@@ -298,15 +298,6 @@
return iEGLStateForTextureUpload;
}
- /**
- * Helper function for creating new PBuffer surfaces.
- * If out of memory happens this method tries to internally free all
- * the possible memory that can be freed and tries again. If still there is
- * not enough available memory EGL_NO_SURFACE is returned
- */
- EGLSurface CreatePBufferSurface(EGLDisplay aDisplay,
- EGLenum aBuffertype, EGLClientBuffer aBuffer, EGLConfig aConfig);
-
protected:
/* Constructors. */
--- a/uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiFxVg10Engine.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiFxVg10Engine.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -45,8 +45,7 @@
CHuiFxEngine::ConstructL(EHuiFxEngineVg10);
iPlugin = &aPlugin;
iDefaultBuffer = 0;
- // usually we don't have any vg context set at this point, so we cannot yet create the actual paint
- iCompPaint = VG_INVALID_HANDLE;
+ iCompPaint = vgCreatePaint();
}
CHuiFxVg10Engine::~CHuiFxVg10Engine()
--- a/uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiFxVg10OffscreenRenderbuffer.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiFxVg10OffscreenRenderbuffer.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -69,26 +69,13 @@
// Create a context
iContext = eglCreateContext(iPlugin->EglDisplay(), config,
iPlugin->EglSharedContext(), NULL);
-
- if(iContext == EGL_NO_CONTEXT)
- {
- EGLint err = eglGetError();
- RDebug::Print(_L("CHuiFxVg10OffscreenRenderbuffer::InitializeL() - EGLContext creation failed: EglError -- %04x"), err);
- User::Leave(KErrGeneral);
- }
+ ASSERT(iContext);
// Create a pbuffer surface
- CHuiVg10RenderPlugin& renderer = CHuiStatic::Vg10Renderer();
- iSurface = renderer.CreatePBufferSurface(iPlugin->EglDisplay(), EGL_OPENVG_IMAGE,
- iImage, config);
-
- if(iSurface == EGL_NO_SURFACE)
- {
- EGLint err = eglGetError();
- RDebug::Print(_L("CHuiFxVg10OffscreenRenderbuffer::InitializeL() - EGLSurface creation failed: EglError -- %04x"), err);
- User::Leave(KErrGeneral);
- }
-
+ iSurface = eglCreatePbufferFromClientBuffer(iPlugin->EglDisplay(), EGL_OPENVG_IMAGE,
+ iImage, config, NULL);
+ ASSERT(iSurface);
+
// Initialize the context
iGc = iPlugin->CreateGcL();
this->InitGc(aSize);
--- a/uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiVg10RenderPlugin.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiVg10RenderPlugin.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -565,23 +565,3 @@
#endif
}
-
-EGLSurface CHuiVg10RenderPlugin::CreatePBufferSurface(EGLDisplay aDisplay,
- EGLenum aBuffertype, EGLClientBuffer aBuffer, EGLConfig aConfig)
- {
- EGLSurface newSurface = EGL_NO_SURFACE;
- newSurface = eglCreatePbufferFromClientBuffer(aDisplay, aBuffertype, aBuffer, aConfig, NULL);
-
- // if oom condition, free all the cached memory and try again
- if(newSurface == EGL_NO_SURFACE)
- {
- if(eglGetError() == EGL_BAD_ALLOC)
- {
- CHuiEnv* env = CHuiEnv::Static();
- env->HandleOutOfTextureMemory();
- newSurface = eglCreatePbufferFromClientBuffer(aDisplay, aBuffertype, aBuffer, aConfig, NULL);
- }
- }
- return newSurface;
- }
-
--- a/uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiVg10Texture.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiVg10Texture.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -1256,7 +1256,7 @@
VGImageFormat imageInternalFormat = VG_sARGB_8888;
#endif
- VGbitfield qualityFlags = VG_IMAGE_QUALITY_NONANTIALIASED | VG_IMAGE_QUALITY_BETTER | VG_IMAGE_QUALITY_FASTER;
+ VGbitfield qualityFlags = VG_IMAGE_QUALITY_NONANTIALIASED; // | VG_IMAGE_QUALITY_BETTER | VG_IMAGE_QUALITY_FASTER;
image = vgCreateImage(imageInternalFormat, aDestSize.iWidth, aDestSize.iHeight, qualityFlags);
// Get the configs and displays etc. needed for creating the surface
@@ -1288,13 +1288,11 @@
#endif
// The VGImage will act as the surface, so the drawing will go directly to the VGImage
- // Note - we do not call iRenderPlugin.CreatePBufferSurface since that could call
- // CHuiEnv::HandleOutOfTextureMemory and that could cause this texture to be reset.
EGLSurface newSurface = eglCreatePbufferFromClientBuffer(
display, EGL_OPENVG_IMAGE,
static_cast<EGLClientBuffer>(image), // Use the image as buffer
config, NULL);
-
+
// Report error in debug mode, if failed creating the surface
if ( newSurface == EGL_NO_SURFACE )
{
--- a/uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiVg10VGImageBinder.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/rendervg10/src/HuiVg10VGImageBinder.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -98,11 +98,10 @@
EGLConfig config = iRenderPlugin->EglConfig(0);
// Create a pbuffer surface
- iEglPBufferSurface_Client = iRenderPlugin->CreatePBufferSurface(iRenderPlugin->EglDisplay(),
- EGL_OPENVG_IMAGE,
- static_cast<EGLClientBuffer>(aBuffer),
- config );
-
+ iEglPBufferSurface_Client = eglCreatePbufferFromClientBuffer(iRenderPlugin->EglDisplay(),
+ EGL_OPENVG_IMAGE,
+ static_cast<EGLClientBuffer>(aBuffer), // Use the param image as buffer
+ config, NULL);
if (iEglPBufferSurface_Client == EGL_NO_SURFACE)
{
HUI_DEBUG1(_L("CHuiVg10VgImageBinder::BindClientBuffer() - EGL Surface could not be created, eglErr: %04x"), eglGetError() );
--- a/uiacceltk/hitchcock/coretoolkit/rendervg10/src/huivg10canvasrenderbuffer.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/rendervg10/src/huivg10canvasrenderbuffer.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -145,7 +145,7 @@
iContext = eglCreateContext(renderer.EglDisplay(), config,
renderer.EglSharedContext(), NULL);
- if(iContext == EGL_NO_CONTEXT)
+ if(!iContext)
{
PopEGLContext();
@@ -155,11 +155,9 @@
}
// Create a pbuffer surface
-
- iSurface = renderer.CreatePBufferSurface(renderer.EglDisplay(), EGL_OPENVG_IMAGE,
- iImage, config);
-
- if(iSurface == EGL_NO_SURFACE)
+ iSurface = eglCreatePbufferFromClientBuffer(renderer.EglDisplay(), EGL_OPENVG_IMAGE,
+ iImage, config, NULL);
+ if(!iSurface)
{
PopEGLContext();
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiCanvasTextureCache.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiCanvasTextureCache.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -3043,9 +3043,8 @@
//
void CHuiCanvasTextureCache::HandleOutOfTextureMemory()
{
-#ifdef HUI_DEBUG_PRINT_CANVAS_TEXTURE_CACHE
- RDebug::Print(_L("CHuiCanvasTextureCache::HandleOutOfTextureMemory"));
-#endif
+ RDebug::Print(_L("CHuiCanvasTextureCache::HandleOutOfTextureMemory: Out of memory happened !"));
+
DeleteAllReleasedEntries(EFalse);
// TODO: Who you gonna call when texture memory is full and we cannot ourself
@@ -3139,41 +3138,40 @@
{
// TODO: This should handle NVG textures
- // No need to fetch only the unused texture entries to a separate binary
- // ordered tree (with FindUnusedEntries()), just going the cached
- // texts & images through once is enough.
TInt totalUnusedTextureBytes = 0;
- TSize textureSize(0,0);
// Texts
- for(TInt i = iCachedTexts.Count() - 1; i >= 0; i--)
+ RPointerArray<CHuiCanvasTextImage> textEntries;
+
+ FindUnusedTextEntries(textEntries);
+
+ for(TInt i=textEntries.Count() - 1; i >= 0; i--)
{
- CHuiCanvasTextImage* entry = iCachedTexts[i];
- // Check if the texture is being used..
- if (!entry->iActiveUsers.Count())
- {
- // ..and if not, add it to the sum.
- textureSize = entry->iTexture->Size();
- totalUnusedTextureBytes += textureSize.iWidth * textureSize.iHeight * KHuiCanvasTextEstimatedBpp/8.f;
- }
- }
+ TSize textureSize = textEntries[i]->iTexture->Size();
+ totalUnusedTextureBytes += textureSize.iWidth * textureSize.iHeight * KHuiCanvasTextEstimatedBpp/8.f;
+ }
+
+ textEntries.Close();
+
+ // Images
+ RPointerArray<CHuiCanvasGraphicImage> imageEntries;
- // Images, just like texts.
- for(TInt i = iCachedImages.Count() - 1; i >= 0; i--)
+ FindUnusedImageEntries(imageEntries);
+
+ for(TInt i=imageEntries.Count() - 1; i >= 0; i--)
{
- CHuiCanvasGraphicImage* entry = iCachedImages[i];
- if (!entry->iActiveUsers.Count())
+ TBool is16bit = EFalse;
+ if (imageEntries[i]->iBitmap && !imageEntries[i]->iMask && imageEntries[i]->iBitmap->ExtendedBitmapType() == KNullUid &&imageEntries[i]->iBitmap->DisplayMode() == EColor64K)
{
- TBool is16bit = EFalse;
- if (entry->iBitmap && !entry->iMask && entry->iBitmap->ExtendedBitmapType() == KNullUid && entry->iBitmap->DisplayMode() == EColor64K)
- {
- is16bit = ETrue;
- }
- textureSize = entry->iTexture->Size();
- totalUnusedTextureBytes += textureSize.iWidth * textureSize.iHeight * (is16bit ? KHuiCanvasImageEstimatedBpp/16.f : KHuiCanvasImageEstimatedBpp/8.f);
+ is16bit = ETrue;
}
- }
-
+
+ TSize textureSize = imageEntries[i]->iTexture->Size();
+ totalUnusedTextureBytes += textureSize.iWidth * textureSize.iHeight * (is16bit ? KHuiCanvasImageEstimatedBpp/16.f : KHuiCanvasImageEstimatedBpp/8.f);
+ }
+
+ imageEntries.Close();
+
return totalUnusedTextureBytes/1024;
}
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiCanvasVisual.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiCanvasVisual.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -290,7 +290,7 @@
if (iCanvasVisualData->iCommandSetType == ECommandBufferWs || iCanvasVisualData->iCommandSetType == ECommandBufferAlf)
{
- TRAPD(err, iCanvasVisualData->iCanvasPainter->HandleBufferL(aDisplayRect, aAction, *this, aGc, DisplayRect().iTl.Round()));
+ TRAPD(err, iCanvasVisualData->iCanvasPainter->HandleBufferL(aDisplayRect, aAction, *this, aGc, DisplayRect().iTl.Round()));
if (err)
{
HUI_DEBUG2(_L("CHuiCanvasVisual::HandleBufferL returned:%d command type was: %d"), err,iCanvasVisualData->iCommandSetType);
@@ -350,7 +350,8 @@
if (Effect())
{
TBool hasStoredContent = (IsDelayedEffectSource() || Freezed()) && (StoredRenderBuffer() || iCanvasVisualData->iStoredRenderBuffer);
- TBool semiTranparentEffectActive = iEffectOpacity < 1.f;
+
+ TBool semiTranparentEffectActive = Effect()->IsSemitransparent();
if ((iOpacity.Now() <= EPSILON && !semiTranparentEffectActive))
{
return ETrue;
@@ -395,7 +396,7 @@
}
// Optimization
- if (!EffectActive() && CanSkipDrawing())
+ if (CanSkipDrawing())
{
return;
}
@@ -449,10 +450,14 @@
// Flag to know what we did
TBool didDrawEffect = EFalse;
- TBool drawChildren = ETrue; // only if didDrawEffect holds
if (EffectActive())
{
+ // Note that EHuiVisualFlagOpaqueHint improves performance a lot in cached effect drawing
+ TBool transparent = EFalse;
+ transparent |= (!(Flags() & EHuiVisualFlagOpaqueHint)); // Does not have opaque hint -> always transparent
+ transparent |= iOpacity.Now() < 1.0f; // Opacity less than 1.0f -> always transparent
+
TBool refreshCache = EFalse;
TBool layer = EFalse;
if (EffectIsAppliedToChildren())
@@ -474,40 +479,8 @@
{
refreshCache |= Display()->RosterImpl().NativeAppsContentChanged();
}
- Effectable()->EffectSetOpacityAdditive(0.0f, ETrue);
+ didDrawEffect = Effect()->CachedDraw(aGc, area, refreshCache, !transparent, iCanvasVisualData->iPaintedRegion,layer );
- // PrepareDraw will update iEffectOpacity to correct opacity for this effect frame
- if(Effect()->PrepareDrawL(aGc, area))
- {
- // let's still check if effect is making visual fully transparent
- if(!CanSkipDrawing())
- {
- // Note that EHuiVisualFlagOpaqueHint improves performance a lot in cached effect drawing
- TBool transparent = EFalse;
-
- // This is special case, only child below group visual.
- // Workaround - can be removed once opaque & transparent visual hierarchies are handled better.
- if ( !Layout() && Count() == 1 )
- {
- const CHuiVisual* visual = &Visual(0);
-
- transparent |= (!(visual->Flags() & EHuiVisualFlagOpaqueHint)); // Does not have opaque hint -> always transparent
- transparent |= visual->iOpacity.Now() < 1.0f; // Opacity less than 1.0f -> always transparent
- transparent |= visual->Effect() && !visual->LoadingEffect() && (visual->iEffectOpacity < 1.0f); // effect opacity is less than 1.0f
- }
-
- transparent |= (!(Flags() & EHuiVisualFlagOpaqueHint)); // Does not have opaque hint -> always transparent
- transparent |= iOpacity.Now() < 1.0f; // Opacity less than 1.0f -> always transparent
- transparent |= iEffectOpacity < 1.0f; // effect opacity is less than 1.0f
-
- didDrawEffect = Effect()->CachedDraw(aGc, area, refreshCache, !transparent, iCanvasVisualData->iPaintedRegion, layer );
- }
- else
- {
- didDrawEffect = ETrue;
- drawChildren = EFalse;
- }
- }
}
if ( !didDrawEffect )
@@ -525,12 +498,12 @@
// Draw all children
DrawCanvasChildren(aGc, 0, 0);
}
- else if (didDrawEffect && drawChildren && !EffectIsAppliedToChildren())
+ else if (didDrawEffect && !EffectIsAppliedToChildren())
{
// Draw all children
DrawCanvasChildren(aGc, 0, 0);
}
- else if (didDrawEffect && drawChildren && EffectIsAppliedToChildren())
+ else if (didDrawEffect && EffectIsAppliedToChildren())
{
// Draw only children which do not want to have parent effect applied to them
DrawCanvasChildren(aGc, EHuiCanvasFlagExcludeFromParentEffect, 0);
@@ -1365,11 +1338,7 @@
CHuiCanvasGc& gc = CanvasGc();
CHuiCanvasVisual* visual = NULL;
TBool transparent = EffectiveOpacity() < 1.0f;
- if(EffectActive())
- {
- transparent |= iEffectOpacity < 1.0f;
- }
- gc.SetDrawMode((THuiCanvasDrawMode)aCanvasDrawMode);
+ gc.SetDrawMode((THuiCanvasDrawMode)aCanvasDrawMode);
if (transparent)
{
gc.EnableEffectiveOpacity(ETrue);
@@ -1415,10 +1384,6 @@
THuiRealPoint dest_point = DisplayRect().iTl;
CHuiCanvasRenderBuffer *stored = StoredRenderBuffer();
TBool transparent = EffectiveOpacity() < 1.0f;
- if(EffectActive())
- {
- transparent |= iEffectOpacity < 1.0f;
- }
CHuiCanvasVisual* visual = NULL;
gc.SetDrawMode((THuiCanvasDrawMode)aCanvasDrawMode);
if (transparent)
@@ -1634,34 +1599,3 @@
return rosterFrozen || inactive;
}
-
-TBool CHuiCanvasVisual::EffectReadyToDrawNextFrame() const
- {
- // if the visual is drawn ans a external content it is probably already inactive
- if (Flags() & EHuiVisualFlagDrawOnlyAsExternalContent)
- {
- if (Display() && Display()->RosterImpl().IsDrawingExternalContent())
- {
- return ETrue;
- }
- }
-
- // other checks to
- TBool rdyToDraw = EFalse;
- if(Display()->RosterImpl().AlfEventWindow() == this)
- {
- rdyToDraw |= ETrue;
- }
-
- rdyToDraw |= (IsDelayedEffectSource() || Freezed()) &&
- (StoredRenderBuffer() || iCanvasVisualData->iStoredRenderBuffer);
- rdyToDraw |= (Effect()->EffectFlags() & KHuiFxEnableBackgroundInAllLayers);
- rdyToDraw |= EffectIsAppliedToChildren();
- rdyToDraw |= IsExternalContentDrawingEnabled() || IsExternalContentDrawingEnabled(ETrue);
- rdyToDraw |= IsBackgroundDrawingEnabled();
-
- rdyToDraw |= HasCommandBuffers(ETrue);
-
- // visual must be active (seen) and have content
- return (!(Flags() & EHuiVisualFlagInactive) && rdyToDraw);
- }
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiCmdBufferBrush.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiCmdBufferBrush.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -204,11 +204,11 @@
iEffect = aEffect;
}
-TReal32 CHuiCmdBufferBrush::EffectOpacity() const
+TReal32 CHuiCmdBufferBrush::EffectOpacityTarget() const
{
return 1.0;
}
-void CHuiCmdBufferBrush::EffectSetOpacityAdditive(TReal32 /*aOpacity*/, TBool /*aReplace*/)
+void CHuiCmdBufferBrush::EffectSetOpacity(TReal32 aOpacity)
{
// empty
}
@@ -243,10 +243,6 @@
{
return EFalse;
}
-TBool CHuiCmdBufferBrush::EffectReadyToDrawNextFrame() const
- {
- return ETrue;
- }
void CHuiCmdBufferBrush::DestroyBuffer(CHuiCanvasCommandBuffer *aBuffer)
{
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiEnv.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiEnv.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -1781,12 +1781,6 @@
return iMemoryLevel;
}
-EXPORT_C void CHuiEnv::HandleOutOfTextureMemory()
- {
- iCanvasTextureCache->HandleOutOfTextureMemory();
- }
-
-
EXPORT_C void CHuiEnv::Synchronize(TInt aId, MHuiSynchronizationObserver* aObserver)
{
TInt err = iSynchObservers.Append(aObserver);
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiFxEffect.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiFxEffect.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -66,7 +66,6 @@
}
EXPORT_C void CHuiFxEffect::SetVisual( MHuiEffectable *aEffectable )
{
- iEffectable = aEffectable;
iRoot->SetVisual(aEffectable);
}
EXPORT_C void CHuiFxEffect::SetEngine( CHuiFxEngine *aEngine )
@@ -85,11 +84,12 @@
EXPORT_C CHuiFxEffect::~CHuiFxEffect()
{
- ReleaseCachedRenderTarget();
-
delete iRoot;
iRoot = NULL;
NotifyEffectEndObserver();
+
+ ReleaseCachedRenderTarget();
+
iEngine->RemoveEffect(this);
if (iEngine && iGroupId != KErrNotFound && !(iFlags & KHuiReadyToDrawNotified))
{
@@ -180,11 +180,6 @@
iEngine->ReleaseRenderbuffer(iCachedRenderTarget);
iCachedRenderTarget = NULL;
}
-
- if(iRoot)
- {
- iRoot->ReleaseAllCachedRenderTargets(*iEngine);
- }
}
void CHuiFxEffect::PrepareCachedRenderTarget(const TPoint& aPosition, const TSize& aSize, TBool aClear, TBool aEnableBackground)
@@ -193,8 +188,7 @@
if (iCachedRenderTarget &&
iCachedRenderTarget->Size() != aSize)
{
- iEngine->ReleaseRenderbuffer(iCachedRenderTarget);
- iCachedRenderTarget = NULL;
+ ReleaseCachedRenderTarget();
}
// Accure new buffer
@@ -264,56 +258,6 @@
}
}
-TBool CHuiFxEffect::PrepareDrawL(CHuiGc& aGc, const TRect& aDisplayRect)
- {
- if(!iEffectable || iEffectable->EffectReadyToDrawNextFrame() )
- {
- iFramesDrawn++;
- }
-
- // Prepare all layers
- TRect displayArea = aGc.DisplayArea();
- TRect targetArea = aDisplayRect;
- targetArea.Intersection(displayArea);
-
- if (targetArea.Width() <= 0 || targetArea.Height() <= 0)
- {
- // Not visible
- return ETrue;
- }
-
- if (!iEngine || !iRoot)
- {
- return EFalse;
- }
-
- if (iEngine->LowMemoryState())
- {
- // No memory, no effects.
- return EFalse;
- }
-
- // Check if margins are allowed to be used for this effect
- if (EffectFlags() & KHuiFxEffectDisableMarginsFlag)
- {
- iRoot->EnableMargin(EFalse);
- }
-
-
- iRoot->SetTargetRect(targetArea);
- iRoot->SetSourceRect(targetArea);
- iRoot->SetDisplayArea(displayArea);
-
- TRAPD(err, iRoot->PrepareDrawL(*iEngine));
-
- if (err != KErrNone)
- {
- return EFalse;
- }
-
- return ETrue;
- }
-
TBool CHuiFxEffect::CachedDraw(CHuiGc& aGc, const TRect& aDisplayRect, TBool aRefreshCachedRenderTarget, TBool aOpaque)
{
RRegion dummy;
@@ -328,11 +272,12 @@
#ifdef HUIFX_TRACE
RDebug::Print(_L("CHuiFxEffect::CachedDraw - 0x%x"), this);
#endif
-
+ iFramesDrawn++;
if (!CHuiStatic::Renderer().Allows(EHuiRenderPluginAllowVisualPBufferSurfaces))
{
return EFalse;
}
+
CHuiFxRenderbuffer* target = NULL;
@@ -358,14 +303,29 @@
return EFalse;
}
+ // Check if margins are allowed to be used for this effect
+ if (EffectFlags() & KHuiFxEffectDisableMarginsFlag)
+ {
+ iRoot->EnableMargin(EFalse);
+ }
+
// Check if surface pixels are to be used for this effect in all layers.
if (EffectFlags() & KHuiFxEnableBackgroundInAllLayers)
{
iRoot->SetAlwaysReadSurfacePixels(ETrue);
- }
+ }
+
+ iRoot->SetTargetRect(targetArea);
+ iRoot->SetSourceRect(targetArea);
+ iRoot->SetDisplayArea(displayArea);
+
+ TRAPD(err, iRoot->PrepareDrawL(*iEngine));
+
+ if (err != KErrNone)
+ {
+ return EFalse;
+ }
- iRoot->SetVisualContentState(aRefreshCachedRenderTarget, aOpaque);
-
if (IsCachedRenderTargetSupported() && IsCachedRenderTargetPreferred())
{
// Background needs to be captured from surface if effect uses background AND
@@ -446,11 +406,7 @@
else
{
// Release cached render target just in case it is reserved for some reason
- if (iCachedRenderTarget)
- {
- iEngine->ReleaseRenderbuffer(iCachedRenderTarget);
- iCachedRenderTarget = NULL;
- }
+ ReleaseCachedRenderTarget();
// Use default onscreen render target
if (!target)
@@ -466,6 +422,7 @@
// Normal drawing
iRoot->Draw(*iEngine, aGc, *target, *target, aHasSurface);
}
+
return ETrue;
}
@@ -475,6 +432,7 @@
#ifdef HUIFX_TRACE
RDebug::Print(_L("CHuiFxEffect::Draw - 0x%x"), this);
#endif
+ iFramesDrawn++;
if (!CHuiStatic::Renderer().Allows(EHuiRenderPluginAllowVisualPBufferSurfaces))
{
return EFalse;
@@ -526,8 +484,6 @@
}
iRoot->Draw(*iEngine, aGc, *target, *target, aHasSurface);
-
-
return ETrue;
}
@@ -609,13 +565,13 @@
// its whole timeline by starting the time only when first frame has been drawn.
if (iFlags & KHuiFxDelayRunUntilFirstFrameHasBeenDrawn)
{
- // This is a backup timer. If effect won't start before this 10sec wait there must be something wrong
- // Force effect to start after 10seconds
- if (iElapsedTime > 10.0 && iFramesDrawn == 0)
+ // Sometimes the effect does not get any frames. Force the time to start, because
+ // otherwise will jam itself and possible the group, where the effect is.
+ if (iElapsedTime > 0.2 && iFramesDrawn == 0)
{
iFramesDrawn = 1;
#ifdef HUIFX_TRACE
- RDebug::Printf("CHuiFxEffect::AdvanceTime - Not drawn in 10sec, FORCE start. There was something wrong. release 0x%x in time %f", this, iElapsedTime);
+ RDebug::Printf("CHuiFxEffect::AdvanceTime - Not drawn, but cannot wait. release 0x%x in time %f", this, iElapsedTime);
#endif
}
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiFxEffectParser.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiFxEffectParser.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -136,7 +136,7 @@
iEffect = NULL;
if (iVisual)
{
- iVisual->EffectSetOpacityAdditive(1.0f, ETrue);
+ iVisual->EffectSetOpacity(1.0f);
#ifndef HUIFX_EFFECTCACHE_ENABLED
iVisual->SetEffect( tempEffect );
#endif
@@ -155,7 +155,7 @@
iEffect = NULL;
if (iVisual)
{
- iVisual->EffectSetOpacityAdditive(1.0f, ETrue);
+ iVisual->EffectSetOpacity(1.0f);
iVisual->EffectSetEffect( NULL );
}
}
@@ -729,7 +729,7 @@
TReal32 time = ParseFloatAttributeL(aNode, KLitAt);
TReal32 aux1 = ParseFloatAttributeL(aNode, KLitAux1, EFalse);
TReal32 aux2 = ParseFloatAttributeL(aNode, KLitAux2, EFalse);
- VALUE_TYPE value = ParseAnimationKeyFrameValueL<typename PARAM_TYPE::ValueType, TIMELINE_TYPE>(aNode->FirstChild(), aTimeLine);
+ VALUE_TYPE value = ParseAnimationKeyFrameValueL<PARAM_TYPE::ValueType, TIMELINE_TYPE>(aNode->FirstChild(), aTimeLine);
TRAPD(err, aTimeLine.AppendKeyFrameL(time, value, aux1, aux2));
if (err != KErrNone)
{
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiFxFilterLayer.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiFxFilterLayer.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -76,10 +76,6 @@
return iFilter->PrepareDrawL(aEngine);
}
-EXPORT_C void CHuiFxFilterLayer::ReleaseAllCachedRenderTargets(CHuiFxEngine& /*aEngine*/)
- {
- // currently filter effects do not permanently reserve their render targets, only for frame drawing.
- }
EXPORT_C TBool CHuiFxFilterLayer::Changed() const
{
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiFxGroupLayer.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiFxGroupLayer.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -171,17 +171,6 @@
return ETrue;
}
-EXPORT_C void CHuiFxGroupLayer::ReleaseAllCachedRenderTargets(CHuiFxEngine& aEngine)
- {
- // Currently grouplayer itself does not use any cached render buffers which it would not free right after drawing a frame
-
- // still release all child layer's render targets
- for( TInt i=0 ; i < iLayers.Count() ; i++ )
- {
- iLayers[i]->ReleaseAllCachedRenderTargets(aEngine);
- }
- }
-
EXPORT_C void CHuiFxGroupLayer::Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget,
CHuiFxRenderbuffer& aSource, TBool aHasSurface)
{
@@ -485,11 +474,3 @@
iLayers[i]->SetAlwaysReadSurfacePixels(aAlwaysReadSurfacePixels);
}
}
-
-void CHuiFxGroupLayer::SetVisualContentState(TBool aChanged, TBool aOpaque)
- {
- for( TInt i=0 ; i < iLayers.Count() ; i++ )
- {
- iLayers[i]->SetVisualContentState(aChanged, aOpaque);
- }
- }
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiFxLayer.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiFxLayer.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -63,12 +63,6 @@
return ETrue;
}
-EXPORT_C void CHuiFxLayer::ReleaseAllCachedRenderTargets(CHuiFxEngine& /*aEngine*/)
- {
- // Nothing to do
- }
-
-
EXPORT_C TBool CHuiFxLayer::VisualArea( TRect& /*aRect*/ )
{
// No area in base class
@@ -180,11 +174,6 @@
}
-void CHuiFxLayer::SetVisualContentState(TBool /*aChanged*/, TBool /*aOpaque*/)
- {
- /* empty in baseclass */
- }
-
TBool CHuiFxLayer::IsMarginEnabled() const
{
return iMarginEnabled;
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiFxVisualLayer.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiFxVisualLayer.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -74,7 +74,8 @@
// We use the visual's own target opacity if we haven't set something explicitly
if (iVisual)
{
- iOpacity = iVisual->EffectOpacity();
+ //iOpacity = iVisual->iOpacity.Target();
+ iOpacity = iVisual->EffectOpacityTarget();
}
else
{
@@ -195,7 +196,8 @@
if (Math::IsInfinite(iOpacity))
{
- iOpacity = iVisual->EffectOpacity();
+ //iOpacity = iVisual->iOpacity.Target();
+ iOpacity = iVisual->EffectOpacityTarget();
}
}
@@ -206,7 +208,6 @@
#ifdef HUIFX_TRACE
RDebug::Print(_L("CHuiFxVisualLayer::~CHuiFxVisualLayer - 0x%x "), this);
#endif
-
delete iExtBitmapFile;
delete iParameterManager;
iParameterManager = NULL;
@@ -225,136 +226,67 @@
{
iParameterManager->AdvanceTime(aElapsedTime);
}
-
+
EXPORT_C TBool CHuiFxVisualLayer::PrepareDrawL(CHuiFxEngine& aEngine)
{
iParameterManager->Update(aEngine, VisualRect());
- if(iVisual)
- {
- iVisual->EffectSetOpacityAdditive( iOpacity, EFalse );
- }
return ETrue;
}
-EXPORT_C void CHuiFxVisualLayer::ReleaseAllCachedRenderTargets(CHuiFxEngine& aEngine)
- {
- if(iRenderBuffer)
- {
- aEngine.ReleaseRenderbuffer(iRenderBuffer);
- iRenderBuffer = NULL;
- }
- }
-
-
EXPORT_C void CHuiFxVisualLayer::Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer &aTarget, CHuiFxRenderbuffer& /*aSource*/, TBool /*aHasSurface*/)
{
#ifdef HUIFX_TRACE
RDebug::Print(_L("CHuiFxVisualLayer::Draw - 0x%x "), this);
#endif
- TRect backbufferRect = SourceRect();
- TSize backbufferSize = backbufferRect.Size();
- THuiFxEngineType engineType = aEngine.EngineType();
- TBool forceRefresh = EFalse;
-
- if (iRenderBuffer && iRenderBuffer->Size() != backbufferSize)
- {
- ReleaseAllCachedRenderTargets(aEngine);
- }
-
- if(!iRenderBuffer)
- {
- iRenderBuffer = aEngine.AcquireRenderbuffer(backbufferSize, EFalse);
- if (!iRenderBuffer)
- {
- return;
- }
- forceRefresh = ETrue;
- }
+ aTarget.BindAsRenderTarget();
+ aGc.Push(EHuiGcMatrixModel);
- // don't update render buffer if visual is not changed or screenshot is used
- if(forceRefresh || (iVisualContentChanged && iSrcType!=EVisualSrcInput1))
- {
- if(!iVisualContentOpaque)
- {
- iRenderBuffer->PrepareForReuse(backbufferRect.Size());
- }
- iRenderBuffer->BindAsRenderTarget();
-
- // Translate the graphics context so that the content appears in the correct place
- aGc.Push(EHuiGcMatrixModel);
- if(engineType == EHuiFxEngineVg10)
- {
- aGc.Scale(EHuiGcMatrixModel, 1.0f, -1.0f, 1.0f);
- aGc.Translate(EHuiGcMatrixModel, 0.0f, -backbufferRect.Size().iHeight, 0.0f);
- }
-
- aGc.Translate(EHuiGcMatrixModel, -backbufferRect.iTl.iX, -backbufferRect.iTl.iY, 0.0f);
- aGc.SetBlendMode( CHuiGc::EBlendNormal );
-
- // Set new clipping region which does not clip anything.
- // We want always draw visual fully to the aTarget.
- aGc.PushClip();
- TRect bufferArea = TRect(TPoint(0,0), backbufferSize);
- aGc.SetClip(bufferArea); // this does not transform bufferArea which is fine for us
-
- // Draw visual content to aTarget
- iVisual->EffectSetSource(iSrcType==EVisualSrcInput1);
- iVisual->EffectDrawSelf( aGc, TargetRect() );
- iVisual->EffectSetSource(EFalse);
-
- // Restore original clipping
- aGc.PopClip();
-
- aGc.Pop(EHuiGcMatrixModel);
- iRenderBuffer->UnbindAsRenderTarget();
- }
-
- aTarget.BindAsRenderTarget();
-
- // make effect transformations effective
- aGc.Push(EHuiGcMatrixModel);
+ THuiFxEngineType engineType = aEngine.EngineType();
TRenderBufferType bufferType = aTarget.BufferType();
if(engineType == EHuiFxEngineGles20)
{
if(bufferType == EBufferTypeOffscreen)
- {
- aGc.Enable(CHuiGc::EFeatureBlending, ETrue);
- aGc.SetBlendMode(CHuiGc::EBlendReplace);
- }
+ {
+ aGc.Enable(CHuiGc::EFeatureBlending, ETrue);
+ aGc.SetBlendMode(CHuiGc::EBlendReplace);
+ }
TRect viewPort(TPoint(0,0), aTarget.Size());
aGc.SetProjection(CHuiGc::EProjectionOrthographic, viewPort);
}
-
- aGc.Translate(EHuiGcMatrixModel, VisualRect().iTl.iX, VisualRect().iTl.iY, 0.0f);
- ApplyTransformations(aGc);
- aGc.Translate(EHuiGcMatrixModel, -VisualRect().iTl.iX, -VisualRect().iTl.iY, 0.0f);
-
- aGc.SetBlendMode( CHuiGc::EBlendNormal );
-
- // do composition to aTarget
- TRect compositionTargetRect(TargetRect());
- compositionTargetRect.Move(-aTarget.Position());
-
- aGc.Disable(CHuiGc::EFeatureClipping);
+
+ aGc.Translate(EHuiGcMatrixModel, VisualRect().iTl.iX, VisualRect().iTl.iY, 0.0f);
+ ApplyTransformations(aGc);
+ aGc.Translate(EHuiGcMatrixModel, -VisualRect().iTl.iX, -VisualRect().iTl.iY, 0.0f);
+
+ aGc.SetBlendMode( CHuiGc::EBlendNormal );
+ //iVisual->iOpacity.Set( iOpacity );
+ iVisual->EffectSetOpacity( iOpacity );
- // following must always have aOpaque = Efalse because it is quite common that effected window
- // has areas which do not have any drawing. Even if iOpacity is 1.f these areas are drawn
- // incorrectly in this case -> we always blend
- aEngine.Composite(aGc, *iRenderBuffer, compositionTargetRect.iTl, EFalse, iOpacity*255);
+ // Set new clipping region which does not clip anything.
+ // We want always draw visual fully to the aTarget.
+ aGc.PushClip();
+ TRect bufferArea = TRect(TPoint(0,0), aTarget.Size());
+ aGc.SetClip(bufferArea); // this does not transform bufferArea which is fine for us
- aGc.Enable(CHuiGc::EFeatureClipping);
+ // Draw visual content to aTarget
+ //iVisual->DrawSelf(aGc, TargetRect());
+ iVisual->EffectSetSource(iSrcType==EVisualSrcInput1);
+ iVisual->EffectDrawSelf( aGc, TargetRect() );
+ iVisual->EffectSetSource(EFalse);
+
+ // Restore original clipping
+ aGc.PopClip();
if(engineType == EHuiFxEngineGles20)
- {
- if(bufferType == EBufferTypeOffscreen)
- {
- aGc.SetBlendMode(CHuiGc::EBlendNormal);
- }
- aGc.SetProjection(CHuiGc::EProjectionOrthographic);
- }
-
+ {
+ if(bufferType == EBufferTypeOffscreen)
+ {
+ aGc.SetBlendMode(CHuiGc::EBlendNormal);
+ }
+ aGc.SetProjection(CHuiGc::EProjectionOrthographic);
+ }
+
aGc.Pop(EHuiGcMatrixModel);
-
aTarget.UnbindAsRenderTarget();
}
@@ -537,18 +469,3 @@
return EFalse;
}
}
-
-void CHuiFxVisualLayer::SetVisualContentState(TBool aChanged, TBool aOpaque)
- {
- if( iVisualContentOpaque != aOpaque || aChanged)
- {
- iVisualContentChanged = ETrue;
- }
- else
- {
- iVisualContentChanged = EFalse;
- }
-
- iVisualContentOpaque = aOpaque;
- }
-
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiGridLayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiGridLayout.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -273,8 +273,7 @@
axis.iWeights.Reset();
for(TInt i = 0; i < aWeights.Count(); ++i)
{
- TInt weightValue(aWeights[i]);
- THuiMetric weight(TReal32(weightValue), EHuiUnitWeight);
+ THuiMetric weight(TReal32(aWeights[i]), EHuiUnitWeight);
User::LeaveIfError(axis.iWeights.Append(weight));
}
}
@@ -285,8 +284,7 @@
axis.iWeights.Reset();
for(TInt i = 0; i < aWeights.Count(); ++i)
{
- TInt weightValue(aWeights[i]);
- THuiMetric weight(TReal32(weightValue), EHuiUnitWeight);
+ THuiMetric weight(TReal32(aWeights[i]), EHuiUnitWeight);
User::LeaveIfError(axis.iWeights.Append(weight));
}
}
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiImageVisual.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiImageVisual.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -301,11 +301,6 @@
// Actual color of the image.
aGc.SetPenAlpha(TInt(effectiveOpacity * 255));
aGc.SetPenColor(iColor);
-
- // Render Alf image visuals always with high quality. Otherwise scaling etc. with ALF apis
- // might produce low-quality
- const THuiQuality oldQuality = aGc.Quality(); // store the original quality
- aGc.SetQuality(EHuiQualityAccurate);
// Apply special color mode.
if(iColorMode == EColorDimmed)
@@ -391,8 +386,6 @@
}
}
}
-
- aGc.SetQuality(oldQuality); // restore quality
// Disable special color modes.
if(iColorMode == EColorDimmed)
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiLayout.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiLayout.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -494,7 +494,7 @@
}
}
- if(iOpacity.Now() <= EPSILON && !Effect())
+ if(iOpacity.Now() <= EPSILON && (Effect() && !Effect()->IsSemitransparent()))
{
// This will not be visible due to being completely transparent.
return;
@@ -540,33 +540,12 @@
if (canUseEffectDrawing)
{
- Effectable()->EffectSetOpacityAdditive(0.0f, ETrue);
- // PrepareDrawL will update iEffectOpacity for current frame
- if(Effect()->PrepareDrawL(aGc, area))
- {
- if(iEffectOpacity <= 0.f)
- {
- if(Clipping())
- {
- // Restore original clipping rectangle.
- aGc.PopClip();
- }
-
-
- DrawBrushes(aGc, EHuiBrushLayerForeground);
-
- // Restore original transformation.
- Transform(aGc, EFalse);
- EnterLocalProjection(aGc, EFalse);
- return;
- }
-
- // Note that EHuiVisualFlagOpaqueHint improves performance a lot in cached effect drawing
- TBool transparent = !(Flags() & EHuiVisualFlagOpaqueHint) && iOpacity.Now() < 1.0f;
- TBool refreshCache = Changed();
- didDrawEffect = Effect()->CachedDraw(aGc, area, refreshCache, !transparent);
- }
+ // Note that EHuiVisualFlagOpaqueHint improves performance a lot in cached effect drawing
+ TBool transparent = !(Flags() & EHuiVisualFlagOpaqueHint) && iOpacity.Now() < 1.0f;
+ TBool refreshCache = Changed();
+ didDrawEffect = Effect()->CachedDraw(aGc, area, refreshCache, !transparent);
}
+
if ( !didDrawEffect )
{
// huilayout does not draw itself, only children.
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiRosterImpl.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiRosterImpl.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -500,20 +500,13 @@
// some other part of the effect, so this workaround won't work correctly in those cases.
// To get those working, propably whole opacity effect handling should be re-written
// differently.
- CHuiRosterImpl* nonconst = const_cast<CHuiRosterImpl*>(this);
- nonconst->Effectable()->EffectSetOpacityAdditive(0.0f, ETrue);
- // PrepareDraw will update iEffectOpacity to correct opacity for this effect frame
- if(iEffect->PrepareDrawL(aGc, displayRect))
+ if (iEffect->IsSemitransparent() || iEffectOpacity < 1.f)
{
- if (iEffectOpacity < 1.f)
- {
- iEffect->ForceCachedRenderTargetUsage(ETrue);
- }
-
- RRegion dummy;
- didDrawEffect = iEffect->CachedDraw(aGc, displayRect, refreshCache, opaque, dummy, EFalse, iEffectOpacity*255);
- dummy.Close();
- }
+ iEffect->ForceCachedRenderTargetUsage(ETrue);
+ }
+ RRegion dummy;
+ didDrawEffect = iEffect->CachedDraw(aGc, displayRect, refreshCache, opaque, dummy, EFalse, iEffectOpacity*255);
+ dummy.Close();
}
if (!didDrawEffect)
@@ -1838,12 +1831,12 @@
SetChanged();
}
-TReal32 CHuiRosterImpl::EffectOpacity() const
+TReal32 CHuiRosterImpl::EffectOpacityTarget() const
{
return iEffectOpacity;
}
-void CHuiRosterImpl::EffectSetOpacityAdditive(TReal32 aOpacity, TBool /*aReplace*/)
+void CHuiRosterImpl::EffectSetOpacity(TReal32 aOpacity)
{
iEffectOpacity = aOpacity;
}
@@ -1884,11 +1877,6 @@
return iIsInput1;
}
-TBool CHuiRosterImpl::EffectReadyToDrawNextFrame() const
- {
- return ETrue;
- }
-
void CHuiRosterImpl::SetMemoryLevel(THuiMemoryLevel /*aLevel*/)
{
if ( IsVisibleContentFrozen() && !UseRenderBufferForFreeze() )
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiTextVisual.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiTextVisual.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -359,6 +359,7 @@
(color & 0xff000000);
}
//#endif
+ return aColor;
}
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiTextureManager.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiTextureManager.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -2449,8 +2449,7 @@
{
TReal32 totalMemUsage = 0;
TReal32 avgBitDepth = 0;
- TInt count = iTextures.Count();
- for(TInt i = 0; i < count; ++i)
+ for(TInt i = 0; i < iTextures.Count(); ++i)
{
if( iTextures[i]->iTexture )
{
@@ -2471,15 +2470,12 @@
buf.AppendNum( avgBitDepth );
User::InfoPrint( buf );
}
-
TInt CHuiTextureManager::EstimatedTextureMemUsage(TInt aAverageBitsPerPixel) const
{
TReal32 averageBytesPerPixel = TReal32(aAverageBitsPerPixel)/8.f;
TReal32 totalMemUsage = 0;
TInt pixels = 0;
- TInt count = iTextures.Count();
-
- for(TInt i = 0; i < count; ++i)
+ for(TInt i = 0; i < iTextures.Count(); ++i)
{
// TODO: Exclude NVG textures !
if( iTextures[i]->iTexture /*&&
--- a/uiacceltk/hitchcock/coretoolkit/src/HuiVisual.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiVisual.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -45,12 +45,10 @@
{
public: // Functions
// Constructor: initialize the data
- THuiVisualPrivateData()
- : iTacticons(), iDropShadow(NULL), iEffect(NULL),
- iEffectParser(NULL), iEffectable(NULL), iStoredRenderBuffer(NULL),
- iStoredRenderBufferModificationsEnabled(ETrue),
- iFreezed(EFalse)
+ THuiVisualPrivateData() : iTacticons(), iDropShadow(NULL)
{
+ iEffect = NULL;
+ iEffectParser = NULL;
}
// Destructor: destruct the data
@@ -84,16 +82,14 @@
public: // from MHuiEffectable
CHuiEffectable(CHuiVisual *aVisual) : iVisual(aVisual) { }
void EffectSetEffect(CHuiFxEffect* aEffect);
- TReal32 EffectOpacity() const;
- void EffectSetOpacityAdditive(TReal32 aOpacity, TBool aReplace);
+ TReal32 EffectOpacityTarget() const;
+ void EffectSetOpacity(TReal32 aOpacity);
void EffectDrawSelf( CHuiGc &aGc, const TRect & aDisplayRect) const;
THuiRealRect EffectDisplayRect() const __SOFTFP;
void SetLoadingEffect(TBool aLoading);
void EffectSetSource( TBool aIsInput1 );
TBool EffectGetSource() const;
- TBool EffectReadyToDrawNextFrame() const;
-
private:
CHuiVisual *iVisual;
TBool iIsInput1;
@@ -111,22 +107,14 @@
return iIsInput1;
}
-TBool CHuiEffectable::EffectReadyToDrawNextFrame() const
+TReal32 CHuiEffectable::EffectOpacityTarget() const
{
- return iVisual->EffectReadyToDrawNextFrame();
+ return iVisual->iOpacity.Target();
}
-TReal32 CHuiEffectable::EffectOpacity() const
+void CHuiEffectable::EffectSetOpacity(TReal32 aOpacity)
{
- return iVisual->iEffectOpacity;
- }
-
-void CHuiEffectable::EffectSetOpacityAdditive(TReal32 aOpacity, TBool aReplace)
- {
- if( aReplace || aOpacity > iVisual->iEffectOpacity)
- {
- iVisual->iEffectOpacity = aOpacity;
- }
+ iVisual->iOpacity.Set( aOpacity );
}
void CHuiEffectable::EffectDrawSelf( CHuiGc &aGc, const TRect & aDisplayRect) const
@@ -196,11 +184,6 @@
return iVisualData->iFreezed;
}
-EXPORT_C TBool CHuiVisual::EffectReadyToDrawNextFrame() const
- {
- return ETrue;
- }
-
EXPORT_C CHuiVisual* CHuiVisual::AddNewL(CHuiControl& aOwnerControl,
CHuiLayout* aParentLayout)
{
@@ -212,7 +195,6 @@
EXPORT_C CHuiVisual::CHuiVisual(MHuiVisualOwner& aOwner)
: iOpacity(1.f),
- iEffectOpacity(1.f),
iOwner(&aOwner),
// Set the maximum size to unlimited.
iMaxSize(TSize(KMaxTInt, KMaxTInt)),
@@ -230,6 +212,7 @@
{
iVisualData = new (ELeave) THuiVisualPrivateData;
iVisualData->iEffectable = new CHuiEffectable(this);
+ iVisualData->iStoredRenderBuffer = NULL;
}
@@ -278,15 +261,12 @@
delete iBrushes;
delete iTag;
delete iTransform;
- if (iVisualData)
+ delete iVisualData->iEffectable;
+ if (iVisualData->iStoredRenderBuffer)
{
- delete iVisualData->iEffectable;
- if (iVisualData->iStoredRenderBuffer)
- {
- iVisualData->iStoredRenderBuffer->UnInitialize();
- }
- delete iVisualData->iStoredRenderBuffer;
+ iVisualData->iStoredRenderBuffer->UnInitialize();
}
+ delete iVisualData->iStoredRenderBuffer;
delete iVisualData;
iOwner = NULL;
@@ -937,30 +917,10 @@
if (canUseEffectDrawing)
{
- Effectable()->EffectSetOpacityAdditive(0.0f, ETrue);
- // PrepareDrawL will update iEffectOpacity for current frame
- if(iVisualData->iEffect->PrepareDrawL(aGc, displayRect))
- {
- if(iEffectOpacity <= 0.f)
- {
- if(Clipping())
- {
- aGc.PopClip();
- }
-
- // Draw foreground brushes (over the content).
- DrawBrushes(aGc, EHuiBrushLayerForeground);
-
- // Undo local transformation.
- Transform(aGc, EFalse);
- EnterLocalProjection(aGc, EFalse);
- return;
- }
- // Note that EHuiVisualFlagOpaqueHint improves performance a lot in cached effect drawing
- TBool transparent = !(Flags() & EHuiVisualFlagOpaqueHint);
- TBool refreshCache = Changed();
- didDrawEffect = iVisualData->iEffect->CachedDraw(aGc, displayRect, refreshCache, !transparent);
- }
+ // Note that EHuiVisualFlagOpaqueHint improves performance a lot in cached effect drawing
+ TBool transparent = !(Flags() & EHuiVisualFlagOpaqueHint);
+ TBool refreshCache = Changed();
+ didDrawEffect = iVisualData->iEffect->CachedDraw(aGc, displayRect, refreshCache, !transparent);
}
if (!didDrawEffect)
--- a/uiacceltk/hitchcock/coretoolkit/src/huicanvaswspainter.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/huicanvaswspainter.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -2754,15 +2754,7 @@
if ( oldGc && oldGc != iCanvasWsGc )
{
oldGc->ClearCache();
-
- // delete SW rendering GC when not needed
- if ( oldGc == iCanvasWsBitGc )
- {
- delete iCanvasWsBitGc;
- iCanvasWsBitGc = NULL;
- }
}
-
if ( iCanvasWsGc )
{
// Forward 'enable render buffer' setting to new GC.
--- a/uiacceltk/hitchcock/goommonitor/data/goomconfig.xml Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/data/goomconfig.xml Tue Aug 31 16:07:35 2010 +0300
@@ -79,9 +79,10 @@
defined in the conf file.
-->
<system_plugin uid="DEFAULT_PLUGIN" priority="10" sync_mode="check" sw_rend="not_supported"></system_plugin>
- <system_plugin uid="2002DC75" priority="3" sync_mode="continue" sw_rend="supported"></system_plugin> <!-- HbThemeserverOOGMPLUGIN? -->
+ <system_plugin uid="2002DC75" priority="3" sync_mode="continue" sw_rend="not_supported"></system_plugin> <!-- HbThemeserverOOGMPLUGIN? -->
<system_plugin uid="E4B6C988" priority="4" sync_mode="check" sw_rend="supported"></system_plugin> <!-- ALFOOGMPLUGIN -->
- <system_plugin uid="2002C30A" priority="5" sync_mode="continue"></system_plugin> <!-- FLASHOOGMPLUGIN -->
+ <system_plugin uid="2002DC75" priority="5" sync_mode="continue" sw_rend="supported" ></system_plugin> <!-- HbThemeserverOOGMPLUGIN? -->
+ <system_plugin uid="2002C30A" priority="6" sync_mode="continue"></system_plugin> <!-- FLASHOOGMPLUGIN -->
</system_plugin_settings>
<!-- The priority of executing each application plugin is defined here.
--- a/uiacceltk/hitchcock/goommonitor/inc/goommemorymonitorsession.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/inc/goommemorymonitorsession.h Tue Aug 31 16:07:35 2010 +0300
@@ -42,7 +42,6 @@
TInt iFunction;
TInt iMinimumMemoryRequested;
TBool iUseAbsoluteTargets;
- TUint iClientId;
};
#endif /*GOOMMEMORYMONITORSESSION_H*/
--- a/uiacceltk/hitchcock/goommonitor/inc/goomrunpluginconfig.h Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/inc/goomrunpluginconfig.h Tue Aug 31 16:07:35 2010 +0300
@@ -60,6 +60,8 @@
inline TBool IsSwRendSupported();
+ CGOomRunPluginConfig * iNextConfig;
+
private:
CGOomRunPluginConfig(TUint aPluginId, TGOomPluginType aPluginType);
--- a/uiacceltk/hitchcock/goommonitor/src/goomactionlist.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goomactionlist.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -163,20 +163,6 @@
{
// Get the config for this plugin
CGOomRunPluginConfig& pluginConfig = aConfig.GetPluginConfig(iPluginList->Uid(pluginIndex));
- TInt priority = pluginConfig.CalculatePluginPriority(aWindowGroupList);
-
- TGOomSyncMode syncMode = pluginConfig.iSyncMode;
- TInt ramEstimate = pluginConfig.iRamEstimate;
-
- TActionRef::TActionType actionType;
-
- if (pluginConfig.PluginType() == EGOomAppPlugin)
- {
- actionType = TActionRef::EAppPlugin;
- }
- else
- actionType = TActionRef::ESystemPlugin;
-
//get skip plugin config for foreground app
TUint foregroundUid = iMonitor.ForegroundAppUid();
@@ -197,12 +183,27 @@
continue ; //skip this and continue with next plugin
}
}
-
- TActionRef ref = TActionRef(actionType, priority, syncMode, ramEstimate, *(iRunPluginActions[actionsIndex]), aWindowGroupList.GetIndexFromAppId(pluginConfig.TargetApp()));
- iAppsProtectedByPlugins.Append(pluginConfig.TargetApp());
- TRACES2("Creating Plugin Action Item %x , TargetAppId %x", iPluginList->Uid(pluginIndex), pluginConfig.TargetApp());
- //It is valid to have plugins with equal priority
- User::LeaveIfError(iActionRefs.InsertInOrderAllowRepeats(ref, ComparePriorities));
+
+ actionsIndex--;
+ CGOomRunPluginConfig * nextConfigForSamePlugin = &pluginConfig;
+ while(nextConfigForSamePlugin)
+ {
+ TInt priority = nextConfigForSamePlugin->CalculatePluginPriority(aWindowGroupList);
+ TGOomSyncMode syncMode = nextConfigForSamePlugin->iSyncMode;
+ TInt ramEstimate = nextConfigForSamePlugin->iRamEstimate;
+ TActionRef::TActionType actionType;
+ if (nextConfigForSamePlugin->PluginType() == EGOomAppPlugin)
+ actionType = TActionRef::EAppPlugin;
+ else
+ actionType = TActionRef::ESystemPlugin;
+
+ TActionRef ref = TActionRef(actionType, priority, syncMode, ramEstimate, *(iRunPluginActions[++actionsIndex]), aWindowGroupList.GetIndexFromAppId(nextConfigForSamePlugin->TargetApp()));
+ iAppsProtectedByPlugins.Append(nextConfigForSamePlugin->TargetApp());
+ TRACES2("Creating Plugin Action Item %x , TargetAppId %x", iPluginList->Uid(pluginIndex), nextConfigForSamePlugin->TargetApp());
+ //It is valid to have plugins with equal priority
+ User::LeaveIfError(iActionRefs.InsertInOrderAllowRepeats(ref, ComparePriorities));
+ nextConfigForSamePlugin = nextConfigForSamePlugin->iNextConfig;
+ }
actionsIndex++;
}
@@ -235,7 +236,7 @@
if (aWindowGroupList.Count())
{
// Go through each item in the wglist, create an app close action for this application
- TInt wgIndex = 0;
+ TInt wgIndex = aWindowGroupList.Count() - 1;
TRACES1("BuildActionListL: Windowgroup list count %d ",aWindowGroupList.Count());
@@ -246,7 +247,7 @@
TRACES1("BuildActionListL: Foreground App %x ", foregroundUid);
- while (wgIndex < aWindowGroupList.Count())
+ while (wgIndex >= 0)
{
CGOomCloseAppConfig* appCloseConfig = NULL;
@@ -256,8 +257,7 @@
if(AppCloseActionAlreadyExists(aWindowGroupList, appId))
{
- TRACES2("CGOomActionList::BuildKillAppActionListL - Action item already exists for this app %x wgid %d", appId, aWindowGroupList.WgId(wgIndex).iId)
- wgIndex++;
+ wgIndex--;
continue;
}
@@ -319,7 +319,7 @@
TRACES3("BuildActionListL: Adding app to action list, Uid = %x, wgId = %d, wgIndex = %d", appId, wgId, wgIndex);
}
- wgIndex++;
+ wgIndex--;
}
}
@@ -335,10 +335,7 @@
if(ref.Type() == TActionRef::EAppClose )
{
if(aWindowGroupList.AppIdfromWgId(ref.WgId(), ETrue) == appId)
- {
- TRACES2("CGOomActionList::AppCloseActionAlreadyExists AppId %x already added with wgid %d",appId, ref.WgId());
return ETrue;
- }
}
}
return EFalse;
@@ -665,21 +662,19 @@
{
FUNC_LOG;
- TInt index = 0;
+ TInt index = iCloseAppActions.Count();
+ TRACES1("CGOomCloseApp::AppNotExiting: count of actions %d",index);
- while (index < iCloseAppActions.Count())
+ while (index--)
{
CGOomCloseApp* action = iCloseAppActions[index];
- TRACES3("CGOomCloseApp::AppNotExiting: recvd from %d , checking against %d , isRunning %d", aWgId, action->WgId(), action->IsRunning());
+ TRACES3("CGOomCloseApp::AppNotExiting: %d %d %d", aWgId, action->WgId(), action->IsRunning());
if ( (action->WgId() == aWgId) && (action->IsRunning()) )
{
- TRACES1("CGOomCloseApp::AppNotExiting: App with window group id %d has responded to the close event", aWgId);
+ TRACES1("CGOomCloseApp::AppNotExiting: App with window group id %d has not responded to the close event", aWgId);
action->CloseAppEvent();
- break;
}
-
- index++;
}
}
@@ -743,6 +738,7 @@
}
else
{
+ iMonitor.SwitchMemMode(CMemoryMonitor::EGOomLowMemMode);
TRACES1("CGOomActionList::StateChanged: All current Plugin actions complete, below good threshold, Time to kill bad guys. freeMemory=%d", freeMemory);
iRunningKillAppActions = ETrue;
iMonitor.RunCloseAppActions(iMaxPriority);
@@ -788,6 +784,14 @@
CGOomRunPlugin* action = CGOomRunPlugin::NewL(iPluginList->Uid(pluginIndex), pluginConfig, *this, iPluginList->Implementation(pluginIndex));
iRunPluginActions.AppendL(action);
+
+ CGOomRunPluginConfig * nextConfigForSamePlugin = pluginConfig.iNextConfig;
+ while(nextConfigForSamePlugin)
+ {
+ CGOomRunPlugin* action = CGOomRunPlugin::NewL(iPluginList->Uid(pluginIndex), *(nextConfigForSamePlugin), *this, iPluginList->Implementation(pluginIndex));
+ iRunPluginActions.AppendL(action);
+ nextConfigForSamePlugin = nextConfigForSamePlugin->iNextConfig;
+ }
}
//references to v2 plugin types removed as these are not yet used by GOOM
--- a/uiacceltk/hitchcock/goommonitor/src/goomcloseapp.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goomcloseapp.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -25,7 +25,6 @@
#include "goomappclosetimer.h"
#include "goomappclosewatcher.h"
#include "goomactionref.h"
-#include "goommonitorsession.h"
CGOomCloseApp* CGOomCloseApp::NewL(MGOomActionObserver& aStateChangeObserver, RWsSession& aWs)
--- a/uiacceltk/hitchcock/goommonitor/src/goomconfig.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goomconfig.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -75,7 +75,12 @@
CGOomRunPluginConfig** runPluginConfig = iPluginToConfigMapping.Find(aPluginConfig->Id());
if (runPluginConfig)
{
- GOomMonitorPanic(KPluginConfigAddedTwice);
+ //GOomMonitorPanic(KPluginConfigAddedTwice);
+ while((*runPluginConfig)->iNextConfig != NULL)
+ *runPluginConfig = (*runPluginConfig)->iNextConfig;
+
+ (*runPluginConfig)->iNextConfig = aPluginConfig;
+ return;
}
iPluginToConfigMapping.InsertL(aPluginConfig->Id(), aPluginConfig);
--- a/uiacceltk/hitchcock/goommonitor/src/goommemorymonitor.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goommemorymonitor.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -205,9 +205,10 @@
FUNC_LOG;
// keep only one notification active at a moment
#ifdef USE_ASYNCYH_NOTIFICATIONS
- TInt current = GetFreeMemory();
+
if (aThreshold == EGL_PROF_TOTAL_MEMORY_USAGE_LT_NOK)
{
+ TInt current = GetFreeMemory();
if(current >= iGoodThreshold && (!NeedToPostponeMemGood()))
{
TRACES2("FreeMemThresholdCrossedL : crossed good threshold Free %d, GThresh %d, Calling MemoryGood",current, iGoodThreshold);
@@ -229,20 +230,15 @@
}
else//if aThreshold == EGL_PROF_TOTAL_MEMORY_USAGE_GT_NOK
{
- if(current < iLowThreshold)
+ TRACES1("FreeMemThresholdCrossedL : crossed low threshold %d", iLowThreshold);
+ iMemAllocationsGrowing->Stop();
+ iMemAllocationsGoingDown->Continue();
+ if((iTrigger == EGOomTriggerNone) && !NeedToPostponeMemGood())
{
- TRACES1("FreeMemThresholdCrossedL : crossed low threshold %d", iLowThreshold);
- iMemAllocationsGrowing->Stop();
- iMemAllocationsGoingDown->Continue();
- if((iTrigger == EGOomTriggerNone) && !NeedToPostponeMemGood())
- {
- if(iSynchTimer->IsActive())
- iSynchTimer->Cancel();
- StartFreeSomeRamL(iGoodThreshold, EGOomTriggerThresholdCrossed);
- }
+ if(iSynchTimer->IsActive())
+ iSynchTimer->Cancel();
+ StartFreeSomeRamL(iGoodThreshold, EGOomTriggerThresholdCrossed);
}
- else
- TRACES2("FreeMemThresholdCrossedL : crossed low threshold %d, FALSE ALARM, FreeMem = %d", iLowThreshold, current);
}
#endif
}
@@ -339,13 +335,22 @@
// Run the memory freeing actions
iGOomActionList->FreeMemory(aMaxPriority);
- SwitchMemMode(EGOomLowMemMode);
}
void CMemoryMonitor::SwitchMemMode(TGOomMemMode aMemMode)
{
if(iMemMode == aMemMode)
+ {
+ if(iMemMode == EGOomGoodMemMode)
+ {
+ TRACES("CMemoryMonitor::SwitchMemMode NOT switching rendering mode. Already in GOOD Mode");
+ }
+ else
+ {
+ TRACES("CMemoryMonitor::SwitchMemMode NOT switching rendering mode. Already in LOW Mode");
+ }
return;
+ }
#ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS
TWsEvent event;
@@ -360,6 +365,7 @@
iLowOnMemWgs.Reset();
iGOomWindowGroupList->GetListOfWindowGroupsWSurfaces(iLowOnMemWgs);
event.SetType(KGoomMemoryLowEvent);
+ TRACES("CMemoryMonitor::SwitchMemMode. Switching rendering mode to SW, Sending KGoomMemoryLowEvent");
}
else
{
@@ -368,15 +374,20 @@
if(iRendswitched < 3)
iRendswitched ++;
else
+ {
+ TRACES("CMemoryMonitor::SwitchMemMode GOOM Detected SW-HW-SW looping. NOT switching to HW rendering mode");
return;
+ }
}
event.SetType(KGoomMemoryGoodEvent);
+ TRACES("CMemoryMonitor::SwitchMemMode. Switching rendering mode to HW, Sending KGoomMemoryGoodEvent");
}
for (TInt i = iLowOnMemWgs.Count()-1; i>=0; i--)
{
iWs.SendEventToWindowGroup(iLowOnMemWgs[i], event);
+ TRACES1("CMemoryMonitor::SwitchMemMode. Sending event to wg %d",iLowOnMemWgs[i]);
}
#endif
--- a/uiacceltk/hitchcock/goommonitor/src/goommemorymonitorsession.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goommemorymonitorsession.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -35,7 +35,7 @@
CMemoryMonitorSession::~CMemoryMonitorSession()
{
FUNC_LOG;
- Server().Monitor().SessionInCriticalAllocation(0,iClientId);
+ Server().Monitor().SessionInCriticalAllocation(0,0);
CloseAppsFinished(0, EFalse);
}
@@ -61,35 +61,35 @@
RThread t;
aMessage.Client(t);
- iClientId = t.SecureId();
+ TUint clientId = t.SecureId();
t.Close();
- TRACES1("NEW REQUEST from client %x", iClientId);
+ TRACES1("NEW REQUEST from client %x", clientId);
switch (aMessage.Function())
{
case EGOomMonitorRequestFreeMemory:
//Do not take any more requests from the same client if previous request being served
- if (!iRequestFreeRam.IsNull() && !Server().Monitor().IsSafeToProcessNewRequest(iClientId))
+ if (!iRequestFreeRam.IsNull() && !Server().Monitor().IsSafeToProcessNewRequest(clientId))
{
- TRACES1("CANNOT PROCESS NEW REQUEST from %x", iClientId);
+ TRACES1("CANNOT PROCESS NEW REQUEST from %x", clientId);
aMessage.Complete(KErrInUse);
return;
}
- Server().Monitor().SetActiveClient(iClientId);
+ Server().Monitor().SetActiveClient(clientId);
// message will be completed when CloseAppsFinished() is called.
if (aMessage.Int1() == 0)
{
iRequestFreeRam = aMessage;
- Server().Monitor().SessionInCriticalAllocation(1, iClientId);
+ Server().Monitor().SessionInCriticalAllocation(1, clientId);
TRAPD(err, Monitor().RequestFreeMemoryL(aMessage.Int0()));
if(err == KErrCompletion)
{
TRACES("There is already enough memory - nothing to do");
- Server().Monitor().SessionInCriticalAllocation(0, iClientId);
+ Server().Monitor().SessionInCriticalAllocation(0, clientId);
}
else if (err != KErrNone )
{
@@ -108,8 +108,8 @@
break;
case EGOomMonitorMemoryAllocationsComplete:
- TRACES1("ServiceL : Memory Allocations complete from %x", iClientId);
- Server().Monitor().SessionInCriticalAllocation(0, iClientId);
+ TRACES1("ServiceL : Memory Allocations complete from %x", clientId);
+ Server().Monitor().SessionInCriticalAllocation(0, clientId);
aMessage.Complete(KErrNone);
break;
@@ -118,7 +118,7 @@
{
iRequestFreeRam.Complete(KErrCancel);
}
- Server().Monitor().SessionInCriticalAllocation(0, iClientId);
+ Server().Monitor().SessionInCriticalAllocation(0, clientId);
aMessage.Complete(KErrNone);
break;
@@ -128,11 +128,11 @@
break;
case EGOomMonitorRequestOptionalRam:
- if (!iRequestFreeRam.IsNull() && !Server().Monitor().IsSafeToProcessNewRequest(iClientId))
+ if (!iRequestFreeRam.IsNull() && !Server().Monitor().IsSafeToProcessNewRequest(clientId))
{
aMessage.Complete(KErrInUse);
}
- Server().Monitor().SetActiveClient(iClientId);
+ Server().Monitor().SetActiveClient(clientId);
// message will be completed when CloseAppsFinished() is called.
iRequestFreeRam = aMessage;
iMinimumMemoryRequested = aMessage.Int1();
--- a/uiacceltk/hitchcock/goommonitor/src/goomrunplugin.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goomrunplugin.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -53,11 +53,13 @@
TInt flags = KGOomUseSwRendering;
iPlugin.FreeRam(aBytesRequested, flags);
iFreeMemoryWithSwRenderingCalled = ETrue;
+ TRACES("CGOomRunPlugin::FreeMemory: UseSwRendering TRUE");
}
else
{
iPlugin.FreeRam(aBytesRequested, 0);
iFreeMemoryWithSwRenderingCalled = EFalse;
+ TRACES("CGOomRunPlugin::FreeMemory: UseSwRendering FALSE");
}
iFreeMemoryCalled = ETrue;
--- a/uiacceltk/hitchcock/goommonitor/src/goomrunpluginconfig.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goomrunpluginconfig.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -42,6 +42,7 @@
CGOomRunPluginConfig::~CGOomRunPluginConfig()
{
FUNC_LOG;
+ delete iNextConfig;
}
--- a/uiacceltk/hitchcock/goommonitor/src/goomwindowgrouplist.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goomwindowgrouplist.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -241,13 +241,23 @@
// Refresh window group list
// get all window groups, with info about parents
TInt numGroups = iWs.NumWindowGroups();
- iWgIds.Reset();
iWgIds.ReserveL(numGroups);
User::LeaveIfError(iWs.WindowGroupList(&iWgIds));
// Remove all child window groups, promote parents to foremost child position
CollapseWindowGroupTree(inactiveSurfaces);
+/*
+#ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS
+ TWsEvent event;
+ event.SetType(KGoomMemoryLowEvent); // naive
+ for (TInt i = iLowOnMemWgs.Count()-1; i>=0; i--)
+ {
+ iWs.SendEventToWindowGroup(iLowOnMemWgs[i], event);
+ }
+
+#endif
+*/
// Note the current foreground window ID (if there is one)
TBool oldForegroundWindowExists = EFalse;
@@ -282,7 +292,6 @@
TUint secureId = AppId(index,ETrue);
TBool found = 0;
TInt i = 0;
- //TRACES1("Checking WG ID : %d", iWgIds[index].iId);
//todo - do we really need to check this list , when we have all ids in inactiveSurfaces[]
for(i = 0; i < processIds.Count(); i++)
{
@@ -307,7 +316,8 @@
}
if(!found)
- {
+ {
+ TRACES1("Checking WG ID : %d", iWgIds[index].iId);
for(TInt ii = 0; ii < inactiveSurfaces.Count(); ii++)
{
if (iWgIds[index].iId == inactiveSurfaces[ii] )
--- a/uiacceltk/hitchcock/group/bld.inf Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/group/bld.inf Tue Aug 31 16:07:35 2010 +0300
@@ -12,11 +12,15 @@
* Contributors:
*
* Description: Build information file for project alfappserver
-* Version : %version: tr1sido#128.1.10 %
+* Version : %version: tr1sido#128.1.12 %
*
*/
-
+#ifndef ALF_USE_OPENWF_COMPOSITION
+#ifdef SYMBIAN_GRAPHICS_BUILD_OPENWF_WSERV
+#define ALF_USE_OPENWF_COMPOSITION
+#endif
+#endif
PRJ_PLATFORMS
DEFAULT
--- a/uiacceltk/hitchcock/group/core_exports.inc Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/group/core_exports.inc Tue Aug 31 16:07:35 2010 +0300
@@ -3,7 +3,7 @@
* Name : core_exports.inc
* Part of : Alfred UI Toolkit
* Description : Exported header files.
-* Version : %version: tr1sido#8.1.38 %
+* Version : %version: tr1sido#8.1.37 %
*
* Copyright © 2006-2007 Nokia. All rights reserved.
* This material, including documentation and any related computer
@@ -91,8 +91,6 @@
../coretoolkit/data/optionsmenu_cascade_appear.fxml /epoc32/release/winscw/urel/z/resource/effects/optionsmenu_cascade_appear.fxml
../coretoolkit/data/optionsmenu_cascade_disappear.fxml /epoc32/release/winscw/urel/z/resource/effects/optionsmenu_cascade_disappear.fxml
../coretoolkit/data/optionsmenu_disappear.fxml /epoc32/release/winscw/urel/z/resource/effects/optionsmenu_disappear.fxml
-../coretoolkit/data/phone_callui_appear.fxml /epoc32/release/winscw/urel/z/resource/effects/phone_callui_appear.fxml
-../coretoolkit/data/phone_callui_disappear.fxml /epoc32/release/winscw/urel/z/resource/effects/phone_callui_disappear.fxml
../coretoolkit/data/photos_fullscreen_close.fxml /epoc32/release/winscw/urel/z/resource/effects/photos_fullscreen_close.fxml
../coretoolkit/data/photos_fullscreen_open.fxml /epoc32/release/winscw/urel/z/resource/effects/photos_fullscreen_open.fxml
../coretoolkit/data/photos_gridview_appear.fxml /epoc32/release/winscw/urel/z/resource/effects/photos_gridview_appear.fxml
@@ -186,8 +184,6 @@
../coretoolkit/data/optionsmenu_cascade_appear.fxml /epoc32/release/winscw/udeb/z/resource/effects/optionsmenu_cascade_appear.fxml
../coretoolkit/data/optionsmenu_cascade_disappear.fxml /epoc32/release/winscw/udeb/z/resource/effects/optionsmenu_cascade_disappear.fxml
../coretoolkit/data/optionsmenu_disappear.fxml /epoc32/release/winscw/udeb/z/resource/effects/optionsmenu_disappear.fxml
-../coretoolkit/data/phone_callui_appear.fxml /epoc32/release/winscw/udeb/z/resource/effects/phone_callui_appear.fxml
-../coretoolkit/data/phone_callui_disappear.fxml /epoc32/release/winscw/udeb/z/resource/effects/phone_callui_disappear.fxml
../coretoolkit/data/photos_fullscreen_close.fxml /epoc32/release/winscw/udeb/z/resource/effects/photos_fullscreen_close.fxml
../coretoolkit/data/photos_fullscreen_open.fxml /epoc32/release/winscw/udeb/z/resource/effects/photos_fullscreen_open.fxml
../coretoolkit/data/photos_gridview_appear.fxml /epoc32/release/winscw/udeb/z/resource/effects/photos_gridview_appear.fxml
@@ -281,8 +277,6 @@
../coretoolkit/data/optionsmenu_cascade_appear.fxml /epoc32/data/z/resource/effects/optionsmenu_cascade_appear.fxml
../coretoolkit/data/optionsmenu_cascade_disappear.fxml /epoc32/data/z/resource/effects/optionsmenu_cascade_disappear.fxml
../coretoolkit/data/optionsmenu_disappear.fxml /epoc32/data/z/resource/effects/optionsmenu_disappear.fxml
-../coretoolkit/data/phone_callui_appear.fxml /epoc32/data/z/resource/effects/phone_callui_appear.fxml
-../coretoolkit/data/phone_callui_disappear.fxml /epoc32/data/z/resource/effects/phone_callui_disappear.fxml
../coretoolkit/data/photos_fullscreen_close.fxml /epoc32/data/z/resource/effects/photos_fullscreen_close.fxml
../coretoolkit/data/photos_fullscreen_open.fxml /epoc32/data/z/resource/effects/photos_fullscreen_open.fxml
../coretoolkit/data/photos_gridview_appear.fxml /epoc32/data/z/resource/effects/photos_gridview_appear.fxml
--- a/uiacceltk/hitchcock/plugins/alftranseffect/alftfxserverplugin/src/alftransitionserver.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/plugins/alftranseffect/alftfxserverplugin/src/alftransitionserver.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -27,7 +27,7 @@
#include "alftfxserverdef.h"
#include "alftransitionserver.h"
#include "alflogger.h"
-#include "alfmoduletestconf.h"
+
// ======== MEMBER FUNCTIONS ========
@@ -1198,11 +1198,7 @@
#ifdef __WINS__
_LIT( KOptionalDrive, "C:" );
#else
- #ifdef USE_ALTERNATIVE_EFFECTS_FROM_MMC
- _LIT( KOptionalDrive, "F:" );
- #else
- _LIT( KOptionalDrive, "Z:" );
- #endif
+ _LIT( KOptionalDrive, "F:" );
#endif
TInt err = KErrNone;
@@ -1219,6 +1215,7 @@
iFile.Close();
iParse.Set( KOptionalDrive, &aResourceDir, NULL );
}
+
// Now iParse contains the alternative path if the file is found in the alternative
// location, else it contains the original path.
__ALFFXLOGSTRING1("CAlfTransitionServerClient::FindEffectFile - return: %d <<", err);
--- a/uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/alfgfxeffects.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/alfgfxeffects.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -143,7 +143,6 @@
delete iPolicyHandler;
delete iSysDisable;
delete iEngine;
- delete iSyncronizedGroupDefitionEndChecker;
__ALFFXLOGSTRING("CAlfGfxEffects::~CAlfGfxEffects <<");
}
--- a/uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/alfserverdrawer.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/alfserverdrawer.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -283,7 +283,6 @@
delete iControlController;
delete iFullScreenController;
delete iFinishFullScreen;
- delete iControlTimeout;
delete iFullScreenTimeout;
iActiveControlFx.Close();
#ifdef USE_MODULE_TEST_HOOKS_FOR_ALF
@@ -620,7 +619,7 @@
if ( err != KErrNone || fileName.Length() == 0 || !FileExistsL( resourceDir, fileName ) )
{
// Did not find an effect file - nothing to show
- __ALFFXLOGSTRING4("CAlfServerDrawer::DoSendBeginFullscreenL - Could not get full screen kml (Action: %d, toUid: 0x%x, error %d %S", iAction, iToUid, err, &fileName)
+ __ALFFXLOGSTRING2("CAlfServerDrawer::DoSendBeginFullscreenL - Could not get full screen kml, error %d %S", err, &fileName)
iFromWg = KErrNotFound;
iToWg = KErrNotFound;
iFromScreen = KErrNotFound;
--- a/uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/states.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/states.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -173,8 +173,7 @@
}
return CRestingState::NewL(iEngine,iHandler);
case EEndFullscreen:
- TInt triggeredLongStartEffect;
- triggeredLongStartEffect = iEngine.SendEndFullscreen();
+ TInt triggeredLongStartEffect = iEngine.SendEndFullscreen();
__ALFFXLOGSTRING1("CPhase1State::SignalL - Was long app start triggered? Stay in Phase1", triggeredLongStartEffect);
if (triggeredLongStartEffect)
{
@@ -234,7 +233,8 @@
iEngine.SendAbortFullscreen();
return CRestingState::NewL(iEngine,iHandler);
case EFinishFullscreen:
- if (!iEngine.EffectFinishedFullScreen())
+ if ( ( iEngine.Action() == 1001 || iEngine.Action() == AknTransEffect::EApplicationExit ) &&
+ !iEngine.EffectFinishedFullScreen() )
{
iEngine.SendAbortFullscreen();
}
--- a/uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/wsserverdrawercontroller.cpp Thu Aug 19 10:48:02 2010 +0300
+++ b/uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/wsserverdrawercontroller.cpp Tue Aug 31 16:07:35 2010 +0300
@@ -694,6 +694,7 @@
}
#endif //WSSERVERDRAWER_TIME_LOG
+/////////////////////
if(aType == AknTransEffect::EParameterAvkonInternal)
{
const TUid appuid = aUid1;
@@ -767,12 +768,10 @@
{
if(fstype == CStateHandler::EExit) //application will exit and avkon flags must be reset (otherwise
{
- __ALFFXLOGSTRING1("CWsServerDrawerController::BeginFullscreen - Removing 0x%x Avkon app status", toUid);
iAppInfoCache->RemoveAvkonUid(toUid); //repeating calls may allow check pass
}
else
{
- __ALFFXLOGSTRING1("CWsServerDrawerController::BeginFullscreen - Inserting 0x%x as app status", toUid);
iAppInfoCache->SetAvkonUid(toUid);
}
}
@@ -823,13 +822,6 @@
return;
}
- if (aType == AknTransEffect::EParameterAvkonInternal && iEngine->Action() == AknTransEffect::EAppStartupBackground)
- {
- // skip the effect, as promised earlier...
- __ALFFXLOGSTRING("CWsServerDrawerController::BeginFullscreen - EAppStartupBackground -> Skip effect. Return");
- return;
- }
-
//Phone is booting, stop any FS effect.
if(!StartCheck(flags))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uiacceltk/rom/bld.inf Tue Aug 31 16:07:35 2010 +0300
@@ -0,0 +1,26 @@
+/*
+* 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 for UI Accelerator Toolkit ROM
+*
+*/
+
+
+#include <bldvariant.hrh>
+#include <platform_paths.hrh>
+PRJ_EXPORTS
+../hitchcock/sis/uiaccelerator_stub.sis /epoc32/release/armv5/urel/uiaccelerator_stub.sis
+../../rom/alfred.iby CORE_MW_LAYER_IBY_EXPORT_PATH(alfred.iby)
+#ifndef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS
+../../rom/alftranseffectplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(alftranseffectplugin.iby)
+#endif // #ifndef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS
\ No newline at end of file