Week 12 contribution of PDK documentation_content. See release notes for details. Fixes Bug 2054, Bug 1583, Bug 381, Bug 390, Bug 463, Bug 1897, Bug 344, Bug 1319, Bug 394, Bug 1520, Bug 1522, Bug 1892"
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License
"Eclipse Public License v1.0" which accompanies this distribution,
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
Nokia Corporation - initial contribution.
Contributors:
-->
<!DOCTYPE concept
PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept xml:lang="en" id="GUID-D119FBFE-D959-53A1-9D6B-D64CB63C41C9"><title>T_WServAPI Regression Test Suite</title><shortdesc>This topic describes the <codeph>T_WServAPI</codeph> Graphics test suite and explains how to set up the test environment. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody><p> <b>Note:</b> Any mention to <codeph>epoc32</codeph> is offset by <codeph>%EPOCROOT%</codeph>, which is the full path to where the epoc tree is installed. </p> <section><title>Test suite overview</title> <p> <codeph>T_WServAPI</codeph> provides regression tests for the following classes </p> <ul><li id="GUID-DDC732F9-C72D-5946-8616-55E99879C628"><p> <xref href="GUID-0AEE5955-C530-35F1-A904-69183331B294.dita"><apiname>CWindowGc</apiname></xref> </p> </li> <li id="GUID-4B57F5FF-2656-5151-A571-38FB5CED9647"><p> <xref href="GUID-17150D76-BB82-3A4B-8B1A-8BA93CB1A9EF.dita"><apiname>CWsBitmap</apiname></xref> </p> </li> <li id="GUID-C724B802-EB1B-59EB-AACF-1627B8F03064"><p> <xref href="GUID-924312A8-C5C6-3A0A-8DB4-0381693AE3FD.dita"><apiname>CWsGraphic</apiname></xref> </p> </li> <li id="GUID-FF31126D-394E-51BF-BAC1-A1DD25001C97"><p> <xref href="GUID-67F5CE42-9EFA-318B-9E5D-94BDB671BDD8.dita"><apiname>MWsClientClass</apiname></xref> </p> </li> <li id="GUID-A7FDB40C-DF05-5A89-9F2A-EBD242EEEFE5"><p> <xref href="GUID-27A95595-F74D-32B2-A960-0CA290C8A3B3.dita"><apiname>RBackedUpWindow</apiname></xref> </p> </li> <li id="GUID-E3456E17-80B4-5ACD-9985-49DA70DB4CD6"><p> <xref href="GUID-A5DFCFA7-7B2D-3872-B6D0-4526DF743630.dita"><apiname>RBlankWindow</apiname></xref> </p> </li> <li id="GUID-6C0BC6A2-22C0-5A89-9CB0-891C7A724B9B"><p> <xref href="GUID-FDF4BB7E-8750-3564-982A-0124A977C82E.dita"><apiname>RDrawableWindow</apiname></xref> </p> </li> <li id="GUID-80F6BD80-6D28-58C3-AEF4-E5172B9BEACD"><p> <xref href="GUID-683603DD-F3D3-3193-BEB3-8236C7DE7F79.dita"><apiname>RWindow</apiname></xref> </p> </li> <li id="GUID-5AFF505A-AF77-533C-9BA0-83B751DEA6DE"><p> <xref href="GUID-1460DD8F-9AA1-3B99-8FFD-F309959CCA34.dita"><apiname>RWindowBase</apiname></xref> </p> </li> <li id="GUID-DC358DB7-C0ED-54CE-948D-6B79C72AE5E2"><p> <xref href="GUID-64D4D428-D65F-3D9D-A0D4-C8338C848B25.dita"><apiname>RWindowGroup</apiname></xref> </p> </li> <li id="GUID-2DE38E70-7963-59E2-957D-4972B410FBF4"><p> <xref href="GUID-9FFD28C7-8747-3438-84BF-44AF26ACEC7D.dita"><apiname>RWindowTreeNode</apiname></xref> </p> </li> <li id="GUID-282497E8-85D4-5D5F-ABC2-CE28D25AC4CC"><p> <xref href="GUID-35FABDFE-4C10-3BBF-B6C5-660082840620.dita"><apiname>RWsGraphicMsgBuf</apiname></xref> </p> </li> <li id="GUID-1AB338A0-5EDB-5348-9F00-65DAFD226C30"><p> <xref href="GUID-643DDA78-C7A7-386D-AB3F-8710141DDDA9.dita"><apiname>RWsSession</apiname></xref> </p> </li> <li id="GUID-C854CACC-1C93-5821-B0DC-59BCB5D65F59"><p> <xref href="GUID-5D0B1595-1AC7-3C44-AC6B-0EFB5EABCF31.dita"><apiname>TWsEvent</apiname></xref> </p> </li> <li id="GUID-5F4689D5-9843-5167-BA68-4E6E17CC5559"><p> <xref href="GUID-F21F3AFF-2E6E-349D-B1B5-ABEF24ABB117.dita"><apiname>TWsPriorityKeyEvent</apiname></xref> </p> </li> <li id="GUID-255E6B25-A3C1-51D5-BFF5-5566573E28C9"><p> <xref href="GUID-B5F16BF3-569D-3985-AAB7-439E3410468D.dita"><apiname>TWsRedrawEvent</apiname></xref> </p> </li> <li id="GUID-6FC63DB2-E177-504D-B8BD-E9D658A791F1"><p> <xref href="GUID-A4BDD68A-4496-36EA-A0DD-61CB76DEACF5.dita"><apiname>RSoundPlugIn</apiname></xref> </p> </li> <li id="GUID-0CA23369-6B86-5889-B026-4A90590324F5"><p> <xref href="GUID-30479BE3-296E-3B4D-914D-B080ABD733E4.dita"><apiname>CWsScreenDevice</apiname></xref> </p> </li> <li id="GUID-6182D173-6EE9-5B21-B3E5-FA44E7B44AA0"><p> <xref href="GUID-E2092CF9-98E8-3206-91B2-36011AA6FB77.dita"><apiname>RDirectScreenAccess</apiname></xref> </p> </li> <li id="GUID-0F427637-5D70-5979-A767-690765556819"><p> <xref href="GUID-24C7AE25-B44A-3B6F-AA05-EA90A8D36129.dita"><apiname>CDirectScreenAccess</apiname></xref> </p> </li> <li id="GUID-69973957-D7E7-5E84-9C68-B23090C4084E"><p> <xref href="GUID-75C09150-E93B-323D-AFBF-E42C7BD78229.dita"><apiname>RWsSprite</apiname></xref> </p> </li> <li id="GUID-948E8A1F-416B-5CF6-9C67-948A2D65B004"><p> <xref href="GUID-20B1C5E7-8587-3528-9A33-C56D5C2A4C6F.dita"><apiname>RWsSpriteBase</apiname></xref> </p> </li> <li id="GUID-F7BF998E-C4D0-5100-8696-E2132B813F56"><p> <xref href="GUID-6E71A7F9-E980-3D99-ACB0-6743A0D13EBF.dita"><apiname>RWsPointerCursor</apiname></xref> </p> </li> <li id="GUID-E8023B35-908E-5B40-90F1-1DD57D4E97E5"><p> <xref href="GUID-DEE907AA-6D4C-32D3-8B1D-2104BE7AAF56.dita"><apiname>CWsGraphicBitmapAnimation</apiname></xref> </p> </li> <li id="GUID-974DBC5A-87F5-524C-9884-357C8EE6C9A3"><p> <xref href="GUID-FD943DEE-CF07-3634-811D-6D64DFB40BC8.dita"><apiname>CFrame</apiname></xref> </p> </li> <li id="GUID-832F4C6E-999D-59BD-A2C5-33377B3D462B"><p> <xref href="GUID-800B3667-F45F-391F-A8A9-F876FB4ABC34.dita"><apiname>RAnimDll</apiname></xref> </p> </li> <li id="GUID-CABF7D85-3A34-5B86-96B6-2CCBAFDE8567"><p> <xref href="GUID-4180CDBA-E9A5-3A4B-9778-26D172FAFD10.dita"><apiname>RAnim</apiname></xref> </p> </li> <li id="GUID-6D30234F-72F5-5242-BCA4-3D3BAC145EF8"><p> <xref href="GUID-FFE76181-A701-374B-82AA-CEACC5856E91.dita"><apiname>MAnimGeneralFunctions</apiname></xref> </p> </li> <li id="GUID-A5FFE307-68DF-5F18-96BC-6C6B445A7794"><p> <xref href="GUID-F1DC2E39-9AB1-397A-BEDD-036BB6C54EC4.dita"><apiname>MAnimSpriteFunctions</apiname></xref> </p> </li> <li id="GUID-4E93D548-97F2-56FC-927F-8E69B7ED8FBD"><p> <xref href="GUID-6FB00D2D-3CFB-3CD8-9081-2FBD0E4A9AAF.dita"><apiname>MAnimWindowFunctions</apiname></xref> </p> </li> </ul> </section> <section><title> Test approach</title> <p>The purpose of the test suite is to provide regression testing of the public (<codeph>PublishedAll</codeph>) APIs of the <xref href="GUID-0C4B86B5-530A-5839-86C1-46E7ABE281E0.dita">Window Server</xref> classes. The testing includes negative testing to confirm that the correct errors are returned when incorrect parameters are provided. The tests are automated and do not require user intervention. </p> </section> <section><title>Coverage omissions</title> <p>None. </p> </section> <section><title>Test suite details</title> <p><b>Test script source tree location </b> </p> <p>Descriptions of the test cases can be found in the test scripts in the following locations: </p> <ul><li id="GUID-7F9BAA8B-6B18-5F6E-8583-3F6FEF59B313"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\
GRAPHICS-WSERV-BackedUpWindow-PublicApi.script </filepath> </p> </li> <li id="GUID-2AFC9E90-16F8-5D9D-8E6D-22E3DCBBE2FB"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\
GRAPHICS-WSERV-BlankWindow-PublicApi.script</filepath> </p> </li> <li id="GUID-BAD38EFA-BFBB-5449-AB32-27CE509B2185"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\
GRAPHICS-WSERV-Events-PublicApi.script </filepath> </p> </li> <li id="GUID-F59F10A2-BAC2-5F29-991E-F1C580AB33F2"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-PublicApi.script
</filepath> </p> </li> <li id="GUID-61CE6483-2F02-5D43-95A9-BEA3209648DE"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-Session-PublicApi.script
</filepath> </p> </li> <li id="GUID-E8999B5A-2C54-50A5-B926-33DFB18AA100"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-WindowGc-PublicApi.script</filepath> </p> </li> <li id="GUID-899A1A8F-CBFB-5DCB-B230-EC47401E0604"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-WindowGroup-PublicApi.script</filepath> </p> </li> <li id="GUID-15743788-3F48-5133-B2B7-3A03231779B0"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-Window-PublicApi.script</filepath> </p> </li> <li id="GUID-FC1AFCC7-CAA9-5764-89DE-DFD588036902"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-WsBitmap-PublicApi.script</filepath> </p> </li> <li id="GUID-847F45FE-91D9-50A0-AC64-0868B295513D"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-WsGraphicBitmap-PublicApi.script</filepath> </p> </li> <li id="GUID-84311C1C-FA27-53BA-8E4C-9467A207CCBD"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-WsGraphicMsgBuf-PublicApi.script</filepath> </p> </li> <li id="GUID-BC953083-E9DE-5E1B-9666-74275A2715A9"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-SoundPlugin-PublicAPI.script</filepath> </p> </li> <li id="GUID-C19FE24B-CC9E-57BE-B6A5-09BEBFDA6795"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-WsScreenDevice-PublicAPI.script</filepath> </p> </li> <li id="GUID-C5066EB4-4975-54AE-8F7C-B476FF8E3BE0"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-DirectScreenAccess-PublicApi.script</filepath> </p> </li> <li id="GUID-7A0C3109-904E-597B-910C-4A7ADDDEA940"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-DsaSession-PublicApi.script</filepath> </p> </li> <li id="GUID-B3ECCE1E-AEB0-50A4-8050-665C43A81EC8"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-WsSprite-PublicApi.script</filepath> </p> </li> <li id="GUID-EA1E98CC-EC27-5EAF-B76C-09A37B4E1D15"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-WsPointerCursor-PublicApi.script</filepath> </p> </li> <li id="GUID-C661267D-2FF4-50DA-BF7A-C4761FCC5A15"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-WsGraphicBitmapAnimation-PublicApi.script</filepath> </p> </li> <li id="GUID-AD56AB70-6439-5AF0-A2EE-194F940494C1"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-Frame-PublicAPI.script</filepath> </p> </li> <li id="GUID-52D99457-8225-5E6C-894B-B80E19727350"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-AnimDll-PublicAPI.script</filepath> </p> </li> <li id="GUID-4C5306EA-522F-5BC6-B5CC-3043AAE30D76"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-Anim-PublicAPI.script</filepath> </p> </li> <li id="GUID-80F6C96E-6C57-571C-BF47-FCC4B7AA8735"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-AnimGeneralFunctions-PublicApi.script</filepath> </p> </li> <li id="GUID-02443229-CEDE-51A9-8DB7-8D79E8F86C7E"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-AnimGfwe-PublicAPI.script</filepath> </p> </li> <li id="GUID-F012B6D6-85B2-5394-826A-FF592CEB9696"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-AnimSpriteFunctions-PublicApi.script</filepath> </p> </li> <li id="GUID-9A98B95D-4A8D-559E-B059-54D4386B24B5"><p> <filepath>...\graphics\graphicsapitest\wserv\scripts\GRAPHICS-WSERV-AnimWindowFunctions-PublicApi.script</filepath> </p> </li> </ul> <p><b>Test script EPOC tree location </b> </p> <p>When the tests are built for the emulator or hardware (winscw/armv5), the scripts are exported to the following location: </p> <p> <filepath>%EPOCROOT%\epoc32\data\Z\graphics\</filepath> </p> <p><b>Test script build location </b> </p> <p>When the tests are built, the scripts are built in the following location: </p> <p> <filepath>%EPOCROOT%\epoc32\release\<winscw|armv5>\<udeb|urel>\Z\graphics</filepath> </p> <p> <b>Note:</b> When the tests are built to be executed on hardware the files are built into the z: drive of the ROM. </p> <p><b>Test data source tree location </b> </p> <p>The test suite contains the following test data files: </p> <ul><li id="GUID-7F282D4A-CD13-59B2-876D-EA7F818F7EF9"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\
GRAPHICS-WSERV-BackedUpWindow-PublicApi.ini</filepath> </p> </li> <li id="GUID-2AF2DEDE-7D59-5986-B9D0-C1FC481D1E89"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-BlankWindow-PublicApi.ini</filepath> </p> </li> <li id="GUID-99494F67-8F6A-5C6B-AC97-E4BB2DFDAF83"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-Events-PublicApi.ini</filepath> </p> </li> <li id="GUID-79C128BC-93E0-5906-B686-BE59CC3A5531"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-Session-PublicApi.ini</filepath> </p> </li> <li id="GUID-475CFF92-D089-5BD3-8EE5-AC7A3392C614"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-WindowGc-PublicApi.ini</filepath> </p> </li> <li id="GUID-4CDC6D9F-BD0F-583B-A21F-79E91071DF68"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-WindowGroup-PublicApi.ini
</filepath> </p> </li> <li id="GUID-6CA2B6C9-A450-5535-9041-445E08D2C1E3"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-Window-PublicApi.ini</filepath> </p> </li> <li id="GUID-FDDB930D-32B4-5DDA-B782-B703E1414A3B"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-WsBitmap-PublicApi.ini</filepath> </p> </li> <li id="GUID-F95BD86B-1230-5F33-A244-DE7BC550C96B"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-WsGraphicBitmap-PublicApi.ini</filepath> </p> </li> <li id="GUID-A357DAAD-F745-5124-B698-57D659B69DAB"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-WsGraphicMsgBuf-PublicApi.ini</filepath> </p> </li> <li id="GUID-E46594CB-18F0-54BD-ADEF-990044D41E38"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-SoundPlugin-PublicAPI.ini</filepath> </p> </li> <li id="GUID-DBA0AD0E-A326-5763-9778-75E2DC46F05C"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-WsScreenDevice-PublicAPI.ini</filepath> </p> </li> <li id="GUID-2E46CC1B-D593-58D2-8F5F-9C6C72302475"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-DirectScreenAccess-PublicApi.ini</filepath> </p> </li> <li id="GUID-CA93BDC1-02A3-537C-A9C4-223C5916CF77"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-DsaSession-PublicApi.ini</filepath> </p> </li> <li id="GUID-3B481681-31A3-5501-8B81-146437EDCAC1"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-WsSprite-PublicApi.ini</filepath> </p> </li> <li id="GUID-81D88934-DB51-5223-8ECF-B05E29A07D7C"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-WsPointerCursor-PublicApi.ini</filepath> </p> </li> <li id="GUID-F0FD6C63-8CC1-5F4E-B434-55B4FAA14FF1"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-WsGraphicBitmapAnimation-PublicApi.ini</filepath> </p> </li> <li id="GUID-CE1E930B-7D04-50A2-A11A-3BED1B30FB39"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-Frame-PublicAPI.ini</filepath> </p> </li> <li id="GUID-4D71F4FD-94E1-545F-A752-9832FF7D9431"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-AnimDll-PublicAPI.ini</filepath> </p> </li> <li id="GUID-D5E62918-357F-55C1-899B-69FD6ECF9B9E"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-Anim-PublicAPI.ini</filepath> </p> </li> <li id="GUID-7C46D768-F1DB-5F67-B637-0970BF5A821B"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-AnimGeneralFunctions-PublicApi.ini</filepath> </p> </li> <li id="GUID-15A1788C-E802-5E34-A6AC-B25488D6BC83"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-AnimGfwe-PublicAPI.ini</filepath> </p> </li> <li id="GUID-3044D422-01E0-5916-AB8F-26F3B3BCB32A"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-AnimSpriteFunctions-PublicApi.ini</filepath> </p> </li> <li id="GUID-E43B2D78-9F9A-586E-BA6F-9A7FAFAA7529"><p> <filepath>...\graphics\graphicsapitest\wserv\testdata\GRAPHICS-WSERV-AnimWindowFunctions-PublicApi.ini</filepath> </p> </li> </ul> <p>The global environment file is located in the following location: </p> <p> <filepath>...\graphics\testdata\<platform>\t_graphics.ini</filepath> </p> <p>Where <codeph><platform></codeph> can be <codeph>armv5</codeph> or <codeph>winscw</codeph>. </p> <p><b>Test data files EPOC tree location </b> </p> <p>When the tests are built for the emulator or hardware (winscw or armv5), the data files are exported to the following location: </p> <p> <filepath>%EPOCROOT%\epoc32\data\Z\graphics\</filepath> </p> <p>The global environment file, <filepath>t_graphics.ini</filepath> is located in the following location: </p> <p> <filepath>%EPOCROOT%\epoc32\data\Z\graphics\<platform>\</filepath> </p> <p>Where <codeph><platform></codeph> can be <codeph>armv5</codeph> or <codeph>winscw</codeph>. </p> <p><b>Test data files emulator location </b> </p> <p>When the tests are built, the test data (<filepath>.ini</filepath>) files except the global environment file,<filepath> t_graphics.ini</filepath> are built into the following location: </p> <p> <filepath>%EPOCROOT%\epoc32\
release\<platform>\<udeb|urel>\Z\graphics\</filepath> </p> <p>The global environment file, <filepath>t_graphics.ini</filepath> is built in the following location: </p> <p> <filepath>%EPOCROOT%\epoc32\
release\<platform>\<udeb|urel>\Z\graphics\<platform></filepath> </p> <p>Where <codeph><platform></codeph> can be <codeph>armv5</codeph> or <codeph>winscw</codeph>. </p> <p> <b>Note: </b> When the tests are built to be executed on hardware, the files are built into the z: drive of the ROM. </p> <p><b>TestDriver file </b> </p> <p>The <filepath>graphics.driver</filepath> file can be found in the following location: </p> <p> <filepath>...\graphics\graphicsapitest\graphicssvs\testsuites\graphics\</filepath> </p> <p>It is used by TestDriver to construct the test suite tree structure and export all the appropriate files to the correct location in the <codeph>epoc32</codeph> tree and on the device. </p> <p>When the tests are built, the <filepath>.driver</filepath> file can be found in the following location: </p> <p> <filepath>%EPOCROOT%\epoc32\testdriver\testproduct</filepath> </p> <p><b>TCS files source tree location </b> </p> <p>The <filepath>.tcs</filepath> files can be found in the following location: </p> <ul><li id="GUID-A26A398D-9199-510A-9C12-2505641ED3C7"><p> <filepath>...\graphics\graphicsapitest\wserv\config\t_graphics.tcs</filepath> </p> </li> <li id="GUID-3DB57C49-1008-5A68-856C-1956602554D6"><p> <filepath>...\graphics\graphicsapitest\wserv\config\t_graphics_panic.tcs</filepath> </p> </li> </ul> <p><b>TCS files build location </b> </p> <p>When the tests are built, the scripts are generated in the following location: </p> <p> <filepath>%EPOCROOT%\epoc32\release\<winscw|armv5>\<udeb|urel>\Z\graphics</filepath> </p> <p> <b>Note:</b> When the tests are built to be executed on hardware, the files are built into the z: drive of the ROM. </p> </section> <section><title>Test environment and execution</title> <p>For information about the test environment and execution procedure, see <xref href="GUID-548CEA7C-20BA-5C8E-9971-134AD518CA22.dita">Graphics Test Technology</xref>. </p> <p><b>Excluding panicking test cases </b> </p> <p>Some of the negative test cases, which check for panic codes, cause positive test cases to fail. Therefore, these test cases are excluded from normal execution by specifying the test case IDs in the <filepath><test suite
name>-panic.tcs</filepath> files. </p> <p>When using test driver to execute the test suite: </p> <ul><li id="GUID-C3BD22E2-CC3E-5DDE-80EE-EFF2B2CE58AA"><p> <codeph>graphics.panicless</codeph> executes the specified suite excluding the listed test cases </p> </li> <li id="GUID-E9A18326-F2AF-5F06-959A-D303621964E4"><p> <codeph>graphics.panic</codeph> executes the tests that panic. </p> </li> </ul> <p>When executing the tests manually, the following testexecute command illustrates the usage of the <filepath>.tcs</filepath> file: </p> <p><userinput>testexecute %EPOCROOT%\epoc32\release\winscw\<urel/udeb>\<test suite name>.script –[tcx|tci] %EPOCROOT%\epoc32\release\winscw\<urel/udeb>\<test suite name>.tcs</userinput> </p> <p>The <codeph>-tcx</codeph> switch is used to execute all the tests in the specified script excluding the test cases specified in the <filepath>.tcs</filepath> file. While the <codeph>–tci </codeph> switch is used to execute only the tests specified in the <filepath>.tcs</filepath> file from the specified script. For more information, see <xref href="GUID-548CEA7C-20BA-5C8E-9971-134AD518CA22.dita">Graphics Test Technology</xref>. </p> </section> </conbody><related-links><link href="GUID-548CEA7C-20BA-5C8E-9971-134AD518CA22.dita"><linktext>Graphics Test Technology</linktext> </link> </related-links></concept>