graphicsapitest/graphicssvs/wserv/scripts/GRAPHICS-WSERV-AnimGfwe-PublicAPI.script
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 //
       
     2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 //! @file
       
    17 //! @SYMTestSuiteName  GRAPHICS-WSERV-AnimGfwe-PublicApi
       
    18 //! @SYMScriptTestEnvironment This test script requires a basic ROM.
       
    19 
       
    20 ///////////////////////////////////////////////////////////////////////////////
       
    21 // GRAPHICS-WSERV-AnimGfwe-PublicApi.script
       
    22 //
       
    23 // Tests all public elements of the CFrame class
       
    24 // as a means of confidence that the API works as expected.
       
    25 //
       
    26 // The purpose is to provide a regression test suite of PublishedAll APIs for
       
    27 // MAnimGeneralFunctionsWindowExtension related classes.
       
    28 // Negative testing is performed to confirm that correct errors are returned
       
    29 // when incorrect parameters are given.
       
    30 //
       
    31 // The tests are fully automated.
       
    32 ///////////////////////////////////////////////////////////////////////////////
       
    33 
       
    34 
       
    35 LOAD_SUITE  T_GraphicsWservAPI
       
    36 
       
    37 // ****************************************************************************
       
    38 // MAnimGeneralFunctionsWindowExtension
       
    39 // ****************************************************************************
       
    40 
       
    41 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0001
       
    42 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0001
       
    43 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::Screens()
       
    44 //! @SYMAuthor              Jeffery Zhao
       
    45 //! @SYMCreationDate        10-04-2008
       
    46 //! @SYMTestCaseDesc        Create animation client object and send command to plugin to get total number of screens.
       
    47 //! @SYMTestActions         1.Create and connect a RWsSession.
       
    48 //!                         2.Create and construct RWindowGroup and RWindow.
       
    49 //!                         3.Activate the RWindow.
       
    50 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
    51 //!                         5.Create a RAnim object by using RAnimDll object.
       
    52 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
    53 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
    54 //!                         8.Send ECmdGfweScreens to then animation plugin by CommandReply to get total number of screens.
       
    55 //!                         8.1 Plugin get total number of screens and return it.
       
    56 //!                         8.2 Wrapper check number of screens by RWsSession::NumberOfScreens().
       
    57 //!                         9.Close RAnimForMClass.
       
    58 //!                         10.Close RAnim.
       
    59 //!                         11.Destroy RAnimDll.
       
    60 //!                         12.Close RWsSession, RWindowGroup and RWindow.
       
    61 //! @SYMTestStatus          Implemented
       
    62 //! @SYMTestPriority        High
       
    63 //! @SYMTestExpectedResults Screens function returns right numbers of screens.
       
    64 //! @SYMTestType            CIT
       
    65 
       
    66     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
    67         CREATE_OBJECT       RWsSession                 ws
       
    68         CREATE_OBJECT       RWindowGroup               wingrp
       
    69         CREATE_OBJECT       RWindow                    win
       
    70         CREATE_OBJECT       RAnimDll                   animdll
       
    71         CREATE_OBJECT       RAnim                      anim
       
    72         CREATE_OBJECT       RAnimForMClass             animformc
       
    73         COMMAND             ws                         new
       
    74         COMMAND             ws                         Connect
       
    75         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0001-0001-new_command003
       
    76         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0001-0001-Construct_command004
       
    77         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0001-0001-new_command005
       
    78         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0001-0001-Construct_command006
       
    79         COMMAND             win                        Activate
       
    80         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0001-0001-new_command008
       
    81         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0001-0001-Load_command009
       
    82         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0001-0001-new_command010
       
    83         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0001-0001-new_command011
       
    84         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0001-0001-Construct_command012
       
    85         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0001-0001-CommandReply_command013
       
    86         COMMAND             animformc                  Close
       
    87         COMMAND             anim                       Close
       
    88         COMMAND             animdll                    Destroy
       
    89         COMMAND             win                        Close
       
    90         COMMAND             wingrp                     Close
       
    91         COMMAND             ws                         Close
       
    92     END_TEST_BLOCK
       
    93 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0001
       
    94 
       
    95 
       
    96 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0002
       
    97 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0002
       
    98 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::FocusScreens()
       
    99 //! @SYMAuthor              Jeffery Zhao
       
   100 //! @SYMCreationDate        10-04-2008
       
   101 //! @SYMTestCaseDesc        Create animation client object and send command to plugin to get the number of the screen which is currently in focus.
       
   102 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   103 //!                         2.Create and construct RWindowGroup and RWindow.
       
   104 //!                         3.Activate the RWindow.
       
   105 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   106 //!                         5.Create a RAnim object by using RAnimDll object.
       
   107 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   108 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   109 //!                         8.Send ECmdGfweFocusScreens to the animaion plugin by CommandReply to get focused screen number.
       
   110 //!                         8.1 Plugin get focused screen number and return it.
       
   111 //!                         8.2 Wrapper check focused screen number by RWsSession::GetFocusScreen().
       
   112 //!                         9.Close RAnimForMClass.
       
   113 //!                         11.Close RAnim.
       
   114 //!                         12.Destroy RAnimDll.
       
   115 //!                         13.Close RWsSession, RWindowGroup and RWindow.
       
   116 //! @SYMTestStatus          Implemented
       
   117 //! @SYMTestPriority        High
       
   118 //! @SYMTestExpectedResults Get focused screen as expected. 
       
   119 //! @SYMTestType            CIT
       
   120 
       
   121     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   122         CREATE_OBJECT       RWsSession                 ws
       
   123         CREATE_OBJECT       RWindowGroup               wingrp
       
   124         CREATE_OBJECT       RWindow                    win
       
   125         CREATE_OBJECT       RAnimDll                   animdll
       
   126         CREATE_OBJECT       RAnim                      anim
       
   127         CREATE_OBJECT       RAnimForMClass             animformc
       
   128         COMMAND             ws                         new
       
   129         COMMAND             ws                         Connect
       
   130         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0002-0001-new_command003
       
   131         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0002-0001-Construct_command004
       
   132         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0002-0001-new_command005
       
   133         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0002-0001-Construct_command006
       
   134         COMMAND             win                        Activate
       
   135         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0002-0001-new_command008
       
   136         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0002-0001-Load_command009
       
   137         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0002-0001-new_command010
       
   138         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0002-0001-new_command011
       
   139         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0002-0001-Construct_command012
       
   140         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0002-0001-CommandReply_command013
       
   141         COMMAND             animformc                  Close
       
   142         COMMAND             anim                       Close
       
   143         COMMAND             animdll                    Destroy
       
   144         COMMAND             win                        Close
       
   145         COMMAND             wingrp                     Close
       
   146         COMMAND             ws                         Close
       
   147     END_TEST_BLOCK
       
   148 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0002
       
   149 
       
   150 
       
   151 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0003
       
   152 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0003
       
   153 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::SetFocusScreen(TInt)
       
   154 //! @SYMAuthor              Jeffery Zhao
       
   155 //! @SYMCreationDate        10-04-2008
       
   156 //! @SYMTestCaseDesc        Create animation client object and send command to plugin to changes the focused screen.
       
   157 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   158 //!                         2.Create and construct RWindowGroup and RWindow.
       
   159 //!                         3.Activate the RWindow.
       
   160 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   161 //!                         5.Create a RAnim object by using RAnimDll object.
       
   162 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   163 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   164 //!                         8.Send ECmdGfweSetFocusScreen to the animaion plugin by CommandReply to set focused screen.
       
   165 //!                         9.Send ECmdGfweFocusScreens to the animaion plugin by CommandReply to get focused screen number.
       
   166 //!                         9.1 Plugin get focused screen number and return it.
       
   167 //!                         9.2 Wrapper check what CommandReply return is set screen number or not.
       
   168 //!                         10.Close RAnimForMClass.
       
   169 //!                         11.Close RAnim.
       
   170 //!                         12.Destroy RAnimDll.
       
   171 //!                         13.Close RWsSession, RWindowGroup and RWindow.
       
   172 //! @SYMTestStatus          Implemented
       
   173 //! @SYMTestPriority        High
       
   174 //! @SYMTestExpectedResults Set focused screen as expected. 
       
   175 //! @SYMTestType            CIT
       
   176 
       
   177     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   178         CREATE_OBJECT       RWsSession                 ws
       
   179         CREATE_OBJECT       RWindowGroup               wingrp
       
   180         CREATE_OBJECT       RWindow                    win
       
   181         CREATE_OBJECT       RAnimDll                   animdll
       
   182         CREATE_OBJECT       RAnim                      anim
       
   183         CREATE_OBJECT       RAnimForMClass             animformc
       
   184         COMMAND             ws                         new
       
   185         COMMAND             ws                         Connect
       
   186         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-new_command003
       
   187         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-Construct_command004
       
   188         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-new_command005
       
   189         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-Construct_command006
       
   190         COMMAND             win                        Activate
       
   191         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-new_command008
       
   192         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-Load_command009
       
   193         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-new_command010
       
   194         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-new_command011
       
   195         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-Construct_command012
       
   196         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-CommandReply_command013
       
   197         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0003-0001-CommandReply_command014
       
   198         COMMAND             animformc                  Close
       
   199         COMMAND             anim                       Close
       
   200         COMMAND             animdll                    Destroy
       
   201         COMMAND             win                        Close
       
   202         COMMAND             wingrp                     Close
       
   203         COMMAND             ws                         Close
       
   204     END_TEST_BLOCK
       
   205 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0003
       
   206 
       
   207 
       
   208 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0004
       
   209 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0004
       
   210 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::WindowGroups(TInt)
       
   211 //! @SYMAuthor              Jeffery Zhao
       
   212 //! @SYMCreationDate        10-04-2008
       
   213 //! @SYMTestCaseDesc        Create animation client object and send command to plugin to get the number of window groups available for the specified screen.
       
   214 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   215 //!                         2.Create and construct RWindowGroup and RWindow.
       
   216 //!                         3.Activate the RWindow.
       
   217 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   218 //!                         5.Create a RAnim object by using RAnimDll object.
       
   219 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   220 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   221 //!                         8.Send ECmdGfweWindowGroups to the animaion plugin  by CommandReply to get the number of window groups.
       
   222 //!                         8.1 Plugin get the number of window groups and return it.
       
   223 //!                         8.2 Wrapper check the number of window groups by RWsSession::NumWindowGroups().
       
   224 //!                         9.Close RAnimForMClass.
       
   225 //!                         11.Close RAnim.
       
   226 //!                         12.Destroy RAnimDll.
       
   227 //!                         13.Close RWsSession, RWindowGroup and RWindow.
       
   228 //! @SYMTestStatus          Implemented
       
   229 //! @SYMTestPriority        High
       
   230 //! @SYMTestExpectedResults WindowGroups function get the right number of window groups.
       
   231 //! @SYMTestType            CIT
       
   232 
       
   233     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   234         CREATE_OBJECT       RWsSession                 ws
       
   235         CREATE_OBJECT       RWindowGroup               wingrp
       
   236         CREATE_OBJECT       RWindow                    win
       
   237         CREATE_OBJECT       RAnimDll                   animdll
       
   238         CREATE_OBJECT       RAnim                      anim
       
   239         CREATE_OBJECT       RAnimForMClass             animformc
       
   240         COMMAND             ws                         new
       
   241         COMMAND             ws                         Connect
       
   242         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0004-0001-new_command003
       
   243         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0004-0001-Construct_command004
       
   244         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0004-0001-new_command005
       
   245         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0004-0001-Construct_command006
       
   246         COMMAND             win                        Activate
       
   247         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0004-0001-new_command008
       
   248         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0004-0001-Load_command009
       
   249         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0004-0001-new_command010
       
   250         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0004-0001-new_command011
       
   251         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0004-0001-Construct_command012
       
   252         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0004-0001-CommandReply_command013
       
   253         COMMAND             animformc                  Close
       
   254         COMMAND             anim                       Close
       
   255         COMMAND             animdll                    Destroy
       
   256         COMMAND             win                        Close
       
   257         COMMAND             wingrp                     Close
       
   258         COMMAND             ws                         Close
       
   259     END_TEST_BLOCK
       
   260 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0004
       
   261 
       
   262 
       
   263 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0005
       
   264 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0005
       
   265 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::WindowGroupInfo(TWindowGroupInfo{ref},TInt, TInt)
       
   266 //! @SYMAuthor              Jeffery Zhao
       
   267 //! @SYMCreationDate        10-04-2008
       
   268 //! @SYMTestCaseDesc        Create animation client object and send command to plugin to get window group id.
       
   269 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   270 //!                         2.Create and construct RWindowGroup and RWindow.
       
   271 //!                         3.Activate the RWindow.
       
   272 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   273 //!                         5.Create a RAnim object by using RAnimDll object.
       
   274 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   275 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   276 //!                         8.Send ECmdGfweWindowGroupInfo to the animaion plugin by CommandReply to get window group id.
       
   277 //!                         8.1 Plugin get window group information and return id.
       
   278 //!                         8.2 Wrapper check window group id by RWindowGroup::Identifier().
       
   279 //!                         9.Close RAnimForMClass.
       
   280 //!                         10. Close RAnim.
       
   281 //!                         11.Destroy RAnimDll.
       
   282 //!                         12.Close RWsSession, RWindowGroup and RWindow.
       
   283 //! @SYMTestStatus          Implemented
       
   284 //! @SYMTestPriority        High
       
   285 //! @SYMTestExpectedResults WindowGroupInfo returns true. 
       
   286 //! @SYMTestType            CIT
       
   287 
       
   288     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   289         CREATE_OBJECT       RWsSession                 ws
       
   290         CREATE_OBJECT       RWindowGroup               wingrp
       
   291         CREATE_OBJECT       RWindow                    win
       
   292         CREATE_OBJECT       RAnimDll                   animdll
       
   293         CREATE_OBJECT       RAnim                      anim
       
   294         CREATE_OBJECT       RAnimForMClass             animformc
       
   295         COMMAND             ws                         new
       
   296         COMMAND             ws                         Connect
       
   297         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0005-0001-new_command003
       
   298         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0005-0001-Construct_command004
       
   299         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0005-0001-new_command005
       
   300         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0005-0001-Construct_command006
       
   301         COMMAND             win                        Activate
       
   302         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0005-0001-new_command008
       
   303         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0005-0001-Load_command009
       
   304         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0005-0001-new_command010
       
   305         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0005-0001-new_command011
       
   306         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0005-0001-Construct_command012
       
   307         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0005-0001-CommandReply_command013        COMMAND             animformc                  Close
       
   308         COMMAND             anim                       Close
       
   309         COMMAND             animdll                    Destroy
       
   310         COMMAND             win                        Close
       
   311         COMMAND             wingrp                     Close
       
   312         COMMAND             ws                         Close
       
   313     END_TEST_BLOCK
       
   314 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0005
       
   315 
       
   316 
       
   317 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0006
       
   318 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0006
       
   319 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::WindowGroupInfo(TWindowGroupInfo{ref},TInt, TInt)
       
   320 //! @SYMAuthor              Forbes Fu
       
   321 //! @SYMCreationDate        10-04-2008
       
   322 //! @SYMTestCaseDesc        Create animation client object whose corresponding RWindowGroup can't receive focus and has a name.
       
   323 //!                         Then send command to plugin to get window group id.
       
   324 //! @SYMTestActions         1. Create and connect a RWsSession.
       
   325 //!                         2. Create and construct a parent RWindowGroup.
       
   326 //!                         3. Create and construct a RWindowGroup as child window group. 
       
   327 //!                         4. Disable receipt of focus on the child RWindowGroup.
       
   328 //!                         5. Set the child RWindowGroup's name.
       
   329 //!                         6. Create and construct a RWindow as the child of the second RWindowGroup.
       
   330 //!                         7. Activate the RWindow.
       
   331 //!                         8. Create a RAnimDll object and load the animation plugin DLL.
       
   332 //!                         9. Create a RAnim object by using RAnimDll object.
       
   333 //!                         10. Create a RAnimForMClass object and get wrapped object from RAnim.
       
   334 //!                         11. Completes construction of the object based on a window device, and creates the server-side animation system.
       
   335 //!                         12. Send ECmdGfweWindowGroupInfo to the animaion plugin by CommandReply to get window group id.
       
   336 //!                         12.1 Plugin get window group information and return id.
       
   337 //!                         12.2 Wrapper check window group id by RWindowGroup::Identifier().
       
   338 //!                         13. Close RAnimForMClass.
       
   339 //!                         14. Close RAnim.
       
   340 //!                         15. Destroy RAnimDll.
       
   341 //!                         16. Close RWsSession, two RWindowGroup and RWindow.
       
   342 //! @SYMTestStatus          Implemented
       
   343 //! @SYMTestPriority        High
       
   344 //! @SYMTestExpectedResults WindowGroupInfo returns true. 
       
   345 //! @SYMTestType            CIT
       
   346 
       
   347     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   348         CREATE_OBJECT       RWsSession                 ws
       
   349         CREATE_OBJECT       RWindowGroup               wingrp
       
   350         CREATE_OBJECT       RWindowGroup               wingrp1
       
   351         CREATE_OBJECT       RWindow                    win
       
   352         CREATE_OBJECT       RAnimDll                   animdll
       
   353         CREATE_OBJECT       RAnim                      anim
       
   354         CREATE_OBJECT       RAnimForMClass             animformc
       
   355         COMMAND             ws                         new
       
   356         COMMAND             ws                         Connect
       
   357         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-new_command003
       
   358         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-Construct_command004
       
   359         COMMAND             wingrp1                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-new_command005
       
   360         COMMAND             wingrp1                    ConstructChildApp    GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-ConstructChildApp_command006
       
   361         COMMAND             wingrp1                    EnableReceiptOfFocus GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-EnableReceiptOfFocus_command007
       
   362         COMMAND             wingrp1                    SetName              GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-SetName_command008
       
   363         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-new_command009
       
   364         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-Construct_command010
       
   365         COMMAND             win                        Activate
       
   366         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-new_command012
       
   367         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-Load_command013
       
   368         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-new_command014
       
   369         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-new_command015
       
   370         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-Construct_command016
       
   371         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0006-0001-CommandReply_command017
       
   372         COMMAND             animformc                  Close
       
   373         COMMAND             anim                       Close
       
   374         COMMAND             animdll                    Destroy
       
   375         COMMAND             win                        Close
       
   376         COMMAND             wingrp1                    Close
       
   377         COMMAND             wingrp                     Close
       
   378         COMMAND             ws                         Close
       
   379     END_TEST_BLOCK
       
   380 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0006
       
   381 
       
   382 
       
   383 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0007
       
   384 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0007
       
   385 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::WindowGroupInfo(TWindowGroupInfo{ref},TInt, TInt)
       
   386 //! @SYMAuthor              Jeffery Zhao
       
   387 //! @SYMCreationDate        10-04-2008
       
   388 //! @SYMTestCaseDesc        Create animation client object and send command to plugin with non-exist ordinal position to get window group information.
       
   389 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   390 //!                         2.Create and construct RWindowGroup and RWindow.
       
   391 //!                         3.Activate the RWindow.
       
   392 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   393 //!                         5.Create a RAnim object by using RAnimDll object.
       
   394 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   395 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   396 //!                         8.Send ECmdGfweWindowGroupInfo to the animaion plugin by CommandReply with non-exist ordinal position to get window group information.
       
   397 //!                         8.1 Wrapper check CommandReply return false or not.
       
   398 //!                         9.Close RAnimForMClass.
       
   399 //!                         10. Close RAnim.
       
   400 //!                         11.Destroy RAnimDll.
       
   401 //!                         12.Close RWsSession, RWindowGroup and RWindow.
       
   402 //! @SYMTestStatus          Implemented
       
   403 //! @SYMTestPriority        High
       
   404 //! @SYMTestExpectedResults WindowGroupInfo returns false.
       
   405 //! @SYMTestType            CIT
       
   406 
       
   407     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   408         CREATE_OBJECT       RWsSession                 ws
       
   409         CREATE_OBJECT       RWindowGroup               wingrp
       
   410         CREATE_OBJECT       RWindow                    win
       
   411         CREATE_OBJECT       RAnimDll                   animdll
       
   412         CREATE_OBJECT       RAnim                      anim
       
   413         CREATE_OBJECT       RAnimForMClass             animformc
       
   414         COMMAND             ws                         new
       
   415         COMMAND             ws                         Connect
       
   416         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0007-0001-new_command003
       
   417         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0007-0001-Construct_command004
       
   418         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0007-0001-new_command005
       
   419         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0007-0001-Construct_command006
       
   420         COMMAND             win                        Activate
       
   421         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0007-0001-new_command008
       
   422         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0007-0001-Load_command009
       
   423         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0007-0001-new_command010
       
   424         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0007-0001-new_command011
       
   425         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0007-0001-Construct_command012
       
   426         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0007-0001-CommandReply_command013
       
   427         COMMAND             animformc                  Close
       
   428         COMMAND             anim                       Close
       
   429         COMMAND             animdll                    Destroy
       
   430         COMMAND             win                        Close
       
   431         COMMAND             wingrp                     Close
       
   432         COMMAND             ws                         Close
       
   433     END_TEST_BLOCK
       
   434    
       
   435 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0007
       
   436 
       
   437 
       
   438 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0008
       
   439 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0008
       
   440 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::WindowGroupName(TPtrC{ref}, TInt, TInt)
       
   441 //! @SYMAuthor              Jeffery Zhao
       
   442 //! @SYMCreationDate        10-04-2008
       
   443 //! @SYMTestCaseDesc        Create animation client object and send command to plugin to get window group name.
       
   444 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   445 //!                         2.Create and construct RWindowGroup and RWindow.
       
   446 //!                         3.Activate the RWindow.
       
   447 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   448 //!                         5.Create a RAnim object by using RAnimDll object.
       
   449 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   450 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   451 //!                         8.Send ECmdGfweWindowGroupName to the animaion plugin  by CommandReply to get window group name.
       
   452 //!                         8.1 Plugin get window group name and return it by IPC slot 3.
       
   453 //!                         8.2 Wrapper check window group name by RWindowGroup::Name().
       
   454 //!                         9.Close RAnimForMClass.
       
   455 //!                         10. Close RAnim.
       
   456 //!                         11.Destroy RAnimDll.
       
   457 //!                         10.Close RWsSession, RWindowGroup and RWindow.
       
   458 //! @SYMTestStatus          Implemented
       
   459 //! @SYMTestPriority        High
       
   460 //! @SYMTestExpectedResults WindowGroupName returns correct window group name. 
       
   461 //! @SYMTestType            CIT
       
   462 
       
   463     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   464         CREATE_OBJECT       RWsSession                 ws
       
   465         CREATE_OBJECT       RWindowGroup               wingrp
       
   466         CREATE_OBJECT       RWindow                    win
       
   467         CREATE_OBJECT       RAnimDll                   animdll
       
   468         CREATE_OBJECT       RAnim                      anim
       
   469         CREATE_OBJECT       RAnimForMClass             animformc
       
   470         COMMAND             ws                         new
       
   471         COMMAND             ws                         Connect
       
   472         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0008-0001-new_command003
       
   473         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0008-0001-Construct_command004
       
   474         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0008-0001-new_command005
       
   475         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0008-0001-Construct_command006
       
   476         COMMAND             win                        Activate
       
   477         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0008-0001-new_command008
       
   478         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0008-0001-Load_command009
       
   479         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0008-0001-new_command010
       
   480         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0008-0001-new_command011
       
   481         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0008-0001-Construct_command012
       
   482         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0008-0001-CommandReply_command013
       
   483         COMMAND             animformc                  Close
       
   484         COMMAND             anim                       Close
       
   485         COMMAND             animdll                    Destroy
       
   486         COMMAND             win                        Close
       
   487         COMMAND             wingrp                     Close
       
   488         COMMAND             ws                         Close
       
   489     END_TEST_BLOCK
       
   490 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0008
       
   491 
       
   492 
       
   493 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0009
       
   494 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0009
       
   495 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::WindowGroupName(TPtrC{ref}, TInt, TInt)
       
   496 //! @SYMAuthor              Jeffery Zhao
       
   497 //! @SYMCreationDate        10-04-2008
       
   498 //! @SYMTestCaseDesc        Create animation client object whose corresponding RWindowGroup has a name.
       
   499 //!                         Then send command to plugin to get window group name.
       
   500 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   501 //!                         2.Create and construct RWindowGroup and RWindow.
       
   502 //!                         3.Activate the RWindow.
       
   503 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   504 //!                         5.Create a RAnim object by using RAnimDll object.
       
   505 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   506 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   507 //!                         8.Set the window group's name.
       
   508 //!                         9.Send ECmdGfweWindowGroupName to the animaion plugin  by CommandReply to get window group name.
       
   509 //!                         9.1 Plugin get window group name and return it by IPC slot 3.
       
   510 //!                         9.2 Wrapper check window group name by RWindowGroup::Name().
       
   511 //!                         10.Close RAnimForMClass.
       
   512 //!                         11.Close RAnim.
       
   513 //!                         12.Destroy RAnimDll.
       
   514 //!                         13.Close RWsSession, RWindowGroup and RWindow.
       
   515 //! @SYMTestStatus          Implemented
       
   516 //! @SYMTestPriority        High
       
   517 //! @SYMTestExpectedResults WindowGroupName returns correct window group name. 
       
   518 //! @SYMTestType            CIT
       
   519 
       
   520     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   521         CREATE_OBJECT       RWsSession                 ws
       
   522         CREATE_OBJECT       RWindowGroup               wingrp
       
   523         CREATE_OBJECT       RWindow                    win
       
   524         CREATE_OBJECT       RAnimDll                   animdll
       
   525         CREATE_OBJECT       RAnim                      anim
       
   526         CREATE_OBJECT       RAnimForMClass             animformc
       
   527         COMMAND             ws                         new
       
   528         COMMAND             ws                         Connect
       
   529         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-new_command003
       
   530         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-Construct_command004
       
   531         COMMAND             wingrp                     SetName              GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-SetName_command005
       
   532         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-new_command006
       
   533         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-Construct_command007
       
   534         COMMAND             win                        Activate
       
   535         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-new_command009
       
   536         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-Load_command010
       
   537         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-new_command011
       
   538         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-new_command012
       
   539         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-Construct_command013
       
   540         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0009-0001-CommandReply_command014
       
   541         COMMAND             animformc                  Close
       
   542         COMMAND             anim                       Close
       
   543         COMMAND             animdll                    Destroy
       
   544         COMMAND             win                        Close
       
   545         COMMAND             wingrp                     Close
       
   546         COMMAND             ws                         Close
       
   547     END_TEST_BLOCK
       
   548 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0009
       
   549 
       
   550 
       
   551 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0010
       
   552 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0010
       
   553 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::WindowGroupName(TPtrC{ref}, TInt, TInt)
       
   554 //! @SYMAuthor              Jeffery Zhao
       
   555 //! @SYMCreationDate        10-04-2008
       
   556 //! @SYMTestCaseDesc        Create animation client object and send command to plugin with non-exist ordinal position to get window group name.
       
   557 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   558 //!                         2.Create and construct RWindowGroup and RWindow.
       
   559 //!                         3.Activate the RWindow.
       
   560 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   561 //!                         5.Create a RAnim object by using RAnimDll object.
       
   562 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   563 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   564 //!                         8.Send ECmdGfweWindowGroupName to the animaion plugin by CommandReply with non-exist screen number to get window group name.
       
   565 //!                         8.1 Wrapper check CommandReply return false or not.
       
   566 //!                         9.Close RAnimForMClass.
       
   567 //!                         10. Close RAnim.
       
   568 //!                         11.Destroy RAnimDll.
       
   569 //!                         12.Close RWsSession, RWindowGroup and RWindow.
       
   570 //! @SYMTestStatus          Implemented
       
   571 //! @SYMTestPriority        High
       
   572 //! @SYMTestExpectedResults WindowGroupName returns false.
       
   573 //! @SYMTestType            CIT
       
   574 
       
   575     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   576         CREATE_OBJECT       RWsSession                 ws
       
   577         CREATE_OBJECT       RWindowGroup               wingrp
       
   578         CREATE_OBJECT       RWindow                    win
       
   579         CREATE_OBJECT       RAnimDll                   animdll
       
   580         CREATE_OBJECT       RAnim                      anim
       
   581         CREATE_OBJECT       RAnimForMClass             animformc
       
   582         COMMAND             ws                         new
       
   583         COMMAND             ws                         Connect
       
   584         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0010-0001-new_command003
       
   585         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0010-0001-Construct_command004
       
   586         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0010-0001-new_command005
       
   587         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0010-0001-Construct_command006
       
   588         COMMAND             win                        Activate
       
   589         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0010-0001-new_command008
       
   590         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0010-0001-Load_command009
       
   591         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0010-0001-new_command010
       
   592         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0010-0001-new_command011
       
   593         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0010-0001-Construct_command012
       
   594         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0010-0001-CommandReply_command013
       
   595         COMMAND             animformc                  Close
       
   596         COMMAND             anim                       Close
       
   597         COMMAND             animdll                    Destroy
       
   598         COMMAND             win                        Close
       
   599         COMMAND             wingrp                     Close
       
   600         COMMAND             ws                         Close
       
   601     END_TEST_BLOCK
       
   602    
       
   603 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0010
       
   604 
       
   605 
       
   606 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0011
       
   607 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0011
       
   608 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::SetOrdinalPosition(TInt, TInt, TInt)
       
   609 //! @SYMAuthor              Jeffery Zhao
       
   610 //! @SYMCreationDate        10-04-2008
       
   611 //! @SYMTestCaseDesc        Create animation client object and send command to plugin to change the ordinal priority of the window group.
       
   612 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   613 //!                         2.Create and construct RWindowGroup and RWindow.
       
   614 //!                         3.Activate the RWindow.
       
   615 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   616 //!                         5.Create a RAnim object by using RAnimDll object.
       
   617 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   618 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   619 //!                         8.Send ECmdGfweSetOrdinalPosition to the animaion plugin by CommandReply to change the ordinal priority of the window group.
       
   620 //!                         8.1 Plugin change the ordinal position and priority of the window group.
       
   621 //!                         8.2 Wrapper check ordinal priority by RWindowTreeNode::OrdinalPriority().
       
   622 //!                         9.Close RAnimForMClass.
       
   623 //!                         10.Close RAnim.
       
   624 //!                         11.Destroy RAnimDll.
       
   625 //!                         12.Close RWsSession, RWindowGroup and RWindow.
       
   626 //! @SYMTestStatus          Implemented
       
   627 //! @SYMTestPriority        High
       
   628 //! @SYMTestExpectedResults SetOrdinalPosition returns KErrNone.
       
   629 //! @SYMTestType            CIT
       
   630 
       
   631     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   632         CREATE_OBJECT       RWsSession                 ws
       
   633         CREATE_OBJECT       RWindowGroup               wingrp
       
   634         CREATE_OBJECT       RWindow                    win
       
   635         CREATE_OBJECT       RAnimDll                   animdll
       
   636         CREATE_OBJECT       RAnim                      anim
       
   637         CREATE_OBJECT       RAnimForMClass             animformc
       
   638         COMMAND             ws                         new
       
   639         COMMAND             ws                         Connect
       
   640         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0011-0001-new_command003
       
   641         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0011-0001-Construct_command004
       
   642         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0011-0001-new_command005
       
   643         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0011-0001-Construct_command006
       
   644         COMMAND             win                        Activate
       
   645         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0011-0001-new_command008
       
   646         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0011-0001-Load_command009
       
   647         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0011-0001-new_command010
       
   648         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0011-0001-new_command011
       
   649         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0011-0001-Construct_command012
       
   650         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0011-0001-CommandReply_command013
       
   651         COMMAND             animformc                  Close
       
   652         COMMAND             anim                       Close
       
   653         COMMAND             animdll                    Destroy
       
   654         COMMAND             win                        Close
       
   655         COMMAND             wingrp                     Close
       
   656         COMMAND             ws                         Close
       
   657     END_TEST_BLOCK
       
   658    
       
   659 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0011
       
   660 
       
   661 
       
   662 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0012
       
   663 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0012
       
   664 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::SetOrdinalPosition(TInt, TInt, TInt)
       
   665 //! @SYMAuthor              Forbes Fu
       
   666 //! @SYMCreationDate        19-05-2008
       
   667 //! @SYMTestCaseDesc        Create animation client object and send command to plugin to change the ordinal position of the window group with identical priority.
       
   668 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   669 //!                         2.Create and construct two RWindowGroup.
       
   670 //!                         3.Create and construct a RWindow by using the second RWindowGroup.
       
   671 //!                         4.Activate the RWindow.
       
   672 //!                         5.Create a RAnimDll object and load the animation plugin DLL.
       
   673 //!                         6.Create a RAnim object by using RAnimDll object.
       
   674 //!                         7.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   675 //!                         8.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   676 //!                         9.Get window ordinal position and send ECmdGfweSetOrdinalPosition to the animaion plugin by CommandReply to change the ordinal position of the window group.
       
   677 //!                         9.1 Plugin change the ordinal position and priority of the window group.
       
   678 //!                         9.2 Wrapper check ordinal position by RWindowTreeNode::OrdinalPosition().
       
   679 //!                         10.Close RAnimForMClass.
       
   680 //!                         11.Close RAnim.
       
   681 //!                         12.Destroy RAnimDll.
       
   682 //!                         13.Close RWsSession, two RWindowGroup and RWindow.
       
   683 //! @SYMTestStatus          Implemented
       
   684 //! @SYMTestPriority        High
       
   685 //! @SYMTestExpectedResults SetOrdinalPosition returns KErrNone.
       
   686 //! @SYMTestType            CIT
       
   687 
       
   688     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   689         CREATE_OBJECT       RWsSession                 ws
       
   690         CREATE_OBJECT       RWindowGroup               wingrp
       
   691         CREATE_OBJECT       RWindowGroup               wingrp1
       
   692         CREATE_OBJECT       RWindow                    win
       
   693         CREATE_OBJECT       RAnimDll                   animdll
       
   694         CREATE_OBJECT       RAnim                      anim
       
   695         CREATE_OBJECT       RAnimForMClass             animformc
       
   696         COMMAND             ws                         new
       
   697         COMMAND             ws                         Connect
       
   698         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-new_command003
       
   699         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-Construct_command004
       
   700         COMMAND             wingrp1                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-new_command005
       
   701         COMMAND             wingrp1                    Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-Construct_command006
       
   702         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-new_command007
       
   703         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-Construct_command008
       
   704         COMMAND             win                        Activate
       
   705         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-new_command010
       
   706         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-Load_command011
       
   707         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-new_command012
       
   708         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-new_command013
       
   709         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-Construct_command014
       
   710         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0012-0001-CommandReply_command015
       
   711         COMMAND             animformc                  Close
       
   712         COMMAND             anim                       Close
       
   713         COMMAND             animdll                    Destroy
       
   714         COMMAND             win                        Close
       
   715         COMMAND             wingrp1                    Close
       
   716         COMMAND             wingrp                     Close
       
   717         COMMAND             ws                         Close
       
   718     END_TEST_BLOCK
       
   719    
       
   720 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0012
       
   721 
       
   722 
       
   723 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0013
       
   724 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0013
       
   725 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::SetOrdinalPosition(TInt, TInt, TInt)
       
   726 //! @SYMAuthor              Jeffery Zhao
       
   727 //! @SYMCreationDate        10-04-2008
       
   728 //! @SYMTestCaseDesc        Negative case,Create animation client object and send command to plugin with non-exist group id to change the ordinal position and priority of the window group.
       
   729 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   730 //!                         2.Create and construct RWindowGroup and RWindow.
       
   731 //!                         3.Activate the RWindow.
       
   732 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   733 //!                         5.Create a RAnim object by using RAnimDll object.
       
   734 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   735 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   736 //!                         8.Send ECmdGfweSetOrdinalPosition to the animaion plugin  by CommandReply with non-exist group id to change the ordinal position and priority of the window group.
       
   737 //!                         9.Close RAnimForMClass.
       
   738 //!                         10.Close RAnim.
       
   739 //!                         11.Destroy RAnimDll.
       
   740 //!                         12.Close RWsSession, RWindowGroup and RWindow.
       
   741 //! @SYMTestStatus          Implemented
       
   742 //! @SYMTestPriority        High
       
   743 //! @SYMTestExpectedResults SetOrdinalPosition returns KErrNotFound.
       
   744 //! @SYMTestType            CIT
       
   745 
       
   746     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   747         CREATE_OBJECT       RWsSession                 ws
       
   748         CREATE_OBJECT       RWindowGroup               wingrp
       
   749         CREATE_OBJECT       RWindow                    win
       
   750         CREATE_OBJECT       RAnimDll                   animdll
       
   751         CREATE_OBJECT       RAnim                      anim
       
   752         CREATE_OBJECT       RAnimForMClass             animformc
       
   753         COMMAND             ws                         new
       
   754         COMMAND             ws                         Connect
       
   755         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0013-0001-new_command003
       
   756         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0013-0001-Construct_command004
       
   757         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0013-0001-new_command005
       
   758         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0013-0001-Construct_command006
       
   759         COMMAND             win                        Activate
       
   760         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0013-0001-new_command008
       
   761         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0013-0001-Load_command009
       
   762         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0013-0001-new_command010
       
   763         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0013-0001-new_command011
       
   764         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0013-0001-Construct_command012
       
   765         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0013-0001-CommandReply_command013
       
   766         COMMAND             animformc                  Close
       
   767         COMMAND             anim                       Close
       
   768         COMMAND             animdll                    Destroy
       
   769         COMMAND             win                        Close
       
   770         COMMAND             wingrp                     Close
       
   771         COMMAND             ws                         Close
       
   772     END_TEST_BLOCK
       
   773    
       
   774 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0013
       
   775 
       
   776 
       
   777 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0014
       
   778 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0014
       
   779 //! @SYMAPI                 TWindowGroupInfo::IsFocusable()
       
   780 //! @SYMAuthor              Jeffery Zhao
       
   781 //! @SYMCreationDate        10-04-2008
       
   782 //! @SYMTestCaseDesc        Create animation client object and send command to plugin to check the window group's focusability.
       
   783 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   784 //!                         2.Create and construct RWindowGroup and RWindow.
       
   785 //!                         3.Activate the RWindow.
       
   786 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   787 //!                         5.Create a RAnim object by using RAnimDll object.
       
   788 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   789 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   790 //!                         8.Send ECmdGfweIsFocusable to the animaion plugin by CommandReply to check the window group's focusability.
       
   791 //!                         8.1 Wrapper check CommandReply return true or not.
       
   792 //!                         9.Close RAnimForMClass.
       
   793 //!                         10.Close RAnim.
       
   794 //!                         11.Destroy RAnimDll.
       
   795 //!                         12.Close RWsSession, RWindowGroup and RWindow.
       
   796 //! @SYMTestStatus          Implemented
       
   797 //! @SYMTestPriority        High
       
   798 //! @SYMTestExpectedResults IsFocusable returns true.
       
   799 //! @SYMTestType            CIT
       
   800 
       
   801     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   802         CREATE_OBJECT       RWsSession                 ws
       
   803         CREATE_OBJECT       RWindowGroup               wingrp
       
   804         CREATE_OBJECT       RWindow                    win
       
   805         CREATE_OBJECT       RAnimDll                   animdll
       
   806         CREATE_OBJECT       RAnim                      anim
       
   807         CREATE_OBJECT       RAnimForMClass             animformc
       
   808         COMMAND             ws                         new
       
   809         COMMAND             ws                         Connect
       
   810         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0014-0001-new_command003
       
   811         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0014-0001-Construct_command004
       
   812         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0014-0001-new_command005
       
   813         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0014-0001-Construct_command006
       
   814         COMMAND             win                        Activate
       
   815         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0014-0001-new_command008
       
   816         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0014-0001-Load_command009
       
   817         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0014-0001-new_command010
       
   818         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0014-0001-new_command011
       
   819         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0014-0001-Construct_command012
       
   820         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0014-0001-CommandReply_command013
       
   821         COMMAND             animformc                  Close
       
   822         COMMAND             anim                       Close
       
   823         COMMAND             animdll                    Destroy
       
   824         COMMAND             win                        Close
       
   825         COMMAND             wingrp                     Close
       
   826         COMMAND             ws                         Close
       
   827     END_TEST_BLOCK
       
   828    
       
   829 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0014
       
   830 
       
   831 
       
   832 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0015
       
   833 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0015
       
   834 //! @SYMAPI                 TWindowGroupInfo::IsFocusable()
       
   835 //! @SYMAuthor              Jeffery Zhao
       
   836 //! @SYMCreationDate        10-04-2008
       
   837 //! @SYMTestCaseDesc        Create animation client object and create new window cover animation window, send command to plugin to check the window group's focusability.
       
   838 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   839 //!                         2.Create and construct RWindowGroup and RWindow.
       
   840 //!                         3.Set the window size to (100,100).
       
   841 //!                         4.Set the window position to (50,50).
       
   842 //!                         5.Activate the RWindow.
       
   843 //!                         6.Create a RAnimDll object and load the animation plugin DLL.
       
   844 //!                         7.Create a RAnim object by using RAnimDll object.
       
   845 //!                         8.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   846 //!                         9.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   847 //!                         10.Create a new fullscreen window which cover the animation window.
       
   848 //!                         11.Send ECmdGfweIsFocusable to the animaion plugin by CommandReply to check the window group's focusability.
       
   849 //!                         11.1 Wrapper check CommandReply return false or not.
       
   850 //!                         12.Close RAnimForMClass.
       
   851 //!                         13.Close RAnim.
       
   852 //!                         14.Destroy RAnimDll.
       
   853 //!                         15.Close RWsSession, RWindowGroup and RWindow.
       
   854 //! @SYMTestStatus          Implemented
       
   855 //! @SYMTestPriority        High
       
   856 //! @SYMTestExpectedResults IsFocusable returns false.
       
   857 //! @SYMTestType            CIT
       
   858 
       
   859     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   860         CREATE_OBJECT       RWsSession                 ws
       
   861         CREATE_OBJECT       RWindowGroup               wingrp
       
   862         CREATE_OBJECT       RWindow                    win
       
   863         CREATE_OBJECT       RWindow                    win1
       
   864         CREATE_OBJECT       RAnimDll                   animdll
       
   865         CREATE_OBJECT       RAnim                      anim
       
   866         CREATE_OBJECT       RAnimForMClass             animformc
       
   867         COMMAND             ws                         new
       
   868         COMMAND             ws                         Connect
       
   869         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-new_command003
       
   870         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-Construct_command004
       
   871         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-new_command005
       
   872         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-Construct_command006
       
   873         COMMAND             win                        SetExtent            GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-SetExtent_command007
       
   874         COMMAND             win                        Activate
       
   875         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-new_command009
       
   876         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-Load_command010
       
   877         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-new_command011
       
   878         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-new_command012
       
   879         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-Construct_command013
       
   880         COMMAND             win1                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-new_command014
       
   881         COMMAND             win1                       Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-Construct_command015
       
   882         COMMAND             win1                       Activate
       
   883         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0015-0001-CommandReply_command017
       
   884         COMMAND             animformc                  Close
       
   885         COMMAND             anim                       Close
       
   886         COMMAND             animdll                    Destroy
       
   887         COMMAND             win                        Close
       
   888         COMMAND             wingrp                     Close
       
   889         COMMAND             ws                         Close
       
   890     END_TEST_BLOCK
       
   891    
       
   892 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0015
       
   893 
       
   894 
       
   895 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0016
       
   896 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0016
       
   897 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::WindowConfig()
       
   898 //! @SYMAuthor              Forbes Fu
       
   899 //! @SYMCreationDate        20-05-2008
       
   900 //! @SYMTestCaseDesc        Create animation client object with a nontransparent animation window and send command to plugin to get transparency state of the window.
       
   901 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   902 //!                         2.Create and construct RWindowGroup and RWindow.
       
   903 //!                         3.Activate the RWindow.
       
   904 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   905 //!                         5.Create a RAnim object by using RAnimDll object.
       
   906 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   907 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   908 //!                         8.Send ECmdGfweFocusScreens to the animaion plugin by CommandReply to get transparency state of the window.
       
   909 //!                         8.1 Plugin get window config and return transparency state.
       
   910 //!                         8.2 Wrapper check transparency state is false or not .
       
   911 //!                         9.Close RAnimForMClass.
       
   912 //!                         11.Close RAnim.
       
   913 //!                         12.Destroy RAnimDll.
       
   914 //!                         13.Close RWsSession, RWindowGroup and RWindow.
       
   915 //! @SYMTestStatus          Implemented
       
   916 //! @SYMTestPriority        High
       
   917 //! @SYMTestExpectedResults CommandReply returns false. 
       
   918 //! @SYMTestType            CIT
       
   919 
       
   920     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   921         CREATE_OBJECT       RWsSession                 ws
       
   922         CREATE_OBJECT       RWindowGroup               wingrp
       
   923         CREATE_OBJECT       RWindow                    win
       
   924         CREATE_OBJECT       RAnimDll                   animdll
       
   925         CREATE_OBJECT       RAnim                      anim
       
   926         CREATE_OBJECT       RAnimForMClass             animformc
       
   927         COMMAND             ws                         new
       
   928         COMMAND             ws                         Connect
       
   929         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0016-0001-new_command003
       
   930         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0016-0001-Construct_command004
       
   931         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0016-0001-new_command005
       
   932         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0016-0001-Construct_command006        
       
   933         COMMAND             win                        Activate
       
   934         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0016-0001-new_command008
       
   935         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0016-0001-Load_command009
       
   936         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0016-0001-new_command010
       
   937         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0016-0001-new_command011
       
   938         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0016-0001-Construct_command012
       
   939         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0016-0001-CommandReply_command013
       
   940         COMMAND             animformc                  Close
       
   941         COMMAND             anim                       Close
       
   942         COMMAND             animdll                    Destroy
       
   943         COMMAND             win                        Close
       
   944         COMMAND             wingrp                     Close
       
   945         COMMAND             ws                         Close
       
   946     END_TEST_BLOCK
       
   947 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0016
       
   948 
       
   949 
       
   950 START_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0017
       
   951 //! @SYMTestCaseID          GRAPHICS-WSERV-AnimGfwe-PublicApi-0017
       
   952 //! @SYMAPI                 MAnimGeneralFunctionsWindowExtension::WindowConfig()
       
   953 //! @SYMAuthor              Forbes Fu
       
   954 //! @SYMCreationDate        20-05-2008
       
   955 //! @SYMTestCaseDesc        Create animation client object with a transparent animation window and send command to plugin to get transparency state of the window.
       
   956 //! @SYMTestActions         1.Create and connect a RWsSession.
       
   957 //!                         2.Create and construct RWindowGroup and RWindow.
       
   958 //!                         3.Activate the RWindow.
       
   959 //!                         4.Create a RAnimDll object and load the animation plugin DLL.
       
   960 //!                         5.Create a RAnim object by using RAnimDll object.
       
   961 //!                         6.Create a RAnimForMClass object and get wrapped object from RAnim.
       
   962 //!                         7.Completes construction of the object based on a window device, and creates the server-side animation system.
       
   963 //!                         8.Send ECmdGfweFocusScreens to the animaion plugin by CommandReply to get transparency state of the window.
       
   964 //!                         8.1 Plugin get window config and return transparency state.
       
   965 //!                         8.2 Wrapper check transparency state is true or not .
       
   966 //!                         9.Close RAnimForMClass.
       
   967 //!                         11.Close RAnim.
       
   968 //!                         12.Destroy RAnimDll.
       
   969 //!                         13.Close RWsSession, RWindowGroup and RWindow.
       
   970 //! @SYMTestStatus          Implemented
       
   971 //! @SYMTestPriority        High
       
   972 //! @SYMTestExpectedResults CommandReply returns true. 
       
   973 //! @SYMTestType            CIT
       
   974 
       
   975     START_TEST_BLOCK   10   T_GraphicsWservAPI         \graphics\GRAPHICS-WSERV-AnimGfwe-PublicApi.ini
       
   976         CREATE_OBJECT       RWsSession                 ws
       
   977         CREATE_OBJECT       RWindowGroup               wingrp
       
   978         CREATE_OBJECT       RWindow                    win
       
   979         CREATE_OBJECT       RAnimDll                   animdll
       
   980         CREATE_OBJECT       RAnim                      anim
       
   981         CREATE_OBJECT       RAnimForMClass             animformc
       
   982         COMMAND             ws                         new
       
   983         COMMAND             ws                         Connect
       
   984         COMMAND             wingrp                     new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0017-0001-new_command003
       
   985         COMMAND             wingrp                     Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0017-0001-Construct_command004
       
   986         COMMAND             win                        new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0017-0001-new_command005
       
   987         COMMAND             win                        Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0017-0001-Construct_command006
       
   988         COMMAND             win                        SetTransparencyAlphaChannel
       
   989 	  COMMAND             win                        Activate
       
   990         COMMAND             animdll                    new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0017-0001-new_command009
       
   991         COMMAND             animdll                    Load                 GRAPHICS-WSERV-AnimGfwe-PublicApi-0017-0001-Load_command010
       
   992         COMMAND             anim                       new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0017-0001-new_command011
       
   993         COMMAND             animformc                  new                  GRAPHICS-WSERV-AnimGfwe-PublicApi-0017-0001-new_command012
       
   994         COMMAND             animformc                  Construct            GRAPHICS-WSERV-AnimGfwe-PublicApi-0017-0001-Construct_command013
       
   995         COMMAND             animformc                  CommandReply         GRAPHICS-WSERV-AnimGfwe-PublicApi-0017-0001-CommandReply_command014
       
   996         COMMAND             animformc                  Close
       
   997         COMMAND             anim                       Close
       
   998         COMMAND             animdll                    Destroy
       
   999         COMMAND             win                        Close
       
  1000         COMMAND             wingrp                     Close
       
  1001         COMMAND             ws                         Close
       
  1002     END_TEST_BLOCK
       
  1003 END_TESTCASE GRAPHICS-WSERV-AnimGfwe-PublicApi-0017
       
  1004