graphicsapitest/graphicssvs/bitgdi/scripts/GRAPHICS-BITGDI-FbsBitGc-PublicApi.script
changeset 103 2717213c588a
parent 98 bf7481649c98
child 116 171fae344dd4
child 121 d72fc2aace31
child 187 9f66f99ee56f
equal deleted inserted replaced
98:bf7481649c98 103:2717213c588a
     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-BITGDI-FbsBitGc-PublicApi
       
    18 //! @SYMScriptTestEnvironment This test script requires a basic ROM.
       
    19 
       
    20 ///////////////////////////////////////////////////////////////////////////////
       
    21 // GRAPHICS-BITGDI-FbsBitGc-PublicApi.script
       
    22 //
       
    23 // Tests all public elements of the CFbsBitGc 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 CFbsBitGc.
       
    27 // Negative testing is performed to confirm that correct errors are returned
       
    28 // when incorrect parameters are given.
       
    29 //
       
    30 // The tests are fully automated.
       
    31 ///////////////////////////////////////////////////////////////////////////////
       
    32 
       
    33 
       
    34 LOAD_SUITE      T_GraphicsBitgdiApi
       
    35 DELAY           1000
       
    36 
       
    37 // ****************************************************************************
       
    38 // CFbsBitGc class
       
    39 // ****************************************************************************
       
    40 
       
    41 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0001
       
    42 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0001
       
    43 //! @SYMAPI                 CFbsBitGc::NewL()
       
    44 //! @SYMAuthor              Felix Rao
       
    45 //! @SYMCreationDate        28/11/2008
       
    46 //! @SYMTestCaseDesc        Create a CFbsBitGc object by NewL().
       
    47 //! @SYMTestActions         Create a CFbsBitGc object.
       
    48 //! @SYMTestStatus          Implemented
       
    49 //! @SYMTestPriority        High
       
    50 //! @SYMTestExpectedResults CFbsBitGc object can be created without error.
       
    51 //! @SYMTestType            CIT
       
    52 
       
    53     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
    54         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
    55         COMMAND             fbsBitGc             NewL
       
    56      END_TEST_BLOCK
       
    57 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0001
       
    58 
       
    59 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0002
       
    60 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0002
       
    61 //! @SYMAPI                 CFbsBitGc::~CFbsBitGc()
       
    62 //! @SYMAuthor              Felix Rao
       
    63 //! @SYMCreationDate        28/11/2008
       
    64 //! @SYMTestCaseDesc        Create and destruct a CFbsBitGc
       
    65 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
    66 //!                         2. Destruct CFbsBitGc.
       
    67 //! @SYMTestStatus          Implemented
       
    68 //! @SYMTestPriority        High
       
    69 //! @SYMTestExpectedResults CFbsBitGc object can be destructed without error.
       
    70 //! @SYMTestType            CIT
       
    71 
       
    72     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
    73         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
    74         COMMAND             fbsBitGc             NewL
       
    75         COMMAND             fbsBitGc             ~
       
    76      END_TEST_BLOCK
       
    77 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0002
       
    78 
       
    79 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0003
       
    80 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0003
       
    81 //! @SYMAPI                 CFbsBitGc::Activate(CFbsDevice{ptr})
       
    82 //! @SYMAuthor              Felix Rao
       
    83 //! @SYMCreationDate        28/11/2008
       
    84 //! @SYMTestCaseDesc        Activate a CFbsBitGc to draw to a graphic device.
       
    85 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
    86 //!                         2. Create a CFbsBitGc object
       
    87 //!                         3. Create a CFbsScreenDevice object.
       
    88 //!                         4. Activate the CFbsBitGc object to draw to CFbsScreenDevice.
       
    89 //!                         5. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
    90 //! @SYMTestStatus          Implemented
       
    91 //! @SYMTestPriority        High
       
    92 //! @SYMTestExpectedResults CFbsBitGc object can be activated to draw to CFbsScreenDevice without error.
       
    93 //! @SYMTestType            CIT
       
    94 
       
    95     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
    96         CREATE_OBJECT       RFbsSession          fbsSession
       
    97         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
    98         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
    99         COMMAND             fbsSession           Connect
       
   100         COMMAND             fbsBitGc             NewL
       
   101         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0003-NewL_command03
       
   102         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0003-Activate_command04
       
   103         COMMAND             fbsSession           Disconnect
       
   104         COMMAND             fbsBitGc             ~
       
   105         COMMAND             fbsScrDev            ~
       
   106      END_TEST_BLOCK
       
   107 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0003
       
   108 
       
   109 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0004
       
   110 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0004
       
   111 //! @SYMAPI                 CFbsBitGc::Activate(CFbsDevice{ptr})
       
   112 //! @SYMAuthor              Felix Rao
       
   113 //! @SYMCreationDate        03/12/2008
       
   114 //! @SYMTestCaseDesc        Negative case. Activate a CFbsBitGc, which is already activated, to draw to graphic device.
       
   115 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   116 //!                         2. Create a CFbsBitGc object
       
   117 //!                         3. Create a CFbsScreenDevice object.
       
   118 //!                         4. Activated the CFbsBitGc object to draw to the CFbsScreenDevice object twice.
       
   119 //!                         5. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
   120 //! @SYMTestStatus          Implemented
       
   121 //! @SYMTestPriority        High
       
   122 //! @SYMTestExpectedResults CFbsBitGc object can be associated with CFbsScreenDevice.
       
   123 //! @SYMTestType            CIT
       
   124 
       
   125     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   126         CREATE_OBJECT       RFbsSession          fbsSession
       
   127         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   128         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   129         COMMAND             fbsSession           Connect
       
   130         COMMAND             fbsBitGc             NewL
       
   131         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0004-NewL_command03
       
   132         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0004-Activate_command04
       
   133         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0004-Activate_command05
       
   134         COMMAND             fbsSession           Disconnect
       
   135         COMMAND             fbsBitGc             ~
       
   136         COMMAND             fbsScrDev            ~
       
   137      END_TEST_BLOCK
       
   138 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0004
       
   139 
       
   140 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0005
       
   141 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0005
       
   142 //! @SYMAPI                 CFbsBitGc::Activate(CFbsDevice{ptr})
       
   143 //! @SYMAuthor              Felix Rao
       
   144 //! @SYMCreationDate        03/12/2008
       
   145 //! @SYMTestCaseDesc        Negative case. Activate a CFbsBitGc to draw to invalid graphic device.
       
   146 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
   147 //!                         2. Activated the CFbsBitGc object to draw to invalid CFbsScreenDevice object.
       
   148 //!                         3. Destruct CFbsBitGc object and CFbsScreenDevice object.
       
   149 //! @SYMTestStatus          Implemented
       
   150 //! @SYMTestPriority        High
       
   151 //! @SYMTestExpectedResults CFbsBitGc object can be activated without panic.
       
   152 //! @SYMTestType            CIT
       
   153 
       
   154     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   155         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   156         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   157         COMMAND             fbsBitGc             NewL
       
   158         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0005-Activate_command02
       
   159         COMMAND             fbsBitGc             ~
       
   160         COMMAND             fbsScrDev            ~
       
   161      END_TEST_BLOCK
       
   162 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0005
       
   163 
       
   164 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0006
       
   165 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0006
       
   166 //! @SYMAPI                 CFbsBitGc::ActivateNoJustAutoUpdate(CFbsDevice{ptr})
       
   167 //! @SYMAuthor              Felix Rao
       
   168 //! @SYMCreationDate        28/11/2008
       
   169 //! @SYMTestCaseDesc        Activate a CFbsBitGc to draw to a graphic device.
       
   170 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   171 //!                         2. Create a CFbsBitGc object
       
   172 //!                         3. Create a CFbsScreenDevice object.
       
   173 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   174 //!                         5. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
   175 //! @SYMTestStatus          Implemented
       
   176 //! @SYMTestPriority        High
       
   177 //! @SYMTestExpectedResults CFbsBitGc object can be activated to draw to CFbsScreenDevice without error.
       
   178 //! @SYMTestType            CIT
       
   179 
       
   180     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   181         CREATE_OBJECT       RFbsSession          fbsSession
       
   182         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   183         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   184         COMMAND             fbsSession           Connect
       
   185         COMMAND             fbsBitGc             NewL
       
   186         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0006-NewL_command03
       
   187         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0006-ActivateNoJustAutoUpdate_command04
       
   188         COMMAND             fbsSession           Disconnect
       
   189         COMMAND             fbsBitGc             ~
       
   190         COMMAND             fbsScrDev            ~
       
   191      END_TEST_BLOCK
       
   192 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0006
       
   193 
       
   194 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0007
       
   195 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0007
       
   196 //! @SYMAPI                 CFbsBitGc::ActivateNoJustAutoUpdate(CFbsDevice{ptr})
       
   197 //! @SYMAuthor              Felix Rao
       
   198 //! @SYMCreationDate        28/11/2008
       
   199 //! @SYMTestCaseDesc        Negative case. Activate a CFbsBitGc to draw to a graphic device twice.
       
   200 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   201 //!                         2. Create a CFbsBitGc object
       
   202 //!                         3. Create a CFbsScreenDevice object.
       
   203 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object twice.
       
   204 //!                         5. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
   205 //! @SYMTestStatus          Implemented
       
   206 //! @SYMTestPriority        High
       
   207 //! @SYMTestExpectedResults CFbsBitGc object can be activated to draw to CFbsScreenDevice.
       
   208 //! @SYMTestType            CIT
       
   209 
       
   210     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   211         CREATE_OBJECT       RFbsSession          fbsSession
       
   212         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   213         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   214         COMMAND             fbsSession           Connect
       
   215         COMMAND             fbsBitGc             NewL
       
   216         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0007-NewL_command03
       
   217         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0007-ActivateNoJustAutoUpdate_command04
       
   218         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0007-ActivateNoJustAutoUpdate_command05
       
   219         COMMAND             fbsSession           Disconnect
       
   220         COMMAND             fbsBitGc             ~
       
   221         COMMAND             fbsScrDev            ~
       
   222      END_TEST_BLOCK
       
   223 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0007
       
   224 
       
   225 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0008
       
   226 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0008
       
   227 //! @SYMAPI                 CFbsBitGc::ActivateNoJustAutoUpdate(CFbsDevice{ptr})
       
   228 //! @SYMAuthor              Felix Rao
       
   229 //! @SYMCreationDate        28/11/2008
       
   230 //! @SYMTestCaseDesc        Negative case. Activate a CFbsBitGc to draw to an invalid graphic device.
       
   231 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
   232 //!                         2. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   233 //!                         3. Destruct the CFbsBitGc object and CFbsScreenDevice object.
       
   234 //! @SYMTestStatus          Implemented
       
   235 //! @SYMTestPriority        High
       
   236 //! @SYMTestExpectedResults CFbsBitGc object can be activated without panic.
       
   237 //! @SYMTestType            CIT
       
   238 
       
   239     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   240         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   241         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   242         COMMAND             fbsBitGc             NewL
       
   243         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0008-ActivateNoJustAutoUpdate_command02
       
   244         COMMAND             fbsBitGc             ~
       
   245         COMMAND             fbsScrDev            ~
       
   246      END_TEST_BLOCK
       
   247 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0008
       
   248 
       
   249 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011
       
   250 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011
       
   251 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitGc{ref})
       
   252 //! @SYMAuthor              Felix Rao
       
   253 //! @SYMCreationDate        23/12/2008
       
   254 //! @SYMTestCaseDesc        Draw from another CFbsBitGc object.
       
   255 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   256 //!                         2. Create 2 CFbsBitGc objects.
       
   257 //!                         3. Create a CFbsScreenDevice object.
       
   258 //!                         4. Activate the 2 CFbsBitGc objects to draw to the CFbsScreenDevice object.
       
   259 //!                         5. Draw a rectangle (0, 0, 40, 40) in color TRgb(255, 0, 0) with solid brush TRgb(255, 0, 0) with first CFbsBitGc object.
       
   260 //!                         6. Set clipping region of second CFbsBitGc object to TRect(50, 50, 90, 90) area.
       
   261 //!                         7. Draw on second CFbsBitGc object from first CFbsBitGc object.
       
   262 //!                         8. Check the rectangle drawn by second CFbsBitGc object.
       
   263 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc objects and CFbsScreenDevice object.
       
   264 //! @SYMTestStatus          Implemented
       
   265 //! @SYMTestPriority        High
       
   266 //! @SYMTestExpectedResults 1. Draw from first CFbsBitGc object without error.
       
   267 //!                         2. The drawing result is as expected.
       
   268 //!                         3. The rectangle is drawn in pen in color TRgb(0, 0, 0) with brush TRgb(255, 0, 0).
       
   269 //!                         4. Check the drawn rectangle.
       
   270 //!                            Check pixel1~pixel4 outside the drawn rectangle area.
       
   271 //! @SYMTestType            CIT
       
   272 
       
   273     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   274         CREATE_OBJECT       RFbsSession          fbsSession
       
   275         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   276         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
   277         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   278         COMMAND             fbsSession           Connect
       
   279         COMMAND             fbsBitGc             NewL
       
   280         COMMAND             fbsBitGc2            NewL
       
   281         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-NewL_command04
       
   282         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-Activate_command05
       
   283         COMMAND             fbsBitGc             Clear
       
   284         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-Activate_command07
       
   285         COMMAND             fbsBitGc2            Clear
       
   286         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-SetBrushColor_command09
       
   287         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-SetBrushStyle_command10
       
   288         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-SetPenColor_command11
       
   289         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-DrawRect_command12
       
   290         COMMAND             fbsBitGc2            SetClippingRegion                      GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-SetClippingRegion_command13
       
   291         COMMAND             fbsBitGc2            BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-BitBlt_command14
       
   292         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-checkRectColor_command15
       
   293         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011-checkPixels_command16
       
   294         COMMAND             fbsScrDev            Update
       
   295         COMMAND             fbsSession           Disconnect
       
   296         COMMAND             fbsBitGc             ~
       
   297         COMMAND             fbsBitGc2            ~
       
   298         COMMAND             fbsScrDev            ~
       
   299      END_TEST_BLOCK
       
   300 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0011
       
   301 
       
   302 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0012
       
   303 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0012
       
   304 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitGc{ref})
       
   305 //! @SYMAuthor              Felix Rao
       
   306 //! @SYMCreationDate        23/12/2008
       
   307 //! @SYMTestCaseDesc        Negative case. Draw from another CFbsBitGc object using a non-activated CFbsBitGc object.
       
   308 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   309 //!                         2. Create 2 CFbsBitGc objects.
       
   310 //!                         3. Create a CFbsScreenDevice object.
       
   311 //!                         4. Activate the first CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   312 //!                         5. Draw a rectangle (0, 0, 40, 40) in color TRgb(255, 0, 0) with solid brush TRgb(255, 0, 0) with first CFbsBitGc object.
       
   313 //!                         6. Set clipping region of second CFbsBitGc object to TRect(50, 50, 90, 90) area.
       
   314 //!                         7. Draw on second CFbsBitGc object from first CFbsBitGc object.
       
   315 //! @SYMTestStatus          Implemented
       
   316 //! @SYMTestPriority        High
       
   317 //! @SYMTestExpectedResults Cannot draw from another CFbsBitGc object. Get Panic code 1 and PanicString BITGDI.
       
   318 //! @SYMTestType            CIT
       
   319 
       
   320     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   321         CREATE_OBJECT       RFbsSession          fbsSession
       
   322         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   323         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
   324         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   325         COMMAND             fbsSession           Connect
       
   326         COMMAND             fbsBitGc             NewL
       
   327         COMMAND             fbsBitGc2            NewL
       
   328         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0012-NewL_command04
       
   329         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0012-Activate_command05
       
   330         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0012-SetBrushColor_command06
       
   331         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0012-SetBrushStyle_command07
       
   332         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0012-SetPenColor_command08
       
   333         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0012-DrawRect_command09
       
   334         COMMAND             fbsBitGc2            BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0012-BitBlt_command10
       
   335      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
   336      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
   337 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0012
       
   338 
       
   339 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013
       
   340 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013
       
   341 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitGc{ref}, const TRect{ref})
       
   342 //! @SYMAuthor              Felix Rao
       
   343 //! @SYMCreationDate        24/12/2008
       
   344 //! @SYMTestCaseDesc        Draw a rectangle from another CFbsBitGc object.
       
   345 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   346 //!                         2. Create 2 CFbsBitGc objects.
       
   347 //!                         3. Create a CFbsScreenDevice object.
       
   348 //!                         4. Activate the 2 CFbsBitGc objects to draw to the CFbsScreenDevice object.
       
   349 //!                         5. Draw a rectangle (0, 0, 40, 40) in color TRgb(255, 0, 0) with solid brush TRgb(255, 0, 0) with first CFbsBitGc object.
       
   350 //!                         6. Draw a rectangle (0, 0, 80, 80) area on second CFbsBitGc object from first CFbsBitGc object.
       
   351 //!                         7. Check the rectangle drawn by second CFbsBitGc object.
       
   352 //!                         8. Check some pixels outside the rectangle.
       
   353 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc objects and CFbsScreenDevice object.
       
   354 //! @SYMTestStatus          Implemented
       
   355 //! @SYMTestPriority        High
       
   356 //! @SYMTestExpectedResults 1. Draw from first CFbsBitGc object without error.
       
   357 //!                         2. The drawing result is as expected.
       
   358 //!                         3. The rectangle is drawn in pen in color TRgb(0, 0, 0) with brush TRgb(255, 0, 0).
       
   359 //!                         4. Check the drawn rectangle.
       
   360 //!                            Check pixel1~pixel4 outside the drawn rectangle area.
       
   361 //! @SYMTestType            CIT
       
   362 
       
   363     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   364         CREATE_OBJECT       RFbsSession          fbsSession
       
   365         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   366         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
   367         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   368         COMMAND             fbsSession           Connect
       
   369         COMMAND             fbsBitGc             NewL
       
   370         COMMAND             fbsBitGc2            NewL
       
   371         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013-NewL_command04
       
   372         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013-Activate_command05
       
   373         COMMAND             fbsBitGc             Clear
       
   374         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013-Activate_command07
       
   375         COMMAND             fbsBitGc2            Clear
       
   376         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013-SetBrushColor_command09
       
   377         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013-SetBrushStyle_command10
       
   378         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013-SetPenColor_command11
       
   379         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013-DrawRect_command12
       
   380         COMMAND             fbsBitGc2            BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013-BitBlt_command13
       
   381         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013-checkRectColor_command14
       
   382         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013-checkPixels_command15
       
   383         COMMAND             fbsScrDev            Update
       
   384         COMMAND             fbsSession           Disconnect
       
   385         COMMAND             fbsBitGc             ~
       
   386         COMMAND             fbsBitGc2            ~
       
   387         COMMAND             fbsScrDev            ~
       
   388      END_TEST_BLOCK
       
   389 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0013
       
   390 
       
   391 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014
       
   392 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014
       
   393 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitGc{ref}, const TRect{ref})
       
   394 //! @SYMAuthor              Felix Rao
       
   395 //! @SYMCreationDate        24/12/2008
       
   396 //! @SYMTestCaseDesc        Negative case. Draw an empty rectangle from another CFbsBitGc object.
       
   397 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   398 //!                         2. Create 2 CFbsBitGc objects.
       
   399 //!                         3. Create a CFbsScreenDevice object.
       
   400 //!                         4. Activate the 2 CFbsBitGc objects to draw to the CFbsScreenDevice object.
       
   401 //!                         5. Draw a rectangle (0, 0, 40, 40) in color TRgb(255, 0, 0) with solid brush TRgb(255, 0, 0) with first CFbsBitGc object.
       
   402 //!                         6. Draw a rectangle (0, 0, 0, 0) area on second CFbsBitGc object from first CFbsBitGc object.
       
   403 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc objects and CFbsScreenDevice object.
       
   404 //! @SYMTestStatus          Implemented
       
   405 //! @SYMTestPriority        High
       
   406 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
   407 //! @SYMTestType            CIT
       
   408 
       
   409     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   410         CREATE_OBJECT       RFbsSession          fbsSession
       
   411         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   412         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
   413         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   414         COMMAND             fbsSession           Connect
       
   415         COMMAND             fbsBitGc             NewL
       
   416         COMMAND             fbsBitGc2            NewL
       
   417         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014-NewL_command04
       
   418         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014-Activate_command05
       
   419         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014-Activate_command06
       
   420         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014-SetBrushColor_command07
       
   421         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014-SetBrushStyle_command08
       
   422         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014-SetPenColor_command09
       
   423         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014-DrawRect_command10
       
   424         COMMAND             fbsBitGc2            BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014-BitBlt_command11
       
   425         COMMAND             fbsScrDev            Update
       
   426         COMMAND             fbsSession           Disconnect
       
   427         COMMAND             fbsBitGc             ~
       
   428         COMMAND             fbsBitGc2            ~
       
   429         COMMAND             fbsScrDev            ~
       
   430      END_TEST_BLOCK
       
   431 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0014
       
   432 
       
   433 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0015
       
   434 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0015
       
   435 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitGc{ref}, const TRect{ref})
       
   436 //! @SYMAuthor              Felix Rao
       
   437 //! @SYMCreationDate        24/12/2008
       
   438 //! @SYMTestCaseDesc        Negative case. Draw a rectangle from another CFbsBitGc object which is not activated.
       
   439 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   440 //!                         2. Create 2 CFbsBitGc objects.
       
   441 //!                         3. Create a CFbsScreenDevice object.
       
   442 //!                         4. Activate the second CFbsBitGc objects to draw to the CFbsScreenDevice object.
       
   443 //!                         5. Draw a rectangle (0, 0, 100, 100) area on second CFbsBitGc object from first CFbsBitGc object.
       
   444 //! @SYMTestStatus          Implemented
       
   445 //! @SYMTestPriority        High
       
   446 //! @SYMTestExpectedResults The rectangle will not be drawn. Get Panic code 1 and PanicString BITGDI.
       
   447 //! @SYMTestType            CIT
       
   448 
       
   449     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   450         CREATE_OBJECT       RFbsSession          fbsSession
       
   451         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   452         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
   453         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   454         COMMAND             fbsSession           Connect
       
   455         COMMAND             fbsBitGc             NewL
       
   456         COMMAND             fbsBitGc2            NewL
       
   457         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0015-NewL_command04
       
   458         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0015-Activate_command05
       
   459         COMMAND             fbsBitGc2            BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0015-BitBlt_command06
       
   460      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
   461      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
   462 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0015
       
   463 
       
   464 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016
       
   465 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016
       
   466 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitGc{ref}, const TRect{ref})
       
   467 //! @SYMAuthor              Felix Rao
       
   468 //! @SYMCreationDate        24/12/2008
       
   469 //! @SYMTestCaseDesc        Negative case. Draw a rectangle area (8000, 8000, 8010, 8010) from another CFbsBitGc object.
       
   470 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   471 //!                         2. Create 2 CFbsBitGc objects.
       
   472 //!                         3. Create a CFbsScreenDevice object.
       
   473 //!                         4. Activate the 2 CFbsBitGc objects to draw to the CFbsScreenDevice object.
       
   474 //!                         5. Draw a rectangle (0, 0, 40, 40) in color TRgb(255, 0, 0) with solid brush TRgb(255, 0, 0) with first CFbsBitGc object.
       
   475 //!                         6. Draw a rectangle (8000, 8000, 8010, 8010) area on second CFbsBitGc object from first CFbsBitGc object.
       
   476 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc objects and CFbsScreenDevice object.
       
   477 //! @SYMTestStatus          Implemented
       
   478 //! @SYMTestPriority        High
       
   479 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
   480 //! @SYMTestType            CIT
       
   481 
       
   482     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   483         CREATE_OBJECT       RFbsSession          fbsSession
       
   484         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   485         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
   486         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   487         COMMAND             fbsSession           Connect
       
   488         COMMAND             fbsBitGc             NewL
       
   489         COMMAND             fbsBitGc2            NewL
       
   490         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016-NewL_command04
       
   491         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016-Activate_command05
       
   492         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016-Activate_command06
       
   493         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016-SetBrushColor_command07
       
   494         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016-SetBrushStyle_command08
       
   495         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016-SetPenColor_command09
       
   496         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016-DrawRect_command10
       
   497         COMMAND             fbsBitGc2            BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016-BitBlt_command11
       
   498         COMMAND             fbsScrDev            Update
       
   499         COMMAND             fbsSession           Disconnect
       
   500         COMMAND             fbsBitGc             ~
       
   501         COMMAND             fbsBitGc2            ~
       
   502         COMMAND             fbsScrDev            ~
       
   503      END_TEST_BLOCK
       
   504 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0016
       
   505 
       
   506 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017
       
   507 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017
       
   508 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitGc{ref}, const TRect{ref})
       
   509 //! @SYMAuthor              Felix Rao
       
   510 //! @SYMCreationDate        24/12/2008
       
   511 //! @SYMTestCaseDesc        Negative case. Draw a rectangle at point (8000, 8000) from another CFbsBitGc object.
       
   512 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   513 //!                         2. Create 2 CFbsBitGc objects.
       
   514 //!                         3. Create a CFbsScreenDevice object.
       
   515 //!                         4. Activate the 2 CFbsBitGc objects to draw to the CFbsScreenDevice object.
       
   516 //!                         5. Draw a rectangle (0, 0, 40, 40) in color TRgb(255, 0, 0) with solid brush TRgb(255, 0, 0) with first CFbsBitGc object.
       
   517 //!                         6. Draw a rectangle (0, 0, 40, 40) area on second CFbsBitGc object from first CFbsBitGc object at point (8000, 8000).
       
   518 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc objects and CFbsScreenDevice object.
       
   519 //! @SYMTestStatus          Implemented
       
   520 //! @SYMTestPriority        High
       
   521 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
   522 //! @SYMTestType            CIT
       
   523 
       
   524     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   525         CREATE_OBJECT       RFbsSession          fbsSession
       
   526         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   527         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
   528         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   529         COMMAND             fbsSession           Connect
       
   530         COMMAND             fbsBitGc             NewL
       
   531         COMMAND             fbsBitGc2            NewL
       
   532         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017-NewL_command04
       
   533         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017-Activate_command05
       
   534         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017-Activate_command06
       
   535         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017-SetBrushColor_command07
       
   536         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017-SetBrushStyle_command08
       
   537         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017-SetPenColor_command09
       
   538         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017-DrawRect_command10
       
   539         COMMAND             fbsBitGc2            BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017-BitBlt_command11
       
   540         COMMAND             fbsScrDev            Update
       
   541         COMMAND             fbsSession           Disconnect
       
   542         COMMAND             fbsBitGc             ~
       
   543         COMMAND             fbsBitGc2            ~
       
   544         COMMAND             fbsScrDev            ~
       
   545      END_TEST_BLOCK
       
   546 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0017
       
   547 
       
   548 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018
       
   549 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018
       
   550 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitGc{ref}, const TRect{ref})
       
   551 //! @SYMAuthor              Felix Rao
       
   552 //! @SYMCreationDate        24/12/2008
       
   553 //! @SYMTestCaseDesc        Draw a rectangle from another CFbsBitGc object with draw mode set to EDrawModeWriteAlpha.
       
   554 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   555 //!                         2. Create 2 CFbsBitGc objects.
       
   556 //!                         3. Create a CFbsScreenDevice object.
       
   557 //!                         4. Activate the 2 CFbsBitGc objects to draw to the CFbsScreenDevice object.
       
   558 //!                         5. Set draw mode to EDrawModeWriteAlpha to the 2nd CFbsBitGc object.
       
   559 //!                         6. Draw a rectangle (0, 0, 40, 40) in color TRgb(255, 0, 0) with solid brush TRgb(255, 0, 0) with first CFbsBitGc object.
       
   560 //!                         7. Draw a rectangle (0, 0, 40, 40) area on second CFbsBitGc object from first CFbsBitGc object at point (50, 50).
       
   561 //!                         8. Check the rectangle drawn by second CFbsBitGc object.
       
   562 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc objects and CFbsScreenDevice object.
       
   563 //! @SYMTestStatus          Implemented
       
   564 //! @SYMTestPriority        High
       
   565 //! @SYMTestExpectedResults 1. Draw from first CFbsBitGc object without error.
       
   566 //!                         2. The drawing result is as expected.
       
   567 //!                         3. The rectangle is drawn in pen in color TRgb(0, 0, 0) with brush TRgb(255, 0, 0).
       
   568 //!                         4. Check the drawn rectangle.
       
   569 //!                            Check pixel1~pixel4 outside the drawn rectangle area.
       
   570 //! @SYMTestType            CIT
       
   571 
       
   572     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   573         CREATE_OBJECT       RFbsSession          fbsSession
       
   574         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   575         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
   576         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   577         COMMAND             fbsSession           Connect
       
   578         COMMAND             fbsBitGc             NewL
       
   579         COMMAND             fbsBitGc2            NewL
       
   580         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-NewL_command04
       
   581         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-Activate_command05
       
   582         COMMAND             fbsBitGc             Clear
       
   583         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-Activate_command07
       
   584         COMMAND             fbsBitGc2            Clear
       
   585         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-SetBrushColor_command09
       
   586         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-SetBrushStyle_command10
       
   587         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-SetPenColor_command11
       
   588         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-DrawRect_command12
       
   589         COMMAND             fbsBitGc2            SetClippingRegion                      GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-SetClippingRegion_command13
       
   590         COMMAND             fbsBitGc2            SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-SetDrawMode_command14
       
   591         COMMAND             fbsBitGc2            BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-BitBlt_command15
       
   592         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-checkRectColor_command16
       
   593         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018-checkPixels_command17
       
   594         COMMAND             fbsScrDev            Update
       
   595         COMMAND             fbsSession           Disconnect
       
   596         COMMAND             fbsBitGc             ~
       
   597         COMMAND             fbsBitGc2            ~
       
   598         COMMAND             fbsScrDev            ~
       
   599      END_TEST_BLOCK
       
   600 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0018
       
   601 
       
   602 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0022
       
   603 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0022
       
   604 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr})
       
   605 //! @SYMAuthor              Felix Rao
       
   606 //! @SYMCreationDate        24/12/2008
       
   607 //! @SYMTestCaseDesc        Draw a whole CFbsBitmap object.
       
   608 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   609 //!                         2. Create a CFbsBitGc object.
       
   610 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   611 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   612 //!                         5. Load a bitmap to CFbsBitmap object.
       
   613 //!                         6. Draw the bitmap.
       
   614 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
   615 //! @SYMTestStatus          Implemented
       
   616 //! @SYMTestPriority        High
       
   617 //! @SYMTestExpectedResults The bitmap will be drawn
       
   618 //! @SYMTestType            CIT
       
   619 
       
   620     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   621         CREATE_OBJECT       RFbsSession          fbsSession
       
   622         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   623         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   624         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   625         COMMAND             fbsSession           Connect
       
   626         COMMAND             fbsBitGc             NewL
       
   627         COMMAND             fbsBitmap            new
       
   628         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0022-NewL_command04
       
   629         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0022-Activate_command05
       
   630         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0022-Load_command06
       
   631         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0022-BitBlt_command07
       
   632         COMMAND             fbsScrDev            Update
       
   633         DELAY		        500000
       
   634         COMMAND             fbsBitmap            ~
       
   635         COMMAND             fbsSession           Disconnect
       
   636         COMMAND             fbsBitGc             ~
       
   637         COMMAND             fbsScrDev            ~
       
   638      END_TEST_BLOCK
       
   639 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0022
       
   640 
       
   641 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0023
       
   642 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0023
       
   643 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr})
       
   644 //! @SYMAuthor              Felix Rao
       
   645 //! @SYMCreationDate        24/12/2008
       
   646 //! @SYMTestCaseDesc        Negative case. Draw a whole CFbsBitmap object using a non-activated CFbsBitGc object.
       
   647 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   648 //!                         2. Create a CFbsBitGc object.
       
   649 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   650 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   651 //!                         5. Load a bitmap to CFbsBitmap object.
       
   652 //!                         6. Draw the bitmap.
       
   653 //! @SYMTestStatus          Implemented
       
   654 //! @SYMTestPriority        High
       
   655 //! @SYMTestExpectedResults The bitmap will not be drawn. Get Panic code 1 and PanicString BITGDI.
       
   656 //! @SYMTestType            CIT
       
   657 
       
   658     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   659         CREATE_OBJECT       RFbsSession          fbsSession
       
   660         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   661         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   662         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   663         COMMAND             fbsSession           Connect
       
   664         COMMAND             fbsBitGc             NewL
       
   665         COMMAND             fbsBitmap            new
       
   666         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0023-NewL_command04
       
   667         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0023-Load_command05
       
   668         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0023-BitBlt_command06
       
   669      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
   670      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
   671 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0023
       
   672 
       
   673 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0024
       
   674 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0024
       
   675 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr})
       
   676 //! @SYMAuthor              Felix Rao
       
   677 //! @SYMCreationDate        26/12/2008
       
   678 //! @SYMTestCaseDesc        Negative case. Draw a null CFbsBitmap object.
       
   679 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   680 //!                         2. Create a CFbsBitGc object.
       
   681 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   682 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   683 //!                         5. Draw the bitmap.
       
   684 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
   685 //! @SYMTestStatus          Implemented
       
   686 //! @SYMTestPriority        High
       
   687 //! @SYMTestExpectedResults The bitmap will not be drawn
       
   688 //! @SYMTestType            CIT
       
   689 
       
   690     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   691         CREATE_OBJECT       RFbsSession          fbsSession
       
   692         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   693         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   694         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   695         COMMAND             fbsSession           Connect
       
   696         COMMAND             fbsBitGc             NewL
       
   697         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0024-NewL_command03
       
   698         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0024-Activate_command04
       
   699         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0024-BitBlt_command05
       
   700         COMMAND             fbsScrDev            Update
       
   701         COMMAND             fbsSession           Disconnect
       
   702         COMMAND             fbsBitGc             ~
       
   703         COMMAND             fbsScrDev            ~
       
   704      END_TEST_BLOCK
       
   705 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0024
       
   706 
       
   707 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0026
       
   708 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0026
       
   709 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
   710 //! @SYMAuthor              Felix Rao
       
   711 //! @SYMCreationDate        24/12/2008
       
   712 //! @SYMTestCaseDesc        Draw a rectangle from CFbsBitmap object.
       
   713 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   714 //!                         2. Create a CFbsBitGc object.
       
   715 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   716 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   717 //!                         5. Load a bitmap to CFbsBitmap object.
       
   718 //!                         6. Draw the bitmap.
       
   719 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
   720 //! @SYMTestStatus          Implemented
       
   721 //! @SYMTestPriority        High
       
   722 //! @SYMTestExpectedResults The bitmap will be drawn
       
   723 //! @SYMTestType            CIT
       
   724 
       
   725     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   726         CREATE_OBJECT       RFbsSession          fbsSession
       
   727         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   728         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   729         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   730         COMMAND             fbsSession           Connect
       
   731         COMMAND             fbsBitGc             NewL
       
   732         COMMAND             fbsBitmap            new
       
   733         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0026-NewL_command04
       
   734         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0026-Activate_command05
       
   735         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0026-Load_command06
       
   736         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0026-BitBlt_command07
       
   737         COMMAND             fbsScrDev            Update
       
   738         DELAY		        500000
       
   739         COMMAND             fbsBitmap            ~
       
   740         COMMAND             fbsSession           Disconnect
       
   741         COMMAND             fbsBitGc             ~
       
   742         COMMAND             fbsScrDev            ~
       
   743      END_TEST_BLOCK
       
   744 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0026
       
   745 
       
   746 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0027
       
   747 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0027
       
   748 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
   749 //! @SYMAuthor              Felix Rao
       
   750 //! @SYMCreationDate        26/12/2008
       
   751 //! @SYMTestCaseDesc        Negative case. Draw a rectangle from a not loaded CFbsBitmap object.
       
   752 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   753 //!                         2. Create a CFbsBitGc object.
       
   754 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   755 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   756 //!                         5. Draw the bitmap.
       
   757 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
   758 //! @SYMTestStatus          Implemented
       
   759 //! @SYMTestPriority        High
       
   760 //! @SYMTestExpectedResults The bitmap will not be drawn
       
   761 //! @SYMTestType            CIT
       
   762 
       
   763     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   764         CREATE_OBJECT       RFbsSession          fbsSession
       
   765         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   766         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   767         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   768         COMMAND             fbsSession           Connect
       
   769         COMMAND             fbsBitGc             NewL
       
   770         COMMAND             fbsBitmap            new
       
   771         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0027-NewL_command04
       
   772         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0027-Activate_command05
       
   773         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0027-BitBlt_command06
       
   774         COMMAND             fbsBitmap            ~
       
   775         COMMAND             fbsSession           Disconnect
       
   776         COMMAND             fbsBitGc             ~
       
   777         COMMAND             fbsScrDev            ~
       
   778      END_TEST_BLOCK
       
   779 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0027
       
   780 
       
   781 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0028
       
   782 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0028
       
   783 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
   784 //! @SYMAuthor              Felix Rao
       
   785 //! @SYMCreationDate        26/12/2008
       
   786 //! @SYMTestCaseDesc        Negative case. Draw an empty rectangle from CFbsBitmap object.
       
   787 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   788 //!                         2. Create a CFbsBitGc object.
       
   789 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   790 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   791 //!                         5. Load a bitmap to CFbsBitmap object.
       
   792 //!                         6. Draw the bitmap.
       
   793 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
   794 //! @SYMTestStatus          Implemented
       
   795 //! @SYMTestPriority        High
       
   796 //! @SYMTestExpectedResults The bitmap will not be drawn
       
   797 //! @SYMTestType            CIT
       
   798 
       
   799     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   800         CREATE_OBJECT       RFbsSession          fbsSession
       
   801         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   802         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   803         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   804         COMMAND             fbsSession           Connect
       
   805         COMMAND             fbsBitGc             NewL
       
   806         COMMAND             fbsBitmap            new
       
   807         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0028-NewL_command04
       
   808         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0028-Activate_command05
       
   809         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0028-Load_command06
       
   810         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0028-BitBlt_command07
       
   811         COMMAND             fbsScrDev            Update
       
   812         COMMAND             fbsBitmap            ~
       
   813         COMMAND             fbsSession           Disconnect
       
   814         COMMAND             fbsBitGc             ~
       
   815         COMMAND             fbsScrDev            ~
       
   816      END_TEST_BLOCK
       
   817 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0028
       
   818 
       
   819 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0029
       
   820 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0029
       
   821 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
   822 //! @SYMAuthor              Felix Rao
       
   823 //! @SYMCreationDate        26/12/2008
       
   824 //! @SYMTestCaseDesc        Negative case. Draw a rectangle area of a bitmap which is not inside the bitmap.
       
   825 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   826 //!                         2. Create a CFbsBitGc object.
       
   827 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   828 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   829 //!                         5. Load a bitmap to CFbsBitmap object.
       
   830 //!                         6. Draw the bitmap.
       
   831 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
   832 //! @SYMTestStatus          Implemented
       
   833 //! @SYMTestPriority        High
       
   834 //! @SYMTestExpectedResults The bitmap will not be drawn
       
   835 //! @SYMTestType            CIT
       
   836 
       
   837     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   838         CREATE_OBJECT       RFbsSession          fbsSession
       
   839         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   840         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   841         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   842         COMMAND             fbsSession           Connect
       
   843         COMMAND             fbsBitGc             NewL
       
   844         COMMAND             fbsBitmap            new
       
   845         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0029-NewL_command04
       
   846         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0029-Activate_command05
       
   847         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0029-Load_command06
       
   848         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0029-BitBlt_command07
       
   849         COMMAND             fbsScrDev            Update
       
   850         COMMAND             fbsBitmap            ~
       
   851         COMMAND             fbsSession           Disconnect
       
   852         COMMAND             fbsBitGc             ~
       
   853         COMMAND             fbsScrDev            ~
       
   854      END_TEST_BLOCK
       
   855 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0029
       
   856 
       
   857 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0030
       
   858 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0030
       
   859 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
   860 //! @SYMAuthor              Felix Rao
       
   861 //! @SYMCreationDate        26/12/2008
       
   862 //! @SYMTestCaseDesc        Negative case. Draw a rectangle area of a bitmap to an area starting from TPoint(8000, 8000).
       
   863 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   864 //!                         2. Create a CFbsBitGc object.
       
   865 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   866 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   867 //!                         5. Load a bitmap to CFbsBitmap object.
       
   868 //!                         6. Draw the bitmap.
       
   869 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
   870 //! @SYMTestStatus          Implemented
       
   871 //! @SYMTestPriority        High
       
   872 //! @SYMTestExpectedResults The bitmap will not be drawn
       
   873 //! @SYMTestType            CIT
       
   874 
       
   875     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   876         CREATE_OBJECT       RFbsSession          fbsSession
       
   877         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   878         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   879         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   880         COMMAND             fbsSession           Connect
       
   881         COMMAND             fbsBitGc             NewL
       
   882         COMMAND             fbsBitmap            new
       
   883         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0030-NewL_command04
       
   884         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0030-Activate_command05
       
   885         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0030-Load_command06
       
   886         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0030-BitBlt_command07
       
   887         COMMAND             fbsScrDev            Update
       
   888         COMMAND             fbsBitmap            ~
       
   889         COMMAND             fbsSession           Disconnect
       
   890         COMMAND             fbsBitGc             ~
       
   891         COMMAND             fbsScrDev            ~
       
   892      END_TEST_BLOCK
       
   893 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0030
       
   894 
       
   895 
       
   896 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0031
       
   897 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0031
       
   898 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
   899 //! @SYMAuthor              Felix Rao
       
   900 //! @SYMCreationDate        26/12/2008
       
   901 //! @SYMTestCaseDesc        Negative case. Draw a rectangle area of a bitmap to an area which doesnt intersect with clipping rectangle.
       
   902 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   903 //!                         2. Create a CFbsBitGc object.
       
   904 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   905 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   906 //!                         5. Set clipping rectangle (8000, 8000, 8005, 8005).
       
   907 //!                         6. Load a bitmap to CFbsBitmap object.
       
   908 //!                         7. Draw the bitmap.
       
   909 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
   910 //! @SYMTestStatus          Implemented
       
   911 //! @SYMTestPriority        High
       
   912 //! @SYMTestExpectedResults The bitmap will not be drawn
       
   913 //! @SYMTestType            CIT
       
   914 
       
   915     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   916         CREATE_OBJECT       RFbsSession          fbsSession
       
   917         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   918         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   919         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   920         COMMAND             fbsSession           Connect
       
   921         COMMAND             fbsBitGc             NewL
       
   922         COMMAND             fbsBitmap            new
       
   923         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0031-NewL_command04
       
   924         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0031-Activate_command05
       
   925         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0031-SetClippingRect_command06
       
   926         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0031-Load_command07
       
   927         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0031-BitBlt_command08
       
   928         COMMAND             fbsScrDev            Update
       
   929         COMMAND             fbsBitmap            ~
       
   930         COMMAND             fbsSession           Disconnect
       
   931         COMMAND             fbsBitGc             ~
       
   932         COMMAND             fbsScrDev            ~
       
   933      END_TEST_BLOCK
       
   934 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0031
       
   935 
       
   936 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0032
       
   937 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0032
       
   938 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
   939 //! @SYMAuthor              Felix Rao
       
   940 //! @SYMCreationDate        26/12/2008
       
   941 //! @SYMTestCaseDesc        Negative case. Draw a rectangle area of a bitmap using a non-activated CFbsBitGc object.
       
   942 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   943 //!                         2. Create a CFbsBitGc object.
       
   944 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   945 //!                         4. Load a bitmap to CFbsBitmap object.
       
   946 //!                         5. Draw the bitmap.
       
   947 //! @SYMTestStatus          Implemented
       
   948 //! @SYMTestPriority        High
       
   949 //! @SYMTestExpectedResults Get Panic code 1 and PanicString BITGDI.
       
   950 //! @SYMTestType            CIT
       
   951 
       
   952     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   953         CREATE_OBJECT       RFbsSession          fbsSession
       
   954         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   955         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   956         COMMAND             fbsSession           Connect
       
   957         COMMAND             fbsBitGc             NewL
       
   958         COMMAND             fbsBitmap            new
       
   959         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0032-Load_command04
       
   960         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0032-BitBlt_command05
       
   961      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
   962      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
   963 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0032
       
   964 
       
   965 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033
       
   966 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033
       
   967 //! @SYMAPI                 CFbsBitGc::BitBlt(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
   968 //! @SYMAuthor              Felix Rao
       
   969 //! @SYMCreationDate        30/12/2008
       
   970 //! @SYMTestCaseDesc        Draw a bitmap and compare the destination rectangle with another rectangle which is the same to the destination rectangle before draw.
       
   971 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
   972 //!                         2. Create a CFbsBitGc object.
       
   973 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
   974 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
   975 //!                         5. Create and connect a RWsSession object.
       
   976 //!                         6. Create a CWsScreenDevice object and construct it with the same screen number to CFbsScreenDevice object.
       
   977 //!                         7. Set clipping rectangle of CFbsBitGc object and compare the rectangle right to it.
       
   978 //!                         8. Load the bitmap.
       
   979 //!                         9. Draw the bitmap.
       
   980 //!                         10. Compare the destination rectangle with the rectangle right to it.
       
   981 //!                         11. Disconnect RFbsSession, close RWsSession. Destruct CFbsBitGc object, CFbsScreenDevice object, CWsScreenDevice object, and CFbsBitmap object.
       
   982 //! @SYMTestStatus          Implemented
       
   983 //! @SYMTestPriority        High
       
   984 //! @SYMTestExpectedResults The bitmap will be drawn. And the two rectangles are the same before draw. After draw, they are different.
       
   985 //! @SYMTestType            CIT
       
   986 
       
   987     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
   988         CREATE_OBJECT       RWsSession           wsSession
       
   989         CREATE_OBJECT       RFbsSession          fbsSession
       
   990         CREATE_OBJECT       CWsScreenDevice      wsScrDev
       
   991         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
   992         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
   993         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
   994         COMMAND             fbsSession           Connect
       
   995         COMMAND             fbsBitmap            new
       
   996         COMMAND             fbsBitGc             NewL
       
   997         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033-NewL_command04
       
   998         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033-Activate_command05
       
   999         COMMAND             fbsBitGc             Clear
       
  1000         COMMAND             wsSession            new
       
  1001         COMMAND             wsSession            Connect
       
  1002         COMMAND             wsScrDev             new                                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033-new_command09
       
  1003         COMMAND             wsScrDev             Construct                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033-Construct_command10
       
  1004         COMMAND             wsScrDev             RectCompare                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033-RectCompare_command11
       
  1005         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033-Load_command12
       
  1006         COMMAND             fbsBitGc             BitBlt                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033-BitBlt_command13
       
  1007         COMMAND             wsScrDev             RectCompare                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033-RectCompare_command14
       
  1008         COMMAND             wsScrDev             ~
       
  1009         COMMAND             wsSession            Close
       
  1010         COMMAND             fbsScrDev            Update
       
  1011         DELAY		        500000
       
  1012         COMMAND             fbsBitmap            ~
       
  1013         COMMAND             fbsSession           Disconnect
       
  1014         COMMAND             fbsBitGc             ~
       
  1015         COMMAND             fbsScrDev            ~
       
  1016      END_TEST_BLOCK
       
  1017 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0033
       
  1018 
       
  1019 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0042
       
  1020 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0042
       
  1021 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1022 //! @SYMAuthor              Felix Rao
       
  1023 //! @SYMCreationDate        24/12/2008
       
  1024 //! @SYMTestCaseDesc        Performs a masked bitmap block transfer.
       
  1025 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1026 //!                         2. Create a CFbsBitGc object.
       
  1027 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap object.
       
  1028 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1029 //!                         5. Load src and mask bitmaps.
       
  1030 //!                         6. Draw the masked bitmap.
       
  1031 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  1032 //! @SYMTestStatus          Implemented
       
  1033 //! @SYMTestPriority        High
       
  1034 //! @SYMTestExpectedResults The bitmap will be drawn
       
  1035 //! @SYMTestType            CIT
       
  1036 
       
  1037     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1038         CREATE_OBJECT       RFbsSession          fbsSession
       
  1039         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1040         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1041         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  1042         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1043         COMMAND             fbsSession           Connect
       
  1044         COMMAND             fbsBitGc             NewL
       
  1045         COMMAND             fbsBitmap            new
       
  1046         COMMAND             fbsMaskBitmap        new
       
  1047         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0042-NewL_command05
       
  1048         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0042-Activate_command06
       
  1049         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0042-Load_command07
       
  1050         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0042-Load_command08
       
  1051         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0042-BitBltMasked_command09
       
  1052         COMMAND             fbsScrDev            Update
       
  1053         DELAY		        500000
       
  1054         COMMAND             fbsBitmap            ~
       
  1055         COMMAND             fbsMaskBitmap        ~
       
  1056         COMMAND             fbsSession           Disconnect
       
  1057         COMMAND             fbsBitGc             ~
       
  1058         COMMAND             fbsScrDev            ~
       
  1059      END_TEST_BLOCK
       
  1060 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0042
       
  1061 
       
  1062 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0043
       
  1063 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0043
       
  1064 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1065 //! @SYMAuthor              Felix Rao
       
  1066 //! @SYMCreationDate        24/12/2008
       
  1067 //! @SYMTestCaseDesc        Negative case. Performs a masked bitmap block transfer from a null src bitmap.
       
  1068 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1069 //!                         2. Create a CFbsBitGc object.
       
  1070 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  1071 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1072 //!                         5. Load bitmap to mask CFbsBitmap object.
       
  1073 //!                         6. Draw the masked bitmap.
       
  1074 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  1075 //! @SYMTestStatus          Implemented
       
  1076 //! @SYMTestPriority        High
       
  1077 //! @SYMTestExpectedResults The bitmap will not be drawn
       
  1078 //! @SYMTestType            CIT
       
  1079 
       
  1080     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1081         CREATE_OBJECT       RFbsSession          fbsSession
       
  1082         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1083         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1084         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  1085         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1086         COMMAND             fbsSession           Connect
       
  1087         COMMAND             fbsBitGc             NewL
       
  1088         COMMAND             fbsMaskBitmap        new
       
  1089         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0043-NewL_command04
       
  1090         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0043-Activate_command05
       
  1091         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0043-Load_command06
       
  1092         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0043-BitBltMasked_command07
       
  1093         COMMAND             fbsScrDev            Update
       
  1094         COMMAND             fbsMaskBitmap        ~
       
  1095         COMMAND             fbsSession           Disconnect
       
  1096         COMMAND             fbsBitGc             ~
       
  1097         COMMAND             fbsScrDev            ~
       
  1098      END_TEST_BLOCK
       
  1099 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0043
       
  1100 
       
  1101 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0044
       
  1102 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0044
       
  1103 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1104 //! @SYMAuthor              Felix Rao
       
  1105 //! @SYMCreationDate        24/12/2008
       
  1106 //! @SYMTestCaseDesc        Negative case. Performs a masked bitmap block transfer from a not loaded src bitmap.
       
  1107 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1108 //!                         2. Create a CFbsBitGc object.
       
  1109 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  1110 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1111 //!                         5. Load bitmap to mask CFbsBitmap object.
       
  1112 //!                         6. Draw the masked bitmap.
       
  1113 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  1114 //! @SYMTestStatus          Implemented
       
  1115 //! @SYMTestPriority        High
       
  1116 //! @SYMTestExpectedResults The bitmap will not be drawn
       
  1117 //! @SYMTestType            CIT
       
  1118 
       
  1119     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1120         CREATE_OBJECT       RFbsSession          fbsSession
       
  1121         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1122         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1123         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  1124         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1125         COMMAND             fbsSession           Connect
       
  1126         COMMAND             fbsBitGc             NewL
       
  1127         COMMAND             fbsBitmap            new
       
  1128         COMMAND             fbsMaskBitmap        new
       
  1129         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0044-NewL_command05
       
  1130         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0044-Activate_command06
       
  1131         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0044-Load_command07
       
  1132         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0044-BitBltMasked_command08
       
  1133         COMMAND             fbsScrDev            Update
       
  1134         COMMAND             fbsBitmap            ~
       
  1135         COMMAND             fbsMaskBitmap        ~
       
  1136         COMMAND             fbsSession           Disconnect
       
  1137         COMMAND             fbsBitGc             ~
       
  1138         COMMAND             fbsScrDev            ~
       
  1139      END_TEST_BLOCK
       
  1140 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0044
       
  1141 
       
  1142 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0045
       
  1143 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0045
       
  1144 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1145 //! @SYMAuthor              Felix Rao
       
  1146 //! @SYMCreationDate        29/12/2008
       
  1147 //! @SYMTestCaseDesc        Negative case. Performs a masked bitmap block transfer with a null mask bitmap.
       
  1148 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1149 //!                         2. Create a CFbsBitGc object.
       
  1150 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  1151 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1152 //!                         5. Load bitmap to src CFbsBitmap object.
       
  1153 //!                         6. Draw the bitmap with null mask bitmap.
       
  1154 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  1155 //! @SYMTestStatus          Implemented
       
  1156 //! @SYMTestPriority        High
       
  1157 //! @SYMTestExpectedResults The bitmap will not be drawn
       
  1158 //! @SYMTestType            CIT
       
  1159 
       
  1160     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1161         CREATE_OBJECT       RFbsSession          fbsSession
       
  1162         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1163         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1164         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  1165         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1166         COMMAND             fbsSession           Connect
       
  1167         COMMAND             fbsBitGc             NewL
       
  1168         COMMAND             fbsBitmap            new
       
  1169         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0045-NewL_command04
       
  1170         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0045-Activate_command05
       
  1171         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0045-Load_command06
       
  1172         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0045-BitBltMasked_command07
       
  1173         COMMAND             fbsScrDev            Update
       
  1174         COMMAND             fbsBitmap            ~
       
  1175         COMMAND             fbsSession           Disconnect
       
  1176         COMMAND             fbsBitGc             ~
       
  1177         COMMAND             fbsScrDev            ~
       
  1178      END_TEST_BLOCK
       
  1179 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0045
       
  1180 
       
  1181 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0046
       
  1182 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0046
       
  1183 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1184 //! @SYMAuthor              Felix Rao
       
  1185 //! @SYMCreationDate        29/12/2008
       
  1186 //! @SYMTestCaseDesc        Negative case. Performs a masked bitmap block transfer with a not loaded mask bitmap.
       
  1187 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1188 //!                         2. Create a CFbsBitGc object.
       
  1189 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  1190 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1191 //!                         5. Load bitmap to src CFbsBitmap object.
       
  1192 //!                         6. Draw the bitmap with not loaded mask.
       
  1193 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  1194 //! @SYMTestStatus          Implemented
       
  1195 //! @SYMTestPriority        High
       
  1196 //! @SYMTestExpectedResults The bitmap will not be drawn
       
  1197 //! @SYMTestType            CIT
       
  1198 
       
  1199     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1200         CREATE_OBJECT       RFbsSession          fbsSession
       
  1201         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1202         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1203         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  1204         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1205         COMMAND             fbsSession           Connect
       
  1206         COMMAND             fbsBitGc             NewL
       
  1207         COMMAND             fbsBitmap            new
       
  1208         COMMAND             fbsMaskBitmap        new
       
  1209         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0046-NewL_command05
       
  1210         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0046-Activate_command06
       
  1211         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0046-Load_command07
       
  1212         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0046-BitBltMasked_command08
       
  1213         COMMAND             fbsScrDev            Update
       
  1214         COMMAND             fbsBitmap            ~
       
  1215         COMMAND             fbsMaskBitmap        ~
       
  1216         COMMAND             fbsSession           Disconnect
       
  1217         COMMAND             fbsBitGc             ~
       
  1218         COMMAND             fbsScrDev            ~
       
  1219      END_TEST_BLOCK
       
  1220 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0046
       
  1221 
       
  1222 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0047
       
  1223 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0047
       
  1224 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1225 //! @SYMAuthor              Felix Rao
       
  1226 //! @SYMCreationDate        29/12/2008
       
  1227 //! @SYMTestCaseDesc        Negative case. Performs a masked bitmap block transfer from an empty rectangle area of source bitmap.
       
  1228 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1229 //!                         2. Create a CFbsBitGc object.
       
  1230 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  1231 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1232 //!                         5. Load src and mask bitmaps.
       
  1233 //!                         6. Draw the masked bitmap.
       
  1234 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  1235 //! @SYMTestStatus          Implemented
       
  1236 //! @SYMTestPriority        High
       
  1237 //! @SYMTestExpectedResults The bitmap will not be drawn
       
  1238 //! @SYMTestType            CIT
       
  1239 
       
  1240     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1241         CREATE_OBJECT       RFbsSession          fbsSession
       
  1242         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1243         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1244         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  1245         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1246         COMMAND             fbsSession           Connect
       
  1247         COMMAND             fbsBitGc             NewL
       
  1248         COMMAND             fbsBitmap            new
       
  1249         COMMAND             fbsMaskBitmap        new
       
  1250         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0047-NewL_command05
       
  1251         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0047-Activate_command06
       
  1252         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0047-Load_command07
       
  1253         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0047-Load_command08
       
  1254         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0047-BitBltMasked_command09
       
  1255         COMMAND             fbsScrDev            Update
       
  1256         COMMAND             fbsBitmap            ~
       
  1257         COMMAND             fbsMaskBitmap        ~
       
  1258         COMMAND             fbsSession           Disconnect
       
  1259         COMMAND             fbsBitGc             ~
       
  1260         COMMAND             fbsScrDev            ~
       
  1261      END_TEST_BLOCK
       
  1262 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0047
       
  1263 
       
  1264 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0048
       
  1265 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0048
       
  1266 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1267 //! @SYMAuthor              Felix Rao
       
  1268 //! @SYMCreationDate        29/12/2008
       
  1269 //! @SYMTestCaseDesc        Negative case. Performs a masked bitmap block transfer from rectangle area (-1000, -1000, -990, -990)of source bitmap.
       
  1270 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1271 //!                         2. Create a CFbsBitGc object.
       
  1272 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  1273 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1274 //!                         5. Load src and mask bitmaps.
       
  1275 //!                         6. Draw the masked bitmap.
       
  1276 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  1277 //! @SYMTestStatus          Implemented
       
  1278 //! @SYMTestPriority        High
       
  1279 //! @SYMTestExpectedResults The bitmap will not be drawn
       
  1280 //! @SYMTestType            CIT
       
  1281 
       
  1282     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1283         CREATE_OBJECT       RFbsSession          fbsSession
       
  1284         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1285         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1286         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  1287         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1288         COMMAND             fbsSession           Connect
       
  1289         COMMAND             fbsBitGc             NewL
       
  1290         COMMAND             fbsBitmap            new
       
  1291         COMMAND             fbsMaskBitmap        new
       
  1292         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0048-NewL_command05
       
  1293         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0048-Activate_command06
       
  1294         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0048-Load_command07
       
  1295         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0048-Load_command08
       
  1296         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0048-BitBltMasked_command09
       
  1297         COMMAND             fbsScrDev            Update
       
  1298         COMMAND             fbsBitmap            ~
       
  1299         COMMAND             fbsMaskBitmap        ~
       
  1300         COMMAND             fbsSession           Disconnect
       
  1301         COMMAND             fbsBitGc             ~
       
  1302         COMMAND             fbsScrDev            ~
       
  1303      END_TEST_BLOCK
       
  1304 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0048
       
  1305 
       
  1306 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0049
       
  1307 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0049
       
  1308 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1309 //! @SYMAuthor              Felix Rao
       
  1310 //! @SYMCreationDate        29/12/2008
       
  1311 //! @SYMTestCaseDesc        Negative case. Performs a masked bitmap block transfer to rectangle area starting from point (-9000, -9000).
       
  1312 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1313 //!                         2. Create a CFbsBitGc object.
       
  1314 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  1315 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1316 //!                         5. Load src and mask bitmaps.
       
  1317 //!                         6. Draw the masked bitmap.
       
  1318 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  1319 //! @SYMTestStatus          Implemented
       
  1320 //! @SYMTestPriority        High
       
  1321 //! @SYMTestExpectedResults The bitmap will not be drawn
       
  1322 //! @SYMTestType            CIT
       
  1323 
       
  1324     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1325         CREATE_OBJECT       RFbsSession          fbsSession
       
  1326         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1327         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1328         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  1329         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1330         COMMAND             fbsSession           Connect
       
  1331         COMMAND             fbsBitGc             NewL
       
  1332         COMMAND             fbsBitmap            new
       
  1333         COMMAND             fbsMaskBitmap        new
       
  1334         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0049-NewL_command05
       
  1335         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0049-Activate_command06
       
  1336         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0049-Load_command07
       
  1337         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0049-Load_command08
       
  1338         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0049-BitBltMasked_command09
       
  1339         COMMAND             fbsScrDev            Update
       
  1340         COMMAND             fbsBitmap            ~
       
  1341         COMMAND             fbsMaskBitmap        ~
       
  1342         COMMAND             fbsSession           Disconnect
       
  1343         COMMAND             fbsBitGc             ~
       
  1344         COMMAND             fbsScrDev            ~
       
  1345      END_TEST_BLOCK
       
  1346 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0049
       
  1347 
       
  1348 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0050
       
  1349 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0050
       
  1350 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1351 //! @SYMAuthor              Felix Rao
       
  1352 //! @SYMCreationDate        29/12/2008
       
  1353 //! @SYMTestCaseDesc        Performs a masked bitmap block transfer with src same to mask bitmap
       
  1354 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1355 //!                         2. Create a CFbsBitGc object.
       
  1356 //!                         3. Create a CFbsScreenDevice object and CFbsBitmap object.
       
  1357 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1358 //!                         5. Load bitmap to the CFbsBitmap object.
       
  1359 //!                         6. Draw the bitmap.
       
  1360 //!                         5. Load src and mask bitmaps.
       
  1361 //!                         6. Draw the masked bitmap.
       
  1362 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  1363 //! @SYMTestStatus          Implemented
       
  1364 //! @SYMTestPriority        High
       
  1365 //! @SYMTestExpectedResults The bitmap will be drawn
       
  1366 //! @SYMTestType            CIT
       
  1367 
       
  1368     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1369         CREATE_OBJECT       RFbsSession          fbsSession
       
  1370         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1371         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1372         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1373         COMMAND             fbsSession           Connect
       
  1374         COMMAND             fbsBitGc             NewL
       
  1375         COMMAND             fbsBitmap            new
       
  1376         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0050-NewL_command04
       
  1377         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0050-Activate_command05
       
  1378         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0050-Load_command06
       
  1379         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0050-BitBltMasked_command07
       
  1380         COMMAND             fbsScrDev            Update
       
  1381         DELAY               500000
       
  1382         COMMAND             fbsBitmap            ~
       
  1383         COMMAND             fbsSession           Disconnect
       
  1384         COMMAND             fbsBitGc             ~
       
  1385         COMMAND             fbsScrDev            ~
       
  1386      END_TEST_BLOCK
       
  1387 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0050
       
  1388 
       
  1389 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0051
       
  1390 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0051
       
  1391 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1392 //! @SYMAuthor              Felix Rao
       
  1393 //! @SYMCreationDate        24/12/2008
       
  1394 //! @SYMTestCaseDesc        Performs a masked bitmap block transfer with mask bitmap resize to TSize(10, 8000).
       
  1395 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1396 //!                         2. Create a CFbsBitGc object.
       
  1397 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  1398 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1399 //!                         5. Load src and mask bitmap.
       
  1400 //!                         6. Draw the masked bitmap.
       
  1401 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  1402 //! @SYMTestStatus          Implemented
       
  1403 //! @SYMTestPriority        High
       
  1404 //! @SYMTestExpectedResults The bitmap will be drawn
       
  1405 //! @SYMTestType            CIT
       
  1406 
       
  1407     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1408         CREATE_OBJECT       RFbsSession          fbsSession
       
  1409         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1410         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1411         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  1412         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1413         COMMAND             fbsSession           Connect
       
  1414         COMMAND             fbsBitGc             NewL
       
  1415         COMMAND             fbsBitmap            new
       
  1416         COMMAND             fbsMaskBitmap        new
       
  1417         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0051-NewL_command05
       
  1418         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0051-Activate_command06
       
  1419         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0051-Load_command07
       
  1420         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0051-Load_command08
       
  1421         COMMAND             fbsMaskBitmap        Resize                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0051-Resize_command09
       
  1422         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0051-BitBltMasked_command10
       
  1423         COMMAND             fbsScrDev            Update
       
  1424         DELAY		        500000
       
  1425         COMMAND             fbsBitmap            ~
       
  1426         COMMAND             fbsMaskBitmap        ~
       
  1427         COMMAND             fbsSession           Disconnect
       
  1428         COMMAND             fbsBitGc             ~
       
  1429         COMMAND             fbsScrDev            ~
       
  1430      END_TEST_BLOCK
       
  1431 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0051
       
  1432 
       
  1433 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0052
       
  1434 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0052
       
  1435 //! @SYMAPI                 CFbsBitGc::BitBltMasked(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  1436 //! @SYMAuthor              Felix Rao
       
  1437 //! @SYMCreationDate        24/12/2008
       
  1438 //! @SYMTestCaseDesc        Performs a masked bitmap block transfer with mask bitmap resize to TSize(8000, 10).
       
  1439 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1440 //!                         2. Create a CFbsBitGc object.
       
  1441 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  1442 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  1443 //!                         5. Load src and mask bitmap.
       
  1444 //!                         6. Draw the masked bitmap.
       
  1445 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  1446 //! @SYMTestStatus          Implemented
       
  1447 //! @SYMTestPriority        High
       
  1448 //! @SYMTestExpectedResults The bitmap will be drawn
       
  1449 //! @SYMTestType            CIT
       
  1450 
       
  1451     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1452         CREATE_OBJECT       RFbsSession          fbsSession
       
  1453         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1454         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  1455         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  1456         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1457         COMMAND             fbsSession           Connect
       
  1458         COMMAND             fbsBitGc             NewL
       
  1459         COMMAND             fbsBitmap            new
       
  1460         COMMAND             fbsMaskBitmap        new
       
  1461         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0052-NewL_command05
       
  1462         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0052-Activate_command06
       
  1463         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0052-Load_command07
       
  1464         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0052-Load_command08
       
  1465         COMMAND             fbsMaskBitmap        Resize                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0052-Resize_command09
       
  1466         COMMAND             fbsBitGc             BitBltMasked                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0052-BitBltMasked_command10
       
  1467         COMMAND             fbsScrDev            Update
       
  1468         DELAY		        500000
       
  1469         COMMAND             fbsBitmap            ~
       
  1470         COMMAND             fbsMaskBitmap        ~
       
  1471         COMMAND             fbsSession           Disconnect
       
  1472         COMMAND             fbsBitGc             ~
       
  1473         COMMAND             fbsScrDev            ~
       
  1474      END_TEST_BLOCK
       
  1475 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0052
       
  1476 
       
  1477 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0091
       
  1478 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0091
       
  1479 //! @SYMAPI                 CFbsBitGc::CancelClipping()
       
  1480 //! @SYMAuthor              Felix Rao
       
  1481 //! @SYMCreationDate        24/12/2008
       
  1482 //! @SYMTestCaseDesc        Cancel clipping rectangle and region.
       
  1483 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1484 //!                         2. Create a CFbsBitGc object.
       
  1485 //!                         3. Create a CFbsScreenDevice object.
       
  1486 //!                         4. Set clipping rectangle to rectangle (10, 10, 30, 30) area.
       
  1487 //!                         5. Set clipping region to rectangle (30, 30, 50, 50) area.
       
  1488 //!                         6. Cancel clipping.
       
  1489 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1490 //! @SYMTestStatus          Implemented
       
  1491 //! @SYMTestPriority        High
       
  1492 //! @SYMTestExpectedResults CancelClipping can be called successfully.
       
  1493 //! @SYMTestType            CIT
       
  1494 
       
  1495     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1496         CREATE_OBJECT       RFbsSession          fbsSession
       
  1497         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1498         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1499         COMMAND             fbsSession           Connect
       
  1500         COMMAND             fbsBitGc             NewL
       
  1501         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0091-NewL_command03
       
  1502         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0091-Activate_command04
       
  1503         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0091-SetClippingRect_command05
       
  1504         COMMAND             fbsBitGc             SetClippingRegion                      GRAPHICS-BITGDI-FbsBitGc-PublicApi-0091-SetClippingRegion_command06
       
  1505         COMMAND             fbsBitGc             CancelClipping
       
  1506         COMMAND             fbsSession           Disconnect
       
  1507         COMMAND             fbsBitGc             ~
       
  1508         COMMAND             fbsScrDev            ~
       
  1509      END_TEST_BLOCK
       
  1510 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0091
       
  1511 
       
  1512 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0092
       
  1513 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0092
       
  1514 //! @SYMAPI                 CFbsBitGc::CancelClippingRect()
       
  1515 //! @SYMAuthor              Felix Rao
       
  1516 //! @SYMCreationDate        24/12/2008
       
  1517 //! @SYMTestCaseDesc        Cancel clipping rectangle.
       
  1518 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1519 //!                         2. Create a CFbsBitGc object.
       
  1520 //!                         3. Create a CFbsScreenDevice object.
       
  1521 //!                         4. Cancel clipping rectangle.
       
  1522 //!                         5. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1523 //! @SYMTestStatus          Implemented
       
  1524 //! @SYMTestPriority        High
       
  1525 //! @SYMTestExpectedResults CancelClippingRect can be called successfully.
       
  1526 //! @SYMTestType            CIT
       
  1527 
       
  1528     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1529         CREATE_OBJECT       RFbsSession          fbsSession
       
  1530         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1531         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1532         COMMAND             fbsSession           Connect
       
  1533         COMMAND             fbsBitGc             NewL
       
  1534         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0092-NewL_command03
       
  1535         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0092-Activate_command04
       
  1536         COMMAND             fbsBitGc             CancelClippingRect
       
  1537         COMMAND             fbsSession           Disconnect
       
  1538         COMMAND             fbsBitGc             ~
       
  1539         COMMAND             fbsScrDev            ~
       
  1540      END_TEST_BLOCK
       
  1541 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0092
       
  1542 
       
  1543 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0093
       
  1544 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0093
       
  1545 //! @SYMAPI                 CFbsBitGc::CancelClippingRect()
       
  1546 //! @SYMAuthor              Felix Rao
       
  1547 //! @SYMCreationDate        24/12/2008
       
  1548 //! @SYMTestCaseDesc        Cancel clipping rectangle using a non-activated CFbsBitGc object.
       
  1549 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  1550 //!                         2. Cancel clipping rectangle.
       
  1551 //!                         3. Destruct CFbsBitGc object.
       
  1552 //! @SYMTestStatus          Implemented
       
  1553 //! @SYMTestPriority        High
       
  1554 //! @SYMTestExpectedResults CancelClippingRect can be called successfully.
       
  1555 //! @SYMTestType            CIT
       
  1556 
       
  1557     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1558         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1559         COMMAND             fbsBitGc             NewL
       
  1560         COMMAND             fbsBitGc             CancelClippingRect
       
  1561         COMMAND             fbsBitGc             ~
       
  1562      END_TEST_BLOCK
       
  1563 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0093
       
  1564 
       
  1565 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0094
       
  1566 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0094
       
  1567 //! @SYMAPI                 CFbsBitGc::CancelClippingRegion()
       
  1568 //! @SYMAuthor              Felix Rao
       
  1569 //! @SYMCreationDate        24/12/2008
       
  1570 //! @SYMTestCaseDesc        Cancel clipping region.
       
  1571 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1572 //!                         2. Create a CFbsBitGc object.
       
  1573 //!                         3. Create a CFbsScreenDevice object.
       
  1574 //!                         4. Activate the CFbsBitGc to draw to CFbsScreenDevice object. Cancel clipping region.
       
  1575 //!                         5. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1576 //! @SYMTestStatus          Implemented
       
  1577 //! @SYMTestPriority        High
       
  1578 //! @SYMTestExpectedResults CancelClippingRegion be called successfully.
       
  1579 //! @SYMTestType            CIT
       
  1580 
       
  1581     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1582         CREATE_OBJECT       RFbsSession          fbsSession
       
  1583         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1584         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1585         COMMAND             fbsSession           Connect
       
  1586         COMMAND             fbsBitGc             NewL
       
  1587         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0094-NewL_command03
       
  1588         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0094-Activate_command04
       
  1589         COMMAND             fbsBitGc             CancelClippingRegion
       
  1590         COMMAND             fbsSession           Disconnect
       
  1591         COMMAND             fbsBitGc             ~
       
  1592         COMMAND             fbsScrDev            ~
       
  1593      END_TEST_BLOCK
       
  1594 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0094
       
  1595 
       
  1596 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0095
       
  1597 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0095
       
  1598 //! @SYMAPI                 CFbsBitGc::CancelClippingRegion()
       
  1599 //! @SYMAuthor              Felix Rao
       
  1600 //! @SYMCreationDate        24/12/2008
       
  1601 //! @SYMTestCaseDesc        Cancel clipping region using a non-activated CFbsBitGc object.
       
  1602 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  1603 //!                         2. Cancel clipping region.
       
  1604 //!                         3. Destruct CFbsBitGc object.
       
  1605 //! @SYMTestStatus          Implemented
       
  1606 //! @SYMTestPriority        High
       
  1607 //! @SYMTestExpectedResults CancelClippingRegion can be called successfully.
       
  1608 //! @SYMTestType            CIT
       
  1609 
       
  1610     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1611         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1612         COMMAND             fbsBitGc             NewL
       
  1613         COMMAND             fbsBitGc             CancelClippingRegion
       
  1614         COMMAND             fbsBitGc             ~
       
  1615      END_TEST_BLOCK
       
  1616 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0095
       
  1617 
       
  1618 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0096
       
  1619 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0096
       
  1620 //! @SYMAPI                 CFbsBitGc::Clear()
       
  1621 //! @SYMAuthor              Felix Rao
       
  1622 //! @SYMCreationDate        24/12/2008
       
  1623 //! @SYMTestCaseDesc        Clear the whole device.
       
  1624 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1625 //!                         2. Create a CFbsBitGc object.
       
  1626 //!                         3. Create a CFbsScreenDevice object.
       
  1627 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1628 //!                         5. Clear the device with brush color TRgb(255, 0, 0).
       
  1629 //!                         6. Check some pixels.
       
  1630 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1631 //! @SYMTestStatus          Implemented
       
  1632 //! @SYMTestPriority        High
       
  1633 //! @SYMTestExpectedResults 1. The whole device is cleared.
       
  1634 //!                         2. Check pixel1~pixel4 specified in test data.
       
  1635 //! @SYMTestType            CIT
       
  1636 
       
  1637     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1638         CREATE_OBJECT       RFbsSession          fbsSession
       
  1639         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1640         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1641         COMMAND             fbsSession           Connect
       
  1642         COMMAND             fbsBitGc             NewL
       
  1643         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0096-NewL_command03
       
  1644         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0096-Activate_command04
       
  1645         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0096-SetBrushColor_command05
       
  1646         COMMAND             fbsBitGc             Clear
       
  1647         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0096-checkPixels_command07
       
  1648         COMMAND             fbsScrDev            Update
       
  1649         COMMAND             fbsSession           Disconnect
       
  1650         COMMAND             fbsBitGc             ~
       
  1651         COMMAND             fbsScrDev            ~
       
  1652      END_TEST_BLOCK
       
  1653 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0096
       
  1654 
       
  1655 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0097
       
  1656 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0097
       
  1657 //! @SYMAPI                 CFbsBitGc::Clear()
       
  1658 //! @SYMAuthor              Felix Rao
       
  1659 //! @SYMCreationDate        24/12/2008
       
  1660 //! @SYMTestCaseDesc        Clear the whole device starting from point (0, 10)
       
  1661 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1662 //!                         2. Create a CFbsBitGc object.
       
  1663 //!                         3. Create a CFbsScreenDevice object.
       
  1664 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1665 //!                         5. Set origin point to (0, 10)
       
  1666 //!                         6. Clear the device with brush color TRgb(255, 0, 0).
       
  1667 //!                         7. Check some pixels.
       
  1668 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1669 //! @SYMTestStatus          Implemented
       
  1670 //! @SYMTestPriority        High
       
  1671 //! @SYMTestExpectedResults 1. The whole device is cleared, despite of start point.
       
  1672 //!                         2. Check pixel1~pixel4 specified in test data.
       
  1673 //! @SYMTestType            CIT
       
  1674 
       
  1675     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1676         CREATE_OBJECT       RFbsSession          fbsSession
       
  1677         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1678         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1679         COMMAND             fbsSession           Connect
       
  1680         COMMAND             fbsBitGc             NewL
       
  1681         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0097-NewL_command03
       
  1682         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0097-Activate_command04
       
  1683         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0097-SetBrushColor_command05
       
  1684         COMMAND             fbsBitGc             SetOrigin                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0097-SetOrigin_command06
       
  1685         COMMAND             fbsBitGc             Clear
       
  1686         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0097-checkPixels_command08
       
  1687         COMMAND             fbsScrDev            Update
       
  1688         COMMAND             fbsSession           Disconnect
       
  1689         COMMAND             fbsBitGc             ~
       
  1690         COMMAND             fbsScrDev            ~
       
  1691      END_TEST_BLOCK
       
  1692 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0097
       
  1693 
       
  1694 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0098
       
  1695 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0098
       
  1696 //! @SYMAPI                 CFbsBitGc::Clear()
       
  1697 //! @SYMAuthor              Felix Rao
       
  1698 //! @SYMCreationDate        24/12/2008
       
  1699 //! @SYMTestCaseDesc        Clear the whole device starting from point (10, 0)
       
  1700 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1701 //!                         2. Create a CFbsBitGc object.
       
  1702 //!                         3. Create a CFbsScreenDevice object.
       
  1703 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1704 //!                         5. Set origin point to (10, 0)
       
  1705 //!                         6. Clear the device with brush color TRgb(255, 0, 0).
       
  1706 //!                         7. Check some pixels.
       
  1707 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1708 //! @SYMTestStatus          Implemented
       
  1709 //! @SYMTestPriority        High
       
  1710 //! @SYMTestExpectedResults 1. The whole device is cleared, despite of start point.
       
  1711 //!                         2. Check pixel1~pixel4 specified in test data.
       
  1712 //! @SYMTestType            CIT
       
  1713 
       
  1714     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1715         CREATE_OBJECT       RFbsSession          fbsSession
       
  1716         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1717         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1718         COMMAND             fbsSession           Connect
       
  1719         COMMAND             fbsBitGc             NewL
       
  1720         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0098-NewL_command03
       
  1721         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0098-Activate_command04
       
  1722         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0098-SetBrushColor_command05
       
  1723         COMMAND             fbsBitGc             SetOrigin                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0098-SetOrigin_command06
       
  1724         COMMAND             fbsBitGc             Clear
       
  1725         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0098-checkPixels_command08
       
  1726         COMMAND             fbsScrDev            Update
       
  1727         COMMAND             fbsSession           Disconnect
       
  1728         COMMAND             fbsBitGc             ~
       
  1729         COMMAND             fbsScrDev            ~
       
  1730      END_TEST_BLOCK
       
  1731 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0098
       
  1732 
       
  1733 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0099
       
  1734 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0099
       
  1735 //! @SYMAPI                 CFbsBitGc::Clear(const TRect{ref})
       
  1736 //! @SYMAuthor              Felix Rao
       
  1737 //! @SYMCreationDate        24/12/2008
       
  1738 //! @SYMTestCaseDesc        Clear a rectangle area.
       
  1739 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1740 //!                         2. Create a CFbsBitGc object.
       
  1741 //!                         3. Create a CFbsScreenDevice object.
       
  1742 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1743 //!                         6. Clear the rectangle (0, 0, 100, 100) with brush color TRgb(255, 0, 0).
       
  1744 //!                         7. Check some pixels.
       
  1745 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1746 //! @SYMTestStatus          Implemented
       
  1747 //! @SYMTestPriority        High
       
  1748 //! @SYMTestExpectedResults 1. The whole device is cleared, despite of start point.
       
  1749 //!                         2. Check pixel1~pixel4 specified in test data.
       
  1750 //! @SYMTestType            CIT
       
  1751 
       
  1752     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1753         CREATE_OBJECT       RFbsSession          fbsSession
       
  1754         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1755         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1756         COMMAND             fbsSession           Connect
       
  1757         COMMAND             fbsBitGc             NewL
       
  1758         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0099-NewL_command03
       
  1759         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0099-Activate_command04
       
  1760         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0099-SetBrushColor_command05
       
  1761         COMMAND             fbsBitGc             Clear                                  GRAPHICS-BITGDI-FbsBitGc-PublicApi-0099-Clear_command06
       
  1762         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0099-checkPixels_command07
       
  1763         COMMAND             fbsScrDev            Update
       
  1764         COMMAND             fbsSession           Disconnect
       
  1765         COMMAND             fbsBitGc             ~
       
  1766         COMMAND             fbsScrDev            ~
       
  1767      END_TEST_BLOCK
       
  1768 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0099
       
  1769 
       
  1770 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0100
       
  1771 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0100
       
  1772 //! @SYMAPI                 CFbsBitGc::Clear(const TRect{ref})
       
  1773 //! @SYMAuthor              Felix Rao
       
  1774 //! @SYMCreationDate        24/12/2008
       
  1775 //! @SYMTestCaseDesc        Negative case. Clear an empty rectangle area.
       
  1776 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1777 //!                         2. Create a CFbsBitGc object.
       
  1778 //!                         3. Create a CFbsScreenDevice object.
       
  1779 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1780 //!                         6. Clear the rectangle (0, 0, 0, 0) with brush color TRgb(255, 0, 0).
       
  1781 //!                         7. Check some pixels.
       
  1782 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1783 //! @SYMTestStatus          Implemented
       
  1784 //! @SYMTestPriority        High
       
  1785 //! @SYMTestExpectedResults This case has no effect.
       
  1786 //! @SYMTestType            CIT
       
  1787 
       
  1788     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1789         CREATE_OBJECT       RFbsSession          fbsSession
       
  1790         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1791         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1792         COMMAND             fbsSession           Connect
       
  1793         COMMAND             fbsBitGc             NewL
       
  1794         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0100-NewL_command03
       
  1795         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0100-Activate_command04
       
  1796         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0100-SetBrushColor_command05
       
  1797         COMMAND             fbsBitGc             Clear                                  GRAPHICS-BITGDI-FbsBitGc-PublicApi-0100-Clear_command06
       
  1798         COMMAND             fbsScrDev            Update
       
  1799         COMMAND             fbsSession           Disconnect
       
  1800         COMMAND             fbsBitGc             ~
       
  1801         COMMAND             fbsScrDev            ~
       
  1802      END_TEST_BLOCK
       
  1803 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0100
       
  1804 
       
  1805 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0101
       
  1806 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0101
       
  1807 //! @SYMAPI                 CFbsBitGc::Clear(const TRect{ref})
       
  1808 //! @SYMAuthor              Felix Rao
       
  1809 //! @SYMCreationDate        24/12/2008
       
  1810 //! @SYMTestCaseDesc        Negative case. Clear a rectangle area (8000, 8000, 8008, 8008).
       
  1811 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1812 //!                         2. Create a CFbsBitGc object.
       
  1813 //!                         3. Create a CFbsScreenDevice object.
       
  1814 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1815 //!                         5. Clear the rectangle (8000, 8000, 8008, 8008) with brush color TRgb(255, 0, 0).
       
  1816 //!                         6. Check some pixels.
       
  1817 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1818 //! @SYMTestStatus          Implemented
       
  1819 //! @SYMTestPriority        High
       
  1820 //! @SYMTestExpectedResults This case has no effect.
       
  1821 //! @SYMTestType            CIT
       
  1822 
       
  1823     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1824         CREATE_OBJECT       RFbsSession          fbsSession
       
  1825         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1826         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1827         COMMAND             fbsSession           Connect
       
  1828         COMMAND             fbsBitGc             NewL
       
  1829         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0101-NewL_command03
       
  1830         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0101-Activate_command04
       
  1831         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0101-SetBrushColor_command05
       
  1832         COMMAND             fbsBitGc             Clear                                  GRAPHICS-BITGDI-FbsBitGc-PublicApi-0101-Clear_command06
       
  1833         COMMAND             fbsScrDev            Update
       
  1834         COMMAND             fbsSession           Disconnect
       
  1835         COMMAND             fbsBitGc             ~
       
  1836         COMMAND             fbsScrDev            ~
       
  1837      END_TEST_BLOCK
       
  1838 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0101
       
  1839 
       
  1840 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0102
       
  1841 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0102
       
  1842 //! @SYMAPI                 CFbsBitGc::Clear(const TRect{ref})
       
  1843 //! @SYMAuthor              Felix Rao
       
  1844 //! @SYMCreationDate        26/12/2008
       
  1845 //! @SYMTestCaseDesc        Negative case. Clear a rectangle area which doesnt intersect with clipping rectangle.
       
  1846 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1847 //!                         2. Create a CFbsBitGc object.
       
  1848 //!                         3. Create a CFbsScreenDevice object.
       
  1849 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1850 //!                         5. Set clipping rectangle (120, 120, 50, 50).
       
  1851 //!                         6. Clear the rectangle (0, 0, 100, 100) with brush color TRgb(255, 0, 0).
       
  1852 //!                         7. Check some pixels.
       
  1853 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1854 //! @SYMTestStatus          Implemented
       
  1855 //! @SYMTestPriority        High
       
  1856 //! @SYMTestExpectedResults The Clear will have no effect.
       
  1857 //! @SYMTestType            CIT
       
  1858 
       
  1859     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1860         CREATE_OBJECT       RFbsSession          fbsSession
       
  1861         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1862         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1863         COMMAND             fbsSession           Connect
       
  1864         COMMAND             fbsBitGc             NewL
       
  1865         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0102-NewL_command03
       
  1866         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0102-Activate_command04
       
  1867         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0102-SetBrushColor_command05
       
  1868         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0102-SetClippingRect_command06
       
  1869         COMMAND             fbsBitGc             Clear                                  GRAPHICS-BITGDI-FbsBitGc-PublicApi-0102-Clear_command07
       
  1870         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0102-checkPixels_command08
       
  1871         COMMAND             fbsScrDev            Update
       
  1872         COMMAND             fbsSession           Disconnect
       
  1873         COMMAND             fbsBitGc             ~
       
  1874         COMMAND             fbsScrDev            ~
       
  1875      END_TEST_BLOCK
       
  1876 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0102
       
  1877 
       
  1878 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0103
       
  1879 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0103
       
  1880 //! @SYMAPI                 CFbsBitGc::CopyRect(const TPoint{ref}, const TRect{ref})
       
  1881 //! @SYMAuthor              Felix Rao
       
  1882 //! @SYMCreationDate        24/12/2008
       
  1883 //! @SYMTestCaseDesc        Copy a rectangle.
       
  1884 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1885 //!                         2. Create a CFbsBitGc object.
       
  1886 //!                         3. Create a CFbsScreenDevice object.
       
  1887 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1888 //!                         5. Copy a rectangle (0, 0, 50, 50) with offset TPoint(10, 10)
       
  1889 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1890 //! @SYMTestStatus          Implemented
       
  1891 //! @SYMTestPriority        High
       
  1892 //! @SYMTestExpectedResults CopyRect can be called successfully.
       
  1893 //! @SYMTestType            CIT
       
  1894 
       
  1895     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1896         CREATE_OBJECT       RFbsSession          fbsSession
       
  1897         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1898         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1899         COMMAND             fbsSession           Connect
       
  1900         COMMAND             fbsBitGc             NewL
       
  1901         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0103-NewL_command03
       
  1902         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0103-Activate_command04
       
  1903         COMMAND             fbsBitGc             CopyRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0103-CopyRect_command05
       
  1904         COMMAND             fbsSession           Disconnect
       
  1905         COMMAND             fbsBitGc             ~
       
  1906         COMMAND             fbsScrDev            ~
       
  1907      END_TEST_BLOCK
       
  1908 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0103
       
  1909 
       
  1910 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0104
       
  1911 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0104
       
  1912 //! @SYMAPI                 CFbsBitGc::CopyRect(const TPoint{ref}, const TRect{ref})
       
  1913 //! @SYMAuthor              Felix Rao
       
  1914 //! @SYMCreationDate        24/12/2008
       
  1915 //! @SYMTestCaseDesc        Negative case. Copy an empty rectangle.
       
  1916 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1917 //!                         2. Create a CFbsBitGc object.
       
  1918 //!                         3. Create a CFbsScreenDevice object.
       
  1919 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1920 //!                         5. Copy a rectangle (0, 0, 0, 0) with offset TPoint(10, 10)
       
  1921 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1922 //! @SYMTestStatus          Implemented
       
  1923 //! @SYMTestPriority        High
       
  1924 //! @SYMTestExpectedResults CopyRect can be called successfully.
       
  1925 //! @SYMTestType            CIT
       
  1926 
       
  1927     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1928         CREATE_OBJECT       RFbsSession          fbsSession
       
  1929         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1930         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1931         COMMAND             fbsSession           Connect
       
  1932         COMMAND             fbsBitGc             NewL
       
  1933         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0104-NewL_command03
       
  1934         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0104-Activate_command04
       
  1935         COMMAND             fbsBitGc             CopyRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0104-CopyRect_command05
       
  1936         COMMAND             fbsSession           Disconnect
       
  1937         COMMAND             fbsBitGc             ~
       
  1938         COMMAND             fbsScrDev            ~
       
  1939      END_TEST_BLOCK
       
  1940 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0104
       
  1941 
       
  1942 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0105
       
  1943 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0105
       
  1944 //! @SYMAPI                 CFbsBitGc::CopyRect(const TPoint{ref}, const TRect{ref})
       
  1945 //! @SYMAuthor              Felix Rao
       
  1946 //! @SYMCreationDate        24/12/2008
       
  1947 //! @SYMTestCaseDesc        Negative case. Copy a rectangle with offset (0, 0).
       
  1948 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1949 //!                         2. Create a CFbsBitGc object.
       
  1950 //!                         3. Create a CFbsScreenDevice object.
       
  1951 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1952 //!                         5. Copy a rectangle (0, 0, 50, 50) with offset TPoint(0, 0)
       
  1953 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1954 //! @SYMTestStatus          Implemented
       
  1955 //! @SYMTestPriority        High
       
  1956 //! @SYMTestExpectedResults CopyRect can be called successfully.
       
  1957 //! @SYMTestType            CIT
       
  1958 
       
  1959     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1960         CREATE_OBJECT       RFbsSession          fbsSession
       
  1961         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1962         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1963         COMMAND             fbsSession           Connect
       
  1964         COMMAND             fbsBitGc             NewL
       
  1965         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0105-NewL_command03
       
  1966         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0105-Activate_command04
       
  1967         COMMAND             fbsBitGc             CopyRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0105-CopyRect_command05
       
  1968         COMMAND             fbsSession           Disconnect
       
  1969         COMMAND             fbsBitGc             ~
       
  1970         COMMAND             fbsScrDev            ~
       
  1971      END_TEST_BLOCK
       
  1972 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0105
       
  1973 
       
  1974 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0106
       
  1975 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0106
       
  1976 //! @SYMAPI                 CFbsBitGc::CopyRect(const TPoint{ref}, const TRect{ref})
       
  1977 //! @SYMAuthor              Felix Rao
       
  1978 //! @SYMCreationDate        24/12/2008
       
  1979 //! @SYMTestCaseDesc        Negative case. Copy a rectangle area (8000, 8000, 8050, 8050).
       
  1980 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  1981 //!                         2. Create a CFbsBitGc object.
       
  1982 //!                         3. Create a CFbsScreenDevice object.
       
  1983 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  1984 //!                         5. Copy a rectangle (8000, 8000, 8050, 8050) with offset TPoint(5, 5)
       
  1985 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  1986 //! @SYMTestStatus          Implemented
       
  1987 //! @SYMTestPriority        High
       
  1988 //! @SYMTestExpectedResults CopyRect can be called successfully.
       
  1989 //! @SYMTestType            CIT
       
  1990 
       
  1991     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  1992         CREATE_OBJECT       RFbsSession          fbsSession
       
  1993         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  1994         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  1995         COMMAND             fbsSession           Connect
       
  1996         COMMAND             fbsBitGc             NewL
       
  1997         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0106-NewL_command03
       
  1998         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0106-Activate_command04
       
  1999         COMMAND             fbsBitGc             CopyRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0106-CopyRect_command05
       
  2000         COMMAND             fbsSession           Disconnect
       
  2001         COMMAND             fbsBitGc             ~
       
  2002         COMMAND             fbsScrDev            ~
       
  2003      END_TEST_BLOCK
       
  2004 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0106
       
  2005 
       
  2006 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0107
       
  2007 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0107
       
  2008 //! @SYMAPI                 CFbsBitGc::CopyRect(const TPoint{ref}, const TRect{ref})
       
  2009 //! @SYMAuthor              Felix Rao
       
  2010 //! @SYMCreationDate        24/12/2008
       
  2011 //! @SYMTestCaseDesc        Negative case. Copy a rectangle which doesnt intersect with clipping rectangle.
       
  2012 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2013 //!                         2. Create a CFbsBitGc object.
       
  2014 //!                         3. Create a CFbsScreenDevice object.
       
  2015 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  2016 //!                         5. Set clipping rectangle (10, 10, 30, 30).
       
  2017 //!                         6. Copy a rectangle (40, 40, 50, 50) with offset TPoint(5, 5)
       
  2018 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2019 //! @SYMTestStatus          Implemented
       
  2020 //! @SYMTestPriority        High
       
  2021 //! @SYMTestExpectedResults CopyRect can be called successfully.
       
  2022 //! @SYMTestType            CIT
       
  2023 
       
  2024     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2025         CREATE_OBJECT       RFbsSession          fbsSession
       
  2026         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2027         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2028         COMMAND             fbsSession           Connect
       
  2029         COMMAND             fbsBitGc             NewL
       
  2030         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0107-NewL_command03
       
  2031         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0107-Activate_command04
       
  2032         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0107-SetClippingRect_command05
       
  2033         COMMAND             fbsBitGc             CopyRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0107-CopyRect_command06
       
  2034         COMMAND             fbsSession           Disconnect
       
  2035         COMMAND             fbsBitGc             ~
       
  2036         COMMAND             fbsScrDev            ~
       
  2037      END_TEST_BLOCK
       
  2038 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0107
       
  2039 
       
  2040 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0111
       
  2041 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0111
       
  2042 //! @SYMAPI                 CFbsBitGc::CopySettings(const CFbsBitGc{ref})
       
  2043 //! @SYMAuthor              Felix Rao
       
  2044 //! @SYMCreationDate        24/12/2008
       
  2045 //! @SYMTestCaseDesc        Copy settings from another CFbsBitGc object.
       
  2046 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2047 //!                         2. Create 2 CFbsBitGc objects.
       
  2048 //!                         3. Create a CFbsScreenDevice object.
       
  2049 //!                         4. Copy settings from 2nd CFbsBitGc object to 1st CFbsBitGc object.
       
  2050 //!                         5. Disconnect RFbsSession and destruct CFbsBitGc objects and CFbsScreenDevice object.
       
  2051 //! @SYMTestStatus          Implemented
       
  2052 //! @SYMTestPriority        High
       
  2053 //! @SYMTestExpectedResults CopySettings can be called successfully.
       
  2054 //! @SYMTestType            CIT
       
  2055 
       
  2056     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2057         CREATE_OBJECT       RFbsSession          fbsSession
       
  2058         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2059         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
  2060         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2061         COMMAND             fbsSession           Connect
       
  2062         COMMAND             fbsBitGc             NewL
       
  2063         COMMAND             fbsBitGc2            NewL
       
  2064         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0111-NewL_command04
       
  2065         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0111-Activate_command05
       
  2066         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0111-Activate_command06
       
  2067         COMMAND             fbsBitGc             CopySettings                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0111-CopySettings_command07
       
  2068         COMMAND             fbsSession           Disconnect
       
  2069         COMMAND             fbsBitGc             ~
       
  2070         COMMAND             fbsBitGc2            ~
       
  2071         COMMAND             fbsScrDev            ~
       
  2072      END_TEST_BLOCK
       
  2073 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0111
       
  2074 
       
  2075 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0112
       
  2076 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0112
       
  2077 //! @SYMAPI                 CFbsBitGc::CopySettings(const CFbsBitGc{ref})
       
  2078 //! @SYMAuthor              Felix Rao
       
  2079 //! @SYMCreationDate        26/12/2008
       
  2080 //! @SYMTestCaseDesc        Copy settings from another CFbsBitGc object which has font set.
       
  2081 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2082 //!                         2. Create 2 CFbsBitGc objects and CFbsTypefaceStore object.
       
  2083 //!                         3. Create a CFbsScreenDevice object.
       
  2084 //!                         4. Set font to 2nd CFbsBitGc object.
       
  2085 //!                         5. Copy settings from 2nd CFbsBitGc object to 1st CFbsBitGc object.
       
  2086 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc objects and CFbsScreenDevice object.
       
  2087 //! @SYMTestStatus          Implemented
       
  2088 //! @SYMTestPriority        High
       
  2089 //! @SYMTestExpectedResults CopySettings can be called successfully.
       
  2090 //! @SYMTestType            CIT
       
  2091 
       
  2092     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2093         CREATE_OBJECT       RFbsSession          fbsSession
       
  2094         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2095         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
  2096         CREATE_OBJECT       CFbsFont             fbsFont
       
  2097        	CREATE_OBJECT       CFbsTypefaceStore    fbsTypefaceStore
       
  2098         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2099         COMMAND             fbsSession           Connect
       
  2100        	COMMAND             fbsTypefaceStore     NewL
       
  2101         COMMAND             fbsBitGc             NewL
       
  2102         COMMAND             fbsBitGc2            NewL
       
  2103         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0112-NewL_command05
       
  2104         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0112-Activate_command06
       
  2105         COMMAND             fbsTypefaceStore     GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0112-GetNearestFontToDesignHeightInPixels_command07
       
  2106         COMMAND             fbsBitGc2            UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0112-UseFont_command08
       
  2107         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0112-Activate_command09
       
  2108         COMMAND             fbsBitGc             CopySettings                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0112-CopySettings_command10
       
  2109        	COMMAND             fbsTypefaceStore     ~
       
  2110         COMMAND             fbsBitGc             ~
       
  2111         COMMAND             fbsBitGc2            ~
       
  2112         COMMAND             fbsScrDev            ~
       
  2113         COMMAND             fbsSession           Disconnect
       
  2114      END_TEST_BLOCK
       
  2115 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0112
       
  2116 
       
  2117 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0113
       
  2118 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0113
       
  2119 //! @SYMAPI                 CFbsBitGc::CopySettings(const CFbsBitGc{ref})
       
  2120 //! @SYMAuthor              Felix Rao
       
  2121 //! @SYMCreationDate        26/12/2008
       
  2122 //! @SYMTestCaseDesc        Copy settings from another CFbsBitGc object which has brush pattern set.
       
  2123 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2124 //!                         2. Create 2 CFbsBitGc objects and CFbsBitmap object.
       
  2125 //!                         3. Create a CFbsScreenDevice object.
       
  2126 //!                         4. Set font to 2nd CFbsBitGc object.
       
  2127 //!                         5. Copy settings from 2nd CFbsBitGc object to 1st CFbsBitGc object.
       
  2128 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc objects and CFbsScreenDevice object, CFbsBitmap object.
       
  2129 //! @SYMTestStatus          Implemented
       
  2130 //! @SYMTestPriority        High
       
  2131 //! @SYMTestExpectedResults CopySettings can be called successfully.
       
  2132 //! @SYMTestType            CIT
       
  2133 
       
  2134     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2135         CREATE_OBJECT       RFbsSession          fbsSession
       
  2136         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2137         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
  2138        	CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  2139         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2140         COMMAND             fbsSession           Connect
       
  2141        	COMMAND             fbsBitmap            new
       
  2142         COMMAND             fbsBitGc             NewL
       
  2143         COMMAND             fbsBitGc2            NewL
       
  2144         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0113-NewL_command05
       
  2145         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0113-Activate_command06
       
  2146         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0113-Load_command07
       
  2147         COMMAND             fbsBitGc2            UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0113-UseBrushPattern_command08
       
  2148         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0113-Activate_command09
       
  2149         COMMAND             fbsBitGc             CopySettings                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0113-CopySettings_command10
       
  2150        	COMMAND             fbsBitmap            ~
       
  2151         COMMAND             fbsBitGc             ~
       
  2152         COMMAND             fbsBitGc2            ~
       
  2153         COMMAND             fbsScrDev            ~
       
  2154         COMMAND             fbsSession           Disconnect
       
  2155      END_TEST_BLOCK
       
  2156 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0113
       
  2157 
       
  2158 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0114
       
  2159 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0114
       
  2160 //! @SYMAPI                 CFbsBitGc::Device()
       
  2161 //! @SYMAuthor              Felix Rao
       
  2162 //! @SYMCreationDate        25/12/2008
       
  2163 //! @SYMTestCaseDesc        Get the graphics device currently being drawn to by a CFbsBitGc object.
       
  2164 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2165 //!                         2. Create a CFbsBitGc object.
       
  2166 //!                         3. Create a CFbsScreenDevice object.
       
  2167 //!                         4. Activate CFbsBitGc object to draw to CFbsScreenDevice object.
       
  2168 //!                         5. Get the device.
       
  2169 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2170 //! @SYMTestStatus          Implemented
       
  2171 //! @SYMTestPriority        High
       
  2172 //! @SYMTestExpectedResults Device can be called successfully.
       
  2173 //! @SYMTestType            CIT
       
  2174 
       
  2175     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2176         CREATE_OBJECT       RFbsSession          fbsSession
       
  2177         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2178         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2179         COMMAND             fbsSession           Connect
       
  2180         COMMAND             fbsBitGc             NewL
       
  2181         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0114-NewL_command03
       
  2182         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0114-Activate_command04
       
  2183         COMMAND             fbsBitGc             Device
       
  2184         COMMAND             fbsSession           Disconnect
       
  2185         COMMAND             fbsBitGc             ~
       
  2186         COMMAND             fbsScrDev            ~
       
  2187      END_TEST_BLOCK
       
  2188 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0114
       
  2189 
       
  2190 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0115
       
  2191 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0115
       
  2192 //! @SYMAPI                 CFbsBitGc::Device()
       
  2193 //! @SYMAuthor              Felix Rao
       
  2194 //! @SYMCreationDate        25/12/2008
       
  2195 //! @SYMTestCaseDesc        Negative case. Get the graphics device currently being drawn to using a non-activated CFbsBitGc object.
       
  2196 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  2197 //!                         2. Get the device.
       
  2198 //! @SYMTestStatus          Implemented
       
  2199 //! @SYMTestPriority        High
       
  2200 //! @SYMTestExpectedResults Device can be called successfully.
       
  2201 //! @SYMTestType            CIT
       
  2202 
       
  2203     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2204         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2205         COMMAND             fbsBitGc             NewL
       
  2206         COMMAND             fbsBitGc             Device
       
  2207         COMMAND             fbsBitGc             ~
       
  2208      END_TEST_BLOCK
       
  2209 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0115
       
  2210 
       
  2211 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0116
       
  2212 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0116
       
  2213 //! @SYMAPI                 CFbsBitGc::DiscardBrushPattern()
       
  2214 //! @SYMAuthor              Felix Rao
       
  2215 //! @SYMCreationDate        07/01/2009
       
  2216 //! @SYMTestCaseDesc        Discards a non-built-in brush pattern.
       
  2217 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2218 //!                         2. Create a CFbsBitGc object.
       
  2219 //!                         3. Create a CFbsBitmap object.
       
  2220 //!                         4. Sets the brush pattern to the CFbsBitmap object.
       
  2221 //!                         5. Test if brush pattern is used.
       
  2222 //!                         6. Discard brush pattern and test if brush pattern is used.
       
  2223 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsBitmap object.
       
  2224 //! @SYMTestStatus          Implemented
       
  2225 //! @SYMTestPriority        High
       
  2226 //! @SYMTestExpectedResults DiscardBrushPattern() is called without error. Before this call, IsBrushPatternUsed() returns true, and returns false after this call.
       
  2227 //! @SYMTestType            CIT
       
  2228 
       
  2229     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2230         CREATE_OBJECT       RFbsSession          fbsSession
       
  2231         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2232         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  2233         COMMAND             fbsSession           Connect
       
  2234         COMMAND             fbsBitGc             NewL
       
  2235         COMMAND             fbsBitmap            new
       
  2236         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0116-Load_command04
       
  2237         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0116-UseBrushPattern_command05
       
  2238         COMMAND             fbsBitGc             IsBrushPatternUsed                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-0116-IsBrushPatternUsed_command06
       
  2239         COMMAND             fbsBitGc             DiscardBrushPattern
       
  2240         COMMAND             fbsBitGc             IsBrushPatternUsed                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-0116-IsBrushPatternUsed_command08
       
  2241         COMMAND             fbsBitmap            ~
       
  2242         COMMAND             fbsSession           Disconnect
       
  2243         COMMAND             fbsBitGc             ~
       
  2244      END_TEST_BLOCK
       
  2245 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0116
       
  2246 
       
  2247 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0117
       
  2248 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0117
       
  2249 //! @SYMAPI                 CFbsBitGc::DiscardBrushPattern()
       
  2250 //! @SYMAuthor              Felix Rao
       
  2251 //! @SYMCreationDate        07/01/2009
       
  2252 //! @SYMTestCaseDesc        Negative case. Discards a non-built-in brush pattern without using any brush pattern.
       
  2253 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2254 //!                         2. Create a CFbsBitGc object.
       
  2255 //!                         3. Discard brush pattern.
       
  2256 //!                         4. Disconnect RFbsSession and destruct CFbsBitGc object.
       
  2257 //! @SYMTestStatus          Implemented
       
  2258 //! @SYMTestPriority        High
       
  2259 //! @SYMTestExpectedResults DiscardBrushPattern() is called without error.
       
  2260 //! @SYMTestType            CIT
       
  2261 
       
  2262     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2263         CREATE_OBJECT       RFbsSession          fbsSession
       
  2264         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2265         COMMAND             fbsSession           Connect
       
  2266         COMMAND             fbsBitGc             NewL
       
  2267         COMMAND             fbsBitGc             DiscardBrushPattern
       
  2268         COMMAND             fbsSession           Disconnect
       
  2269         COMMAND             fbsBitGc             ~
       
  2270      END_TEST_BLOCK
       
  2271 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0117
       
  2272 
       
  2273 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0118
       
  2274 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0118
       
  2275 //! @SYMAPI                 CFbsBitGc::DiscardBrushPattern()
       
  2276 //! @SYMAuthor              Felix Rao
       
  2277 //! @SYMCreationDate        07/01/2009
       
  2278 //! @SYMTestCaseDesc        Discards a non-built-in brush pattern when brush style set to ESolidBrush.
       
  2279 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2280 //!                         2. Create a CFbsBitGc object.
       
  2281 //!                         3. Sets the brush style to ESolidBrush.
       
  2282 //!                         4. Discard brush pattern.
       
  2283 //!                         4. Disconnect RFbsSession and destruct CFbsBitGc object.
       
  2284 //! @SYMTestStatus          Implemented
       
  2285 //! @SYMTestPriority        High
       
  2286 //! @SYMTestExpectedResults DiscardBrushPattern() is called without error.
       
  2287 //! @SYMTestType            CIT
       
  2288 
       
  2289     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2290         CREATE_OBJECT       RFbsSession          fbsSession
       
  2291         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2292         COMMAND             fbsSession           Connect
       
  2293         COMMAND             fbsBitGc             NewL
       
  2294         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0118-SetBrushStyle_command03
       
  2295         COMMAND             fbsBitGc             DiscardBrushPattern
       
  2296         COMMAND             fbsSession           Disconnect
       
  2297         COMMAND             fbsBitGc             ~
       
  2298      END_TEST_BLOCK
       
  2299 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0118
       
  2300 
       
  2301 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0119
       
  2302 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0119
       
  2303 //! @SYMAPI                 CFbsBitGc::DiscardFont()
       
  2304 //! @SYMAuthor              Felix Rao
       
  2305 //! @SYMCreationDate        07/01/2009
       
  2306 //! @SYMTestCaseDesc        Discards a selected device font.
       
  2307 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2308 //!                         2. Create a CFbsBitGc object.
       
  2309 //!                         3. Create a CFbsFont object and a CFbsTypefaceStore object.
       
  2310 //!                         4. Get font and select the device font using CFbsBitGc object.
       
  2311 //!                         5. Test if font is used.
       
  2312 //!                         6. Discard font and test if font is used.
       
  2313 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object, release CFbsFont object and CFbsTypefaceStore object.
       
  2314 //! @SYMTestStatus          Implemented
       
  2315 //! @SYMTestPriority        High
       
  2316 //! @SYMTestExpectedResults DiscardFont() is called without error. Before this call, IsFontUsed() returns true, and returns false after this call.
       
  2317 //! @SYMTestType            CIT
       
  2318 
       
  2319     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2320         CREATE_OBJECT       RFbsSession          fbsSession
       
  2321         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2322        	CREATE_OBJECT       CFbsTypefaceStore    fbsTypefaceStore
       
  2323         CREATE_OBJECT       CFbsFont             fbsFont
       
  2324         COMMAND             fbsSession           Connect
       
  2325         COMMAND             fbsBitGc             NewL
       
  2326        	COMMAND             fbsTypefaceStore     NewL
       
  2327         COMMAND             fbsTypefaceStore     GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0119-GetNearestFontToDesignHeightInPixels_command04
       
  2328         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0119-UseFont_command05
       
  2329         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0119-IsFontUsed_command06
       
  2330         COMMAND             fbsBitGc             DiscardFont
       
  2331         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0119-IsFontUsed_command08
       
  2332        	COMMAND             fbsTypefaceStore     ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0119-ReleaseFont_command09
       
  2333        	COMMAND             fbsTypefaceStore     ~
       
  2334         COMMAND             fbsSession           Disconnect
       
  2335         COMMAND             fbsBitGc             ~
       
  2336      END_TEST_BLOCK
       
  2337 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0119
       
  2338 
       
  2339 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0120
       
  2340 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0120
       
  2341 //! @SYMAPI                 CFbsBitGc::DiscardFont()
       
  2342 //! @SYMAuthor              Felix Rao
       
  2343 //! @SYMCreationDate        07/01/2009
       
  2344 //! @SYMTestCaseDesc        Negative case. Discards a selected device font using a CFbsBitGc object which does not select any device font.
       
  2345 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2346 //!                         2. Create a CFbsBitGc object.
       
  2347 //!                         3. Discard font.
       
  2348 //!                         4. Disconnect RFbsSession and destruct CFbsBitGc object.
       
  2349 //! @SYMTestStatus          Implemented
       
  2350 //! @SYMTestPriority        High
       
  2351 //! @SYMTestExpectedResults DiscardFont() is called without error.
       
  2352 //! @SYMTestType            CIT
       
  2353 
       
  2354     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2355         CREATE_OBJECT       RFbsSession          fbsSession
       
  2356         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2357         COMMAND             fbsSession           Connect
       
  2358         COMMAND             fbsBitGc             NewL
       
  2359         COMMAND             fbsBitGc             DiscardFont
       
  2360         COMMAND             fbsSession           Disconnect
       
  2361         COMMAND             fbsBitGc             ~
       
  2362      END_TEST_BLOCK
       
  2363 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0120
       
  2364 
       
  2365 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0121
       
  2366 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0121
       
  2367 //! @SYMAPI                 CFbsBitGc::DrawArc(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2368 //! @SYMAuthor              Felix Rao
       
  2369 //! @SYMCreationDate        28/11/2008
       
  2370 //! @SYMTestCaseDesc        Draw an arc in a rectangle(0, 0, 100, 200) area from start point to end point.
       
  2371 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2372 //!                         2. Create a CFbsBitGc object.
       
  2373 //!                         3. Create a CFbsScreenDevice object.
       
  2374 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2375 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2376 //!                         6. Draw the arc in default color TRgb(0, 0, 0).
       
  2377 //!                         7. Check pixels on the arc.
       
  2378 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2379 //! @SYMTestStatus          Implemented
       
  2380 //! @SYMTestPriority        High
       
  2381 //! @SYMTestExpectedResults 1. Draw an arc without error.
       
  2382 //!                         2. The drawing result is as expected.
       
  2383 //!                         3. The arc is drawn in pen in color TRgb(0, 0, 0).
       
  2384 //!                            Only check sample points pixel1~pixel5 specified in test data on the arc.
       
  2385 //!                         4. The adjacent points of above points are not drawn so that they are in color TRgb(255, 255, 255).
       
  2386 //!                            Only check sample points pixel6~pixel10 specified in test data.
       
  2387 //! @SYMTestType            CIT
       
  2388 
       
  2389     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2390         CREATE_OBJECT       RFbsSession          fbsSession
       
  2391         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2392         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2393         COMMAND             fbsSession           Connect
       
  2394         COMMAND             fbsBitGc             NewL
       
  2395         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0121-NewL_command03
       
  2396         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0121-Activate_command04
       
  2397         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0121-SetBrushColor_command05
       
  2398         COMMAND             fbsBitGc             Clear
       
  2399         COMMAND             fbsBitGc             DrawArc                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0121-DrawArc_command07
       
  2400         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0121-checkPixels_command08
       
  2401         COMMAND             fbsScrDev            Update
       
  2402         COMMAND             fbsSession           Disconnect
       
  2403         COMMAND             fbsBitGc             ~
       
  2404         COMMAND             fbsScrDev            ~
       
  2405      END_TEST_BLOCK
       
  2406 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0121
       
  2407 
       
  2408 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0122
       
  2409 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0122
       
  2410 //! @SYMAPI                 CFbsBitGc::DrawArc(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2411 //! @SYMAuthor              Felix Rao
       
  2412 //! @SYMCreationDate        08/12/2008
       
  2413 //! @SYMTestCaseDesc        Negative case. Draw an arc in a rectangle(0, 0, 0, 0) area from start point to end point.
       
  2414 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2415 //!                         2. Create a CFbsBitGc object.
       
  2416 //!                         3. Create a CFbsScreenDevice object.
       
  2417 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2418 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2419 //!                         6. Draw the arc in default color TRgb(0, 0, 0).
       
  2420 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2421 //! @SYMTestStatus          Implemented
       
  2422 //! @SYMTestPriority        High
       
  2423 //! @SYMTestExpectedResults The arc will not be drawn.
       
  2424 //! @SYMTestType            CIT
       
  2425 
       
  2426     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2427         CREATE_OBJECT       RFbsSession          fbsSession
       
  2428         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2429         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2430         COMMAND             fbsSession           Connect
       
  2431         COMMAND             fbsBitGc             NewL
       
  2432         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0122-NewL_command03
       
  2433         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0122-Activate_command04
       
  2434         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0122-SetBrushColor_command05
       
  2435         COMMAND             fbsBitGc             Clear
       
  2436         COMMAND             fbsBitGc             DrawArc                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0122-DrawArc_command07
       
  2437         COMMAND             fbsSession           Disconnect
       
  2438         COMMAND             fbsBitGc             ~
       
  2439         COMMAND             fbsScrDev            ~
       
  2440      END_TEST_BLOCK
       
  2441 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0122
       
  2442 
       
  2443 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0123
       
  2444 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0123
       
  2445 //! @SYMAPI                 CFbsBitGc::DrawArc(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2446 //! @SYMAuthor              Felix Rao
       
  2447 //! @SYMCreationDate        08/12/2008
       
  2448 //! @SYMTestCaseDesc        Negative case. Draw an arc in a rectangle(0, 0, 100, 200) area with null pen.
       
  2449 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2450 //!                         2. Create a CFbsBitGc object.
       
  2451 //!                         3. Create a CFbsScreenDevice object.
       
  2452 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2453 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2454 //!                         6. Set pen style to null pen.
       
  2455 //!                         6. Draw the arc.
       
  2456 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2457 //! @SYMTestStatus          Implemented
       
  2458 //! @SYMTestPriority        High
       
  2459 //! @SYMTestExpectedResults The arc will not be drawn.
       
  2460 //! @SYMTestType            CIT
       
  2461 
       
  2462     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2463         CREATE_OBJECT       RFbsSession          fbsSession
       
  2464         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2465         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2466         COMMAND             fbsSession           Connect
       
  2467         COMMAND             fbsBitGc             NewL
       
  2468         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0123-NewL_command03
       
  2469         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0123-Activate_command04
       
  2470         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0123-SetBrushColor_command05
       
  2471         COMMAND             fbsBitGc             Clear
       
  2472         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0123-SetPenStyle_command07
       
  2473         COMMAND             fbsBitGc             DrawArc                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0123-DrawArc_command08
       
  2474         COMMAND             fbsSession           Disconnect
       
  2475         COMMAND             fbsBitGc             ~
       
  2476         COMMAND             fbsScrDev            ~
       
  2477      END_TEST_BLOCK
       
  2478 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0123
       
  2479 
       
  2480 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0124
       
  2481 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0124
       
  2482 //! @SYMAPI                 CFbsBitGc::DrawArc(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2483 //! @SYMAuthor              Felix Rao
       
  2484 //! @SYMCreationDate        08/12/2008
       
  2485 //! @SYMTestCaseDesc        Negative case. Draw an arc in a rectangle(0, 0, 100, 200) area with 0-width pen.
       
  2486 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2487 //!                         2. Create a CFbsBitGc object.
       
  2488 //!                         3. Create a CFbsScreenDevice object.
       
  2489 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2490 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2491 //!                         6. Set pen size to TSize(0, 1).
       
  2492 //!                         7. Draw the arc.
       
  2493 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2494 //! @SYMTestStatus          Implemented
       
  2495 //! @SYMTestPriority        High
       
  2496 //! @SYMTestExpectedResults The arc will not be drawn.
       
  2497 //! @SYMTestType            CIT
       
  2498 
       
  2499     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2500         CREATE_OBJECT       RFbsSession          fbsSession
       
  2501         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2502         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2503         COMMAND             fbsSession           Connect
       
  2504         COMMAND             fbsBitGc             NewL
       
  2505         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0124-NewL_command03
       
  2506         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0124-Activate_command04
       
  2507         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0124-SetBrushColor_command05
       
  2508         COMMAND             fbsBitGc             Clear
       
  2509         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0124-SetPenSize_command07
       
  2510         COMMAND             fbsBitGc             DrawArc                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0124-DrawArc_command08
       
  2511         COMMAND             fbsSession           Disconnect
       
  2512         COMMAND             fbsBitGc             ~
       
  2513         COMMAND             fbsScrDev            ~
       
  2514      END_TEST_BLOCK
       
  2515 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0124
       
  2516 
       
  2517 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0125
       
  2518 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0125
       
  2519 //! @SYMAPI                 CFbsBitGc::DrawArc(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2520 //! @SYMAuthor              Felix Rao
       
  2521 //! @SYMCreationDate        08/12/2008
       
  2522 //! @SYMTestCaseDesc        Negative case. Draw an arc in a rectangle(0, 0, 100, 200) area with 0-height pen.
       
  2523 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2524 //!                         2. Create a CFbsBitGc object.
       
  2525 //!                         3. Create a CFbsScreenDevice object.
       
  2526 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2527 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2528 //!                         6. Set pen size to TSize(1, 0).
       
  2529 //!                         7. Draw the arc.
       
  2530 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2531 //! @SYMTestStatus          Implemented
       
  2532 //! @SYMTestPriority        High
       
  2533 //! @SYMTestExpectedResults The arc will not be drawn.
       
  2534 //! @SYMTestType            CIT
       
  2535 
       
  2536     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2537         CREATE_OBJECT       RFbsSession          fbsSession
       
  2538         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2539         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2540         COMMAND             fbsSession           Connect
       
  2541         COMMAND             fbsBitGc             NewL
       
  2542         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0125-NewL_command03
       
  2543         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0125-Activate_command04
       
  2544         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0125-SetBrushColor_command05
       
  2545         COMMAND             fbsBitGc             Clear
       
  2546         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0125-SetPenSize_command07
       
  2547         COMMAND             fbsBitGc             DrawArc                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0125-DrawArc_command08
       
  2548         COMMAND             fbsSession           Disconnect
       
  2549         COMMAND             fbsBitGc             ~
       
  2550         COMMAND             fbsScrDev            ~
       
  2551      END_TEST_BLOCK
       
  2552 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0125
       
  2553 
       
  2554 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0126
       
  2555 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0126
       
  2556 //! @SYMAPI                 CFbsBitGc::DrawArc(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2557 //! @SYMAuthor              Felix Rao
       
  2558 //! @SYMCreationDate        08/12/2008
       
  2559 //! @SYMTestCaseDesc        Negative case. Draw an arc in a rectangle(1000, 1000, 8000, 8000) area.
       
  2560 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2561 //!                         2. Create a CFbsBitGc object.
       
  2562 //!                         3. Create a CFbsScreenDevice object.
       
  2563 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2564 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2565 //!                         6. Draw the arc.
       
  2566 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2567 //! @SYMTestStatus          Implemented
       
  2568 //! @SYMTestPriority        High
       
  2569 //! @SYMTestExpectedResults The arc will not be drawn.
       
  2570 //! @SYMTestType            CIT
       
  2571 
       
  2572     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2573         CREATE_OBJECT       RFbsSession          fbsSession
       
  2574         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2575         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2576         COMMAND             fbsSession           Connect
       
  2577         COMMAND             fbsBitGc             NewL
       
  2578         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0126-NewL_command03
       
  2579         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0126-Activate_command04
       
  2580         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0126-SetBrushColor_command05
       
  2581         COMMAND             fbsBitGc             Clear
       
  2582         COMMAND             fbsBitGc             DrawArc                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0126-DrawArc_command07
       
  2583         COMMAND             fbsSession           Disconnect
       
  2584         COMMAND             fbsBitGc             ~
       
  2585         COMMAND             fbsScrDev            ~
       
  2586      END_TEST_BLOCK
       
  2587 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0126
       
  2588 
       
  2589 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0128
       
  2590 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0128
       
  2591 //! @SYMAPI                 CFbsBitGc::DrawArc(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2592 //! @SYMAuthor              Felix Rao
       
  2593 //! @SYMCreationDate        03/12/2008
       
  2594 //! @SYMTestCaseDesc        Negative case. Draw an arc in a rectangle(0, 0, 100, 200) area from start point to end point,
       
  2595 //!                         without activating the graphic context.
       
  2596 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2597 //!                         2. Create a CFbsBitGc object.
       
  2598 //!                         3. Draw the arc
       
  2599 //! @SYMTestStatus          Implemented
       
  2600 //! @SYMTestPriority        High
       
  2601 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw using a non-activated graphics context.
       
  2602 //! @SYMTestType            CIT
       
  2603 
       
  2604     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2605         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2606         COMMAND             fbsBitGc             NewL
       
  2607         COMMAND             fbsBitGc             DrawArc                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0128-DrawArc_command02
       
  2608      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  2609      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  2610 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0128
       
  2611 
       
  2612 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0129
       
  2613 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0129
       
  2614 //! @SYMAPI                 CFbsBitGc::DrawArc(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2615 //! @SYMAuthor              Felix Rao
       
  2616 //! @SYMCreationDate        03/12/2008
       
  2617 //! @SYMTestCaseDesc        Negative case. Draw an arc in a rectangle(0, 0, 100, 200) area from start point to end point,
       
  2618 //!                         using a graphic context activated to draw to an invalid graphic device.
       
  2619 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  2620 //!                         2. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2621 //!                         3. Draw the arc.
       
  2622 //! @SYMTestStatus          Implemented
       
  2623 //! @SYMTestPriority        High
       
  2624 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  2625 //! @SYMTestType            CIT
       
  2626 
       
  2627     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2628         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2629         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2630         COMMAND             fbsBitGc             NewL
       
  2631         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0129-Activate_command02
       
  2632         COMMAND             fbsBitGc             DrawArc                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0129-DrawArc_command03
       
  2633      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  2634      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  2635 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0129
       
  2636 
       
  2637 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130
       
  2638 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130
       
  2639 //! @SYMAPI                 CFbsBitGc::DrawPie(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2640 //! @SYMAuthor              Felix Rao
       
  2641 //! @SYMCreationDate        03/12/2008
       
  2642 //! @SYMTestCaseDesc        Draw a pie in a rectangle(0, 0, 100, 200) area from start point to end point.
       
  2643 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2644 //!                         2. Create a CFbsBitGc object.
       
  2645 //!                         3. Create a CFbsScreenDevice object.
       
  2646 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2647 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2648 //!                         6. Set pen and brush color to draw and fill the pie in color TRgb(255, 0, 0).
       
  2649 //!                         7. Draw the pie.
       
  2650 //!                         8. Check pixels in the pie, on the border of the pie, and outside the pie.
       
  2651 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2652 //! @SYMTestStatus          Implemented
       
  2653 //! @SYMTestPriority        High
       
  2654 //! @SYMTestExpectedResults 1. Draw a pie without error.
       
  2655 //!                         2. The drawing result is as expected.
       
  2656 //!                         3. The pie is drawn and filled with color TRgb(255, 0, 0).
       
  2657 //!                            Check the border of pie. Pick sample points pixel1~pixel10 specified in test data.
       
  2658 //!                            Inside the pie, check sample points pixel11~pixel14 specified in test data.
       
  2659 //!                         4. Nothing is drawn outside the pie, in color TRgb(255, 255, 255).
       
  2660 //!                            Only check sample points pixel15~pixel17 specified in test data.
       
  2661 //! @SYMTestType            CIT
       
  2662 
       
  2663     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2664         CREATE_OBJECT       RFbsSession          fbsSession
       
  2665         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2666         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2667         COMMAND             fbsSession           Connect
       
  2668         COMMAND             fbsBitGc             NewL
       
  2669         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130-NewL_command03
       
  2670         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130-Activate_command04
       
  2671         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130-SetBrushStyle_command05
       
  2672         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130-SetBrushColor_command06
       
  2673         COMMAND             fbsBitGc             Clear
       
  2674         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130-SetBrushColor_command08
       
  2675         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130-SetPenColor_command09
       
  2676         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130-DrawPie_command10
       
  2677         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130-checkPixels_command11
       
  2678         COMMAND             fbsScrDev            Update
       
  2679         COMMAND             fbsSession           Disconnect
       
  2680         COMMAND             fbsBitGc             ~
       
  2681         COMMAND             fbsScrDev            ~
       
  2682      END_TEST_BLOCK
       
  2683 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0130
       
  2684 
       
  2685 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131
       
  2686 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131
       
  2687 //! @SYMAPI                 CFbsBitGc::DrawPie(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2688 //! @SYMAuthor              Felix Rao
       
  2689 //! @SYMCreationDate        08/12/2008
       
  2690 //! @SYMTestCaseDesc        Draw a pie in a rectangle(0, 0, 100, 200) area from start point to start point.
       
  2691 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2692 //!                         2. Create a CFbsBitGc object.
       
  2693 //!                         3. Create a CFbsScreenDevice object.
       
  2694 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2695 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2696 //!                         6. Set pen and brush color to draw and fill the pie in color TRgb(255, 0, 0).
       
  2697 //!                         7. Draw the pie.
       
  2698 //!                         8. Check pixels in the pie, on the border of the pie, and outside the pie.
       
  2699 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2700 //! @SYMTestStatus          Implemented
       
  2701 //! @SYMTestPriority        High
       
  2702 //! @SYMTestExpectedResults 1. Draw a pie without error.
       
  2703 //!                         2. The drawing result is as expected.
       
  2704 //!                         3. The pie is drawn and filled with color TRgb(255, 0, 0).
       
  2705 //!                            Check the border of pie. Pick sample points pixel1~pixel10 specified in test data.
       
  2706 //!                            Inside the pie, check sample points pixel11~pixel14 specified in test data.
       
  2707 //!                         4. Nothing is drawn outside the pie, in color TRgb(255, 255, 255).
       
  2708 //!                            Only check sample points pixel15~pixel17 specified in test data.
       
  2709 //! @SYMTestType            CIT
       
  2710 
       
  2711     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2712         CREATE_OBJECT       RFbsSession          fbsSession
       
  2713         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2714         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2715         COMMAND             fbsSession           Connect
       
  2716         COMMAND             fbsBitGc             NewL
       
  2717         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131-NewL_command03
       
  2718         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131-Activate_command04
       
  2719         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131-SetBrushStyle_command05
       
  2720         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131-SetBrushColor_command06
       
  2721         COMMAND             fbsBitGc             Clear
       
  2722         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131-SetBrushColor_command08
       
  2723         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131-SetPenColor_command09
       
  2724         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131-DrawPie_command10
       
  2725         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131-checkPixels_command11
       
  2726         COMMAND             fbsScrDev            Update
       
  2727         COMMAND             fbsSession           Disconnect
       
  2728         COMMAND             fbsBitGc             ~
       
  2729         COMMAND             fbsScrDev            ~
       
  2730      END_TEST_BLOCK
       
  2731 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0131
       
  2732 
       
  2733 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0132
       
  2734 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0132
       
  2735 //! @SYMAPI                 CFbsBitGc::DrawPie(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2736 //! @SYMAuthor              Felix Rao
       
  2737 //! @SYMCreationDate        08/12/2008
       
  2738 //! @SYMTestCaseDesc        Negative case. Draw a pie in a rectangle(0, 0, 100, 200) area with null pen.
       
  2739 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2740 //!                         2. Create a CFbsBitGc object.
       
  2741 //!                         3. Create a CFbsScreenDevice object.
       
  2742 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2743 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2744 //!                         6. Set pen style to null pen.
       
  2745 //!                         7. Draw the pie.
       
  2746 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2747 //! @SYMTestStatus          Implemented
       
  2748 //! @SYMTestPriority        High
       
  2749 //! @SYMTestExpectedResults The pie will not be drawn
       
  2750 //! @SYMTestType            CIT
       
  2751 
       
  2752     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2753         CREATE_OBJECT       RFbsSession          fbsSession
       
  2754         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2755         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2756         COMMAND             fbsSession           Connect
       
  2757         COMMAND             fbsBitGc             NewL
       
  2758         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0132-NewL_command03
       
  2759         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0132-Activate_command04
       
  2760         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0132-SetBrushStyle_command05
       
  2761         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0132-SetBrushColor_command06
       
  2762         COMMAND             fbsBitGc             Clear
       
  2763         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0132-SetPenStyle_command08
       
  2764         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0132-DrawPie_command09
       
  2765         COMMAND             fbsSession           Disconnect
       
  2766         COMMAND             fbsBitGc             ~
       
  2767         COMMAND             fbsScrDev            ~
       
  2768      END_TEST_BLOCK
       
  2769 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0132
       
  2770 
       
  2771 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0133
       
  2772 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0133
       
  2773 //! @SYMAPI                 CFbsBitGc::DrawPie(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2774 //! @SYMAuthor              Felix Rao
       
  2775 //! @SYMCreationDate        08/12/2008
       
  2776 //! @SYMTestCaseDesc        Negative case. Draw a pie in a rectangle(0, 0, 100, 200) area with 0-width pen.
       
  2777 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2778 //!                         2. Create a CFbsBitGc object.
       
  2779 //!                         3. Create a CFbsScreenDevice object.
       
  2780 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2781 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2782 //!                         6. Set pen size to TSize(0, 1).
       
  2783 //!                         7. Draw the pie.
       
  2784 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2785 //! @SYMTestStatus          Implemented
       
  2786 //! @SYMTestPriority        High
       
  2787 //! @SYMTestExpectedResults The pie will not be drawn
       
  2788 //! @SYMTestType            CIT
       
  2789 
       
  2790     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2791         CREATE_OBJECT       RFbsSession          fbsSession
       
  2792         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2793         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2794         COMMAND             fbsSession           Connect
       
  2795         COMMAND             fbsBitGc             NewL
       
  2796         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0133-NewL_command03
       
  2797         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0133-Activate_command04
       
  2798         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0133-SetBrushStyle_command05
       
  2799         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0133-SetBrushColor_command06
       
  2800         COMMAND             fbsBitGc             Clear
       
  2801         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0133-SetPenSize_command08
       
  2802         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0133-DrawPie_command09
       
  2803         COMMAND             fbsSession           Disconnect
       
  2804         COMMAND             fbsBitGc             ~
       
  2805         COMMAND             fbsScrDev            ~
       
  2806      END_TEST_BLOCK
       
  2807 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0133
       
  2808 
       
  2809 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0134
       
  2810 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0134
       
  2811 //! @SYMAPI                 CFbsBitGc::DrawPie(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2812 //! @SYMAuthor              Felix Rao
       
  2813 //! @SYMCreationDate        08/12/2008
       
  2814 //! @SYMTestCaseDesc        Negative case. Draw a pie in a rectangle(0, 0, 100, 200) area with 0-height pen.
       
  2815 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2816 //!                         2. Create a CFbsBitGc object.
       
  2817 //!                         3. Create a CFbsScreenDevice object.
       
  2818 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2819 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2820 //!                         6. Set pen size to TSize(1, 0).
       
  2821 //!                         7. Draw the pie.
       
  2822 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2823 //! @SYMTestStatus          Implemented
       
  2824 //! @SYMTestPriority        High
       
  2825 //! @SYMTestExpectedResults The pie will not be drawn
       
  2826 //! @SYMTestType            CIT
       
  2827 
       
  2828     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2829         CREATE_OBJECT       RFbsSession          fbsSession
       
  2830         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2831         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2832         COMMAND             fbsSession           Connect
       
  2833         COMMAND             fbsBitGc             NewL
       
  2834         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0134-NewL_command03
       
  2835         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0134-Activate_command04
       
  2836         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0134-SetBrushStyle_command05
       
  2837         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0134-SetBrushColor_command06
       
  2838         COMMAND             fbsBitGc             Clear
       
  2839         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0134-SetPenSize_command08
       
  2840         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0134-DrawPie_command09
       
  2841         COMMAND             fbsSession           Disconnect
       
  2842         COMMAND             fbsBitGc             ~
       
  2843         COMMAND             fbsScrDev            ~
       
  2844      END_TEST_BLOCK
       
  2845 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0134
       
  2846 
       
  2847 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0135
       
  2848 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0135
       
  2849 //! @SYMAPI                 CFbsBitGc::DrawPie(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2850 //! @SYMAuthor              Felix Rao
       
  2851 //! @SYMCreationDate        08/12/2008
       
  2852 //! @SYMTestCaseDesc        Negative case. Draw a pie in a rectangle(0, 0, 0, 0) area.
       
  2853 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2854 //!                         2. Create a CFbsBitGc object.
       
  2855 //!                         3. Create a CFbsScreenDevice object.
       
  2856 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2857 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2858 //!                         6. Set pen size to TSize(1, 0).
       
  2859 //!                         7. Draw the pie.
       
  2860 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2861 //! @SYMTestStatus          Implemented
       
  2862 //! @SYMTestPriority        High
       
  2863 //! @SYMTestExpectedResults The pie will not be drawn
       
  2864 //! @SYMTestType            CIT
       
  2865 
       
  2866     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2867         CREATE_OBJECT       RFbsSession          fbsSession
       
  2868         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2869         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2870         COMMAND             fbsSession           Connect
       
  2871         COMMAND             fbsBitGc             NewL
       
  2872         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0135-NewL_command03
       
  2873         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0135-Activate_command04
       
  2874         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0135-SetBrushStyle_command05
       
  2875         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0135-SetBrushColor_command06
       
  2876         COMMAND             fbsBitGc             Clear
       
  2877         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0135-DrawPie_command08
       
  2878         COMMAND             fbsSession           Disconnect
       
  2879         COMMAND             fbsBitGc             ~
       
  2880         COMMAND             fbsScrDev            ~
       
  2881      END_TEST_BLOCK
       
  2882 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0135
       
  2883 
       
  2884 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0136
       
  2885 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0136
       
  2886 //! @SYMAPI                 CFbsBitGc::DrawPie(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2887 //! @SYMAuthor              Felix Rao
       
  2888 //! @SYMCreationDate        08/12/2008
       
  2889 //! @SYMTestCaseDesc        Negative case. Draw a pie in a rectangle(1000, 1000, 8000, 8000) area.
       
  2890 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2891 //!                         2. Create a CFbsBitGc object.
       
  2892 //!                         3. Create a CFbsScreenDevice object.
       
  2893 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2894 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2895 //!                         6. Draw the pie.
       
  2896 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2897 //! @SYMTestStatus          Implemented
       
  2898 //! @SYMTestPriority        High
       
  2899 //! @SYMTestExpectedResults The pie will not be drawn
       
  2900 //! @SYMTestType            CIT
       
  2901 
       
  2902     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2903         CREATE_OBJECT       RFbsSession          fbsSession
       
  2904         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2905         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2906         COMMAND             fbsSession           Connect
       
  2907         COMMAND             fbsBitGc             NewL
       
  2908         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0136-NewL_command03
       
  2909         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0136-Activate_command04
       
  2910         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0136-SetBrushStyle_command05
       
  2911         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0136-SetBrushColor_command06
       
  2912         COMMAND             fbsBitGc             Clear
       
  2913         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0136-DrawPie_command08
       
  2914         COMMAND             fbsSession           Disconnect
       
  2915         COMMAND             fbsBitGc             ~
       
  2916         COMMAND             fbsScrDev            ~
       
  2917      END_TEST_BLOCK
       
  2918 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0136
       
  2919 
       
  2920 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137
       
  2921 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137
       
  2922 //! @SYMAPI                 CFbsBitGc::DrawPie(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2923 //! @SYMAuthor              Felix Rao
       
  2924 //! @SYMCreationDate        03/12/2008
       
  2925 //! @SYMTestCaseDesc        Draw a pie in a rectangle(0, 0, 100, 200) area from start point to end point, filled with null brush.
       
  2926 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2927 //!                         2. Create a CFbsBitGc object.
       
  2928 //!                         3. Create a CFbsScreenDevice object.
       
  2929 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2930 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  2931 //!                         6. Set pen color to draw in color TRgb(255, 0, 0), and set the to null brush.
       
  2932 //!                         7. Draw the pie.
       
  2933 //!                         8. Check pixels in the pie, on the border of the pie, and outside the pie.
       
  2934 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  2935 //! @SYMTestStatus          Implemented
       
  2936 //! @SYMTestPriority        High
       
  2937 //! @SYMTestExpectedResults 1. Draw a pie without error.
       
  2938 //!                         2. The drawing result is as expected.
       
  2939 //!                         3. The pie is drawn and filled with color TRgb(255, 0, 0).
       
  2940 //!                            Check the border of pie. Pick sample points pixel1~pixel10 specified in test data.
       
  2941 //!                            Inside the pie, check sample points pixel11~pixel14 specified in test data.
       
  2942 //!                         4. Nothing is drawn outside the pie, in color TRgb(255, 255, 255).
       
  2943 //!                            Only check sample points pixel15~pixel17 specified in test data.
       
  2944 //! @SYMTestType            CIT
       
  2945 
       
  2946     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2947         CREATE_OBJECT       RFbsSession          fbsSession
       
  2948         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2949         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2950         COMMAND             fbsSession           Connect
       
  2951         COMMAND             fbsBitGc             NewL
       
  2952         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137-NewL_command03
       
  2953         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137-Activate_command04
       
  2954         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137-SetBrushStyle_command05
       
  2955         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137-SetBrushColor_command06
       
  2956         COMMAND             fbsBitGc             Clear
       
  2957         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137-SetBrushStyle_command08
       
  2958         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137-SetPenColor_command09
       
  2959         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137-DrawPie_command10
       
  2960         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137-checkPixels_command11
       
  2961         COMMAND             fbsScrDev            Update
       
  2962         COMMAND             fbsSession           Disconnect
       
  2963         COMMAND             fbsBitGc             ~
       
  2964         COMMAND             fbsScrDev            ~
       
  2965      END_TEST_BLOCK
       
  2966 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0137
       
  2967 
       
  2968 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0138
       
  2969 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0138
       
  2970 //! @SYMAPI                 CFbsBitGc::DrawPie(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2971 //! @SYMAuthor              Felix Rao
       
  2972 //! @SYMCreationDate        03/12/2008
       
  2973 //! @SYMTestCaseDesc        Negative case. Draw a pie in a rectangle(0, 0, 100, 200) area from start point to end point to an invalid graphic device.
       
  2974 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  2975 //!                         2. Create a CFbsBitGc object.
       
  2976 //!                         3. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  2977 //!                         4. Draw the pie.
       
  2978 //! @SYMTestStatus          Implemented
       
  2979 //! @SYMTestPriority        High
       
  2980 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw using a non-activated graphics context.
       
  2981 //! @SYMTestType            CIT
       
  2982 
       
  2983     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  2984         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  2985         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  2986         COMMAND             fbsBitGc             NewL
       
  2987         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0138-Activate_command02
       
  2988         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0138-DrawPie_command03
       
  2989      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  2990      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  2991 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0138
       
  2992 
       
  2993 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0139
       
  2994 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0139
       
  2995 //! @SYMAPI                 CFbsBitGc::DrawPie(const TRect{ref}, const TPoint{ref}, const TPoint{ref})
       
  2996 //! @SYMAuthor              Felix Rao
       
  2997 //! @SYMCreationDate        03/12/2008
       
  2998 //! @SYMTestCaseDesc        Negative case. Draw a pie in a rectangle(0, 0, 100, 200) area from start point to end point
       
  2999 //!                         using a non-activated graphic context.
       
  3000 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  3001 //!                         2. Draw the pie.
       
  3002 //! @SYMTestStatus          Implemented
       
  3003 //! @SYMTestPriority        High
       
  3004 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw using a non-activated graphics context.
       
  3005 //! @SYMTestType            CIT
       
  3006 
       
  3007     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3008         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3009         COMMAND             fbsBitGc             NewL
       
  3010         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0139-DrawPie_command02
       
  3011      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  3012      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  3013 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0139
       
  3014 
       
  3015 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0151
       
  3016 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0151
       
  3017 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TPoint{ref}, const CFbsBitmap{ptr})
       
  3018 //! @SYMAuthor              Felix Rao
       
  3019 //! @SYMCreationDate        25/12/2008
       
  3020 //! @SYMTestCaseDesc        Draw a bitmap.
       
  3021 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3022 //!                         2. Create a CFbsBitGc object.
       
  3023 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3024 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3025 //!                         5. Load the bitmap.
       
  3026 //!                         7. Set size in twips of bitmap to TSize(1000, 1000).
       
  3027 //!                         8. Draw the bitmap.
       
  3028 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3029 //! @SYMTestStatus          Implemented
       
  3030 //! @SYMTestPriority        High
       
  3031 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  3032 //! @SYMTestType            CIT
       
  3033 
       
  3034     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3035         CREATE_OBJECT       RFbsSession          fbsSession
       
  3036         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3037         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3038         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3039         COMMAND             fbsSession           Connect
       
  3040         COMMAND             fbsBitGc             NewL
       
  3041         COMMAND             fbsBitmap            new
       
  3042         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0151-NewL_command04
       
  3043         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0151-Activate_command05
       
  3044         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0151-Load_command06
       
  3045         COMMAND             fbsBitmap            SetSizeInTwips                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0151-SetSizeInTwips_command07
       
  3046         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0151-DrawBitmap_command08
       
  3047         COMMAND             fbsScrDev            Update
       
  3048         DELAY		        500000
       
  3049         COMMAND             fbsBitmap            ~
       
  3050         COMMAND             fbsSession           Disconnect
       
  3051         COMMAND             fbsBitGc             ~
       
  3052         COMMAND             fbsScrDev            ~
       
  3053      END_TEST_BLOCK
       
  3054 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0151
       
  3055 
       
  3056 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0152
       
  3057 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0152
       
  3058 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TPoint{ref}, const CFbsBitmap{ptr})
       
  3059 //! @SYMAuthor              Felix Rao
       
  3060 //! @SYMCreationDate        25/12/2008
       
  3061 //! @SYMTestCaseDesc        Negative case. Draw a bitmap from null CFbsBitmap object.
       
  3062 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3063 //!                         2. Create a CFbsBitGc object.
       
  3064 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3065 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3066 //!                         5. Draw the bitmap.
       
  3067 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3068 //! @SYMTestStatus          Implemented
       
  3069 //! @SYMTestPriority        High
       
  3070 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3071 //! @SYMTestType            CIT
       
  3072 
       
  3073     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3074         CREATE_OBJECT       RFbsSession          fbsSession
       
  3075         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3076         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3077         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3078         COMMAND             fbsSession           Connect
       
  3079         COMMAND             fbsBitGc             NewL
       
  3080         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0152-NewL_command03
       
  3081         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0152-Activate_command04
       
  3082         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0152-DrawBitmap_command05
       
  3083         COMMAND             fbsSession           Disconnect
       
  3084         COMMAND             fbsBitGc             ~
       
  3085         COMMAND             fbsScrDev            ~
       
  3086      END_TEST_BLOCK
       
  3087 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0152
       
  3088 
       
  3089 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0153
       
  3090 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0153
       
  3091 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TPoint{ref}, const CFbsBitmap{ptr})
       
  3092 //! @SYMAuthor              Felix Rao
       
  3093 //! @SYMCreationDate        25/12/2008
       
  3094 //! @SYMTestCaseDesc        Negative case. Draw a bitmap using a non-activated CFbsBitGc object.
       
  3095 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3096 //!                         2. Create a CFbsBitGc object.
       
  3097 //!                         3. Create a CFbsBitmap object.
       
  3098 //!                         4. Load the bitmap.
       
  3099 //!                         5. Draw the bitmap.
       
  3100 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3101 //! @SYMTestStatus          Implemented
       
  3102 //! @SYMTestPriority        High
       
  3103 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3104 //! @SYMTestType            CIT
       
  3105 
       
  3106     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3107         CREATE_OBJECT       RFbsSession          fbsSession
       
  3108         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3109         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3110         COMMAND             fbsSession           Connect
       
  3111         COMMAND             fbsBitGc             NewL
       
  3112         COMMAND             fbsBitmap            new
       
  3113         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0153-Load_command03
       
  3114         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0153-DrawBitmap_command04
       
  3115         COMMAND             fbsBitmap            ~
       
  3116         COMMAND             fbsSession           Disconnect
       
  3117         COMMAND             fbsBitGc             ~
       
  3118      END_TEST_BLOCK
       
  3119 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0153
       
  3120 
       
  3121 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0154
       
  3122 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0154
       
  3123 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TPoint{ref}, const CFbsBitmap{ptr})
       
  3124 //! @SYMAuthor              Felix Rao
       
  3125 //! @SYMCreationDate        25/12/2008
       
  3126 //! @SYMTestCaseDesc        Draw a bitmap with size TSize(0, 10) in twips.
       
  3127 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3128 //!                         2. Create a CFbsBitGc object.
       
  3129 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3130 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3131 //!                         5. Load the bitmap.
       
  3132 //!                         6. Set size in twips of bitmap to TSize(0, 10).
       
  3133 //!                         7. Draw the bitmap.
       
  3134 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3135 //! @SYMTestStatus          Implemented
       
  3136 //! @SYMTestPriority        High
       
  3137 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3138 //! @SYMTestType            CIT
       
  3139 
       
  3140     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3141         CREATE_OBJECT       RFbsSession          fbsSession
       
  3142         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3143         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3144         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3145         COMMAND             fbsSession           Connect
       
  3146         COMMAND             fbsBitGc             NewL
       
  3147         COMMAND             fbsBitmap            new
       
  3148         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0154-NewL_command04
       
  3149         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0154-Activate_command05
       
  3150         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0154-Load_command06
       
  3151         COMMAND             fbsBitmap            SetSizeInTwips                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0154-SetSizeInTwips_command07
       
  3152         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0154-DrawBitmap_command08
       
  3153         COMMAND             fbsScrDev            Update
       
  3154         COMMAND             fbsBitmap            ~
       
  3155         COMMAND             fbsSession           Disconnect
       
  3156         COMMAND             fbsBitGc             ~
       
  3157         COMMAND             fbsScrDev            ~
       
  3158      END_TEST_BLOCK
       
  3159 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0154
       
  3160 
       
  3161 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0155
       
  3162 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0155
       
  3163 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TPoint{ref}, const CFbsBitmap{ptr})
       
  3164 //! @SYMAuthor              Felix Rao
       
  3165 //! @SYMCreationDate        25/12/2008
       
  3166 //! @SYMTestCaseDesc        Draw a bitmap with size TSize(10, 0) in twips.
       
  3167 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3168 //!                         2. Create a CFbsBitGc object.
       
  3169 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3170 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3171 //!                         5. Load the bitmap.
       
  3172 //!                         6. Set size in twips of bitmap to TSize(0, 10).
       
  3173 //!                         7. Draw the bitmap.
       
  3174 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3175 //! @SYMTestStatus          Implemented
       
  3176 //! @SYMTestPriority        High
       
  3177 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3178 //! @SYMTestType            CIT
       
  3179 
       
  3180     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3181         CREATE_OBJECT       RFbsSession          fbsSession
       
  3182         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3183         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3184         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3185         COMMAND             fbsSession           Connect
       
  3186         COMMAND             fbsBitGc             NewL
       
  3187         COMMAND             fbsBitmap            new
       
  3188         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0155-NewL_command04
       
  3189         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0155-Activate_command05
       
  3190         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0155-Load_command06
       
  3191         COMMAND             fbsBitmap            SetSizeInTwips                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0155-SetSizeInTwips_command07
       
  3192         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0155-DrawBitmap_command08
       
  3193         COMMAND             fbsScrDev            Update
       
  3194         COMMAND             fbsBitmap            ~
       
  3195         COMMAND             fbsSession           Disconnect
       
  3196         COMMAND             fbsBitGc             ~
       
  3197         COMMAND             fbsScrDev            ~
       
  3198      END_TEST_BLOCK
       
  3199 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0155
       
  3200 
       
  3201 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0156
       
  3202 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0156
       
  3203 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TPoint{ref}, const CFbsBitmap{ptr})
       
  3204 //! @SYMAuthor              Felix Rao
       
  3205 //! @SYMCreationDate        29/12/2008
       
  3206 //! @SYMTestCaseDesc        Draw a bitmap which is not loaded.
       
  3207 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3208 //!                         2. Create a CFbsBitGc object.
       
  3209 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3210 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3211 //!                         5. Draw the bitmap.
       
  3212 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3213 //! @SYMTestStatus          Implemented
       
  3214 //! @SYMTestPriority        High
       
  3215 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3216 //! @SYMTestType            CIT
       
  3217 
       
  3218     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3219         CREATE_OBJECT       RFbsSession          fbsSession
       
  3220         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3221         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3222         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3223         COMMAND             fbsSession           Connect
       
  3224         COMMAND             fbsBitGc             NewL
       
  3225         COMMAND             fbsBitmap            new
       
  3226         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0156-NewL_command04
       
  3227         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0156-Activate_command05
       
  3228         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0156-DrawBitmap_command06
       
  3229         COMMAND             fbsScrDev            Update
       
  3230         COMMAND             fbsBitmap            ~
       
  3231         COMMAND             fbsSession           Disconnect
       
  3232         COMMAND             fbsBitGc             ~
       
  3233         COMMAND             fbsScrDev            ~
       
  3234      END_TEST_BLOCK
       
  3235 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0156
       
  3236 
       
  3237 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0157
       
  3238 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0157
       
  3239 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr})
       
  3240 //! @SYMAuthor              Felix Rao
       
  3241 //! @SYMCreationDate        25/12/2008
       
  3242 //! @SYMTestCaseDesc        Draw a bitmap to fit rectangle (0, 0, 200, 100).
       
  3243 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3244 //!                         2. Create a CFbsBitGc object.
       
  3245 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3246 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3247 //!                         5. Load the bitmap.
       
  3248 //!                         6. Draw the bitmap.
       
  3249 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3250 //! @SYMTestStatus          Implemented
       
  3251 //! @SYMTestPriority        High
       
  3252 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  3253 //! @SYMTestType            CIT
       
  3254 
       
  3255     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3256         CREATE_OBJECT       RFbsSession          fbsSession
       
  3257         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3258         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3259         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3260         COMMAND             fbsSession           Connect
       
  3261         COMMAND             fbsBitGc             NewL
       
  3262         COMMAND             fbsBitmap            new
       
  3263         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0157-NewL_command04
       
  3264         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0157-Activate_command05
       
  3265         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0157-Load_command06
       
  3266         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0157-DrawBitmap_command07
       
  3267         COMMAND             fbsScrDev            Update
       
  3268         DELAY               500000
       
  3269         COMMAND             fbsBitmap            ~
       
  3270         COMMAND             fbsSession           Disconnect
       
  3271         COMMAND             fbsBitGc             ~
       
  3272         COMMAND             fbsScrDev            ~
       
  3273      END_TEST_BLOCK
       
  3274 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0157
       
  3275 
       
  3276 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0158
       
  3277 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0158
       
  3278 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr})
       
  3279 //! @SYMAuthor              Felix Rao
       
  3280 //! @SYMCreationDate        25/12/2008
       
  3281 //! @SYMTestCaseDesc        Negative case. Draw a bitmap to fit rectangle (0, 0, 0, 0).
       
  3282 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3283 //!                         2. Create a CFbsBitGc object.
       
  3284 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3285 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3286 //!                         5. Load the bitmap.
       
  3287 //!                         6. Draw the bitmap.
       
  3288 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3289 //! @SYMTestStatus          Implemented
       
  3290 //! @SYMTestPriority        High
       
  3291 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3292 //! @SYMTestType            CIT
       
  3293 
       
  3294     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3295         CREATE_OBJECT       RFbsSession          fbsSession
       
  3296         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3297         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3298         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3299         COMMAND             fbsSession           Connect
       
  3300         COMMAND             fbsBitGc             NewL
       
  3301         COMMAND             fbsBitmap            new
       
  3302         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0158-NewL_command04
       
  3303         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0158-Activate_command05
       
  3304         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0158-Load_command06
       
  3305         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0158-DrawBitmap_command07
       
  3306         COMMAND             fbsScrDev            Update
       
  3307         COMMAND             fbsBitmap            ~
       
  3308         COMMAND             fbsSession           Disconnect
       
  3309         COMMAND             fbsBitGc             ~
       
  3310         COMMAND             fbsScrDev            ~
       
  3311      END_TEST_BLOCK
       
  3312 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0158
       
  3313 
       
  3314 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0159
       
  3315 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0159
       
  3316 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr})
       
  3317 //! @SYMAuthor              Felix Rao
       
  3318 //! @SYMCreationDate        25/12/2008
       
  3319 //! @SYMTestCaseDesc        Negative case. Draw a bitmap to fit rectangle (0, 0, 100, 200) with a null CFbsBitmap object.
       
  3320 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3321 //!                         2. Create a CFbsBitGc object.
       
  3322 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3323 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3324 //!                         5. Draw the bitmap.
       
  3325 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3326 //! @SYMTestStatus          Implemented
       
  3327 //! @SYMTestPriority        High
       
  3328 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3329 //! @SYMTestType            CIT
       
  3330 
       
  3331     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3332         CREATE_OBJECT       RFbsSession          fbsSession
       
  3333         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3334         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3335         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3336         COMMAND             fbsSession           Connect
       
  3337         COMMAND             fbsBitGc             NewL
       
  3338         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0159-NewL_command03
       
  3339         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0159-Activate_command04
       
  3340         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0159-DrawBitmap_command05
       
  3341         COMMAND             fbsSession           Disconnect
       
  3342         COMMAND             fbsBitGc             ~
       
  3343         COMMAND             fbsScrDev            ~
       
  3344      END_TEST_BLOCK
       
  3345 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0159
       
  3346 
       
  3347 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0160
       
  3348 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0160
       
  3349 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr})
       
  3350 //! @SYMAuthor              Felix Rao
       
  3351 //! @SYMCreationDate        25/12/2008
       
  3352 //! @SYMTestCaseDesc        Negative case. Draw a bitmap to fit rectangle (0, 0, 100, 200) using a non-activated CFbsBitGc object.
       
  3353 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3354 //!                         2. Create a CFbsBitGc object.
       
  3355 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3356 //!                         4. Load the bitmap
       
  3357 //!                         5. Draw the bitmap.
       
  3358 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3359 //! @SYMTestStatus          Implemented
       
  3360 //! @SYMTestPriority        High
       
  3361 //! @SYMTestExpectedResults The bitmap will not be drawn. Get Panic code 1 and PanicString BITGDI.
       
  3362 //! @SYMTestType            CIT
       
  3363 
       
  3364     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3365         CREATE_OBJECT       RFbsSession          fbsSession
       
  3366         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3367         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3368         COMMAND             fbsSession           Connect
       
  3369         COMMAND             fbsBitGc             NewL
       
  3370         COMMAND             fbsBitmap            new
       
  3371         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0160-Load_command04
       
  3372         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0160-DrawBitmap_command05
       
  3373      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  3374      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  3375 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0160
       
  3376 
       
  3377 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0161
       
  3378 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0161
       
  3379 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr})
       
  3380 //! @SYMAuthor              Felix Rao
       
  3381 //! @SYMCreationDate        29/12/2008
       
  3382 //! @SYMTestCaseDesc        Negative case. Draw a bitmap which is not loaded
       
  3383 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3384 //!                         2. Create a CFbsBitGc object.
       
  3385 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3386 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3387 //!                         5. Draw the bitmap.
       
  3388 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3389 //! @SYMTestStatus          Implemented
       
  3390 //! @SYMTestPriority        High
       
  3391 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3392 //! @SYMTestType            CIT
       
  3393 
       
  3394     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3395         CREATE_OBJECT       RFbsSession          fbsSession
       
  3396         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3397         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3398         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3399         COMMAND             fbsSession           Connect
       
  3400         COMMAND             fbsBitGc             NewL
       
  3401         COMMAND             fbsBitmap            new
       
  3402         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0161-NewL_command04
       
  3403         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0161-Activate_command05
       
  3404         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0161-DrawBitmap_command06
       
  3405         COMMAND             fbsScrDev            Update
       
  3406         COMMAND             fbsBitmap            ~
       
  3407         COMMAND             fbsSession           Disconnect
       
  3408         COMMAND             fbsBitGc             ~
       
  3409         COMMAND             fbsScrDev            ~
       
  3410      END_TEST_BLOCK
       
  3411 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0161
       
  3412 
       
  3413 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0162
       
  3414 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0162
       
  3415 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
  3416 //! @SYMAuthor              Felix Rao
       
  3417 //! @SYMCreationDate        25/12/2008
       
  3418 //! @SYMTestCaseDesc        Draw rectangle area (0, 0, 10, 10) of a source bitmap to fit into rectangle area (10, 10, 200, 100).
       
  3419 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3420 //!                         2. Create a CFbsBitGc object.
       
  3421 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3422 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3423 //!                         5. Load the bitmap.
       
  3424 //!                         6. Draw the bitmap.
       
  3425 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3426 //! @SYMTestStatus          Implemented
       
  3427 //! @SYMTestPriority        High
       
  3428 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  3429 //! @SYMTestType            CIT
       
  3430 
       
  3431     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3432         CREATE_OBJECT       RFbsSession          fbsSession
       
  3433         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3434         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3435         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3436         COMMAND             fbsSession           Connect
       
  3437         COMMAND             fbsBitGc             NewL
       
  3438         COMMAND             fbsBitmap            new
       
  3439         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0162-NewL_command04
       
  3440         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0162-Activate_command05
       
  3441         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0162-Load_command06
       
  3442         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0162-DrawBitmap_command07
       
  3443         COMMAND             fbsScrDev            Update
       
  3444         DELAY               500000
       
  3445         COMMAND             fbsBitmap            ~
       
  3446         COMMAND             fbsSession           Disconnect
       
  3447         COMMAND             fbsBitGc             ~
       
  3448         COMMAND             fbsScrDev            ~
       
  3449      END_TEST_BLOCK
       
  3450 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0162
       
  3451 
       
  3452 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0163
       
  3453 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0163
       
  3454 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
  3455 //! @SYMAuthor              Felix Rao
       
  3456 //! @SYMCreationDate        25/12/2008
       
  3457 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 0, 0) of a source bitmap to fit into rectangle area (10, 10, 200, 100).
       
  3458 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3459 //!                         2. Create a CFbsBitGc object.
       
  3460 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3461 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3462 //!                         5. Load the bitmap.
       
  3463 //!                         6. Draw the bitmap.
       
  3464 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3465 //! @SYMTestStatus          Implemented
       
  3466 //! @SYMTestPriority        High
       
  3467 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3468 //! @SYMTestType            CIT
       
  3469 
       
  3470     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3471         CREATE_OBJECT       RFbsSession          fbsSession
       
  3472         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3473         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3474         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3475         COMMAND             fbsSession           Connect
       
  3476         COMMAND             fbsBitGc             NewL
       
  3477         COMMAND             fbsBitmap            new
       
  3478         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0163-NewL_command04
       
  3479         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0163-Activate_command05
       
  3480         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0163-Load_command06
       
  3481         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0163-DrawBitmap_command07
       
  3482         COMMAND             fbsScrDev            Update
       
  3483         COMMAND             fbsBitmap            ~
       
  3484         COMMAND             fbsSession           Disconnect
       
  3485         COMMAND             fbsBitGc             ~
       
  3486         COMMAND             fbsScrDev            ~
       
  3487      END_TEST_BLOCK
       
  3488 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0163
       
  3489 
       
  3490 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0164
       
  3491 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0164
       
  3492 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
  3493 //! @SYMAuthor              Felix Rao
       
  3494 //! @SYMCreationDate        25/12/2008
       
  3495 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of null bitmap object to fit into rectangle area (10, 10, 200, 100).
       
  3496 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3497 //!                         2. Create a CFbsBitGc object.
       
  3498 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3499 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3500 //!                         5. Load the bitmap.
       
  3501 //!                         6. Draw the bitmap.
       
  3502 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3503 //! @SYMTestStatus          Implemented
       
  3504 //! @SYMTestPriority        High
       
  3505 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3506 //! @SYMTestType            CIT
       
  3507 
       
  3508     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3509         CREATE_OBJECT       RFbsSession          fbsSession
       
  3510         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3511         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3512         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3513         COMMAND             fbsSession           Connect
       
  3514         COMMAND             fbsBitGc             NewL
       
  3515         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0164-NewL_command03
       
  3516         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0164-Activate_command04
       
  3517         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0164-DrawBitmap_command05
       
  3518         COMMAND             fbsScrDev            Update
       
  3519         COMMAND             fbsSession           Disconnect
       
  3520         COMMAND             fbsBitGc             ~
       
  3521         COMMAND             fbsScrDev            ~
       
  3522      END_TEST_BLOCK
       
  3523 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0164
       
  3524 
       
  3525 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0165
       
  3526 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0165
       
  3527 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
  3528 //! @SYMAuthor              Felix Rao
       
  3529 //! @SYMCreationDate        29/12/2008
       
  3530 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a source bitmap which is not loaded to fit into rectangle area (10, 10, 200, 100).
       
  3531 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3532 //!                         2. Create a CFbsBitGc object.
       
  3533 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3534 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3535 //!                         5. Draw the bitmap.
       
  3536 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3537 //! @SYMTestStatus          Implemented
       
  3538 //! @SYMTestPriority        High
       
  3539 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3540 //! @SYMTestType            CIT
       
  3541 
       
  3542     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3543         CREATE_OBJECT       RFbsSession          fbsSession
       
  3544         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3545         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3546         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3547         COMMAND             fbsSession           Connect
       
  3548         COMMAND             fbsBitGc             NewL
       
  3549         COMMAND             fbsBitmap            new
       
  3550         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0165-NewL_command04
       
  3551         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0165-Activate_command05
       
  3552         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0165-DrawBitmap_command09
       
  3553         COMMAND             fbsScrDev            Update
       
  3554         COMMAND             fbsBitmap            ~
       
  3555         COMMAND             fbsSession           Disconnect
       
  3556         COMMAND             fbsBitGc             ~
       
  3557         COMMAND             fbsScrDev            ~
       
  3558      END_TEST_BLOCK
       
  3559 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0165
       
  3560 
       
  3561 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0166
       
  3562 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0166
       
  3563 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
  3564 //! @SYMAuthor              Felix Rao
       
  3565 //! @SYMCreationDate        29/12/2008
       
  3566 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (-10, 0, 10, 10) of a source bitmap to fit into rectangle area (10, 10, 200, 100).
       
  3567 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3568 //!                         2. Create a CFbsBitGc object.
       
  3569 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3570 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3571 //!                         5. Load the bitmap.
       
  3572 //!                         6. Draw the bitmap.
       
  3573 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3574 //! @SYMTestStatus          Implemented
       
  3575 //! @SYMTestPriority        High
       
  3576 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3577 //! @SYMTestType            CIT
       
  3578 
       
  3579     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3580         CREATE_OBJECT       RFbsSession          fbsSession
       
  3581         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3582         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3583         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3584         COMMAND             fbsSession           Connect
       
  3585         COMMAND             fbsBitGc             NewL
       
  3586         COMMAND             fbsBitmap            new
       
  3587         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0166-NewL_command04
       
  3588         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0166-Activate_command05
       
  3589         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0166-Load_command06
       
  3590         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0166-DrawBitmap_command07
       
  3591         COMMAND             fbsScrDev            Update
       
  3592         COMMAND             fbsBitmap            ~
       
  3593         COMMAND             fbsSession           Disconnect
       
  3594         COMMAND             fbsBitGc             ~
       
  3595         COMMAND             fbsScrDev            ~
       
  3596      END_TEST_BLOCK
       
  3597 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0166
       
  3598 
       
  3599 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0167
       
  3600 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0167
       
  3601 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
  3602 //! @SYMAuthor              Felix Rao
       
  3603 //! @SYMCreationDate        29/12/2008
       
  3604 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, -10, 10, 10) of a source bitmap to fit into rectangle area (10, 10, 200, 100).
       
  3605 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3606 //!                         2. Create a CFbsBitGc object.
       
  3607 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3608 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3609 //!                         5. Load the bitmap.
       
  3610 //!                         6. Draw the bitmap.
       
  3611 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3612 //! @SYMTestStatus          Implemented
       
  3613 //! @SYMTestPriority        High
       
  3614 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3615 //! @SYMTestType            CIT
       
  3616 
       
  3617     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3618         CREATE_OBJECT       RFbsSession          fbsSession
       
  3619         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3620         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3621         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3622         COMMAND             fbsSession           Connect
       
  3623         COMMAND             fbsBitGc             NewL
       
  3624         COMMAND             fbsBitmap            new
       
  3625         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0167-NewL_command04
       
  3626         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0167-Activate_command05
       
  3627         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0167-Load_command06
       
  3628         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0167-DrawBitmap_command07
       
  3629         COMMAND             fbsScrDev            Update
       
  3630         COMMAND             fbsBitmap            ~
       
  3631         COMMAND             fbsSession           Disconnect
       
  3632         COMMAND             fbsBitGc             ~
       
  3633         COMMAND             fbsScrDev            ~
       
  3634      END_TEST_BLOCK
       
  3635 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0167
       
  3636 
       
  3637 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0168
       
  3638 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0168
       
  3639 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
  3640 //! @SYMAuthor              Felix Rao
       
  3641 //! @SYMCreationDate        29/12/2008
       
  3642 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 8000, 10) of a source bitmap to fit into rectangle area (10, 10, 200, 100).
       
  3643 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3644 //!                         2. Create a CFbsBitGc object.
       
  3645 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3646 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3647 //!                         5. Load the bitmap.
       
  3648 //!                         6. Draw the bitmap.
       
  3649 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3650 //! @SYMTestStatus          Implemented
       
  3651 //! @SYMTestPriority        High
       
  3652 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3653 //! @SYMTestType            CIT
       
  3654 
       
  3655     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3656         CREATE_OBJECT       RFbsSession          fbsSession
       
  3657         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3658         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3659         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3660         COMMAND             fbsSession           Connect
       
  3661         COMMAND             fbsBitGc             NewL
       
  3662         COMMAND             fbsBitmap            new
       
  3663         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0168-NewL_command04
       
  3664         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0168-Activate_command05
       
  3665         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0168-Load_command06
       
  3666         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0168-DrawBitmap_command07
       
  3667         COMMAND             fbsScrDev            Update
       
  3668         COMMAND             fbsBitmap            ~
       
  3669         COMMAND             fbsSession           Disconnect
       
  3670         COMMAND             fbsBitGc             ~
       
  3671         COMMAND             fbsScrDev            ~
       
  3672      END_TEST_BLOCK
       
  3673 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0168
       
  3674 
       
  3675 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0169
       
  3676 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0169
       
  3677 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
  3678 //! @SYMAuthor              Felix Rao
       
  3679 //! @SYMCreationDate        29/12/2008
       
  3680 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 8000) of a source bitmap to fit into rectangle area (10, 10, 200, 100).
       
  3681 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3682 //!                         2. Create a CFbsBitGc object.
       
  3683 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3684 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3685 //!                         5. Load the bitmap.
       
  3686 //!                         6. Draw the bitmap.
       
  3687 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3688 //! @SYMTestStatus          Implemented
       
  3689 //! @SYMTestPriority        High
       
  3690 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3691 //! @SYMTestType            CIT
       
  3692 
       
  3693     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3694         CREATE_OBJECT       RFbsSession          fbsSession
       
  3695         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3696         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3697         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3698         COMMAND             fbsSession           Connect
       
  3699         COMMAND             fbsBitGc             NewL
       
  3700         COMMAND             fbsBitmap            new
       
  3701         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0169-NewL_command04
       
  3702         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0169-Activate_command05
       
  3703         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0169-Load_command06
       
  3704         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0169-DrawBitmap_command07
       
  3705         COMMAND             fbsScrDev            Update
       
  3706         COMMAND             fbsBitmap            ~
       
  3707         COMMAND             fbsSession           Disconnect
       
  3708         COMMAND             fbsBitGc             ~
       
  3709         COMMAND             fbsScrDev            ~
       
  3710      END_TEST_BLOCK
       
  3711 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0169
       
  3712 
       
  3713 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0170
       
  3714 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0170
       
  3715 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
  3716 //! @SYMAuthor              Felix Rao
       
  3717 //! @SYMCreationDate        29/12/2008
       
  3718 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a source bitmap to fit into rectangle area (8000, 8000, 200, 100).
       
  3719 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3720 //!                         2. Create a CFbsBitGc object.
       
  3721 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3722 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3723 //!                         5. Load the bitmap.
       
  3724 //!                         6. Draw the bitmap.
       
  3725 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3726 //! @SYMTestStatus          Implemented
       
  3727 //! @SYMTestPriority        High
       
  3728 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3729 //! @SYMTestType            CIT
       
  3730 
       
  3731     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3732         CREATE_OBJECT       RFbsSession          fbsSession
       
  3733         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3734         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3735         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3736         COMMAND             fbsSession           Connect
       
  3737         COMMAND             fbsBitGc             NewL
       
  3738         COMMAND             fbsBitmap            new
       
  3739         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0170-NewL_command04
       
  3740         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0170-Activate_command05
       
  3741         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0170-Load_command06
       
  3742         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0170-SetClippingRect_command07
       
  3743         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0170-DrawBitmap_command08
       
  3744         COMMAND             fbsScrDev            Update
       
  3745         COMMAND             fbsBitmap            ~
       
  3746         COMMAND             fbsSession           Disconnect
       
  3747         COMMAND             fbsBitGc             ~
       
  3748         COMMAND             fbsScrDev            ~
       
  3749      END_TEST_BLOCK
       
  3750 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0170
       
  3751 
       
  3752 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171
       
  3753 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171
       
  3754 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TPoint{ref}, const CFbsBitmap{ptr})
       
  3755 //! @SYMAuthor              Felix Rao
       
  3756 //! @SYMCreationDate        30/12/2008
       
  3757 //! @SYMTestCaseDesc        Draw a bitmap and compare the destination rectangle with another rectangle which is the same to the destination rectangle before draw.
       
  3758 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3759 //!                         2. Create a CFbsBitGc object.
       
  3760 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3761 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3762 //!                         5. Create and connect a RWsSession object.
       
  3763 //!                         6. Create a CWsScreenDevice object and construct it with the same screen number to CFbsScreenDevice object.
       
  3764 //!                         7. Set clipping rectangle of CFbsBitGc object and compare the rectangle right to it.
       
  3765 //!                         8. Load the bitmap.
       
  3766 //!                         9. Set size in pixels of bitmap to TSize(1000, 1000).
       
  3767 //!                         10. Draw the bitmap.
       
  3768 //!                         11. Compare the destination rectangle with the rectangle right to it.
       
  3769 //!                         12. Disconnect RFbsSession, close RWsSession. Destruct CFbsBitGc object, CFbsScreenDevice object, CWsScreenDevice object, and CFbsBitmap object.
       
  3770 //! @SYMTestStatus          Implemented
       
  3771 //! @SYMTestPriority        High
       
  3772 //! @SYMTestExpectedResults The bitmap will be drawn. And the two rectangles are the same before draw. After draw, they are different.
       
  3773 //! @SYMTestType            CIT
       
  3774 
       
  3775     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3776         CREATE_OBJECT       RWsSession           wsSession
       
  3777         CREATE_OBJECT       RFbsSession          fbsSession
       
  3778         CREATE_OBJECT       CWsScreenDevice      wsScrDev
       
  3779         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3780         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3781         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3782         COMMAND             fbsSession           Connect
       
  3783         COMMAND             fbsBitmap            new
       
  3784         COMMAND             fbsBitGc             NewL
       
  3785         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171-NewL_command04
       
  3786         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171-Activate_command05
       
  3787         COMMAND             fbsBitGc             Clear
       
  3788         COMMAND             wsSession            new
       
  3789         COMMAND             wsSession            Connect
       
  3790         COMMAND             wsScrDev             new                                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171-new_command09
       
  3791         COMMAND             wsScrDev             Construct                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171-Construct_command10
       
  3792         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171-SetClippingRect_command11
       
  3793         COMMAND             wsScrDev             RectCompare                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171-RectCompare_command12
       
  3794         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171-Load_command13
       
  3795         COMMAND             fbsBitmap            SetSizeInTwips                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171-SetSizeInTwips_command14
       
  3796         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171-DrawBitmap_command15
       
  3797         COMMAND             wsScrDev             RectCompare                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171-RectCompare_command16
       
  3798         COMMAND             wsScrDev             ~
       
  3799         COMMAND             wsSession            Close
       
  3800         COMMAND             fbsScrDev            Update
       
  3801         DELAY		        500000
       
  3802         COMMAND             fbsBitmap            ~
       
  3803         COMMAND             fbsSession           Disconnect
       
  3804         COMMAND             fbsBitGc             ~
       
  3805         COMMAND             fbsScrDev            ~
       
  3806      END_TEST_BLOCK
       
  3807 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0171
       
  3808 
       
  3809 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172
       
  3810 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172
       
  3811 //! @SYMAPI                 CFbsBitGc::DrawBitmap(const TPoint{ref}, const CFbsBitmap{ptr}, const TRect{ref})
       
  3812 //! @SYMAuthor              Felix Rao
       
  3813 //! @SYMCreationDate        30/12/2008
       
  3814 //! @SYMTestCaseDesc        Draw rectangle area (0, 0, 30, 30) of a source bitmap to fit into rectangle area (0, 0, 90, 90).
       
  3815 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3816 //!                         2. Create a CFbsBitGc object.
       
  3817 //!                         3. Create a CFbsScreenDevice object and a CFbsBitmap object.
       
  3818 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3819 //!                         5. Create and connect a RWsSession object.
       
  3820 //!                         6. Create a CWsScreenDevice object and construct it with the same screen number to CFbsScreenDevice object.
       
  3821 //!                         7. Load the bitmap.
       
  3822 //!                         8. Draw the bitmap.
       
  3823 //!                         9. Compare the destination rectangle with the rectangle right to it.
       
  3824 //!                         10. Disconnect RFbsSession, close RWsSession. Destruct CFbsBitGc object, CFbsScreenDevice object, CWsScreenDevice object, and CFbsBitmap object.
       
  3825 //! @SYMTestPriority        High
       
  3826 //! @SYMTestExpectedResults The bitmap will be drawn. And the two rectangles are the same before draw. After draw, they are different.
       
  3827 //! @SYMTestType            CIT
       
  3828 
       
  3829     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3830         CREATE_OBJECT       RWsSession           wsSession
       
  3831         CREATE_OBJECT       RFbsSession          fbsSession
       
  3832         CREATE_OBJECT       CWsScreenDevice      wsScrDev
       
  3833         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3834         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3835         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3836         COMMAND             fbsSession           Connect
       
  3837         COMMAND             fbsBitmap            new
       
  3838         COMMAND             fbsBitGc             NewL
       
  3839         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172-NewL_command04
       
  3840         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172-Activate_command05
       
  3841         COMMAND             fbsBitGc             Clear
       
  3842         COMMAND             wsSession            new
       
  3843         COMMAND             wsSession            Connect
       
  3844         COMMAND             wsScrDev             new                                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172-new_command09
       
  3845         COMMAND             wsScrDev             Construct                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172-Construct_command10
       
  3846         COMMAND             wsScrDev             RectCompare                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172-RectCompare_command11
       
  3847         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172-Load_command12
       
  3848         COMMAND             fbsBitGc             DrawBitmap                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172-DrawBitmap_command13
       
  3849         COMMAND             wsScrDev             RectCompare                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172-RectCompare_command14
       
  3850         COMMAND             wsScrDev             ~
       
  3851         COMMAND             wsSession            Close
       
  3852         COMMAND             fbsScrDev            Update
       
  3853         DELAY		        500000
       
  3854         COMMAND             fbsBitmap            ~
       
  3855         COMMAND             fbsSession           Disconnect
       
  3856         COMMAND             fbsBitGc             ~
       
  3857         COMMAND             fbsScrDev            ~
       
  3858      END_TEST_BLOCK
       
  3859 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0172
       
  3860 
       
  3861 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0201
       
  3862 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0201
       
  3863 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  3864 //! @SYMAuthor              Felix Rao
       
  3865 //! @SYMCreationDate        25/12/2008
       
  3866 //! @SYMTestCaseDesc        Draw rectangle area (0, 0, 10, 10) of a source bitmap and its mask to fit into rectangle area (10, 10, 200, 100).
       
  3867 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3868 //!                         2. Create a CFbsBitGc object.
       
  3869 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  3870 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3871 //!                         5. Load src and mask bitmaps.
       
  3872 //!                         6. Draw the masked bitmap.
       
  3873 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  3874 //! @SYMTestStatus          Implemented
       
  3875 //! @SYMTestPriority        High
       
  3876 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  3877 //! @SYMTestType            CIT
       
  3878 
       
  3879     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3880         CREATE_OBJECT       RFbsSession          fbsSession
       
  3881         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3882         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3883         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3884         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  3885         COMMAND             fbsSession           Connect
       
  3886         COMMAND             fbsBitGc             NewL
       
  3887         COMMAND             fbsBitmap            new
       
  3888         COMMAND             fbsMaskBitmap        new
       
  3889         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0201-NewL_command05
       
  3890         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0201-Activate_command06
       
  3891         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0201-Load_command07
       
  3892         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0201-Load_command08
       
  3893         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0201-DrawBitmapMasked_command09
       
  3894         COMMAND             fbsScrDev            Update
       
  3895         DELAY               500000
       
  3896         COMMAND             fbsBitmap            ~
       
  3897         COMMAND             fbsMaskBitmap        ~
       
  3898         COMMAND             fbsSession           Disconnect
       
  3899         COMMAND             fbsBitGc             ~
       
  3900         COMMAND             fbsScrDev            ~
       
  3901      END_TEST_BLOCK
       
  3902 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0201
       
  3903 
       
  3904 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0202
       
  3905 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0202
       
  3906 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  3907 //! @SYMAuthor              Felix Rao
       
  3908 //! @SYMCreationDate        25/12/2008
       
  3909 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a null bitmap and its mask to fit into rectangle area (10, 10, 200, 100).
       
  3910 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3911 //!                         2. Create a CFbsBitGc object.
       
  3912 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  3913 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3914 //!                         5. Load the mask bitmap.
       
  3915 //!                         6. Draw the bitmap.
       
  3916 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3917 //! @SYMTestStatus          Implemented
       
  3918 //! @SYMTestPriority        High
       
  3919 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3920 //! @SYMTestType            CIT
       
  3921 
       
  3922     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3923         CREATE_OBJECT       RFbsSession          fbsSession
       
  3924         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3925         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3926         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3927         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  3928         COMMAND             fbsSession           Connect
       
  3929         COMMAND             fbsBitGc             NewL
       
  3930         COMMAND             fbsMaskBitmap        new
       
  3931         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0202-NewL_command04
       
  3932         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0202-Activate_command05
       
  3933         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0202-Load_command06
       
  3934         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0202-DrawBitmapMasked_command07
       
  3935         COMMAND             fbsScrDev            Update
       
  3936         COMMAND             fbsMaskBitmap        ~
       
  3937         COMMAND             fbsSession           Disconnect
       
  3938         COMMAND             fbsBitGc             ~
       
  3939         COMMAND             fbsScrDev            ~
       
  3940      END_TEST_BLOCK
       
  3941 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0202
       
  3942 
       
  3943 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0203
       
  3944 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0203
       
  3945 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  3946 //! @SYMAuthor              Felix Rao
       
  3947 //! @SYMCreationDate        25/12/2008
       
  3948 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a source bitmap and a null mask bitmap to fit into rectangle area (10, 10, 200, 100).
       
  3949 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3950 //!                         2. Create a CFbsBitGc object.
       
  3951 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  3952 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3953 //!                         5. Load src bitmap.
       
  3954 //!                         6. Draw the bitmap.
       
  3955 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap object.
       
  3956 //! @SYMTestStatus          Implemented
       
  3957 //! @SYMTestPriority        High
       
  3958 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  3959 //! @SYMTestType            CIT
       
  3960 
       
  3961     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  3962         CREATE_OBJECT       RFbsSession          fbsSession
       
  3963         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  3964         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  3965         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  3966         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  3967         COMMAND             fbsSession           Connect
       
  3968         COMMAND             fbsBitGc             NewL
       
  3969         COMMAND             fbsBitmap            new
       
  3970         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0203-NewL_command04
       
  3971         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0203-Activate_command05
       
  3972         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0203-Load_command06
       
  3973         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0203-DrawBitmapMasked_command07
       
  3974         COMMAND             fbsScrDev            Update
       
  3975         COMMAND             fbsBitmap            ~
       
  3976         COMMAND             fbsSession           Disconnect
       
  3977         COMMAND             fbsBitGc             ~
       
  3978         COMMAND             fbsScrDev            ~
       
  3979      END_TEST_BLOCK
       
  3980 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0203
       
  3981 
       
  3982 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0204
       
  3983 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0204
       
  3984 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  3985 //! @SYMAuthor              Felix Rao
       
  3986 //! @SYMCreationDate        25/12/2008
       
  3987 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 0, 0) of a source bitmap and its mask to fit into rectangle area (10, 10, 200, 100).
       
  3988 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  3989 //!                         2. Create a CFbsBitGc object.
       
  3990 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  3991 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  3992 //!                         5. Load src and mask bitmaps.
       
  3993 //!                         6. Draw the masked bitmap.
       
  3994 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  3995 //! @SYMTestStatus          Implemented
       
  3996 //! @SYMTestPriority        High
       
  3997 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  3998 //! @SYMTestType            CIT
       
  3999 
       
  4000     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4001         CREATE_OBJECT       RFbsSession          fbsSession
       
  4002         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4003         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4004         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4005         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4006         COMMAND             fbsSession           Connect
       
  4007         COMMAND             fbsBitGc             NewL
       
  4008         COMMAND             fbsBitmap            new
       
  4009         COMMAND             fbsMaskBitmap        new
       
  4010         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0204-NewL_command05
       
  4011         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0204-Activate_command06
       
  4012         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0204-Load_command07
       
  4013         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0204-Load_command08
       
  4014         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0204-DrawBitmapMasked_command09
       
  4015         COMMAND             fbsScrDev            Update
       
  4016         COMMAND             fbsBitmap            ~
       
  4017         COMMAND             fbsMaskBitmap        ~
       
  4018         COMMAND             fbsSession           Disconnect
       
  4019         COMMAND             fbsBitGc             ~
       
  4020         COMMAND             fbsScrDev            ~
       
  4021      END_TEST_BLOCK
       
  4022 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0204
       
  4023 
       
  4024 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0205
       
  4025 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0205
       
  4026 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4027 //! @SYMAuthor              Felix Rao
       
  4028 //! @SYMCreationDate        25/12/2008
       
  4029 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a source bitmap and its mask to fit into rectangle area (0, 0, 0, 0).
       
  4030 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4031 //!                         2. Create a CFbsBitGc object.
       
  4032 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4033 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4034 //!                         5. Load src and mask bitmaps.
       
  4035 //!                         6. Draw the masked bitmap.
       
  4036 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4037 //! @SYMTestStatus          Implemented
       
  4038 //! @SYMTestPriority        High
       
  4039 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4040 //! @SYMTestType            CIT
       
  4041 
       
  4042     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4043         CREATE_OBJECT       RFbsSession          fbsSession
       
  4044         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4045         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4046         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4047         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4048         COMMAND             fbsSession           Connect
       
  4049         COMMAND             fbsBitGc             NewL
       
  4050         COMMAND             fbsBitmap            new
       
  4051         COMMAND             fbsMaskBitmap        new
       
  4052         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0205-NewL_command05
       
  4053         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0205-Activate_command06
       
  4054         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0205-Load_command07
       
  4055         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0205-Load_command08
       
  4056         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0205-DrawBitmapMasked_command09
       
  4057         COMMAND             fbsScrDev            Update
       
  4058         COMMAND             fbsBitmap            ~
       
  4059         COMMAND             fbsMaskBitmap        ~
       
  4060         COMMAND             fbsSession           Disconnect
       
  4061         COMMAND             fbsBitGc             ~
       
  4062         COMMAND             fbsScrDev            ~
       
  4063      END_TEST_BLOCK
       
  4064 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0205
       
  4065 
       
  4066 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0206
       
  4067 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0206
       
  4068 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4069 //! @SYMAuthor              Felix Rao
       
  4070 //! @SYMCreationDate        25/12/2008
       
  4071 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a source bitmap which is not loaded.
       
  4072 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4073 //!                         2. Create a CFbsBitGc object.
       
  4074 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4075 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4076 //!                         5. Load mask bitmap.
       
  4077 //!                         6. Draw the bitmap.
       
  4078 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4079 //! @SYMTestStatus          Implemented
       
  4080 //! @SYMTestPriority        High
       
  4081 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  4082 //! @SYMTestType            CIT
       
  4083 
       
  4084     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4085         CREATE_OBJECT       RFbsSession          fbsSession
       
  4086         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4087         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4088         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4089         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4090         COMMAND             fbsSession           Connect
       
  4091         COMMAND             fbsBitGc             NewL
       
  4092         COMMAND             fbsBitmap            new
       
  4093         COMMAND             fbsMaskBitmap        new
       
  4094         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0206-NewL_command05
       
  4095         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0206-Activate_command06
       
  4096         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0206-Load_command07
       
  4097         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0206-DrawBitmapMasked_command08
       
  4098         COMMAND             fbsScrDev            Update
       
  4099         COMMAND             fbsBitmap            ~
       
  4100         COMMAND             fbsMaskBitmap        ~
       
  4101         COMMAND             fbsSession           Disconnect
       
  4102         COMMAND             fbsBitGc             ~
       
  4103         COMMAND             fbsScrDev            ~
       
  4104      END_TEST_BLOCK
       
  4105 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0206
       
  4106 
       
  4107 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0207
       
  4108 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0207
       
  4109 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4110 //! @SYMAuthor              Felix Rao
       
  4111 //! @SYMCreationDate        26/12/2008
       
  4112 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a source bitmap using a not loaded mask bitmap.
       
  4113 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4114 //!                         2. Create a CFbsBitGc object.
       
  4115 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4116 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4117 //!                         5. Load src bitmap.
       
  4118 //!                         6. Draw the bitmap.
       
  4119 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4120 //! @SYMTestStatus          Implemented
       
  4121 //! @SYMTestPriority        High
       
  4122 //! @SYMTestExpectedResults The bitmap will not be drawn.
       
  4123 //! @SYMTestType            CIT
       
  4124 
       
  4125     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4126         CREATE_OBJECT       RFbsSession          fbsSession
       
  4127         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4128         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4129         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4130         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4131         COMMAND             fbsSession           Connect
       
  4132         COMMAND             fbsBitGc             NewL
       
  4133         COMMAND             fbsBitmap            new
       
  4134         COMMAND             fbsMaskBitmap        new
       
  4135         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0207-NewL_command05
       
  4136         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0207-Activate_command06
       
  4137         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0207-Load_command07
       
  4138         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0207-DrawBitmapMasked_command08
       
  4139         COMMAND             fbsScrDev            Update
       
  4140         COMMAND             fbsBitmap            ~
       
  4141         COMMAND             fbsMaskBitmap        ~
       
  4142         COMMAND             fbsSession           Disconnect
       
  4143         COMMAND             fbsBitGc             ~
       
  4144         COMMAND             fbsScrDev            ~
       
  4145      END_TEST_BLOCK
       
  4146 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0207
       
  4147 
       
  4148 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0208
       
  4149 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0208
       
  4150 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4151 //! @SYMAuthor              Felix Rao
       
  4152 //! @SYMCreationDate        26/12/2008
       
  4153 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (-10, 0, 10, 10) of a source bitmap and its mask to fit into rectangle area (10, 10, 200, 100).
       
  4154 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4155 //!                         2. Create a CFbsBitGc object.
       
  4156 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4157 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4158 //!                         5. Load src and mask bitmaps.
       
  4159 //!                         6. Draw the masked bitmap.
       
  4160 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4161 //! @SYMTestStatus          Implemented
       
  4162 //! @SYMTestPriority        High
       
  4163 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4164 //! @SYMTestType            CIT
       
  4165 
       
  4166     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4167         CREATE_OBJECT       RFbsSession          fbsSession
       
  4168         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4169         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4170         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4171         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4172         COMMAND             fbsSession           Connect
       
  4173         COMMAND             fbsBitGc             NewL
       
  4174         COMMAND             fbsBitmap            new
       
  4175         COMMAND             fbsMaskBitmap        new
       
  4176         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0208-NewL_command05
       
  4177         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0208-Activate_command06
       
  4178         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0208-Load_command07
       
  4179         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0208-Load_command08
       
  4180         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0208-DrawBitmapMasked_command09
       
  4181         COMMAND             fbsScrDev            Update
       
  4182         COMMAND             fbsBitmap            ~
       
  4183         COMMAND             fbsMaskBitmap        ~
       
  4184         COMMAND             fbsSession           Disconnect
       
  4185         COMMAND             fbsBitGc             ~
       
  4186         COMMAND             fbsScrDev            ~
       
  4187      END_TEST_BLOCK
       
  4188 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0208
       
  4189 
       
  4190 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0209
       
  4191 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0209
       
  4192 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4193 //! @SYMAuthor              Felix Rao
       
  4194 //! @SYMCreationDate        26/12/2008
       
  4195 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, -10, 10, 10) of a source bitmap and its mask to fit into rectangle area (10, 10, 200, 100).
       
  4196 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4197 //!                         2. Create a CFbsBitGc object.
       
  4198 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4199 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4200 //!                         5. Load src and mask bitmaps.
       
  4201 //!                         6. Draw the masked bitmap.
       
  4202 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4203 //! @SYMTestStatus          Implemented
       
  4204 //! @SYMTestPriority        High
       
  4205 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4206 //! @SYMTestType            CIT
       
  4207 
       
  4208     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4209         CREATE_OBJECT       RFbsSession          fbsSession
       
  4210         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4211         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4212         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4213         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4214         COMMAND             fbsSession           Connect
       
  4215         COMMAND             fbsBitGc             NewL
       
  4216         COMMAND             fbsBitmap            new
       
  4217         COMMAND             fbsMaskBitmap        new
       
  4218         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0209-NewL_command05
       
  4219         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0209-Activate_command06
       
  4220         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0209-Load_command07
       
  4221         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0209-Load_command08
       
  4222         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0209-DrawBitmapMasked_command09
       
  4223         COMMAND             fbsScrDev            Update
       
  4224         COMMAND             fbsBitmap            ~
       
  4225         COMMAND             fbsMaskBitmap        ~
       
  4226         COMMAND             fbsSession           Disconnect
       
  4227         COMMAND             fbsBitGc             ~
       
  4228         COMMAND             fbsScrDev            ~
       
  4229      END_TEST_BLOCK
       
  4230 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0209
       
  4231 
       
  4232 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0210
       
  4233 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0210
       
  4234 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4235 //! @SYMAuthor              Felix Rao
       
  4236 //! @SYMCreationDate        26/12/2008
       
  4237 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 8000, 10) of a source bitmap and its mask to fit into rectangle area (10, 10, 200, 100).
       
  4238 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4239 //!                         2. Create a CFbsBitGc object.
       
  4240 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4241 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4242 //!                         5. Load src and mask bitmaps.
       
  4243 //!                         6. Draw the masked bitmap.
       
  4244 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4245 //! @SYMTestStatus          Implemented
       
  4246 //! @SYMTestPriority        High
       
  4247 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4248 //! @SYMTestType            CIT
       
  4249 
       
  4250     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4251         CREATE_OBJECT       RFbsSession          fbsSession
       
  4252         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4253         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4254         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4255         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4256         COMMAND             fbsSession           Connect
       
  4257         COMMAND             fbsBitGc             NewL
       
  4258         COMMAND             fbsBitmap            new
       
  4259         COMMAND             fbsMaskBitmap        new
       
  4260         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0210-NewL_command05
       
  4261         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0210-Activate_command06
       
  4262         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0210-Load_command07
       
  4263         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0210-Load_command08
       
  4264         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0210-DrawBitmapMasked_command09
       
  4265         COMMAND             fbsScrDev            Update
       
  4266         COMMAND             fbsBitmap            ~
       
  4267         COMMAND             fbsMaskBitmap        ~
       
  4268         COMMAND             fbsSession           Disconnect
       
  4269         COMMAND             fbsBitGc             ~
       
  4270         COMMAND             fbsScrDev            ~
       
  4271      END_TEST_BLOCK
       
  4272 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0210
       
  4273 
       
  4274 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0211
       
  4275 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0211
       
  4276 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4277 //! @SYMAuthor              Felix Rao
       
  4278 //! @SYMCreationDate        26/12/2008
       
  4279 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 8000) of a source bitmap and its mask to fit into rectangle area (10, 10, 200, 100).
       
  4280 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4281 //!                         2. Create a CFbsBitGc object.
       
  4282 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4283 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4284 //!                         5. Load src and mask bitmaps.
       
  4285 //!                         6. Draw the masked bitmap.
       
  4286 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4287 //! @SYMTestStatus          Implemented
       
  4288 //! @SYMTestPriority        High
       
  4289 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4290 //! @SYMTestType            CIT
       
  4291 
       
  4292     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4293         CREATE_OBJECT       RFbsSession          fbsSession
       
  4294         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4295         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4296         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4297         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4298         COMMAND             fbsSession           Connect
       
  4299         COMMAND             fbsBitGc             NewL
       
  4300         COMMAND             fbsBitmap            new
       
  4301         COMMAND             fbsMaskBitmap        new
       
  4302         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0211-NewL_command05
       
  4303         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0211-Activate_command06
       
  4304         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0211-Load_command07
       
  4305         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0211-Load_command08
       
  4306         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0211-DrawBitmapMasked_command09
       
  4307         COMMAND             fbsScrDev            Update
       
  4308         COMMAND             fbsBitmap            ~
       
  4309         COMMAND             fbsMaskBitmap        ~
       
  4310         COMMAND             fbsSession           Disconnect
       
  4311         COMMAND             fbsBitGc             ~
       
  4312         COMMAND             fbsScrDev            ~
       
  4313      END_TEST_BLOCK
       
  4314 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0211
       
  4315 
       
  4316 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0212
       
  4317 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0212
       
  4318 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4319 //! @SYMAuthor              Felix Rao
       
  4320 //! @SYMCreationDate        26/12/2008
       
  4321 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a source bitmap and its mask to fit into rectangle area (10, 10, 200, 100).
       
  4322 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4323 //!                         2. Create a CFbsBitGc object.
       
  4324 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4325 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4326 //!                         5. Load src and mask bitmaps.
       
  4327 //!                         6. Set clipping rectangle (210, 110, 10, 10)
       
  4328 //!                         7. Draw the masked bitmap.
       
  4329 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4330 //! @SYMTestStatus          Implemented
       
  4331 //! @SYMTestPriority        High
       
  4332 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4333 //! @SYMTestType            CIT
       
  4334 
       
  4335     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4336         CREATE_OBJECT       RFbsSession          fbsSession
       
  4337         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4338         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4339         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4340         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4341         COMMAND             fbsSession           Connect
       
  4342         COMMAND             fbsBitGc             NewL
       
  4343         COMMAND             fbsBitmap            new
       
  4344         COMMAND             fbsMaskBitmap        new
       
  4345         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0212-NewL_command05
       
  4346         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0212-Activate_command06
       
  4347         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0212-Load_command07
       
  4348         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0212-Load_command08
       
  4349         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0212-SetClippingRect_command09
       
  4350         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0212-DrawBitmapMasked_command10
       
  4351         COMMAND             fbsScrDev            Update
       
  4352         COMMAND             fbsBitmap            ~
       
  4353         COMMAND             fbsMaskBitmap        ~
       
  4354         COMMAND             fbsSession           Disconnect
       
  4355         COMMAND             fbsBitGc             ~
       
  4356         COMMAND             fbsScrDev            ~
       
  4357      END_TEST_BLOCK
       
  4358 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0212
       
  4359 
       
  4360 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0213
       
  4361 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0213
       
  4362 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4363 //! @SYMAuthor              Felix Rao
       
  4364 //! @SYMCreationDate        29/12/2008
       
  4365 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a source bitmap and its mask with mask bitmap resize to TSize(8000, 10).
       
  4366 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4367 //!                         2. Create a CFbsBitGc object.
       
  4368 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4369 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4370 //!                         5. Load src and mask bitmaps.
       
  4371 //!                         6. Set clipping rectangle (210, 110, 10, 10)
       
  4372 //!                         7. Draw the masked bitmap.
       
  4373 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4374 //! @SYMTestStatus          Implemented
       
  4375 //! @SYMTestPriority        High
       
  4376 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4377 //! @SYMTestType            CIT
       
  4378 
       
  4379     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4380         CREATE_OBJECT       RFbsSession          fbsSession
       
  4381         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4382         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4383         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4384         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4385         COMMAND             fbsSession           Connect
       
  4386         COMMAND             fbsBitGc             NewL
       
  4387         COMMAND             fbsBitmap            new
       
  4388         COMMAND             fbsMaskBitmap        new
       
  4389         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0213-NewL_command05
       
  4390         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0213-Activate_command06
       
  4391         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0213-Load_command07
       
  4392         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0213-Load_command08
       
  4393         COMMAND             fbsMaskBitmap        Resize                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0213-Resize_command09
       
  4394         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0213-DrawBitmapMasked_command10
       
  4395         COMMAND             fbsScrDev            Update
       
  4396         COMMAND             fbsBitmap            ~
       
  4397         COMMAND             fbsMaskBitmap        ~
       
  4398         COMMAND             fbsSession           Disconnect
       
  4399         COMMAND             fbsBitGc             ~
       
  4400         COMMAND             fbsScrDev            ~
       
  4401      END_TEST_BLOCK
       
  4402 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0213
       
  4403 
       
  4404 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0214
       
  4405 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0214
       
  4406 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4407 //! @SYMAuthor              Felix Rao
       
  4408 //! @SYMCreationDate        29/12/2008
       
  4409 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a source bitmap and its mask with mask bitmap resize to TSize(10, 8000).
       
  4410 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4411 //!                         2. Create a CFbsBitGc object.
       
  4412 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4413 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4414 //!                         5. Load src and mask bitmaps.
       
  4415 //!                         6. Set clipping rectangle (210, 110, 10, 10)
       
  4416 //!                         7. Draw the masked bitmap.
       
  4417 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4418 //! @SYMTestStatus          Implemented
       
  4419 //! @SYMTestPriority        High
       
  4420 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4421 //! @SYMTestType            CIT
       
  4422 
       
  4423     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4424         CREATE_OBJECT       RFbsSession          fbsSession
       
  4425         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4426         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4427         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4428         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4429         COMMAND             fbsSession           Connect
       
  4430         COMMAND             fbsBitGc             NewL
       
  4431         COMMAND             fbsBitmap            new
       
  4432         COMMAND             fbsMaskBitmap        new
       
  4433         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0214-NewL_command05
       
  4434         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0214-Activate_command06
       
  4435         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0214-Load_command07
       
  4436         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0214-Load_command08
       
  4437         COMMAND             fbsMaskBitmap        Resize                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0214-Resize_command09
       
  4438         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0214-DrawBitmapMasked_command10
       
  4439         COMMAND             fbsScrDev            Update
       
  4440         COMMAND             fbsBitmap            ~
       
  4441         COMMAND             fbsMaskBitmap        ~
       
  4442         COMMAND             fbsSession           Disconnect
       
  4443         COMMAND             fbsBitGc             ~
       
  4444         COMMAND             fbsScrDev            ~
       
  4445      END_TEST_BLOCK
       
  4446 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0214
       
  4447 
       
  4448 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0252
       
  4449 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0252
       
  4450 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CWsBitmap{ptr}, const TRect{ref}, const CWsBitmap{ptr}, TBool)
       
  4451 //! @SYMAuthor              Felix Rao
       
  4452 //! @SYMCreationDate        25/12/2008
       
  4453 //! @SYMTestCaseDesc        Draw rectangle area (0, 0, 10, 10) of a source bitmap and its mask to fit into rectangle area (20, 20, 100, 100).
       
  4454 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4455 //!                         2. Create a CFbsBitGc object.
       
  4456 //!                         3. Create a CFbsScreenDevice object, 2 CWsBitmap objects.
       
  4457 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4458 //!                         5. Load src and mask bitmaps.
       
  4459 //!                         6. Draw the masked bitmap.
       
  4460 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CWsBitmap objects.
       
  4461 //! @SYMTestStatus          Implemented
       
  4462 //! @SYMTestPriority        High
       
  4463 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4464 //! @SYMTestType            CIT
       
  4465 
       
  4466     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4467         CREATE_OBJECT       RWsSession           wsSession
       
  4468         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4469         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4470         CREATE_OBJECT       CWsBitmap            wsBitmap
       
  4471         CREATE_OBJECT       CWsBitmap            wsMaskBitmap
       
  4472         COMMAND             wsSession            new
       
  4473         COMMAND             wsSession            Connect
       
  4474         COMMAND             fbsBitGc             NewL
       
  4475         COMMAND             wsBitmap             new                                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-0252-new_command05
       
  4476         COMMAND             wsMaskBitmap         new                                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-0252-new_command06
       
  4477         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0252-NewL_command07
       
  4478         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0252-Activate_command08
       
  4479         COMMAND             wsBitmap             Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0252-Load_command09
       
  4480         COMMAND             wsMaskBitmap         Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0252-Load_command10
       
  4481         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0252-DrawBitmapMasked_command11
       
  4482         COMMAND             fbsScrDev            Update
       
  4483         DELAY               500000
       
  4484         COMMAND             wsBitmap             ~
       
  4485         COMMAND             wsMaskBitmap         ~
       
  4486         COMMAND             wsSession            Close
       
  4487         COMMAND             fbsBitGc             ~
       
  4488         COMMAND             fbsScrDev            ~
       
  4489      END_TEST_BLOCK
       
  4490 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0252
       
  4491 
       
  4492 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0253
       
  4493 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0253
       
  4494 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CWsBitmap{ptr}, const TRect{ref}, const CWsBitmap{ptr}, TBool)
       
  4495 //! @SYMAuthor              Felix Rao
       
  4496 //! @SYMCreationDate        25/12/2008
       
  4497 //! @SYMTestCaseDesc        Negative case. Draw rectangle area (0, 0, 10, 10) of a source bitmap and its mask to fit into rectangle area (20, 20, 100, 100) using a non-activated CFbsBitGc object.
       
  4498 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4499 //!                         2. Create a CFbsBitGc object.
       
  4500 //!                         3. Create a CFbsScreenDevice object, 2 CWsBitmap objects.
       
  4501 //!                         4. Load src and mask bitmaps.
       
  4502 //!                         5. Draw the masked bitmap.
       
  4503 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CWsBitmap objects.
       
  4504 //! @SYMTestStatus          Implemented
       
  4505 //! @SYMTestPriority        High
       
  4506 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4507 //! @SYMTestType            CIT
       
  4508 
       
  4509     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4510         CREATE_OBJECT       RWsSession           wsSession
       
  4511         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4512         CREATE_OBJECT       CWsBitmap            wsBitmap
       
  4513         CREATE_OBJECT       CWsBitmap            wsMaskBitmap
       
  4514         COMMAND             wsSession            new
       
  4515         COMMAND             wsSession            Connect
       
  4516         COMMAND             fbsBitGc             NewL
       
  4517         COMMAND             wsBitmap             new                                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-0253-new_command05
       
  4518         COMMAND             wsMaskBitmap         new                                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-0253-new_command06
       
  4519         COMMAND             wsBitmap             Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0253-Load_command07
       
  4520         COMMAND             wsMaskBitmap         Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0253-Load_command08
       
  4521         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0253-DrawBitmapMasked_command09
       
  4522         COMMAND             wsBitmap             ~
       
  4523         COMMAND             wsMaskBitmap         ~
       
  4524         COMMAND             wsSession            Close
       
  4525         COMMAND             fbsBitGc             ~
       
  4526      END_TEST_BLOCK
       
  4527 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0253
       
  4528 
       
  4529 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0254
       
  4530 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0254
       
  4531 //! @SYMAPI                 CFbsBitGc::DrawBitmapMasked(const TRect{ref}, const CFbsBitmap{ptr}, const TRect{ref}, const CFbsBitmap{ptr}, TBool)
       
  4532 //! @SYMAuthor              Felix Rao
       
  4533 //! @SYMCreationDate        25/12/2008
       
  4534 //! @SYMTestCaseDesc        Draw rectangle area (0, 0, 10, 10) of a source bitmap and its mask to fit into rectangle area (10, 10, 200, 100).
       
  4535 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4536 //!                         2. Create a CFbsBitGc object.
       
  4537 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
  4538 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4539 //!                         5. Load src and mask bitmaps.
       
  4540 //!                         6. Draw the masked bitmap with draw mode set to EDrawModeNOTPEN.
       
  4541 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
  4542 //! @SYMTestStatus          Implemented
       
  4543 //! @SYMTestPriority        High
       
  4544 //! @SYMTestExpectedResults The bitmap will be drawn.
       
  4545 //! @SYMTestType            CIT
       
  4546 
       
  4547     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4548         CREATE_OBJECT       RFbsSession          fbsSession
       
  4549         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4550         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4551         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
  4552         CREATE_OBJECT       CFbsBitmap           fbsMaskBitmap
       
  4553         COMMAND             fbsSession           Connect
       
  4554         COMMAND             fbsBitGc             NewL
       
  4555         COMMAND             fbsBitmap            new
       
  4556         COMMAND             fbsMaskBitmap        new
       
  4557         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0254-NewL_command05
       
  4558         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0254-Activate_command06
       
  4559         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0254-Load_command07
       
  4560         COMMAND             fbsMaskBitmap        Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0254-Load_command08
       
  4561         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0254-SetDrawMode_command09
       
  4562         COMMAND             fbsBitGc             DrawBitmapMasked                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-0254-DrawBitmapMasked_command10
       
  4563         COMMAND             fbsScrDev            Update
       
  4564         DELAY               500000
       
  4565         COMMAND             fbsBitmap            ~
       
  4566         COMMAND             fbsMaskBitmap        ~
       
  4567         COMMAND             fbsSession           Disconnect
       
  4568         COMMAND             fbsBitGc             ~
       
  4569         COMMAND             fbsScrDev            ~
       
  4570      END_TEST_BLOCK
       
  4571 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0254
       
  4572 
       
  4573 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271
       
  4574 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271
       
  4575 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref})
       
  4576 //! @SYMAuthor              Felix Rao
       
  4577 //! @SYMCreationDate        01/12/2008
       
  4578 //! @SYMTestCaseDesc        Draw a round rectangle
       
  4579 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4580 //!                         2. Create a CFbsBitGc object.
       
  4581 //!                         3. Create a CFbsScreenDevice object.
       
  4582 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4583 //!                         5. Set brush style and color TRgb(255, 255, 255) to clear the device.
       
  4584 //!                         6. Set brush and pen color to fill and draw the round rectangle.
       
  4585 //!                         7. Draw round rectangle.
       
  4586 //!                         8. Check the 2 rectangles, out most border of the 2 rectangles, and pixels inside & outside the round rectangle.
       
  4587 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  4588 //! @SYMTestStatus          Implemented
       
  4589 //! @SYMTestPriority        High
       
  4590 //! @SYMTestExpectedResults 1. Draw a round rectangle without error.
       
  4591 //!                         2. The drawing result is as expected.
       
  4592 //!                         3. The rectangle is drawn and filled with color TRgb(0, 0, 255).
       
  4593 //!                            Check the 2 rectangles without rounded angle specified in test data.
       
  4594 //!                         4. Check the out most borders of the 2 intersected rectangles.
       
  4595 //!                         5. Inside the round rectangle, check sample points pixel1~pixel3 specified in test data.
       
  4596 //!                            Outside the round rectangle, check sample points pixel4~pixel6 specified in test data.
       
  4597 //! @SYMTestType            CIT
       
  4598 
       
  4599     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4600         CREATE_OBJECT       RFbsSession          fbsSession
       
  4601         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4602         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4603         COMMAND             fbsSession           Connect
       
  4604         COMMAND             fbsBitGc             NewL
       
  4605         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271-NewL_command03
       
  4606         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271-Activate_command04
       
  4607         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271-SetBrushStyle_command05
       
  4608         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271-SetBrushColor_command06
       
  4609         COMMAND             fbsBitGc             Clear
       
  4610         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271-SetBrushColor_command08
       
  4611         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271-SetPenColor_command09
       
  4612         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271-DrawRoundRect_command10
       
  4613         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271-checkRectColor_command11
       
  4614         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271-checkLineColor_command12
       
  4615         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271-checkPixels_command13
       
  4616         COMMAND             fbsScrDev            Update
       
  4617         COMMAND             fbsSession           Disconnect
       
  4618         COMMAND             fbsBitGc             ~
       
  4619         COMMAND             fbsScrDev            ~
       
  4620      END_TEST_BLOCK
       
  4621 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0271
       
  4622 
       
  4623 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272
       
  4624 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272
       
  4625 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref}, const TSize{ref})
       
  4626 //! @SYMAuthor              Felix Rao
       
  4627 //! @SYMCreationDate        08/12/2008
       
  4628 //! @SYMTestCaseDesc        Draw a rectangle because of TSize(0, 5).
       
  4629 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4630 //!                         2. Create a CFbsBitGc object.
       
  4631 //!                         3. Create a CFbsScreenDevice object.
       
  4632 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4633 //!                         5. Set brush style and color TRgb(255, 255, 255) to clear the device.
       
  4634 //!                         6. Set brush and pen color to fill and draw the round rectangle.
       
  4635 //!                         7. Draw round rectangle.
       
  4636 //!                         8. Check the 2 rectangles, out most border of the 2 rectangles, and pixels inside & outside the round rectangle.
       
  4637 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  4638 //! @SYMTestStatus          Implemented
       
  4639 //! @SYMTestPriority        High
       
  4640 //! @SYMTestExpectedResults 1. Draw a round rectangle without error.
       
  4641 //!                         2. The drawing result is as expected.
       
  4642 //!                         3. The rectangle is drawn and filled with color TRgb(0, 0, 255).
       
  4643 //!                            Check the rectangle.
       
  4644 //!                         4. Check the out most borders of rectangle.
       
  4645 //!                         5. Inside the rectangle, check sample points pixel1~pixel3 specified in test data.
       
  4646 //!                            Outside the rectangle, check sample points pixel4~pixel5 specified in test data.
       
  4647 //! @SYMTestType            CIT
       
  4648 
       
  4649     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4650         CREATE_OBJECT       RFbsSession          fbsSession
       
  4651         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4652         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4653         COMMAND             fbsSession           Connect
       
  4654         COMMAND             fbsBitGc             NewL
       
  4655         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272-NewL_command03
       
  4656         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272-Activate_command04
       
  4657         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272-SetBrushStyle_command05
       
  4658         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272-SetBrushColor_command06
       
  4659         COMMAND             fbsBitGc             Clear
       
  4660         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272-SetBrushColor_command08
       
  4661         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272-SetPenColor_command09
       
  4662         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272-DrawRoundRect_command10
       
  4663         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272-checkRectColor_command11
       
  4664         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272-checkLineColor_command12
       
  4665         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272-checkPixels_command13
       
  4666         COMMAND             fbsScrDev            Update
       
  4667         COMMAND             fbsSession           Disconnect
       
  4668         COMMAND             fbsBitGc             ~
       
  4669         COMMAND             fbsScrDev            ~
       
  4670      END_TEST_BLOCK
       
  4671 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0272
       
  4672 
       
  4673 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273
       
  4674 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273
       
  4675 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref}, const TSize{ref})
       
  4676 //! @SYMAuthor              Felix Rao
       
  4677 //! @SYMCreationDate        08/12/2008
       
  4678 //! @SYMTestCaseDesc        Draw a rectangle because of TSize(5, 0).
       
  4679 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4680 //!                         2. Create a CFbsBitGc object.
       
  4681 //!                         3. Create a CFbsScreenDevice object.
       
  4682 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4683 //!                         5. Set brush style and color TRgb(255, 255, 255) to clear the device.
       
  4684 //!                         6. Set brush and pen color to fill and draw the round rectangle.
       
  4685 //!                         7. Draw rectangle.
       
  4686 //!                         8. Check the rectangle, out most border of the rectangle, and pixels inside & outside the rectangle.
       
  4687 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  4688 //! @SYMTestStatus          Implemented
       
  4689 //! @SYMTestPriority        High
       
  4690 //! @SYMTestExpectedResults 1. Draw a rectangle without error.
       
  4691 //!                         2. The drawing result is as expected.
       
  4692 //!                         3. The rectangle is drawn and filled with color TRgb(0, 0, 255).
       
  4693 //!                            Check the rectangle.
       
  4694 //!                         4. Check the out most borders of rectangle.
       
  4695 //!                         5. Inside the rectangle, check sample points pixel1~pixel3 specified in test data.
       
  4696 //!                            Outside the rectangle, check sample points pixel4~pixel5 specified in test data.
       
  4697 //! @SYMTestType            CIT
       
  4698 
       
  4699     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4700         CREATE_OBJECT       RFbsSession          fbsSession
       
  4701         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4702         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4703         COMMAND             fbsSession           Connect
       
  4704         COMMAND             fbsBitGc             NewL
       
  4705         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273-NewL_command03
       
  4706         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273-Activate_command04
       
  4707         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273-SetBrushStyle_command05
       
  4708         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273-SetBrushColor_command06
       
  4709         COMMAND             fbsBitGc             Clear
       
  4710         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273-SetBrushColor_command08
       
  4711         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273-SetPenColor_command09
       
  4712         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273-DrawRoundRect_command10
       
  4713         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273-checkRectColor_command11
       
  4714         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273-checkLineColor_command12
       
  4715         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273-checkPixels_command13
       
  4716         COMMAND             fbsScrDev            Update
       
  4717         COMMAND             fbsSession           Disconnect
       
  4718         COMMAND             fbsBitGc             ~
       
  4719         COMMAND             fbsScrDev            ~
       
  4720      END_TEST_BLOCK
       
  4721 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0273
       
  4722 
       
  4723 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274
       
  4724 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274
       
  4725 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref}, const TSize{ref})
       
  4726 //! @SYMAuthor              Felix Rao
       
  4727 //! @SYMCreationDate        08/12/2008
       
  4728 //! @SYMTestCaseDesc        Draw an ellipse in rectangle (0, 0, 100, 150) area because TSize(160, 110), which is bigger than rectangle.
       
  4729 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4730 //!                         2. Create a CFbsBitGc object.
       
  4731 //!                         3. Create a CFbsScreenDevice object.
       
  4732 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4733 //!                         5. Set brush style and color TRgb(255, 255, 255) to clear the device.
       
  4734 //!                         6. Set brush and pen color to fill and draw the ellipse.
       
  4735 //!                         7. Draw ellipse.
       
  4736 //!                         8. Check the ellipse.
       
  4737 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  4738 //! @SYMTestStatus          Implemented
       
  4739 //! @SYMTestPriority        High
       
  4740 //! @SYMTestExpectedResults 1. Draw an ellipse without error.
       
  4741 //!                         2. The drawing result is as expected.
       
  4742 //!                         3. The ellipse is drawn and filled with color TRgb(0, 0, 255).
       
  4743 //!                         4. Check the out most borders of ellipse.
       
  4744 //!                            Only check pixel1~pixel5 on the border of ellipse.
       
  4745 //!                         5. Inside the ellipse, check sample points pixel6~pixel8 specified in test data.
       
  4746 //!                            Outside the ellipse, check sample points pixel9~pixel11 specified in test data.
       
  4747 //! @SYMTestType            CIT
       
  4748 
       
  4749     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4750         CREATE_OBJECT       RFbsSession          fbsSession
       
  4751         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4752         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4753         COMMAND             fbsSession           Connect
       
  4754         COMMAND             fbsBitGc             NewL
       
  4755         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274-NewL_command03
       
  4756         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274-Activate_command04
       
  4757         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274-SetBrushStyle_command05
       
  4758         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274-SetBrushColor_command06
       
  4759         COMMAND             fbsBitGc             Clear
       
  4760         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274-SetBrushColor_command08
       
  4761         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274-SetPenColor_command09
       
  4762         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274-DrawRoundRect_command10
       
  4763         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274-checkPixels_command11
       
  4764         COMMAND             fbsScrDev            Update
       
  4765         COMMAND             fbsSession           Disconnect
       
  4766         COMMAND             fbsBitGc             ~
       
  4767         COMMAND             fbsScrDev            ~
       
  4768      END_TEST_BLOCK
       
  4769 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0274
       
  4770 
       
  4771 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0275
       
  4772 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0275
       
  4773 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref}, const TSize{ref})
       
  4774 //! @SYMAuthor              Felix Rao
       
  4775 //! @SYMCreationDate        08/12/2008
       
  4776 //! @SYMTestCaseDesc        Negative case. Draw a rectangle (0, 0, 0, 0) area.
       
  4777 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4778 //!                         2. Create a CFbsBitGc object.
       
  4779 //!                         3. Create a CFbsScreenDevice object.
       
  4780 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4781 //!                         5. Set brush style and color TRgb(255, 255, 255) to clear the device.
       
  4782 //!                         6. Set brush and pen color to fill and draw the rectangle.
       
  4783 //!                         7. Draw rectangle.
       
  4784 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  4785 //! @SYMTestStatus          Implemented
       
  4786 //! @SYMTestPriority        High
       
  4787 //! @SYMTestExpectedResults The rectangle will not be drawn
       
  4788 //! @SYMTestType            CIT
       
  4789 
       
  4790     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4791         CREATE_OBJECT       RFbsSession          fbsSession
       
  4792         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4793         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4794         COMMAND             fbsSession           Connect
       
  4795         COMMAND             fbsBitGc             NewL
       
  4796         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0275-NewL_command03
       
  4797         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0275-Activate_command04
       
  4798         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0275-SetBrushStyle_command05
       
  4799         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0275-SetBrushColor_command06
       
  4800         COMMAND             fbsBitGc             Clear
       
  4801         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0275-SetBrushColor_command08
       
  4802         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0275-SetPenColor_command09
       
  4803         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0275-DrawRoundRect_command10
       
  4804         COMMAND             fbsScrDev            Update
       
  4805         COMMAND             fbsSession           Disconnect
       
  4806         COMMAND             fbsBitGc             ~
       
  4807         COMMAND             fbsScrDev            ~
       
  4808      END_TEST_BLOCK
       
  4809 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0275
       
  4810 
       
  4811 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276
       
  4812 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276
       
  4813 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref}, const TSize{ref})
       
  4814 //! @SYMAuthor              Felix Rao
       
  4815 //! @SYMCreationDate        08/12/2008
       
  4816 //! @SYMTestCaseDesc        Draw a round rectangle (0, 0, 100, 150) area with null brush.
       
  4817 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4818 //!                         2. Create a CFbsBitGc object.
       
  4819 //!                         3. Create a CFbsScreenDevice object.
       
  4820 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4821 //!                         5. Set brush style and color TRgb(255, 255, 255) to clear the device.
       
  4822 //!                         6. Set pen color and null brush to fill and draw the rectangle.
       
  4823 //!                         7. Draw rectangle.
       
  4824 //!                         8. Check the rectangle, its border, as well as sample pixels inside and outside the rectangle.
       
  4825 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  4826 //! @SYMTestStatus          Implemented
       
  4827 //! @SYMTestPriority        High
       
  4828 //! @SYMTestExpectedResults 1. The round rectangle will be drawn without error.
       
  4829 //!                         2. The drawing result is as expected.
       
  4830 //!                         3. The round rectangle is drawn with color TRgb(0, 0, 0).
       
  4831 //!                         4. Check the out most borders of round rectangle.
       
  4832 //!                            Check the rectangle.
       
  4833 //!                         5. Inside the rectangle, check sample points pixel1~pixel3 specified in test data.
       
  4834 //!                            Outside the rectangle, check sample points pixel4~pixel6 specified in test data.
       
  4835 //! @SYMTestType            CIT
       
  4836 
       
  4837     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4838         CREATE_OBJECT       RFbsSession          fbsSession
       
  4839         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4840         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4841         COMMAND             fbsSession           Connect
       
  4842         COMMAND             fbsBitGc             NewL
       
  4843         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276-NewL_command03
       
  4844         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276-Activate_command04
       
  4845         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276-SetBrushStyle_command05
       
  4846         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276-SetBrushColor_command06
       
  4847         COMMAND             fbsBitGc             Clear
       
  4848         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276-SetBrushStyle_command08
       
  4849         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276-SetPenColor_command09
       
  4850         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276-DrawRoundRect_command10
       
  4851         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276-checkRectColor_command11
       
  4852         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276-checkLineColor_command12
       
  4853         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276-checkPixels_command13
       
  4854         COMMAND             fbsScrDev            Update
       
  4855         COMMAND             fbsSession           Disconnect
       
  4856         COMMAND             fbsBitGc             ~
       
  4857         COMMAND             fbsScrDev            ~
       
  4858      END_TEST_BLOCK
       
  4859 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0276
       
  4860 
       
  4861 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277
       
  4862 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277
       
  4863 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref}, const TSize{ref})
       
  4864 //! @SYMAuthor              Felix Rao
       
  4865 //! @SYMCreationDate        08/12/2008
       
  4866 //! @SYMTestCaseDesc        Draw a round rectangle (0, 0, 100, 150) area with null pen.
       
  4867 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4868 //!                         2. Create a CFbsBitGc object.
       
  4869 //!                         3. Create a CFbsScreenDevice object.
       
  4870 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4871 //!                         5. Set brush style and color TRgb(255, 255, 255) to clear the device.
       
  4872 //!                         6. Set brush color to fill and draw the rectangle. Also set null pen.
       
  4873 //!                         7. Draw rectangle.
       
  4874 //!                         8. Check the rectangle, its border, as well as sample pixels inside and outside the rectangle.
       
  4875 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  4876 //! @SYMTestStatus          Implemented
       
  4877 //! @SYMTestPriority        High
       
  4878 //! @SYMTestExpectedResults 1. The round rectangle will be drawn without error.
       
  4879 //!                         2. The drawing result is as expected.
       
  4880 //!                         3. The round rectangle is filled with color TRgb(0, 0, 255).
       
  4881 //!                         4. Check the out most borders of round rectangle.
       
  4882 //!                            Check the rectangle.
       
  4883 //!                         5. Inside the rectangle, check sample points pixel1~pixel3 specified in test data.
       
  4884 //!                            Outside the rectangle, check sample points pixel4~pixel6 specified in test data.
       
  4885 //! @SYMTestType            CIT
       
  4886 
       
  4887     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4888         CREATE_OBJECT       RFbsSession          fbsSession
       
  4889         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4890         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4891         COMMAND             fbsSession           Connect
       
  4892         COMMAND             fbsBitGc             NewL
       
  4893         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277-NewL_command03
       
  4894         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277-Activate_command04
       
  4895         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277-SetBrushStyle_command05
       
  4896         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277-SetBrushColor_command06
       
  4897         COMMAND             fbsBitGc             Clear
       
  4898         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277-SetBrushColor_command08
       
  4899         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277-SetPenStyle_command09
       
  4900         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277-DrawRoundRect_command10
       
  4901         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277-checkRectColor_command11
       
  4902         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277-checkLineColor_command12
       
  4903         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277-checkPixels_command13
       
  4904         COMMAND             fbsScrDev            Update
       
  4905         COMMAND             fbsSession           Disconnect
       
  4906         COMMAND             fbsBitGc             ~
       
  4907         COMMAND             fbsScrDev            ~
       
  4908      END_TEST_BLOCK
       
  4909 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0277
       
  4910 
       
  4911 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278
       
  4912 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278
       
  4913 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref}, const TSize{ref})
       
  4914 //! @SYMAuthor              Felix Rao
       
  4915 //! @SYMCreationDate        08/12/2008
       
  4916 //! @SYMTestCaseDesc        Negative case. Draw a round rectangle (0, 0, 100, 150) area with 0-width pen.
       
  4917 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4918 //!                         2. Create a CFbsBitGc object.
       
  4919 //!                         3. Create a CFbsScreenDevice object.
       
  4920 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4921 //!                         5. Set brush style and color TRgb(255, 255, 255) to clear the device.
       
  4922 //!                         6. Set brush color to fill and draw the rectangle. Also set pen size to TSize(0, 1).
       
  4923 //!                         7. Draw rectangle.
       
  4924 //!                         8. Check the rectangle, its border, as well as sample pixels inside and outside the rectangle.
       
  4925 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  4926 //! @SYMTestStatus          Implemented
       
  4927 //! @SYMTestPriority        High
       
  4928 //! @SYMTestExpectedResults 1. The round rectangle will be drawn without error.
       
  4929 //!                         2. The drawing result is as expected.
       
  4930 //!                         3. The round rectangle is filled with color TRgb(0, 0, 255).
       
  4931 //!                         4. Check the rectangle.
       
  4932 //!                         5. Inside the rectangle, check sample points pixel1~pixel3 specified in test data.
       
  4933 //!                            Outside the rectangle, check sample points pixel4~pixel6 specified in test data.
       
  4934 //! @SYMTestType            CIT
       
  4935 
       
  4936     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4937         CREATE_OBJECT       RFbsSession          fbsSession
       
  4938         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4939         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4940         COMMAND             fbsSession           Connect
       
  4941         COMMAND             fbsBitGc             NewL
       
  4942         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278-NewL_command03
       
  4943         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278-Activate_command04
       
  4944         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278-SetBrushStyle_command05
       
  4945         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278-SetBrushColor_command06
       
  4946         COMMAND             fbsBitGc             Clear
       
  4947         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278-SetBrushColor_command08
       
  4948         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278-SetPenSize_command09
       
  4949         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278-DrawRoundRect_command10
       
  4950         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278-checkRectColor_command11
       
  4951         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278-checkPixels_command12
       
  4952         COMMAND             fbsScrDev            Update
       
  4953         COMMAND             fbsSession           Disconnect
       
  4954         COMMAND             fbsBitGc             ~
       
  4955         COMMAND             fbsScrDev            ~
       
  4956      END_TEST_BLOCK
       
  4957 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0278
       
  4958 
       
  4959 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279
       
  4960 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279
       
  4961 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref}, const TSize{ref})
       
  4962 //! @SYMAuthor              Felix Rao
       
  4963 //! @SYMCreationDate        08/12/2008
       
  4964 //! @SYMTestCaseDesc        Draw a round rectangle (0, 0, 100, 150) area with 0-height pen.
       
  4965 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  4966 //!                         2. Create a CFbsBitGc object.
       
  4967 //!                         3. Create a CFbsScreenDevice object.
       
  4968 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  4969 //!                         5. Set brush style and color TRgb(255, 255, 255) to clear the device.
       
  4970 //!                         6. Set brush color to fill and draw the rectangle. Also set pen size to TSize(0, 1).
       
  4971 //!                         7. Draw rectangle.
       
  4972 //!                         8. Check the rectangle, its border, as well as sample pixels inside and outside the rectangle.
       
  4973 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  4974 //! @SYMTestStatus          Implemented
       
  4975 //! @SYMTestPriority        High
       
  4976 //! @SYMTestExpectedResults 1. The round rectangle will be drawn without error.
       
  4977 //!                         2. The drawing result is as expected.
       
  4978 //!                         3. The round rectangle is filled with color TRgb(0, 0, 255).
       
  4979 //!                         4. Check the rectangle.
       
  4980 //!                         5. Inside the rectangle, check sample points pixel1~pixel3 specified in test data.
       
  4981 //!                            Outside the rectangle, check sample points pixel4~pixel6 specified in test data.
       
  4982 //! @SYMTestType            CIT
       
  4983 
       
  4984     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  4985         CREATE_OBJECT       RFbsSession          fbsSession
       
  4986         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  4987         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  4988         COMMAND             fbsSession           Connect
       
  4989         COMMAND             fbsBitGc             NewL
       
  4990         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279-NewL_command03
       
  4991         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279-Activate_command04
       
  4992         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279-SetBrushStyle_command05
       
  4993         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279-SetBrushColor_command06
       
  4994         COMMAND             fbsBitGc             Clear
       
  4995         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279-SetBrushColor_command08
       
  4996         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279-SetPenSize_command09
       
  4997         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279-DrawRoundRect_command10
       
  4998         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279-checkRectColor_command11
       
  4999         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279-checkPixels_command12
       
  5000         COMMAND             fbsScrDev            Update
       
  5001         COMMAND             fbsSession           Disconnect
       
  5002         COMMAND             fbsBitGc             ~
       
  5003         COMMAND             fbsScrDev            ~
       
  5004      END_TEST_BLOCK
       
  5005 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0279
       
  5006 
       
  5007 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0280
       
  5008 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0280
       
  5009 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref})
       
  5010 //! @SYMAuthor              Felix Rao
       
  5011 //! @SYMCreationDate        08/12/2008
       
  5012 //! @SYMTestCaseDesc        Draw a round rectangle in rectangle (8000, 8000, 9000, 9000) area.
       
  5013 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5014 //!                         2. Create a CFbsBitGc object.
       
  5015 //!                         3. Create a CFbsScreenDevice object.
       
  5016 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5017 //!                         5. Set brush style and color TRgb(255, 255, 255) to clear the device.
       
  5018 //!                         6. Set brush and pen color to fill and draw the round rectangle.
       
  5019 //!                         7. Draw round rectangle.
       
  5020 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5021 //! @SYMTestStatus          Implemented
       
  5022 //! @SYMTestPriority        High
       
  5023 //! @SYMTestExpectedResults The round rectangle will not be drawn.
       
  5024 //! @SYMTestType            CIT
       
  5025 
       
  5026     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5027         CREATE_OBJECT       RFbsSession          fbsSession
       
  5028         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5029         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5030         COMMAND             fbsSession           Connect
       
  5031         COMMAND             fbsBitGc             NewL
       
  5032         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0280-NewL_command03
       
  5033         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0280-Activate_command04
       
  5034         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0280-SetBrushStyle_command05
       
  5035         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0280-SetBrushColor_command06
       
  5036         COMMAND             fbsBitGc             Clear
       
  5037         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0280-SetBrushColor_command08
       
  5038         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0280-SetPenColor_command09
       
  5039         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0280-DrawRoundRect_command10
       
  5040         COMMAND             fbsScrDev            Update
       
  5041         COMMAND             fbsSession           Disconnect
       
  5042         COMMAND             fbsBitGc             ~
       
  5043         COMMAND             fbsScrDev            ~
       
  5044      END_TEST_BLOCK
       
  5045 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0280
       
  5046 
       
  5047 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0282
       
  5048 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0282
       
  5049 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref})
       
  5050 //! @SYMAuthor              Felix Rao
       
  5051 //! @SYMCreationDate        04/12/2008
       
  5052 //! @SYMTestCaseDesc        Negative case. Draw a round rectangle to invalid graphic device.
       
  5053 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  5054 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  5055 //!                         3. Draw round rectangle.
       
  5056 //! @SYMTestStatus          Implemented
       
  5057 //! @SYMTestPriority        High
       
  5058 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  5059 //! @SYMTestType            CIT
       
  5060 
       
  5061     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5062         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5063         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5064         COMMAND             fbsBitGc             NewL
       
  5065         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0282-Activate_command02
       
  5066         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0282-DrawRoundRect_command03
       
  5067      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  5068      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  5069 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0282
       
  5070 
       
  5071 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0283
       
  5072 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0283
       
  5073 //! @SYMAPI                 CFbsBitGc::DrawRoundRect(const TRect{ref})
       
  5074 //! @SYMAuthor              Felix Rao
       
  5075 //! @SYMCreationDate        04/12/2008
       
  5076 //! @SYMTestCaseDesc        Negative case. Draw a round rectangle by using a non-activated graphics context.
       
  5077 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  5078 //!                         2. Draw round rectangle.
       
  5079 //! @SYMTestStatus          Implemented
       
  5080 //! @SYMTestPriority        High
       
  5081 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing round rectangle using a non-activated graphics context.
       
  5082 //! @SYMTestType            CIT
       
  5083 
       
  5084     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5085         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5086         COMMAND             fbsBitGc             NewL
       
  5087         COMMAND             fbsBitGc             DrawRoundRect                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0283-DrawRoundRect_command02
       
  5088      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  5089      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  5090 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0283
       
  5091 
       
  5092 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0284
       
  5093 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0284
       
  5094 //! @SYMAPI                 CFbsBitGc::DrawPolyLine(const CArrayFix<TPoint>{ptr})
       
  5095 //! @SYMAuthor              Felix Rao
       
  5096 //! @SYMCreationDate        28/11/2008
       
  5097 //! @SYMTestCaseDesc        Draw a polyline from a point list.
       
  5098 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5099 //!                         2. Create a CFbsBitGc object.
       
  5100 //!                         3. Create a CFbsScreenDevice object.
       
  5101 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5102 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5103 //!                         6. Draw a polyline from a point list.
       
  5104 //!                         7. Check the whole line.
       
  5105 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5106 //! @SYMTestStatus          Implemented
       
  5107 //! @SYMTestPriority        High
       
  5108 //! @SYMTestExpectedResults 1. Draw a polyline without error.
       
  5109 //!                         2. The drawing result is as expected.
       
  5110 //!                         3. Check color of the lines
       
  5111 //! @SYMTestType            CIT
       
  5112 
       
  5113     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5114         CREATE_OBJECT       RFbsSession          fbsSession
       
  5115         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5116         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5117         COMMAND             fbsSession           Connect
       
  5118         COMMAND             fbsBitGc             NewL
       
  5119         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0284-NewL_command03
       
  5120         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0284-Activate_command04
       
  5121         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0284-SetBrushStyle_command05
       
  5122         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0284-SetBrushColor_cmand0006
       
  5123         COMMAND             fbsBitGc             Clear
       
  5124         COMMAND             fbsBitGc             DrawPolyLine                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0284-DrawPolyLine_command08
       
  5125         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0284-checkLineColor_command09
       
  5126         COMMAND             fbsScrDev            Update
       
  5127         COMMAND             fbsSession           Disconnect
       
  5128         COMMAND             fbsBitGc             ~
       
  5129         COMMAND             fbsScrDev            ~
       
  5130      END_TEST_BLOCK
       
  5131 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0284
       
  5132 
       
  5133 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0285
       
  5134 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0285
       
  5135 //! @SYMAPI                 CFbsBitGc::DrawPolyLine(const CArrayFix<TPoint>{ptr})
       
  5136 //! @SYMAuthor              Felix Rao
       
  5137 //! @SYMCreationDate        08/12/2008
       
  5138 //! @SYMTestCaseDesc        Negative case. Draw a polyline from a point list with 0-width pen.
       
  5139 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5140 //!                         2. Create a CFbsBitGc object.
       
  5141 //!                         3. Create a CFbsScreenDevice object.
       
  5142 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5143 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5144 //!                         6. Set pen size to TSize(0, 1).
       
  5145 //!                         7. Draw a polyline from a point list.
       
  5146 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5147 //! @SYMTestStatus          Implemented
       
  5148 //! @SYMTestPriority        High
       
  5149 //! @SYMTestExpectedResults The polyline will not be drawn
       
  5150 //! @SYMTestType            CIT
       
  5151 
       
  5152     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5153         CREATE_OBJECT       RFbsSession          fbsSession
       
  5154         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5155         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5156         COMMAND             fbsSession           Connect
       
  5157         COMMAND             fbsBitGc             NewL
       
  5158         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0285-NewL_command03
       
  5159         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0285-Activate_command04
       
  5160         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0285-SetBrushStyle_command05
       
  5161         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0285-SetBrushColor_cmand0006
       
  5162         COMMAND             fbsBitGc             Clear
       
  5163         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0285-SetPenSize_command08
       
  5164         COMMAND             fbsBitGc             DrawPolyLine                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0285-DrawPolyLine_command09
       
  5165         COMMAND             fbsScrDev            Update
       
  5166         COMMAND             fbsSession           Disconnect
       
  5167         COMMAND             fbsBitGc             ~
       
  5168         COMMAND             fbsScrDev            ~
       
  5169      END_TEST_BLOCK
       
  5170 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0285
       
  5171 
       
  5172 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0286
       
  5173 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0286
       
  5174 //! @SYMAPI                 CFbsBitGc::DrawPolyLine(const CArrayFix<TPoint>{ptr})
       
  5175 //! @SYMAuthor              Felix Rao
       
  5176 //! @SYMCreationDate        08/12/2008
       
  5177 //! @SYMTestCaseDesc        Negative case. Draw a polyline from a point list with 0-height pen.
       
  5178 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5179 //!                         2. Create a CFbsBitGc object.
       
  5180 //!                         3. Create a CFbsScreenDevice object.
       
  5181 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5182 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5183 //!                         6. Set pen size to TSize(1, 0).
       
  5184 //!                         7. Draw a polyline from a point list.
       
  5185 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5186 //! @SYMTestStatus          Implemented
       
  5187 //! @SYMTestPriority        High
       
  5188 //! @SYMTestExpectedResults The polyline will not be drawn
       
  5189 //! @SYMTestType            CIT
       
  5190 
       
  5191     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5192         CREATE_OBJECT       RFbsSession          fbsSession
       
  5193         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5194         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5195         COMMAND             fbsSession           Connect
       
  5196         COMMAND             fbsBitGc             NewL
       
  5197         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0286-NewL_command03
       
  5198         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0286-Activate_command04
       
  5199         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0286-SetBrushStyle_command05
       
  5200         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0286-SetBrushColor_cmand0006
       
  5201         COMMAND             fbsBitGc             Clear
       
  5202         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0286-SetPenSize_command08
       
  5203         COMMAND             fbsBitGc             DrawPolyLine                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0286-DrawPolyLine_command09
       
  5204         COMMAND             fbsScrDev            Update
       
  5205         COMMAND             fbsSession           Disconnect
       
  5206         COMMAND             fbsBitGc             ~
       
  5207         COMMAND             fbsScrDev            ~
       
  5208      END_TEST_BLOCK
       
  5209 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0286
       
  5210 
       
  5211 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0287
       
  5212 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0287
       
  5213 //! @SYMAPI                 CFbsBitGc::DrawPolyLine(const CArrayFix<TPoint>{ptr})
       
  5214 //! @SYMAuthor              Felix Rao
       
  5215 //! @SYMCreationDate        08/12/2008
       
  5216 //! @SYMTestCaseDesc        Negative case. Draw a polyline from a point list with null pen.
       
  5217 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5218 //!                         2. Create a CFbsBitGc object.
       
  5219 //!                         3. Create a CFbsScreenDevice object.
       
  5220 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5221 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5222 //!                         6. Set null pen.
       
  5223 //!                         7. Draw a polyline from a point list.
       
  5224 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5225 //! @SYMTestStatus          Implemented
       
  5226 //! @SYMTestPriority        High
       
  5227 //! @SYMTestExpectedResults The polyline will not be drawn
       
  5228 //! @SYMTestType            CIT
       
  5229 
       
  5230     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5231         CREATE_OBJECT       RFbsSession          fbsSession
       
  5232         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5233         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5234         COMMAND             fbsSession           Connect
       
  5235         COMMAND             fbsBitGc             NewL
       
  5236         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0287-NewL_command03
       
  5237         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0287-Activate_command04
       
  5238         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0287-SetBrushStyle_command05
       
  5239         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0287-SetBrushColor_cmand0006
       
  5240         COMMAND             fbsBitGc             Clear
       
  5241         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0287-SetPenStyle_command08
       
  5242         COMMAND             fbsBitGc             DrawPolyLine                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0287-DrawPolyLine_command09
       
  5243         COMMAND             fbsScrDev            Update
       
  5244         COMMAND             fbsSession           Disconnect
       
  5245         COMMAND             fbsBitGc             ~
       
  5246         COMMAND             fbsScrDev            ~
       
  5247      END_TEST_BLOCK
       
  5248 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0287
       
  5249 
       
  5250 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0290
       
  5251 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0290
       
  5252 //! @SYMAPI                 CFbsBitGc::DrawPolyLine(const CArrayFix<TPoint>{ptr})
       
  5253 //! @SYMAuthor              Felix Rao
       
  5254 //! @SYMCreationDate        04/12/2008
       
  5255 //! @SYMTestCaseDesc        Draw a polyline to invalid graphic device.
       
  5256 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  5257 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  5258 //!                         3. Draw polyline.
       
  5259 //! @SYMTestStatus          Implemented
       
  5260 //! @SYMTestPriority        High
       
  5261 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  5262 //! @SYMTestType            CIT
       
  5263 
       
  5264     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5265         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5266         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5267         COMMAND             fbsBitGc             NewL
       
  5268         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0290-Activate_command02
       
  5269         COMMAND             fbsBitGc             DrawPolyLine                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0290-DrawPolyLine_command03
       
  5270      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  5271      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  5272 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0290
       
  5273 
       
  5274 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0291
       
  5275 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0291
       
  5276 //! @SYMAPI                 CFbsBitGc::DrawPolyLine(const CArrayFix<TPoint>{ptr})
       
  5277 //! @SYMAuthor              Felix Rao
       
  5278 //! @SYMCreationDate        04/12/2008
       
  5279 //! @SYMTestCaseDesc        Negative case. Draw a polyline by using a non-activated graphics context.
       
  5280 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  5281 //!                         2. Draw polyline.
       
  5282 //! @SYMTestStatus          Implemented
       
  5283 //! @SYMTestPriority        High
       
  5284 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing round rectangle using a non-activated graphics context.
       
  5285 //! @SYMTestType            CIT
       
  5286 
       
  5287     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5288         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5289         COMMAND             fbsBitGc             NewL
       
  5290         COMMAND             fbsBitGc             DrawPolyLine                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0291-DrawPolyLine_command02
       
  5291      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  5292      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  5293 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0291
       
  5294 
       
  5295 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0292
       
  5296 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0292
       
  5297 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const CArrayFix<TPoint>{ptr})
       
  5298 //! @SYMAuthor              Felix Rao
       
  5299 //! @SYMCreationDate        28/11/2008
       
  5300 //! @SYMTestCaseDesc        Draw a polyline from a point list but not draw the end point.
       
  5301 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5302 //!                         2. Create a CFbsBitGc object.
       
  5303 //!                         3. Create a CFbsScreenDevice object.
       
  5304 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5305 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5306 //!                         6. Draw a polyline from a point list.
       
  5307 //!                         7. Check the lines drawn.
       
  5308 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5309 //! @SYMTestStatus          Implemented
       
  5310 //! @SYMTestPriority        High
       
  5311 //! @SYMTestExpectedResults 1. Draw a polyline without error.
       
  5312 //!                         2. The drawing result is as expected.
       
  5313 //!                         3. Check color of the lines
       
  5314 //! @SYMTestType            CIT
       
  5315 
       
  5316     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5317         CREATE_OBJECT       RFbsSession          fbsSession
       
  5318         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5319         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5320         COMMAND             fbsSession           Connect
       
  5321         COMMAND             fbsBitGc             NewL
       
  5322         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0292-NewL_command03
       
  5323         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0292-Activate_command04
       
  5324         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0292-SetBrushStyle_command05
       
  5325         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0292-SetBrushColor_command06
       
  5326         COMMAND             fbsBitGc             Clear
       
  5327         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0292-DrawPolyLineNoEndPoint_command08
       
  5328         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0292-checkLineColor_command09
       
  5329         COMMAND             fbsScrDev            Update
       
  5330         COMMAND             fbsSession           Disconnect
       
  5331         COMMAND             fbsBitGc             ~
       
  5332         COMMAND             fbsScrDev            ~
       
  5333      END_TEST_BLOCK
       
  5334 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0292
       
  5335 
       
  5336 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0293
       
  5337 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0293
       
  5338 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const CArrayFix<TPoint>{ptr})
       
  5339 //! @SYMAuthor              Felix Rao
       
  5340 //! @SYMCreationDate        08/12/2008
       
  5341 //! @SYMTestCaseDesc        Negative case. Draw a polyline from a point list but not draw the end point with 0-width pen.
       
  5342 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5343 //!                         2. Create a CFbsBitGc object.
       
  5344 //!                         3. Create a CFbsScreenDevice object.
       
  5345 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5346 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5347 //!                         6. Set pen size TSize(0, 1).
       
  5348 //!                         7. Draw a polyline from a point list.
       
  5349 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5350 //! @SYMTestStatus          Implemented
       
  5351 //! @SYMTestPriority        High
       
  5352 //! @SYMTestExpectedResults The polyline will not be drawn.
       
  5353 //! @SYMTestType            CIT
       
  5354 
       
  5355     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5356         CREATE_OBJECT       RFbsSession          fbsSession
       
  5357         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5358         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5359         COMMAND             fbsSession           Connect
       
  5360         COMMAND             fbsBitGc             NewL
       
  5361         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0293-NewL_command03
       
  5362         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0293-Activate_command04
       
  5363         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0293-SetBrushStyle_command05
       
  5364         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0293-SetBrushColor_command06
       
  5365         COMMAND             fbsBitGc             Clear
       
  5366         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0293-SetPenSize_command08
       
  5367         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0293-DrawPolyLineNoEndPoint_command09
       
  5368         COMMAND             fbsScrDev            Update
       
  5369         COMMAND             fbsSession           Disconnect
       
  5370         COMMAND             fbsBitGc             ~
       
  5371         COMMAND             fbsScrDev            ~
       
  5372      END_TEST_BLOCK
       
  5373 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0293
       
  5374 
       
  5375 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0294
       
  5376 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0294
       
  5377 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const CArrayFix<TPoint>{ptr})
       
  5378 //! @SYMAuthor              Felix Rao
       
  5379 //! @SYMCreationDate        08/12/2008
       
  5380 //! @SYMTestCaseDesc        Negative case. Draw a polyline from a point list but not draw the end point with 0-height pen.
       
  5381 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5382 //!                         2. Create a CFbsBitGc object.
       
  5383 //!                         3. Create a CFbsScreenDevice object.
       
  5384 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5385 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5386 //!                         6. Set pen size TSize(1, 0).
       
  5387 //!                         7. Draw a polyline from a point list.
       
  5388 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5389 //! @SYMTestStatus          Implemented
       
  5390 //! @SYMTestPriority        High
       
  5391 //! @SYMTestExpectedResults The polyline will not be drawn.
       
  5392 //! @SYMTestType            CIT
       
  5393 
       
  5394     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5395         CREATE_OBJECT       RFbsSession          fbsSession
       
  5396         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5397         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5398         COMMAND             fbsSession           Connect
       
  5399         COMMAND             fbsBitGc             NewL
       
  5400         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0294-NewL_command03
       
  5401         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0294-Activate_command04
       
  5402         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0294-SetBrushStyle_command05
       
  5403         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0294-SetBrushColor_command06
       
  5404         COMMAND             fbsBitGc             Clear
       
  5405         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0294-SetPenSize_command08
       
  5406         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0294-DrawPolyLineNoEndPoint_command09
       
  5407         COMMAND             fbsScrDev            Update
       
  5408         COMMAND             fbsSession           Disconnect
       
  5409         COMMAND             fbsBitGc             ~
       
  5410         COMMAND             fbsScrDev            ~
       
  5411      END_TEST_BLOCK
       
  5412 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0294
       
  5413 
       
  5414 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0296
       
  5415 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0296
       
  5416 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const CArrayFix<TPoint>{ptr})
       
  5417 //! @SYMAuthor              Felix Rao
       
  5418 //! @SYMCreationDate        04/12/2008
       
  5419 //! @SYMTestCaseDesc        Negative case. Draw a polyline to invalid graphic device.
       
  5420 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  5421 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  5422 //!                         3. Draw polyline.
       
  5423 //! @SYMTestStatus          Implemented
       
  5424 //! @SYMTestPriority        High
       
  5425 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  5426 //! @SYMTestType            CIT
       
  5427 
       
  5428     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5429         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5430         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5431         COMMAND             fbsBitGc             NewL
       
  5432         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0296-Activate_command02
       
  5433         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0296-DrawPolyLineNoEndPoint_command03
       
  5434      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  5435      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  5436 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0296
       
  5437 
       
  5438 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0297
       
  5439 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0297
       
  5440 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const CArrayFix<TPoint>{ptr})
       
  5441 //! @SYMAuthor              Felix Rao
       
  5442 //! @SYMCreationDate        04/12/2008
       
  5443 //! @SYMTestCaseDesc        Negative case. Draw a polyline by using a non-activated graphics context.
       
  5444 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  5445 //!                         2. Draw polyline.
       
  5446 //! @SYMTestStatus          Implemented
       
  5447 //! @SYMTestPriority        High
       
  5448 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing round rectangle using a non-activated graphics context.
       
  5449 //! @SYMTestType            CIT
       
  5450 
       
  5451     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5452         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5453         COMMAND             fbsBitGc             NewL
       
  5454         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0297-DrawPolyLineNoEndPoint_command02
       
  5455      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  5456      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  5457 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0297
       
  5458 
       
  5459 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0298
       
  5460 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0298
       
  5461 //! @SYMAPI                 CFbsBitGc::DrawPolyLine(const TPoint{ptr}, TInt)
       
  5462 //! @SYMAuthor              Felix Rao
       
  5463 //! @SYMCreationDate        28/11/2008
       
  5464 //! @SYMTestCaseDesc        Draw a polyline from a list of points.
       
  5465 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5466 //!                         2. Create a CFbsBitGc object.
       
  5467 //!                         3. Create a CFbsScreenDevice object.
       
  5468 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5469 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5470 //!                         6. Draw a polyline from a point list with number of points.
       
  5471 //!                         7. Check the lines drawn.
       
  5472 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5473 //! @SYMTestStatus          Implemented
       
  5474 //! @SYMTestPriority        High
       
  5475 //! @SYMTestExpectedResults 1. Draw a polyline without error.
       
  5476 //!                         2. The drawing result is as expected.
       
  5477 //!                         3. Check color of the lines
       
  5478 //! @SYMTestType            CIT
       
  5479 
       
  5480     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5481         CREATE_OBJECT       RFbsSession          fbsSession
       
  5482         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5483         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5484         COMMAND             fbsSession           Connect
       
  5485         COMMAND             fbsBitGc             NewL
       
  5486         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0298-NewL_command03
       
  5487         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0298-Activate_command04
       
  5488         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0298-SetBrushStyle_command05
       
  5489         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0298-SetBrushColor_command06
       
  5490         COMMAND             fbsBitGc             Clear
       
  5491         COMMAND             fbsBitGc             DrawPolyLine                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0298-DrawPolyLine_command08
       
  5492         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0298-checkLineColor_command09
       
  5493         COMMAND             fbsScrDev            Update
       
  5494         COMMAND             fbsSession           Disconnect
       
  5495         COMMAND             fbsBitGc             ~
       
  5496         COMMAND             fbsScrDev            ~
       
  5497      END_TEST_BLOCK
       
  5498 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0298
       
  5499 
       
  5500 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0299
       
  5501 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0299
       
  5502 //! @SYMAPI                 CFbsBitGc::DrawPolyLine(const TPoint{ptr}, TInt)
       
  5503 //! @SYMAuthor              Felix Rao
       
  5504 //! @SYMCreationDate        08/12/2008
       
  5505 //! @SYMTestCaseDesc        Negative case. Draw a polyline from a list of points with a null pen.
       
  5506 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5507 //!                         2. Create a CFbsBitGc object.
       
  5508 //!                         3. Create a CFbsScreenDevice object.
       
  5509 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5510 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5511 //!                         6. Set null pen.
       
  5512 //!                         7. Draw a polyline from a point list with number of points.
       
  5513 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5514 //! @SYMTestStatus          Implemented
       
  5515 //! @SYMTestPriority        High
       
  5516 //! @SYMTestExpectedResults The polyline will not be drawn
       
  5517 //! @SYMTestType            CIT
       
  5518 
       
  5519     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5520         CREATE_OBJECT       RFbsSession          fbsSession
       
  5521         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5522         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5523         COMMAND             fbsSession           Connect
       
  5524         COMMAND             fbsBitGc             NewL
       
  5525         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0299-NewL_command03
       
  5526         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0299-Activate_command04
       
  5527         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0299-SetBrushStyle_command05
       
  5528         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0299-SetBrushColor_command06
       
  5529         COMMAND             fbsBitGc             Clear
       
  5530         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0299-SetPenStyle_command08
       
  5531         COMMAND             fbsBitGc             DrawPolyLine                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0299-DrawPolyLine_command09
       
  5532         COMMAND             fbsScrDev            Update
       
  5533         COMMAND             fbsSession           Disconnect
       
  5534         COMMAND             fbsBitGc             ~
       
  5535         COMMAND             fbsScrDev            ~
       
  5536      END_TEST_BLOCK
       
  5537 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0299
       
  5538 
       
  5539 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0300
       
  5540 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0300
       
  5541 //! @SYMAPI                 CFbsBitGc::DrawPolyLine(const TPoint{ptr}, TInt)
       
  5542 //! @SYMAuthor              Felix Rao
       
  5543 //! @SYMCreationDate        04/12/2008
       
  5544 //! @SYMTestCaseDesc        Negative case. Draw a polyline to invalid graphic device.
       
  5545 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  5546 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  5547 //!                         3. Draw polyline.
       
  5548 //! @SYMTestStatus          Implemented
       
  5549 //! @SYMTestPriority        High
       
  5550 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  5551 //! @SYMTestType            CIT
       
  5552 
       
  5553     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi.ini
       
  5554         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5555         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5556         COMMAND             fbsBitGc             NewL
       
  5557         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0300-Activate_command02
       
  5558         COMMAND             fbsBitGc             DrawPolyLine                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0300-DrawPolyLine_command03
       
  5559      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  5560      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  5561 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0300
       
  5562 
       
  5563 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0301
       
  5564 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0301
       
  5565 //! @SYMAPI                 CFbsBitGc::DrawPolyLine(const TPoint{ptr}, TInt)
       
  5566 //! @SYMAuthor              Felix Rao
       
  5567 //! @SYMCreationDate        04/12/2008
       
  5568 //! @SYMTestCaseDesc        Negative case. Draw a polyline by using a non-activated graphics context.
       
  5569 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  5570 //!                         2. Draw polyline.
       
  5571 //! @SYMTestStatus          Implemented
       
  5572 //! @SYMTestPriority        High
       
  5573 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing round rectangle using a non-activated graphics context.
       
  5574 //! @SYMTestType            CIT
       
  5575 
       
  5576     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5577         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5578         COMMAND             fbsBitGc             NewL
       
  5579         COMMAND             fbsBitGc             DrawPolyLine                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-0301-DrawPolyLine_command02
       
  5580      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  5581      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  5582 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0301
       
  5583 
       
  5584 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0302
       
  5585 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0302
       
  5586 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const TPoint{ptr}, TInt)
       
  5587 //! @SYMAuthor              Felix Rao
       
  5588 //! @SYMCreationDate        28/11/2008
       
  5589 //! @SYMTestCaseDesc        Draw a polyline but not draw the final point from a list of points.
       
  5590 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5591 //!                         2. Create a CFbsBitGc object.
       
  5592 //!                         3. Create a CFbsScreenDevice object.
       
  5593 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5594 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5595 //!                         6. Draw a polyline from a point list with number of points.
       
  5596 //!                         7. Check all the lines.
       
  5597 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5598 //! @SYMTestStatus          Implemented
       
  5599 //! @SYMTestPriority        High
       
  5600 //! @SYMTestExpectedResults 1. Draw a polyline without error.
       
  5601 //!                         2. The drawing result is as expected.
       
  5602 //!                         3. Check color of the lines
       
  5603 //! @SYMTestType            CIT
       
  5604 
       
  5605     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5606         CREATE_OBJECT       RFbsSession          fbsSession
       
  5607         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5608         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5609         COMMAND             fbsSession           Connect
       
  5610         COMMAND             fbsBitGc             NewL
       
  5611         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0302-NewL_command03
       
  5612         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0302-Activate_command04
       
  5613         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0302-SetBrushStyle_command05
       
  5614         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0302-SetBrushColor_command06
       
  5615         COMMAND             fbsBitGc             Clear
       
  5616         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0302-DrawPolyLineNoEndPoint_command08
       
  5617         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0302-checkLineColor_command09
       
  5618         COMMAND             fbsScrDev            Update
       
  5619         COMMAND             fbsSession           Disconnect
       
  5620         COMMAND             fbsBitGc             ~
       
  5621         COMMAND             fbsScrDev            ~
       
  5622      END_TEST_BLOCK
       
  5623 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0302
       
  5624 
       
  5625 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0303
       
  5626 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0303
       
  5627 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const TPoint{ptr}, TInt)
       
  5628 //! @SYMAuthor              Felix Rao
       
  5629 //! @SYMCreationDate        08/12/2008
       
  5630 //! @SYMTestCaseDesc        Negative case. Draw a polyline but not draw the final point when number of points set to 0.
       
  5631 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5632 //!                         2. Create a CFbsBitGc object.
       
  5633 //!                         3. Create a CFbsScreenDevice object.
       
  5634 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5635 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5636 //!                         6. Draw a polyline from a point list with number of points.
       
  5637 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5638 //! @SYMTestStatus          Implemented
       
  5639 //! @SYMTestPriority        High
       
  5640 //! @SYMTestExpectedResults The polyline will not be drawn
       
  5641 //! @SYMTestType            CIT
       
  5642 
       
  5643     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5644         CREATE_OBJECT       RFbsSession          fbsSession
       
  5645         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5646         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5647         COMMAND             fbsSession           Connect
       
  5648         COMMAND             fbsBitGc             NewL
       
  5649         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0303-NewL_command03
       
  5650         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0303-Activate_command04
       
  5651         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0303-SetBrushStyle_command05
       
  5652         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0303-SetBrushColor_command06
       
  5653         COMMAND             fbsBitGc             Clear
       
  5654         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0303-DrawPolyLineNoEndPoint_command08
       
  5655         COMMAND             fbsScrDev            Update
       
  5656         COMMAND             fbsSession           Disconnect
       
  5657         COMMAND             fbsBitGc             ~
       
  5658         COMMAND             fbsScrDev            ~
       
  5659      END_TEST_BLOCK
       
  5660 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0303
       
  5661 
       
  5662 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0304
       
  5663 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0304
       
  5664 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const TPoint{ptr}, TInt)
       
  5665 //! @SYMAuthor              Felix Rao
       
  5666 //! @SYMCreationDate        08/12/2008
       
  5667 //! @SYMTestCaseDesc        Negative case. Draw a polyline but not draw the final point from a list of points with 0-width pen
       
  5668 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5669 //!                         2. Create a CFbsBitGc object.
       
  5670 //!                         3. Create a CFbsScreenDevice object.
       
  5671 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5672 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5673 //!                         6. Set pen size TSize(0, 1).
       
  5674 //!                         7. Draw a polyline from a point list with number of points.
       
  5675 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5676 //! @SYMTestStatus          Implemented
       
  5677 //! @SYMTestPriority        High
       
  5678 //! @SYMTestExpectedResults The polyline will not be drawn
       
  5679 //! @SYMTestType            CIT
       
  5680 
       
  5681     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5682         CREATE_OBJECT       RFbsSession          fbsSession
       
  5683         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5684         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5685         COMMAND             fbsSession           Connect
       
  5686         COMMAND             fbsBitGc             NewL
       
  5687         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0304-NewL_command03
       
  5688         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0304-Activate_command04
       
  5689         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0304-SetBrushStyle_command05
       
  5690         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0304-SetBrushColor_command06
       
  5691         COMMAND             fbsBitGc             Clear
       
  5692         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0304-SetPenSize_command08
       
  5693         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0304-DrawPolyLineNoEndPoint_command09
       
  5694         COMMAND             fbsScrDev            Update
       
  5695         COMMAND             fbsSession           Disconnect
       
  5696         COMMAND             fbsBitGc             ~
       
  5697         COMMAND             fbsScrDev            ~
       
  5698      END_TEST_BLOCK
       
  5699 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0304
       
  5700 
       
  5701 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0305
       
  5702 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0305
       
  5703 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const TPoint{ptr}, TInt)
       
  5704 //! @SYMAuthor              Felix Rao
       
  5705 //! @SYMCreationDate        08/12/2008
       
  5706 //! @SYMTestCaseDesc        Negative case. Draw a polyline but not draw the final point from a list of points with 0-height pen
       
  5707 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5708 //!                         2. Create a CFbsBitGc object.
       
  5709 //!                         3. Create a CFbsScreenDevice object.
       
  5710 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5711 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  5712 //!                         6. Set pen size TSize(1, 0).
       
  5713 //!                         7. Draw a polyline from a point list with number of points.
       
  5714 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5715 //! @SYMTestStatus          Implemented
       
  5716 //! @SYMTestPriority        High
       
  5717 //! @SYMTestExpectedResults The polyline will not be drawn
       
  5718 //! @SYMTestType            CIT
       
  5719 
       
  5720     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5721         CREATE_OBJECT       RFbsSession          fbsSession
       
  5722         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5723         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5724         COMMAND             fbsSession           Connect
       
  5725         COMMAND             fbsBitGc             NewL
       
  5726         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0305-NewL_command03
       
  5727         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0305-Activate_command04
       
  5728         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0305-SetBrushStyle_command05
       
  5729         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0305-SetBrushColor_command06
       
  5730         COMMAND             fbsBitGc             Clear
       
  5731         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0305-SetPenSize_command08
       
  5732         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0305-DrawPolyLineNoEndPoint_command09
       
  5733         COMMAND             fbsScrDev            Update
       
  5734         COMMAND             fbsSession           Disconnect
       
  5735         COMMAND             fbsBitGc             ~
       
  5736         COMMAND             fbsScrDev            ~
       
  5737      END_TEST_BLOCK
       
  5738 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0305
       
  5739 
       
  5740 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0307
       
  5741 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0307
       
  5742 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const TPoint{ptr}, TInt)
       
  5743 //! @SYMAuthor              Felix Rao
       
  5744 //! @SYMCreationDate        04/12/2008
       
  5745 //! @SYMTestCaseDesc        Negative case. Draw a polyline to invalid graphic device.
       
  5746 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  5747 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  5748 //!                         3. Draw polyline.
       
  5749 //! @SYMTestStatus          Implemented
       
  5750 //! @SYMTestPriority        High
       
  5751 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  5752 //! @SYMTestType            CIT
       
  5753 
       
  5754     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5755         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5756         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5757         COMMAND             fbsBitGc             NewL
       
  5758         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0307-Activate_command02
       
  5759         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0307-DrawPolyLineNoEndPoint_command03
       
  5760      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  5761      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  5762 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0307
       
  5763 
       
  5764 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0308
       
  5765 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0308
       
  5766 //! @SYMAPI                 CFbsBitGc::DrawPolyLineNoEndPoint(const TPoint{ptr}, TInt)
       
  5767 //! @SYMAuthor              Felix Rao
       
  5768 //! @SYMCreationDate        04/12/2008
       
  5769 //! @SYMTestCaseDesc        Negative case. Draw a polyline by using a non-activated graphics context.
       
  5770 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  5771 //!                         2. Draw polyline.
       
  5772 //! @SYMTestStatus          Implemented
       
  5773 //! @SYMTestPriority        High
       
  5774 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing round rectangle using a non-activated graphics context.
       
  5775 //! @SYMTestType            CIT
       
  5776 
       
  5777     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5778         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5779         COMMAND             fbsBitGc             NewL
       
  5780         COMMAND             fbsBitGc             DrawPolyLineNoEndPoint                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0308-DrawPolyLineNoEndPoint_command02
       
  5781      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  5782      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  5783 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0308
       
  5784 
       
  5785 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309
       
  5786 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309
       
  5787 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const CArrayFix< TPoint > {ptr},TFillRule)
       
  5788 //! @SYMAuthor              Felix Rao
       
  5789 //! @SYMCreationDate        04/12/2008
       
  5790 //! @SYMTestCaseDesc        Draw a polygon from a list of points.
       
  5791 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5792 //!                         2. Create a CFbsBitGc object.
       
  5793 //!                         3. Create a CFbsScreenDevice object.
       
  5794 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5795 //!                         5. Set brush color to clear device.
       
  5796 //!                         6. Set brush and pen color to fill and draw the polygon.
       
  5797 //!                         7. Draw the polygon
       
  5798 //!                         8. Check the border and pixels inside & outside the polygon.
       
  5799 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5800 //! @SYMTestStatus          Implemented
       
  5801 //! @SYMTestPriority        High
       
  5802 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  5803 //!                         2. The drawing result is as expected.
       
  5804 //!                         3. Check the lines drawn per point list specified in test data.
       
  5805 //!                         4. Inside the polygon, check pixel1~pixel3 specified in test data.
       
  5806 //!                            Outside the polygon, check pixel4~pixel6 specified in test data.
       
  5807 //! @SYMTestType            CIT
       
  5808 
       
  5809     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5810         CREATE_OBJECT       RFbsSession          fbsSession
       
  5811         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5812         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5813         COMMAND             fbsSession           Connect
       
  5814         COMMAND             fbsBitGc             NewL
       
  5815         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309-NewL_command03
       
  5816         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309-Activate_command04
       
  5817         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309-SetBrushStyle_command05
       
  5818         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309-SetBrushColor_command06
       
  5819         COMMAND             fbsBitGc             Clear
       
  5820         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309-SetBrushColor_command08
       
  5821         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309-SetPenColor_command09
       
  5822         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309-DrawPolygon_command10
       
  5823         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309-checkLineColor_command11
       
  5824         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309-checkPixels_command12
       
  5825         COMMAND             fbsScrDev            Update
       
  5826         COMMAND             fbsSession           Disconnect
       
  5827         COMMAND             fbsBitGc             ~
       
  5828         COMMAND             fbsScrDev            ~
       
  5829      END_TEST_BLOCK
       
  5830 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0309
       
  5831 
       
  5832 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310
       
  5833 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310
       
  5834 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const CArrayFix< TPoint > {ptr},TFillRule)
       
  5835 //! @SYMAuthor              Felix Rao
       
  5836 //! @SYMCreationDate        04/12/2008
       
  5837 //! @SYMTestCaseDesc        Draw a large polygon from a list of points.
       
  5838 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5839 //!                         2. Create a CFbsBitGc object.
       
  5840 //!                         3. Create a CFbsScreenDevice object.
       
  5841 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5842 //!                         5. Set brush color to clear device.
       
  5843 //!                         6. Set brush and pen color to fill and draw the polygon.
       
  5844 //!                         7. Draw the polygon
       
  5845 //!                         8. Check the border and pixels inside & outside the polygon.
       
  5846 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5847 //! @SYMTestStatus          Implemented
       
  5848 //! @SYMTestPriority        High
       
  5849 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  5850 //!                         2. The drawing result is as expected.
       
  5851 //!                         3. Check the lines drawn per point list specified in test data.
       
  5852 //!                         4. Inside the polygon, check pixel1~pixel3 specified in test data.
       
  5853 //!                            Outside the polygon, check pixel4~pixel6 specified in test data.
       
  5854 //! @SYMTestType            CIT
       
  5855 
       
  5856     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5857         CREATE_OBJECT       RFbsSession          fbsSession
       
  5858         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5859         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5860         COMMAND             fbsSession           Connect
       
  5861         COMMAND             fbsBitGc             NewL
       
  5862         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310-NewL_command03
       
  5863         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310-Activate_command04
       
  5864         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310-SetBrushStyle_command05
       
  5865         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310-SetBrushColor_command06
       
  5866         COMMAND             fbsBitGc             Clear
       
  5867         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310-SetBrushColor_command08
       
  5868         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310-SetPenColor_command09
       
  5869         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310-DrawPolygon_command10
       
  5870         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310-checkLineColor_command11
       
  5871         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310-checkPixels_command12
       
  5872         COMMAND             fbsScrDev            Update
       
  5873         COMMAND             fbsSession           Disconnect
       
  5874         COMMAND             fbsBitGc             ~
       
  5875         COMMAND             fbsScrDev            ~
       
  5876      END_TEST_BLOCK
       
  5877 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0310
       
  5878 
       
  5879 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311
       
  5880 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311
       
  5881 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const CArrayFix< TPoint > {ptr},TFillRule)
       
  5882 //! @SYMAuthor              Felix Rao
       
  5883 //! @SYMCreationDate        08/12/2008
       
  5884 //! @SYMTestCaseDesc        Draw a polygon from a list of points and fill it with null brush.
       
  5885 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5886 //!                         2. Create a CFbsBitGc object.
       
  5887 //!                         3. Create a CFbsScreenDevice object.
       
  5888 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5889 //!                         5. Set brush color to clear device.
       
  5890 //!                         6. Set pen color to draw the polygon and null brush to fill the polygon.
       
  5891 //!                         7. Draw the polygon
       
  5892 //!                         8. Check the border and pixels inside & outside the polygon.
       
  5893 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5894 //! @SYMTestStatus          Implemented
       
  5895 //! @SYMTestPriority        High
       
  5896 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  5897 //!                         2. The drawing result is as expected.
       
  5898 //!                         3. Check the lines drawn per point list specified in test data.
       
  5899 //!                         4. Inside the polygon, check pixel1~pixel3 specified in test data.
       
  5900 //!                            Outside the polygon, check pixel4~pixel6 specified in test data.
       
  5901 //! @SYMTestType            CIT
       
  5902 
       
  5903     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5904         CREATE_OBJECT       RFbsSession          fbsSession
       
  5905         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5906         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5907         COMMAND             fbsSession           Connect
       
  5908         COMMAND             fbsBitGc             NewL
       
  5909         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311-NewL_command03
       
  5910         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311-Activate_command04
       
  5911         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311-SetBrushStyle_command05
       
  5912         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311-SetBrushColor_command06
       
  5913         COMMAND             fbsBitGc             Clear
       
  5914         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311-SetBrushStyle_command08
       
  5915         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311-SetPenColor_command09
       
  5916         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311-DrawPolygon_command10
       
  5917         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311-checkLineColor_command11
       
  5918         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311-checkPixels_command12
       
  5919         COMMAND             fbsScrDev            Update
       
  5920         COMMAND             fbsSession           Disconnect
       
  5921         COMMAND             fbsBitGc             ~
       
  5922         COMMAND             fbsScrDev            ~
       
  5923      END_TEST_BLOCK
       
  5924 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0311
       
  5925 
       
  5926 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312
       
  5927 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312
       
  5928 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const CArrayFix< TPoint > {ptr},TFillRule)
       
  5929 //! @SYMAuthor              Felix Rao
       
  5930 //! @SYMCreationDate        08/12/2008
       
  5931 //! @SYMTestCaseDesc        Draw a polygon from a list of points with 0-width pen.
       
  5932 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5933 //!                         2. Create a CFbsBitGc object.
       
  5934 //!                         3. Create a CFbsScreenDevice object.
       
  5935 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5936 //!                         5. Set brush color to clear device.
       
  5937 //!                         6. Set brush color to fill the polygon and pen size to TSize(0, 1).
       
  5938 //!                         7. Draw the polygon
       
  5939 //!                         8. Check the border and pixels inside & outside the polygon.
       
  5940 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5941 //! @SYMTestStatus          Implemented
       
  5942 //! @SYMTestPriority        High
       
  5943 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  5944 //!                         2. The drawing result is as expected.
       
  5945 //!                         3. Check the lines drawn per point list specified in test data.
       
  5946 //!                         4. Inside the polygon, check pixel1~pixel3 specified in test data.
       
  5947 //!                            Outside the polygon, check pixel4~pixel6 specified in test data.
       
  5948 //! @SYMTestType            CIT
       
  5949 
       
  5950     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5951         CREATE_OBJECT       RFbsSession          fbsSession
       
  5952         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  5953         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  5954         COMMAND             fbsSession           Connect
       
  5955         COMMAND             fbsBitGc             NewL
       
  5956         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312-NewL_command03
       
  5957         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312-Activate_command04
       
  5958         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312-SetBrushStyle_command05
       
  5959         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312-SetBrushColor_command06
       
  5960         COMMAND             fbsBitGc             Clear
       
  5961         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312-SetBrushColor_command08
       
  5962         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312-SetPenSize_command09
       
  5963         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312-DrawPolygon_command10
       
  5964         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312-checkLineColor_command11
       
  5965         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312-checkPixels_command12
       
  5966         COMMAND             fbsScrDev            Update
       
  5967         COMMAND             fbsSession           Disconnect
       
  5968         COMMAND             fbsBitGc             ~
       
  5969         COMMAND             fbsScrDev            ~
       
  5970      END_TEST_BLOCK
       
  5971 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0312
       
  5972 
       
  5973 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313
       
  5974 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313
       
  5975 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const CArrayFix< TPoint > {ptr},TFillRule)
       
  5976 //! @SYMAuthor              Felix Rao
       
  5977 //! @SYMCreationDate        08/12/2008
       
  5978 //! @SYMTestCaseDesc        Draw a polygon from a list of points with 0-height pen.
       
  5979 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  5980 //!                         2. Create a CFbsBitGc object.
       
  5981 //!                         3. Create a CFbsScreenDevice object.
       
  5982 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  5983 //!                         5. Set brush color to clear device.
       
  5984 //!                         6. Set brush color to fill the polygon and pen size to TSize(1, 0).
       
  5985 //!                         7. Draw the polygon
       
  5986 //!                         8. Check the border and pixels inside & outside the polygon.
       
  5987 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  5988 //! @SYMTestStatus          Implemented
       
  5989 //! @SYMTestPriority        High
       
  5990 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  5991 //!                         2. The drawing result is as expected.
       
  5992 //!                         3. Check the lines drawn per point list specified in test data.
       
  5993 //!                         4. Inside the polygon, check pixel1~pixel3 specified in test data.
       
  5994 //!                            Outside the polygon, check pixel4~pixel6 specified in test data.
       
  5995 //! @SYMTestType            CIT
       
  5996 
       
  5997     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  5998         CREATE_OBJECT       RFbsSession          fbsSession
       
  5999         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6000         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6001         COMMAND             fbsSession           Connect
       
  6002         COMMAND             fbsBitGc             NewL
       
  6003         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313-NewL_command03
       
  6004         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313-Activate_command04
       
  6005         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313-SetBrushStyle_command05
       
  6006         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313-SetBrushColor_command06
       
  6007         COMMAND             fbsBitGc             Clear
       
  6008         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313-SetBrushColor_command08
       
  6009         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313-SetPenSize_command09
       
  6010         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313-DrawPolygon_command10
       
  6011         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313-checkLineColor_command11
       
  6012         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313-checkPixels_command12
       
  6013         COMMAND             fbsScrDev            Update
       
  6014         COMMAND             fbsSession           Disconnect
       
  6015         COMMAND             fbsBitGc             ~
       
  6016         COMMAND             fbsScrDev            ~
       
  6017      END_TEST_BLOCK
       
  6018 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0313
       
  6019 
       
  6020 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314
       
  6021 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314
       
  6022 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const CArrayFix< TPoint > {ptr},TFillRule)
       
  6023 //! @SYMAuthor              Felix Rao
       
  6024 //! @SYMCreationDate        08/12/2008
       
  6025 //! @SYMTestCaseDesc        Draw a polygon from a list of points with null pen.
       
  6026 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6027 //!                         2. Create a CFbsBitGc object.
       
  6028 //!                         3. Create a CFbsScreenDevice object.
       
  6029 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6030 //!                         5. Set brush color to clear device.
       
  6031 //!                         6. Set brush color to fill the polygon and null pen.
       
  6032 //!                         7. Draw the polygon
       
  6033 //!                         8. Check the border and pixels inside & outside the polygon.
       
  6034 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6035 //! @SYMTestStatus          Implemented
       
  6036 //! @SYMTestPriority        High
       
  6037 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  6038 //!                         2. The drawing result is as expected.
       
  6039 //!                         3. Check the lines drawn per point list specified in test data.
       
  6040 //!                         4. Inside the polygon, check pixel1~pixel3 specified in test data.
       
  6041 //!                            Outside the polygon, check pixel4~pixel6 specified in test data.
       
  6042 //! @SYMTestType            CIT
       
  6043 
       
  6044     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6045         CREATE_OBJECT       RFbsSession          fbsSession
       
  6046         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6047         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6048         COMMAND             fbsSession           Connect
       
  6049         COMMAND             fbsBitGc             NewL
       
  6050         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314-NewL_command03
       
  6051         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314-Activate_command04
       
  6052         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314-SetBrushStyle_command05
       
  6053         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314-SetBrushColor_command06
       
  6054         COMMAND             fbsBitGc             Clear
       
  6055         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314-SetBrushColor_command08
       
  6056         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314-SetPenStyle_command09
       
  6057         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314-DrawPolygon_command10
       
  6058         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314-checkLineColor_command11
       
  6059         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314-checkPixels_command12
       
  6060         COMMAND             fbsScrDev            Update
       
  6061         COMMAND             fbsSession           Disconnect
       
  6062         COMMAND             fbsBitGc             ~
       
  6063         COMMAND             fbsScrDev            ~
       
  6064      END_TEST_BLOCK
       
  6065 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0314
       
  6066 
       
  6067 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0318
       
  6068 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0318
       
  6069 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const CArrayFix< TPoint > {ptr},TFillRule)
       
  6070 //! @SYMAuthor              Felix Rao
       
  6071 //! @SYMCreationDate        04/12/2008
       
  6072 //! @SYMTestCaseDesc        Negative case. Draw a polygon to invalid graphic device.
       
  6073 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  6074 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  6075 //!                         3. Draw polygon.
       
  6076 //! @SYMTestStatus          Implemented
       
  6077 //! @SYMTestPriority        High
       
  6078 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  6079 //! @SYMTestType            CIT
       
  6080 
       
  6081     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6082         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6083         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6084         COMMAND             fbsBitGc             NewL
       
  6085         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0318-Activate_command02
       
  6086         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0318-DrawPolygon_command03
       
  6087      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  6088      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  6089 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0318
       
  6090 
       
  6091 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0319
       
  6092 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0319
       
  6093 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const CArrayFix< TPoint > {ptr},TFillRule)
       
  6094 //! @SYMAuthor              Felix Rao
       
  6095 //! @SYMCreationDate        04/12/2008
       
  6096 //! @SYMTestCaseDesc        Negative case. Draw a polygon by using a non-activated graphics context.
       
  6097 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  6098 //!                         2. Draw polygon.
       
  6099 //! @SYMTestStatus          Implemented
       
  6100 //! @SYMTestPriority        High
       
  6101 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing polygon using a non-activated graphics context.
       
  6102 //! @SYMTestType            CIT
       
  6103 
       
  6104     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6105         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6106         COMMAND             fbsBitGc             NewL
       
  6107         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0319-DrawPolygon_command02
       
  6108      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  6109      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  6110 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0319
       
  6111 
       
  6112 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320
       
  6113 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320
       
  6114 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const TPoint{ptr},TInt, TFillRule)
       
  6115 //! @SYMAuthor              Felix Rao
       
  6116 //! @SYMCreationDate        04/12/2008
       
  6117 //! @SYMTestCaseDesc        Draw a polygon from a array of points.
       
  6118 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6119 //!                         2. Create a CFbsBitGc object.
       
  6120 //!                         3. Create a CFbsScreenDevice object.
       
  6121 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6122 //!                         5. Set brush color to clear device.
       
  6123 //!                         6. Set brush and pen color to fill and draw the polygon.
       
  6124 //!                         7. Draw the polygon
       
  6125 //!                         8. Check the border and pixels inside & outside the polygon.
       
  6126 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6127 //! @SYMTestStatus          Implemented
       
  6128 //! @SYMTestPriority        High
       
  6129 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  6130 //!                         2. The drawing result is as expected.
       
  6131 //!                         3. Check the lines drawn per point list specified in test data.
       
  6132 //!                         4. Inside the polygon, check pixel1~pixel2 specified in test data.
       
  6133 //!                            Outside the polygon, check pixel3~pixel4 specified in test data.
       
  6134 //! @SYMTestType            CIT
       
  6135 
       
  6136     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6137         CREATE_OBJECT       RFbsSession          fbsSession
       
  6138         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6139         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6140         COMMAND             fbsSession           Connect
       
  6141         COMMAND             fbsBitGc             NewL
       
  6142         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320-NewL_command03
       
  6143         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320-Activate_command04
       
  6144         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320-SetBrushStyle_command05
       
  6145         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320-SetBrushColor_command06
       
  6146         COMMAND             fbsBitGc             Clear
       
  6147         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320-SetBrushColor_command08
       
  6148         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320-SetPenColor_command09
       
  6149         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320-DrawPolygon_command10
       
  6150         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320-checkLineColor_command11
       
  6151         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320-checkPixels_command12
       
  6152         COMMAND             fbsScrDev            Update
       
  6153         COMMAND             fbsSession           Disconnect
       
  6154         COMMAND             fbsBitGc             ~
       
  6155         COMMAND             fbsScrDev            ~
       
  6156      END_TEST_BLOCK
       
  6157 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0320
       
  6158 
       
  6159 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0321
       
  6160 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0321
       
  6161 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const TPoint{ptr},TInt, TFillRule)
       
  6162 //! @SYMAuthor              Felix Rao
       
  6163 //! @SYMCreationDate        08/12/2008
       
  6164 //! @SYMTestCaseDesc        Draw a polygon from a array of points which doesn't have any point.
       
  6165 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6166 //!                         2. Create a CFbsBitGc object.
       
  6167 //!                         3. Create a CFbsScreenDevice object.
       
  6168 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6169 //!                         5. Set brush color to clear device.
       
  6170 //!                         6. Set brush and pen color to fill and draw the polygon.
       
  6171 //!                         7. Draw the polygon
       
  6172 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6173 //! @SYMTestStatus          Implemented
       
  6174 //! @SYMTestPriority        High
       
  6175 //! @SYMTestExpectedResults The polygon will not be drawn
       
  6176 //! @SYMTestType            CIT
       
  6177 
       
  6178     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6179         CREATE_OBJECT       RFbsSession          fbsSession
       
  6180         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6181         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6182         COMMAND             fbsSession           Connect
       
  6183         COMMAND             fbsBitGc             NewL
       
  6184         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0321-NewL_command03
       
  6185         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0321-Activate_command04
       
  6186         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0321-SetBrushStyle_command05
       
  6187         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0321-SetBrushColor_command06
       
  6188         COMMAND             fbsBitGc             Clear
       
  6189         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0321-SetBrushColor_command08
       
  6190         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0321-SetPenColor_command09
       
  6191         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0321-DrawPolygon_command10
       
  6192         COMMAND             fbsScrDev            Update
       
  6193         COMMAND             fbsSession           Disconnect
       
  6194         COMMAND             fbsBitGc             ~
       
  6195         COMMAND             fbsScrDev            ~
       
  6196      END_TEST_BLOCK
       
  6197 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0321
       
  6198 
       
  6199 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322
       
  6200 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322
       
  6201 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const TPoint{ptr},TInt, TFillRule)
       
  6202 //! @SYMAuthor              Felix Rao
       
  6203 //! @SYMCreationDate        08/12/2008
       
  6204 //! @SYMTestCaseDesc        Draw a large polygon from a array of points.
       
  6205 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6206 //!                         2. Create a CFbsBitGc object.
       
  6207 //!                         3. Create a CFbsScreenDevice object.
       
  6208 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6209 //!                         5. Set brush color to clear device.
       
  6210 //!                         6. Set brush and pen color to fill and draw the polygon.
       
  6211 //!                         7. Draw the polygon
       
  6212 //!                         8. Check the border and pixels inside & outside the polygon.
       
  6213 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6214 //! @SYMTestStatus          Implemented
       
  6215 //! @SYMTestPriority        High
       
  6216 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  6217 //!                         2. The drawing result is as expected.
       
  6218 //!                         3. Check the lines drawn per point list specified in test data.
       
  6219 //!                         4. Inside the polygon, check pixel1~pixel2 specified in test data.
       
  6220 //!                            Outside the polygon, check pixel3~pixel4 specified in test data.
       
  6221 //! @SYMTestType            CIT
       
  6222 
       
  6223     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6224         CREATE_OBJECT       RFbsSession          fbsSession
       
  6225         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6226         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6227         COMMAND             fbsSession           Connect
       
  6228         COMMAND             fbsBitGc             NewL
       
  6229         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322-NewL_command03
       
  6230         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322-Activate_command04
       
  6231         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322-SetBrushStyle_command05
       
  6232         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322-SetBrushColor_command06
       
  6233         COMMAND             fbsBitGc             Clear
       
  6234         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322-SetBrushColor_command08
       
  6235         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322-SetPenColor_command09
       
  6236         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322-DrawPolygon_command10
       
  6237         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322-checkLineColor_command11
       
  6238         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322-checkPixels_command12
       
  6239         COMMAND             fbsScrDev            Update
       
  6240         COMMAND             fbsSession           Disconnect
       
  6241         COMMAND             fbsBitGc             ~
       
  6242         COMMAND             fbsScrDev            ~
       
  6243      END_TEST_BLOCK
       
  6244 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0322
       
  6245 
       
  6246 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323
       
  6247 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323
       
  6248 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const TPoint{ptr},TInt, TFillRule)
       
  6249 //! @SYMAuthor              Felix Rao
       
  6250 //! @SYMCreationDate        08/12/2008
       
  6251 //! @SYMTestCaseDesc        Draw a polygon from a array of points and fill it with null brush.
       
  6252 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6253 //!                         2. Create a CFbsBitGc object.
       
  6254 //!                         3. Create a CFbsScreenDevice object.
       
  6255 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6256 //!                         5. Set brush color to clear device.
       
  6257 //!                         6. Set brush and pen color to fill and draw the polygon.
       
  6258 //!                         7. Draw the polygon
       
  6259 //!                         8. Check the border and pixels inside & outside the polygon.
       
  6260 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6261 //! @SYMTestStatus          Implemented
       
  6262 //! @SYMTestPriority        High
       
  6263 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  6264 //!                         2. The drawing result is as expected.
       
  6265 //!                         3. Check the lines drawn per point list specified in test data.
       
  6266 //!                         4. Inside the polygon, check pixel1~pixel2 specified in test data.
       
  6267 //!                            Outside the polygon, check pixel3~pixel4 specified in test data.
       
  6268 //! @SYMTestType            CIT
       
  6269 
       
  6270     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6271         CREATE_OBJECT       RFbsSession          fbsSession
       
  6272         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6273         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6274         COMMAND             fbsSession           Connect
       
  6275         COMMAND             fbsBitGc             NewL
       
  6276         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323-NewL_command03
       
  6277         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323-Activate_command04
       
  6278         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323-SetBrushStyle_command05
       
  6279         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323-SetBrushColor_command06
       
  6280         COMMAND             fbsBitGc             Clear
       
  6281         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323-SetBrushStyle_command08
       
  6282         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323-SetPenColor_command09
       
  6283         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323-DrawPolygon_command10
       
  6284         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323-checkLineColor_command11
       
  6285         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323-checkPixels_command12
       
  6286         COMMAND             fbsScrDev            Update
       
  6287         COMMAND             fbsSession           Disconnect
       
  6288         COMMAND             fbsBitGc             ~
       
  6289         COMMAND             fbsScrDev            ~
       
  6290      END_TEST_BLOCK
       
  6291 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0323
       
  6292 
       
  6293 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324
       
  6294 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324
       
  6295 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const TPoint{ptr},TInt, TFillRule)
       
  6296 //! @SYMAuthor              Felix Rao
       
  6297 //! @SYMCreationDate        08/12/2008
       
  6298 //! @SYMTestCaseDesc        Draw a polygon from a array of points and draw it with null pen.
       
  6299 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6300 //!                         2. Create a CFbsBitGc object.
       
  6301 //!                         3. Create a CFbsScreenDevice object.
       
  6302 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6303 //!                         5. Set brush color to clear device.
       
  6304 //!                         6. Set brush color to fill and set null pen to draw the polygon.
       
  6305 //!                         7. Draw the polygon
       
  6306 //!                         8. Check the border and pixels inside & outside the polygon.
       
  6307 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6308 //! @SYMTestStatus          Implemented
       
  6309 //! @SYMTestPriority        High
       
  6310 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  6311 //!                         2. The drawing result is as expected.
       
  6312 //!                         3. Check the lines drawn per point list specified in test data.
       
  6313 //!                         4. Inside the polygon, check pixel1~pixel2 specified in test data.
       
  6314 //!                            Outside the polygon, check pixel3~pixel4 specified in test data.
       
  6315 //! @SYMTestType            CIT
       
  6316 
       
  6317     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6318         CREATE_OBJECT       RFbsSession          fbsSession
       
  6319         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6320         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6321         COMMAND             fbsSession           Connect
       
  6322         COMMAND             fbsBitGc             NewL
       
  6323         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324-NewL_command03
       
  6324         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324-Activate_command04
       
  6325         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324-SetBrushStyle_command05
       
  6326         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324-SetBrushColor_command06
       
  6327         COMMAND             fbsBitGc             Clear
       
  6328         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324-SetBrushColor_command08
       
  6329         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324-SetPenStyle_command09
       
  6330         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324-DrawPolygon_command10
       
  6331         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324-checkLineColor_command11
       
  6332         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324-checkPixels_command12
       
  6333         COMMAND             fbsScrDev            Update
       
  6334         COMMAND             fbsSession           Disconnect
       
  6335         COMMAND             fbsBitGc             ~
       
  6336         COMMAND             fbsScrDev            ~
       
  6337      END_TEST_BLOCK
       
  6338 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0324
       
  6339 
       
  6340 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325
       
  6341 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325
       
  6342 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const TPoint{ptr},TInt, TFillRule)
       
  6343 //! @SYMAuthor              Felix Rao
       
  6344 //! @SYMCreationDate        08/12/2008
       
  6345 //! @SYMTestCaseDesc        Draw a polygon from a array of points with 0-width pen.
       
  6346 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6347 //!                         2. Create a CFbsBitGc object.
       
  6348 //!                         3. Create a CFbsScreenDevice object.
       
  6349 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6350 //!                         5. Set brush color to clear device.
       
  6351 //!                         6. Set brush color to fill and draw the polygon.
       
  6352 //!                         7. Set pen size to TSize(0, 1).
       
  6353 //!                         8. Draw the polygon
       
  6354 //!                         9. Check the border and pixels inside & outside the polygon.
       
  6355 //!                         10. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6356 //! @SYMTestStatus          Implemented
       
  6357 //! @SYMTestPriority        High
       
  6358 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  6359 //!                         2. The drawing result is as expected.
       
  6360 //!                         3. Check the lines drawn per point list specified in test data.
       
  6361 //!                         4. Inside the polygon, check pixel1~pixel2 specified in test data.
       
  6362 //!                            Outside the polygon, check pixel3~pixel4 specified in test data.
       
  6363 //! @SYMTestType            CIT
       
  6364 
       
  6365     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6366         CREATE_OBJECT       RFbsSession          fbsSession
       
  6367         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6368         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6369         COMMAND             fbsSession           Connect
       
  6370         COMMAND             fbsBitGc             NewL
       
  6371         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325-NewL_command03
       
  6372         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325-Activate_command04
       
  6373         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325-SetBrushStyle_command05
       
  6374         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325-SetBrushColor_command06
       
  6375         COMMAND             fbsBitGc             Clear
       
  6376         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325-SetBrushColor_command08
       
  6377         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325-SetPenSize_command09
       
  6378         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325-DrawPolygon_command10
       
  6379         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325-checkLineColor_command11
       
  6380         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325-checkPixels_command12
       
  6381         COMMAND             fbsScrDev            Update
       
  6382         COMMAND             fbsSession           Disconnect
       
  6383         COMMAND             fbsBitGc             ~
       
  6384         COMMAND             fbsScrDev            ~
       
  6385      END_TEST_BLOCK
       
  6386 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0325
       
  6387 
       
  6388 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326
       
  6389 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326
       
  6390 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const TPoint{ptr},TInt, TFillRule)
       
  6391 //! @SYMAuthor              Felix Rao
       
  6392 //! @SYMCreationDate        08/12/2008
       
  6393 //! @SYMTestCaseDesc        Draw a polygon from a array of points with 0-height pen.
       
  6394 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6395 //!                         2. Create a CFbsBitGc object.
       
  6396 //!                         3. Create a CFbsScreenDevice object.
       
  6397 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6398 //!                         5. Set brush color to clear device.
       
  6399 //!                         6. Set brush color to fill and draw the polygon.
       
  6400 //!                         7. Set pen size to TSize(1, 0).
       
  6401 //!                         8. Draw the polygon
       
  6402 //!                         9. Check the border and pixels inside & outside the polygon.
       
  6403 //!                         10. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6404 //! @SYMTestStatus          Implemented
       
  6405 //! @SYMTestPriority        High
       
  6406 //! @SYMTestExpectedResults 1. Draw a polygon without error.
       
  6407 //!                         2. The drawing result is as expected.
       
  6408 //!                         3. Check the lines drawn per point list specified in test data.
       
  6409 //!                         4. Inside the polygon, check pixel1~pixel2 specified in test data.
       
  6410 //!                            Outside the polygon, check pixel3~pixel4 specified in test data.
       
  6411 //! @SYMTestType            CIT
       
  6412 
       
  6413     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6414         CREATE_OBJECT       RFbsSession          fbsSession
       
  6415         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6416         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6417         COMMAND             fbsSession           Connect
       
  6418         COMMAND             fbsBitGc             NewL
       
  6419         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326-NewL_command03
       
  6420         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326-Activate_command04
       
  6421         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326-SetBrushStyle_command05
       
  6422         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326-SetBrushColor_command06
       
  6423         COMMAND             fbsBitGc             Clear
       
  6424         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326-SetBrushColor_command08
       
  6425         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326-SetPenSize_command09
       
  6426         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326-DrawPolygon_command10
       
  6427         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326-checkLineColor_command11
       
  6428         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326-checkPixels_command12
       
  6429         COMMAND             fbsScrDev            Update
       
  6430         COMMAND             fbsSession           Disconnect
       
  6431         COMMAND             fbsBitGc             ~
       
  6432         COMMAND             fbsScrDev            ~
       
  6433      END_TEST_BLOCK
       
  6434 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0326
       
  6435 
       
  6436 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0327
       
  6437 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0327
       
  6438 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const TPoint{ptr}, TInt, TFillRule)
       
  6439 //! @SYMAuthor              Felix Rao
       
  6440 //! @SYMCreationDate        04/12/2008
       
  6441 //! @SYMTestCaseDesc        Negative case. Draw a polygon to invalid graphic device.
       
  6442 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  6443 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  6444 //!                         3. Draw polygon.
       
  6445 //! @SYMTestStatus          Implemented
       
  6446 //! @SYMTestPriority        High
       
  6447 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  6448 //! @SYMTestType            CIT
       
  6449 
       
  6450     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6451         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6452         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6453         COMMAND             fbsBitGc             NewL
       
  6454         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0327-Activate_command02
       
  6455         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0327-DrawPolygon_command03
       
  6456      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  6457      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  6458 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0327
       
  6459 
       
  6460 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0328
       
  6461 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0328
       
  6462 //! @SYMAPI                 CFbsBitGc::DrawPolygon(const TPoint{ptr}, TInt, TFillRule)
       
  6463 //! @SYMAuthor              Felix Rao
       
  6464 //! @SYMCreationDate        04/12/2008
       
  6465 //! @SYMTestCaseDesc        Negative case. Draw a polygon by using a non-activated graphics context.
       
  6466 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  6467 //!                         2. Draw polygon.
       
  6468 //! @SYMTestStatus          Implemented
       
  6469 //! @SYMTestPriority        High
       
  6470 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing polygon using a non-activated graphics context.
       
  6471 //! @SYMTestType            CIT
       
  6472 
       
  6473     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6474         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6475         COMMAND             fbsBitGc             NewL
       
  6476         COMMAND             fbsBitGc             DrawPolygon                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0328-DrawPolygon_command02
       
  6477      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  6478      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  6479 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0328
       
  6480 
       
  6481 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329
       
  6482 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329
       
  6483 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6484 //! @SYMAuthor              Felix Rao
       
  6485 //! @SYMCreationDate        01/12/2008
       
  6486 //! @SYMTestCaseDesc        Draw an ellipse in rectangle (0, 0, 100, 200) area.
       
  6487 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6488 //!                         2. Create a CFbsBitGc object.
       
  6489 //!                         3. Create a CFbsScreenDevice object.
       
  6490 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6491 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6492 //!                         6. Set brush style and color.
       
  6493 //!                         7. Draw ellipse.
       
  6494 //!                         8. Check the border and pixels inside & outside the ellipse.
       
  6495 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6496 //! @SYMTestStatus          Implemented
       
  6497 //! @SYMTestPriority        High
       
  6498 //! @SYMTestExpectedResults 1. Draw a ellipse without error.
       
  6499 //!                         2. The drawing result is as expected.
       
  6500 //!                         3. Check pixel1~pixel8 on the border of ellipse.
       
  6501 //!                         4. Inside the ellipse, check pixel9~pixel10 specified in test data.
       
  6502 //!                            Outside the ellipse, check pixel11~pixel2 specified in test data.
       
  6503 //! @SYMTestType            CIT
       
  6504 
       
  6505     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6506         CREATE_OBJECT       RFbsSession          fbsSession
       
  6507         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6508         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6509         COMMAND             fbsSession           Connect
       
  6510         COMMAND             fbsBitGc             NewL
       
  6511         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329-NewL_command03
       
  6512         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329-Activate_command04
       
  6513         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329-SetBrushStyle_command05
       
  6514         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329-SetBrushColor_command06
       
  6515         COMMAND             fbsBitGc             Clear
       
  6516         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329-SetBrushColor_command08
       
  6517         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329-SetPenColor_command09
       
  6518         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329-DrawEllipse_command10
       
  6519         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329-checkPixels_command11
       
  6520         COMMAND             fbsScrDev            Update
       
  6521         COMMAND             fbsSession           Disconnect
       
  6522         COMMAND             fbsBitGc             ~
       
  6523         COMMAND             fbsScrDev            ~
       
  6524      END_TEST_BLOCK
       
  6525 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0329
       
  6526 
       
  6527 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0330
       
  6528 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0330
       
  6529 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6530 //! @SYMAuthor              Felix Rao
       
  6531 //! @SYMCreationDate        08/12/2008
       
  6532 //! @SYMTestCaseDesc        Negative case. Draw an ellipse in rectangle (0, 0, 0, 0) area.
       
  6533 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6534 //!                         2. Create a CFbsBitGc object.
       
  6535 //!                         3. Create a CFbsScreenDevice object.
       
  6536 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6537 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6538 //!                         6. Set brush style and color.
       
  6539 //!                         7. Draw ellipse.
       
  6540 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6541 //! @SYMTestStatus          Implemented
       
  6542 //! @SYMTestPriority        High
       
  6543 //! @SYMTestExpectedResults The ellipse will not be drawn.
       
  6544 //! @SYMTestType            CIT
       
  6545 
       
  6546     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6547         CREATE_OBJECT       RFbsSession          fbsSession
       
  6548         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6549         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6550         COMMAND             fbsSession           Connect
       
  6551         COMMAND             fbsBitGc             NewL
       
  6552         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0330-NewL_command03
       
  6553         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0330-Activate_command04
       
  6554         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0330-SetBrushStyle_command05
       
  6555         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0330-SetBrushColor_command06
       
  6556         COMMAND             fbsBitGc             Clear
       
  6557         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0330-SetBrushColor_command08
       
  6558         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0330-SetPenColor_command09
       
  6559         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0330-DrawEllipse_command10
       
  6560         COMMAND             fbsScrDev            Update
       
  6561         COMMAND             fbsSession           Disconnect
       
  6562         COMMAND             fbsBitGc             ~
       
  6563         COMMAND             fbsScrDev            ~
       
  6564      END_TEST_BLOCK
       
  6565 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0330
       
  6566 
       
  6567 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0331
       
  6568 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0331
       
  6569 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6570 //! @SYMAuthor              Felix Rao
       
  6571 //! @SYMCreationDate        08/12/2008
       
  6572 //! @SYMTestCaseDesc        Negative case. Draw an ellipse in rectangle (8000, 8000, 9000, 9000) area.
       
  6573 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6574 //!                         2. Create a CFbsBitGc object.
       
  6575 //!                         3. Create a CFbsScreenDevice object.
       
  6576 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6577 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6578 //!                         6. Set brush style and color.
       
  6579 //!                         7. Draw ellipse.
       
  6580 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6581 //! @SYMTestStatus          Implemented
       
  6582 //! @SYMTestPriority        High
       
  6583 //! @SYMTestExpectedResults The ellipse will not be drawn.
       
  6584 //! @SYMTestType            CIT
       
  6585 
       
  6586     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6587         CREATE_OBJECT       RFbsSession          fbsSession
       
  6588         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6589         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6590         COMMAND             fbsSession           Connect
       
  6591         COMMAND             fbsBitGc             NewL
       
  6592         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0331-NewL_command03
       
  6593         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0331-Activate_command04
       
  6594         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0331-SetBrushStyle_command05
       
  6595         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0331-SetBrushColor_command06
       
  6596         COMMAND             fbsBitGc             Clear
       
  6597         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0331-SetBrushColor_command08
       
  6598         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0331-SetPenColor_command09
       
  6599         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0331-DrawEllipse_command10
       
  6600         COMMAND             fbsScrDev            Update
       
  6601         COMMAND             fbsSession           Disconnect
       
  6602         COMMAND             fbsBitGc             ~
       
  6603         COMMAND             fbsScrDev            ~
       
  6604      END_TEST_BLOCK
       
  6605 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0331
       
  6606 
       
  6607 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332
       
  6608 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332
       
  6609 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6610 //! @SYMAuthor              Felix Rao
       
  6611 //! @SYMCreationDate        08/12/2008
       
  6612 //! @SYMTestCaseDesc        Draw an ellipse in rectangle (0, 0, 100, 200) area and fill it with null brush.
       
  6613 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6614 //!                         2. Create a CFbsBitGc object.
       
  6615 //!                         3. Create a CFbsScreenDevice object.
       
  6616 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6617 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6618 //!                         6. Set to null brush.
       
  6619 //!                         7. Draw ellipse.
       
  6620 //!                         8. Check the border and pixels inside & outside the ellipse.
       
  6621 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6622 //! @SYMTestStatus          Implemented
       
  6623 //! @SYMTestPriority        High
       
  6624 //! @SYMTestExpectedResults 1. Draw a ellipse without error.
       
  6625 //!                         2. The drawing result is as expected.
       
  6626 //!                         3. Check pixel1~pixel8 on the border of ellipse.
       
  6627 //!                         4. Inside the ellipse, check pixel9~pixel10 specified in test data.
       
  6628 //!                            Outside the ellipse, check pixel11~pixel2 specified in test data.
       
  6629 //! @SYMTestType            CIT
       
  6630 
       
  6631     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6632         CREATE_OBJECT       RFbsSession          fbsSession
       
  6633         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6634         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6635         COMMAND             fbsSession           Connect
       
  6636         COMMAND             fbsBitGc             NewL
       
  6637         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332-NewL_command03
       
  6638         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332-Activate_command04
       
  6639         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332-SetBrushStyle_command05
       
  6640         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332-SetBrushColor_command06
       
  6641         COMMAND             fbsBitGc             Clear
       
  6642         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332-SetBrushStyle_command08
       
  6643         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332-SetPenColor_command09
       
  6644         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332-DrawEllipse_command10
       
  6645         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332-checkPixels_command11
       
  6646         COMMAND             fbsScrDev            Update
       
  6647         COMMAND             fbsSession           Disconnect
       
  6648         COMMAND             fbsBitGc             ~
       
  6649         COMMAND             fbsScrDev            ~
       
  6650      END_TEST_BLOCK
       
  6651 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0332
       
  6652 
       
  6653 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333
       
  6654 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333
       
  6655 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6656 //! @SYMAuthor              Felix Rao
       
  6657 //! @SYMCreationDate        08/12/2008
       
  6658 //! @SYMTestCaseDesc        Draw an ellipse in rectangle (0, 0, 100, 200) area and draw it with null pen.
       
  6659 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6660 //!                         2. Create a CFbsBitGc object.
       
  6661 //!                         3. Create a CFbsScreenDevice object.
       
  6662 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6663 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6664 //!                         6. Set brush color and set null pen.
       
  6665 //!                         7. Draw ellipse.
       
  6666 //!                         8. Check the border and pixels inside & outside the ellipse.
       
  6667 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6668 //! @SYMTestStatus          Implemented
       
  6669 //! @SYMTestPriority        High
       
  6670 //! @SYMTestExpectedResults 1. Draw a ellipse without error.
       
  6671 //!                         2. The drawing result is as expected.
       
  6672 //!                         3. Check pixel1~pixel8 on the border of ellipse.
       
  6673 //!                         4. Inside the ellipse, check pixel9~pixel10 specified in test data.
       
  6674 //!                            Outside the ellipse, check pixel11~pixel2 specified in test data.
       
  6675 //! @SYMTestType            CIT
       
  6676 
       
  6677     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6678         CREATE_OBJECT       RFbsSession          fbsSession
       
  6679         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6680         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6681         COMMAND             fbsSession           Connect
       
  6682         COMMAND             fbsBitGc             NewL
       
  6683         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333-NewL_command03
       
  6684         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333-Activate_command04
       
  6685         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333-SetBrushStyle_command05
       
  6686         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333-SetBrushColor_command06
       
  6687         COMMAND             fbsBitGc             Clear
       
  6688         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333-SetBrushColor_command08
       
  6689         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333-SetPenStyle_command09
       
  6690         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333-DrawEllipse_command10
       
  6691         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333-checkPixels_command11
       
  6692         COMMAND             fbsScrDev            Update
       
  6693         COMMAND             fbsSession           Disconnect
       
  6694         COMMAND             fbsBitGc             ~
       
  6695         COMMAND             fbsScrDev            ~
       
  6696      END_TEST_BLOCK
       
  6697 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0333
       
  6698 
       
  6699 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334
       
  6700 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334
       
  6701 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6702 //! @SYMAuthor              Felix Rao
       
  6703 //! @SYMCreationDate        08/12/2008
       
  6704 //! @SYMTestCaseDesc        Draw an ellipse in rectangle (0, 0, 100, 200) area and draw it with null pen.
       
  6705 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6706 //!                         2. Create a CFbsBitGc object.
       
  6707 //!                         3. Create a CFbsScreenDevice object.
       
  6708 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6709 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6710 //!                         6. Set brush color and set pen size to TSize(0, 0).
       
  6711 //!                         7. Draw ellipse.
       
  6712 //!                         8. Check the border and pixels inside & outside the ellipse.
       
  6713 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6714 //! @SYMTestStatus          Implemented
       
  6715 //! @SYMTestPriority        High
       
  6716 //! @SYMTestExpectedResults 1. Draw a ellipse without error.
       
  6717 //!                         2. The drawing result is as expected.
       
  6718 //!                         3. Check pixel1~pixel8 on the border of ellipse.
       
  6719 //!                         4. Inside the ellipse, check pixel9~pixel10 specified in test data.
       
  6720 //!                            Outside the ellipse, check pixel11~pixel2 specified in test data.
       
  6721 //! @SYMTestType            CIT
       
  6722 
       
  6723     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6724         CREATE_OBJECT       RFbsSession          fbsSession
       
  6725         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6726         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6727         COMMAND             fbsSession           Connect
       
  6728         COMMAND             fbsBitGc             NewL
       
  6729         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334-NewL_command03
       
  6730         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334-Activate_command04
       
  6731         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334-SetBrushStyle_command05
       
  6732         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334-SetBrushColor_command06
       
  6733         COMMAND             fbsBitGc             Clear
       
  6734         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334-SetBrushColor_command08
       
  6735         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334-SetPenSize_command09
       
  6736         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334-DrawEllipse_command10
       
  6737         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334-checkPixels_command11
       
  6738         COMMAND             fbsScrDev            Update
       
  6739         COMMAND             fbsSession           Disconnect
       
  6740         COMMAND             fbsBitGc             ~
       
  6741         COMMAND             fbsScrDev            ~
       
  6742      END_TEST_BLOCK
       
  6743 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0334
       
  6744 
       
  6745 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335
       
  6746 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335
       
  6747 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6748 //! @SYMAuthor              Felix Rao
       
  6749 //! @SYMCreationDate        08/12/2008
       
  6750 //! @SYMTestCaseDesc        Draw an ellipse in rectangle (0, 0, 100, 200) area and draw it with null pen.
       
  6751 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6752 //!                         2. Create a CFbsBitGc object.
       
  6753 //!                         3. Create a CFbsScreenDevice object.
       
  6754 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6755 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6756 //!                         6. Set brush color and set pen size to TSize(1, 0)
       
  6757 //!                         7. Draw ellipse.
       
  6758 //!                         8. Check the border and pixels inside & outside the ellipse.
       
  6759 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6760 //! @SYMTestStatus          Implemented
       
  6761 //! @SYMTestPriority        High
       
  6762 //! @SYMTestExpectedResults 1. Draw a ellipse without error.
       
  6763 //!                         2. The drawing result is as expected.
       
  6764 //!                         3. Check pixel1~pixel8 on the border of ellipse.
       
  6765 //!                         4. Inside the ellipse, check pixel9~pixel10 specified in test data.
       
  6766 //!                            Outside the ellipse, check pixel11~pixel2 specified in test data.
       
  6767 //! @SYMTestType            CIT
       
  6768 
       
  6769     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6770         CREATE_OBJECT       RFbsSession          fbsSession
       
  6771         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6772         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6773         COMMAND             fbsSession           Connect
       
  6774         COMMAND             fbsBitGc             NewL
       
  6775         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335-NewL_command03
       
  6776         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335-Activate_command04
       
  6777         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335-SetBrushStyle_command05
       
  6778         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335-SetBrushColor_command06
       
  6779         COMMAND             fbsBitGc             Clear
       
  6780         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335-SetBrushColor_command08
       
  6781         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335-SetPenSize_command09
       
  6782         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335-DrawEllipse_command10
       
  6783         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335-checkPixels_command11
       
  6784         COMMAND             fbsScrDev            Update
       
  6785         COMMAND             fbsSession           Disconnect
       
  6786         COMMAND             fbsBitGc             ~
       
  6787         COMMAND             fbsScrDev            ~
       
  6788      END_TEST_BLOCK
       
  6789 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0335
       
  6790 
       
  6791 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336
       
  6792 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336
       
  6793 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6794 //! @SYMAuthor              Felix Rao
       
  6795 //! @SYMCreationDate        08/12/2008
       
  6796 //! @SYMTestCaseDesc        Draw an ellipse in rectangle (0, 0, 100, 200) area and draw it with null pen.
       
  6797 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6798 //!                         2. Create a CFbsBitGc object.
       
  6799 //!                         3. Create a CFbsScreenDevice object.
       
  6800 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6801 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6802 //!                         6. Set brush color and set pen size to TSize(2, 1).
       
  6803 //!                         7. Draw ellipse.
       
  6804 //!                         8. Check the border and pixels inside & outside the ellipse.
       
  6805 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6806 //! @SYMTestStatus          Implemented
       
  6807 //! @SYMTestPriority        High
       
  6808 //! @SYMTestExpectedResults 1. Draw a ellipse without error.
       
  6809 //!                         2. The drawing result is as expected.
       
  6810 //!                         3. Check pixel1~pixel8 on the border of ellipse.
       
  6811 //!                         4. Inside the ellipse, check pixel9~pixel10 specified in test data.
       
  6812 //!                            Outside the ellipse, check pixel11~pixel2 specified in test data.
       
  6813 //! @SYMTestType            CIT
       
  6814 
       
  6815     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6816         CREATE_OBJECT       RFbsSession          fbsSession
       
  6817         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6818         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6819         COMMAND             fbsSession           Connect
       
  6820         COMMAND             fbsBitGc             NewL
       
  6821         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336-NewL_command03
       
  6822         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336-Activate_command04
       
  6823         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336-SetBrushStyle_command05
       
  6824         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336-SetBrushColor_command06
       
  6825         COMMAND             fbsBitGc             Clear
       
  6826         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336-SetBrushColor_command08
       
  6827         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336-SetPenSize_command09
       
  6828         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336-DrawEllipse_command10
       
  6829         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336-checkPixels_command11
       
  6830         COMMAND             fbsScrDev            Update
       
  6831         COMMAND             fbsSession           Disconnect
       
  6832         COMMAND             fbsBitGc             ~
       
  6833         COMMAND             fbsScrDev            ~
       
  6834      END_TEST_BLOCK
       
  6835 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0336
       
  6836 
       
  6837 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337
       
  6838 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337
       
  6839 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6840 //! @SYMAuthor              Felix Rao
       
  6841 //! @SYMCreationDate        08/12/2008
       
  6842 //! @SYMTestCaseDesc        Draw an ellipse in rectangle (0, 0, 100, 300) area and draw it with null pen.
       
  6843 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6844 //!                         2. Create a CFbsBitGc object.
       
  6845 //!                         3. Create a CFbsScreenDevice object.
       
  6846 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6847 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6848 //!                         6. Set brush color and set pen size to TSize(2, 2).
       
  6849 //!                         7. Draw ellipse.
       
  6850 //!                         8. Check the border and pixels inside & outside the ellipse.
       
  6851 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6852 //! @SYMTestStatus          Implemented
       
  6853 //! @SYMTestPriority        High
       
  6854 //! @SYMTestExpectedResults 1. Draw a ellipse without error.
       
  6855 //!                         2. The drawing result is as expected.
       
  6856 //!                         3. Check pixel1~pixel8 on the border of ellipse.
       
  6857 //!                         4. Inside the ellipse, check pixel9~pixel10 specified in test data.
       
  6858 //!                            Outside the ellipse, check pixel11~pixel2 specified in test data.
       
  6859 //! @SYMTestType            CIT
       
  6860 
       
  6861     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6862         CREATE_OBJECT       RFbsSession          fbsSession
       
  6863         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6864         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6865         COMMAND             fbsSession           Connect
       
  6866         COMMAND             fbsBitGc             NewL
       
  6867         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337-NewL_command03
       
  6868         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337-Activate_command04
       
  6869         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337-SetBrushStyle_command05
       
  6870         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337-SetBrushColor_command06
       
  6871         COMMAND             fbsBitGc             Clear
       
  6872         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337-SetBrushColor_command08
       
  6873         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337-SetPenSize_command09
       
  6874         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337-DrawEllipse_command10
       
  6875         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337-checkPixels_command11
       
  6876         COMMAND             fbsScrDev            Update
       
  6877         COMMAND             fbsSession           Disconnect
       
  6878         COMMAND             fbsBitGc             ~
       
  6879         COMMAND             fbsScrDev            ~
       
  6880      END_TEST_BLOCK
       
  6881 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0337
       
  6882 
       
  6883 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0340
       
  6884 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0340
       
  6885 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6886 //! @SYMAuthor              Felix Rao
       
  6887 //! @SYMCreationDate        04/12/2008
       
  6888 //! @SYMTestCaseDesc        Negative case. Draw a ellipse to invalid graphic device.
       
  6889 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  6890 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  6891 //!                         3. Draw ellipse.
       
  6892 //! @SYMTestStatus          Implemented
       
  6893 //! @SYMTestPriority        High
       
  6894 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  6895 //! @SYMTestType            CIT
       
  6896 
       
  6897     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6898         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6899         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6900         COMMAND             fbsBitGc             NewL
       
  6901         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0340-Activate_command02
       
  6902         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0340-DrawEllipse_command03
       
  6903      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  6904      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  6905 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0340
       
  6906 
       
  6907 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0341
       
  6908 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0341
       
  6909 //! @SYMAPI                 CFbsBitGc::DrawEllipse(const TRect{ref})
       
  6910 //! @SYMAuthor              Felix Rao
       
  6911 //! @SYMCreationDate        04/12/2008
       
  6912 //! @SYMTestCaseDesc        Negative case. Draw a ellipse by using a non-activated graphics context.
       
  6913 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  6914 //!                         2. Draw Ellipse.
       
  6915 //! @SYMTestStatus          Implemented
       
  6916 //! @SYMTestPriority        High
       
  6917 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing ellipse using a non-activated graphics context.
       
  6918 //! @SYMTestType            CIT
       
  6919 
       
  6920     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6921         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6922         COMMAND             fbsBitGc             NewL
       
  6923         COMMAND             fbsBitGc             DrawEllipse                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0341-DrawEllipse_command02
       
  6924      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  6925      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  6926 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0341
       
  6927 
       
  6928 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0342
       
  6929 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0342
       
  6930 //! @SYMAPI                 CFbsBitGc::DrawLine(const TPoint{ref}, const TPoint{ref})
       
  6931 //! @SYMAuthor              Felix Rao
       
  6932 //! @SYMCreationDate        28/11/2008
       
  6933 //! @SYMTestCaseDesc        Draw a line from start point to end point.
       
  6934 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6935 //!                         2. Create a CFbsBitGc object.
       
  6936 //!                         3. Create a CFbsScreenDevice object.
       
  6937 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6938 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6939 //!                         6. Draw a line from start point to end point.
       
  6940 //!                         7. Check the whole line.
       
  6941 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6942 //! @SYMTestStatus          Implemented
       
  6943 //! @SYMTestPriority        High
       
  6944 //! @SYMTestExpectedResults 1. Draw a line without error.
       
  6945 //!                         2. The drawing result is as expected.
       
  6946 //!                         3. Check the line color specified in test data
       
  6947 //! @SYMTestType            CIT
       
  6948 
       
  6949     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6950         CREATE_OBJECT       RFbsSession          fbsSession
       
  6951         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6952         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6953         COMMAND             fbsSession           Connect
       
  6954         COMMAND             fbsBitGc             NewL
       
  6955         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0342-NewL_command03
       
  6956         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0342-Activate_command04
       
  6957         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0342-SetBrushStyle_command05
       
  6958         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0342-SetBrushColor_command06
       
  6959         COMMAND             fbsBitGc             Clear
       
  6960         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0342-DrawLine_command08
       
  6961         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0342-checkLineColor_command09
       
  6962         COMMAND             fbsScrDev            Update
       
  6963         COMMAND             fbsSession           Disconnect
       
  6964         COMMAND             fbsBitGc             ~
       
  6965         COMMAND             fbsScrDev            ~
       
  6966      END_TEST_BLOCK
       
  6967 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0342
       
  6968 
       
  6969 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0343
       
  6970 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0343
       
  6971 //! @SYMAPI                 CFbsBitGc::DrawLine(const TPoint{ref}, const TPoint{ref})
       
  6972 //! @SYMAuthor              Felix Rao
       
  6973 //! @SYMCreationDate        08/12/2008
       
  6974 //! @SYMTestCaseDesc        Negative case. Draw a line from start point to end point which is out of user clip region.
       
  6975 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  6976 //!                         2. Create a CFbsBitGc object.
       
  6977 //!                         3. Create a CFbsScreenDevice object.
       
  6978 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  6979 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  6980 //!                         6. Draw a line from start point to end point.
       
  6981 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  6982 //! @SYMTestStatus          Implemented
       
  6983 //! @SYMTestPriority        High
       
  6984 //! @SYMTestExpectedResults The line will not be drawn.
       
  6985 //! @SYMTestType            CIT
       
  6986 
       
  6987     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  6988         CREATE_OBJECT       RFbsSession          fbsSession
       
  6989         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  6990         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  6991         COMMAND             fbsSession           Connect
       
  6992         COMMAND             fbsBitGc             NewL
       
  6993         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0343-NewL_command03
       
  6994         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0343-Activate_command04
       
  6995         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0343-SetBrushStyle_command05
       
  6996         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0343-SetBrushColor_command06
       
  6997         COMMAND             fbsBitGc             Clear
       
  6998         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0343-DrawLine_command08
       
  6999         COMMAND             fbsScrDev            Update
       
  7000         COMMAND             fbsSession           Disconnect
       
  7001         COMMAND             fbsBitGc             ~
       
  7002         COMMAND             fbsScrDev            ~
       
  7003      END_TEST_BLOCK
       
  7004 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0343
       
  7005 
       
  7006 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0344
       
  7007 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0344
       
  7008 //! @SYMAPI                 CFbsBitGc::DrawLine(const TPoint{ref}, const TPoint{ref})
       
  7009 //! @SYMAuthor              Felix Rao
       
  7010 //! @SYMCreationDate        04/12/2008
       
  7011 //! @SYMTestCaseDesc        Negative case. Draw a line to invalid graphic device.
       
  7012 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  7013 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  7014 //!                         3. Draw line.
       
  7015 //! @SYMTestStatus          Implemented
       
  7016 //! @SYMTestPriority        High
       
  7017 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  7018 //! @SYMTestType            CIT
       
  7019 
       
  7020     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7021         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7022         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7023         COMMAND             fbsBitGc             NewL
       
  7024         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0344-Activate_command02
       
  7025         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0344-DrawLine_command03
       
  7026      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  7027      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  7028 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0344
       
  7029 
       
  7030 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0345
       
  7031 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0345
       
  7032 //! @SYMAPI                 CFbsBitGc::DrawLine(const TPoint{ref}, const TPoint{ref})
       
  7033 //! @SYMAuthor              Felix Rao
       
  7034 //! @SYMCreationDate        04/12/2008
       
  7035 //! @SYMTestCaseDesc        Negative case. Draw a line by using a non-activated graphics context.
       
  7036 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  7037 //!                         2. Draw line.
       
  7038 //! @SYMTestStatus          Implemented
       
  7039 //! @SYMTestPriority        High
       
  7040 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing line using a non-activated graphics context.
       
  7041 //! @SYMTestType            CIT
       
  7042 
       
  7043     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7044         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7045         COMMAND             fbsBitGc             NewL
       
  7046         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0345-DrawLine_command02
       
  7047      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  7048      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  7049 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0345
       
  7050 
       
  7051 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0346
       
  7052 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0346
       
  7053 //! @SYMAPI                 CFbsBitGc::DrawLineTo(const TPoint{ref})
       
  7054 //! @SYMAuthor              Felix Rao
       
  7055 //! @SYMCreationDate        02/12/2008
       
  7056 //! @SYMTestCaseDesc        Draw a line from current drawing point to a specified point.
       
  7057 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7058 //!                         2. Create a CFbsBitGc object.
       
  7059 //!                         3. Create a CFbsScreenDevice object.
       
  7060 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7061 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7062 //!                         6. Draw a line from current drawing point to a specified point.
       
  7063 //!                         7. Check the whole line.
       
  7064 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7065 //! @SYMTestStatus          Implemented
       
  7066 //! @SYMTestPriority        High
       
  7067 //! @SYMTestExpectedResults 1. Draw a line without error.
       
  7068 //!                         2. The drawing result is as expected.
       
  7069 //!                         3. Check the line color specified in test data
       
  7070 //! @SYMTestType            CIT
       
  7071 
       
  7072     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7073         CREATE_OBJECT       RFbsSession          fbsSession
       
  7074         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7075         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7076         COMMAND             fbsSession           Connect
       
  7077         COMMAND             fbsBitGc             NewL
       
  7078         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0346-NewL_command03
       
  7079         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0346-Activate_command04
       
  7080         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0346-SetBrushStyle_command05
       
  7081         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0346-SetBrushColor_command06
       
  7082         COMMAND             fbsBitGc             Clear
       
  7083         COMMAND             fbsBitGc             DrawLineTo                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0346-DrawLineTo_command08
       
  7084         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0346-checkLineColor_command09
       
  7085         COMMAND             fbsScrDev            Update
       
  7086         COMMAND             fbsSession           Disconnect
       
  7087         COMMAND             fbsBitGc             ~
       
  7088         COMMAND             fbsScrDev            ~
       
  7089      END_TEST_BLOCK
       
  7090 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0346
       
  7091 
       
  7092 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0347
       
  7093 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0347
       
  7094 //! @SYMAPI                 CFbsBitGc::DrawLineTo(const TPoint{ref})
       
  7095 //! @SYMAuthor              Felix Rao
       
  7096 //! @SYMCreationDate        04/12/2008
       
  7097 //! @SYMTestCaseDesc        Negative case. Draw a line to invalid graphic device.
       
  7098 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  7099 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  7100 //!                         3. Draw line.
       
  7101 //! @SYMTestStatus          Implemented
       
  7102 //! @SYMTestPriority        High
       
  7103 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  7104 //! @SYMTestType            CIT
       
  7105 
       
  7106     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7107         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7108         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7109         COMMAND             fbsBitGc             NewL
       
  7110         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0347-Activate_command02
       
  7111         COMMAND             fbsBitGc             DrawLineTo                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0347-DrawLineTo_command03
       
  7112      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  7113      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  7114 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0347
       
  7115 
       
  7116 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0348
       
  7117 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0348
       
  7118 //! @SYMAPI                 CFbsBitGc::DrawLineTo(const TPoint{ref})
       
  7119 //! @SYMAuthor              Felix Rao
       
  7120 //! @SYMCreationDate        04/12/2008
       
  7121 //! @SYMTestCaseDesc        Negative case. Draw a line by using a non-activated graphics context.
       
  7122 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  7123 //!                         2. Draw line.
       
  7124 //! @SYMTestStatus          Implemented
       
  7125 //! @SYMTestPriority        High
       
  7126 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing line using a non-activated graphics context.
       
  7127 //! @SYMTestType            CIT
       
  7128 
       
  7129     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7130         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7131         COMMAND             fbsBitGc             NewL
       
  7132         COMMAND             fbsBitGc             DrawLineTo                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0348-DrawLineTo_command02
       
  7133      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  7134      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  7135 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0348
       
  7136 
       
  7137 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0349
       
  7138 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0349
       
  7139 //! @SYMAPI                 CFbsBitGc::DrawLineBy(const TPoint{ref})
       
  7140 //! @SYMAuthor              Felix Rao
       
  7141 //! @SYMCreationDate        02/12/2008
       
  7142 //! @SYMTestCaseDesc        Draw a straight line relative to the current drawing point, using a vector.
       
  7143 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7144 //!                         2. Create a CFbsBitGc object.
       
  7145 //!                         3. Create a CFbsScreenDevice object.
       
  7146 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7147 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7148 //!                         6. Draw a straight line relative to the current drawing point, using a vector.
       
  7149 //!                         7. Check the whole line.
       
  7150 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7151 //! @SYMTestStatus          Implemented
       
  7152 //! @SYMTestPriority        High
       
  7153 //! @SYMTestExpectedResults 1. Draw a line without error.
       
  7154 //!                         2. The drawing result is as expected.
       
  7155 //!                         3. Check the line color specified in test data
       
  7156 //! @SYMTestType            CIT
       
  7157 
       
  7158     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7159         CREATE_OBJECT       RFbsSession          fbsSession
       
  7160         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7161         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7162         COMMAND             fbsSession           Connect
       
  7163         COMMAND             fbsBitGc             NewL
       
  7164         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0349-NewL_command03
       
  7165         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0349-Activate_command04
       
  7166         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0349-SetBrushStyle_command05
       
  7167         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0349-SetBrushColor_command06
       
  7168         COMMAND             fbsBitGc             Clear
       
  7169         COMMAND             fbsBitGc             DrawLineBy                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0349-DrawLineBy_command08
       
  7170         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0349-checkLineColor_command09
       
  7171         COMMAND             fbsScrDev            Update
       
  7172         COMMAND             fbsSession           Disconnect
       
  7173         COMMAND             fbsBitGc             ~
       
  7174         COMMAND             fbsScrDev            ~
       
  7175      END_TEST_BLOCK
       
  7176 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0349
       
  7177 
       
  7178 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0350
       
  7179 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0350
       
  7180 //! @SYMAPI                 CFbsBitGc::DrawLineBy(const TPoint{ref})
       
  7181 //! @SYMAuthor              Felix Rao
       
  7182 //! @SYMCreationDate        04/12/2008
       
  7183 //! @SYMTestCaseDesc        Negative case. Draw a line to invalid graphic device.
       
  7184 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  7185 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
  7186 //!                         3. Draw line.
       
  7187 //! @SYMTestStatus          Implemented
       
  7188 //! @SYMTestPriority        High
       
  7189 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
  7190 //! @SYMTestType            CIT
       
  7191 
       
  7192     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7193         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7194         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7195         COMMAND             fbsBitGc             NewL
       
  7196         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0350-Activate_command02
       
  7197         COMMAND             fbsBitGc             DrawLineBy                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0350-DrawLineBy_command03
       
  7198      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  7199      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  7200 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0350
       
  7201 
       
  7202 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0351
       
  7203 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0351
       
  7204 //! @SYMAPI                 CFbsBitGc::DrawLineBy(const TPoint{ref})
       
  7205 //! @SYMAuthor              Felix Rao
       
  7206 //! @SYMCreationDate        04/12/2008
       
  7207 //! @SYMTestCaseDesc        Negative case. Draw a line by using a non-activated graphics context.
       
  7208 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
  7209 //!                         2. Draw line.
       
  7210 //! @SYMTestStatus          Implemented
       
  7211 //! @SYMTestPriority        High
       
  7212 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing line using a non-activated graphics context.
       
  7213 //! @SYMTestType            CIT
       
  7214 
       
  7215     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7216         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7217         COMMAND             fbsBitGc             NewL
       
  7218         COMMAND             fbsBitGc             DrawLineBy                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0351-DrawLineTo_command02
       
  7219      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
  7220      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
  7221 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0351
       
  7222 
       
  7223 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352
       
  7224 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352
       
  7225 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7226 //! @SYMAuthor              Felix Rao
       
  7227 //! @SYMCreationDate        08/12/2008
       
  7228 //! @SYMTestCaseDesc        Draw a rectangle.
       
  7229 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7230 //!                         2. Create a CFbsBitGc object.
       
  7231 //!                         3. Create a CFbsScreenDevice object.
       
  7232 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7233 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7234 //!                         6. Set brush and pen color.
       
  7235 //!                         7. Draw rectangle.
       
  7236 //!                         8. Check the rectangle drawn.
       
  7237 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7238 //! @SYMTestStatus          Implemented
       
  7239 //! @SYMTestPriority        High
       
  7240 //! @SYMTestExpectedResults 1. Draw a rectangle without error.
       
  7241 //!                         2. The drawing result is as expected.
       
  7242 //!                         3. Check the rectangle.
       
  7243 //! @SYMTestType            CIT
       
  7244 
       
  7245     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7246         CREATE_OBJECT       RFbsSession          fbsSession
       
  7247         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7248         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7249         COMMAND             fbsSession           Connect
       
  7250         COMMAND             fbsBitGc             NewL
       
  7251         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352-NewL_command03
       
  7252         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352-Activate_command04
       
  7253         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352-SetBrushStyle_command05
       
  7254         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352-SetBrushColor_command06
       
  7255         COMMAND             fbsBitGc             Clear
       
  7256         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352-SetBrushColor_command08
       
  7257         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352-SetPenColor_command09
       
  7258         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352-DrawRect_command10
       
  7259         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352-checkRectColor_command11
       
  7260         COMMAND             fbsScrDev            Update
       
  7261         COMMAND             fbsSession           Disconnect
       
  7262         COMMAND             fbsBitGc             ~
       
  7263         COMMAND             fbsScrDev            ~
       
  7264      END_TEST_BLOCK
       
  7265 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0352
       
  7266 
       
  7267 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0353
       
  7268 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0353
       
  7269 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7270 //! @SYMAuthor              Felix Rao
       
  7271 //! @SYMCreationDate        01/12/2008
       
  7272 //! @SYMTestCaseDesc        Negative case. Draw an empty rectangle.
       
  7273 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7274 //!                         2. Create a CFbsBitGc object.
       
  7275 //!                         3. Create a CFbsScreenDevice object.
       
  7276 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7277 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7278 //!                         6. Set brush and pen color.
       
  7279 //!                         7. Draw rectangle.
       
  7280 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7281 //! @SYMTestStatus          Implemented
       
  7282 //! @SYMTestPriority        High
       
  7283 //! @SYMTestExpectedResults The rectangle will not be drawn
       
  7284 //! @SYMTestType            CIT
       
  7285 
       
  7286     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7287         CREATE_OBJECT       RFbsSession          fbsSession
       
  7288         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7289         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7290         COMMAND             fbsSession           Connect
       
  7291         COMMAND             fbsBitGc             NewL
       
  7292         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0353-NewL_command03
       
  7293         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0353-Activate_command04
       
  7294         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0353-SetBrushStyle_command05
       
  7295         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0353-SetBrushColor_command06
       
  7296         COMMAND             fbsBitGc             Clear
       
  7297         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0353-SetBrushColor_command08
       
  7298         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0353-SetPenColor_command09
       
  7299         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0353-DrawRect_command10
       
  7300         COMMAND             fbsScrDev            Update
       
  7301         COMMAND             fbsSession           Disconnect
       
  7302         COMMAND             fbsBitGc             ~
       
  7303         COMMAND             fbsScrDev            ~
       
  7304      END_TEST_BLOCK
       
  7305 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0353
       
  7306 
       
  7307 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0354
       
  7308 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0354
       
  7309 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7310 //! @SYMAuthor              Felix Rao
       
  7311 //! @SYMCreationDate        08/12/2008
       
  7312 //! @SYMTestCaseDesc        Negative case. Draw a rectangle out of user clip region.
       
  7313 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7314 //!                         2. Create a CFbsBitGc object.
       
  7315 //!                         3. Create a CFbsScreenDevice object.
       
  7316 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7317 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7318 //!                         6. Set brush and pen color.
       
  7319 //!                         7. Draw rectangle.
       
  7320 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7321 //! @SYMTestStatus          Implemented
       
  7322 //! @SYMTestPriority        High
       
  7323 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
  7324 //! @SYMTestType            CIT
       
  7325 
       
  7326     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7327         CREATE_OBJECT       RFbsSession          fbsSession
       
  7328         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7329         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7330         COMMAND             fbsSession           Connect
       
  7331         COMMAND             fbsBitGc             NewL
       
  7332         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0354-NewL_command03
       
  7333         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0354-Activate_command04
       
  7334         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0354-SetBrushStyle_command05
       
  7335         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0354-SetBrushColor_command06
       
  7336         COMMAND             fbsBitGc             Clear
       
  7337         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0354-SetBrushColor_command08
       
  7338         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0354-SetPenColor_command09
       
  7339         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0354-DrawRect_command10
       
  7340         COMMAND             fbsScrDev            Update
       
  7341         COMMAND             fbsSession           Disconnect
       
  7342         COMMAND             fbsBitGc             ~
       
  7343         COMMAND             fbsScrDev            ~
       
  7344      END_TEST_BLOCK
       
  7345 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0354
       
  7346 
       
  7347 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355
       
  7348 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355
       
  7349 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7350 //! @SYMAuthor              Felix Rao
       
  7351 //! @SYMCreationDate        09/12/2008
       
  7352 //! @SYMTestCaseDesc        Draw a rectangle with 0-width pen
       
  7353 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7354 //!                         2. Create a CFbsBitGc object.
       
  7355 //!                         3. Create a CFbsScreenDevice object.
       
  7356 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7357 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7358 //!                         6. Set brush color and pen size to TSize(0, 1).
       
  7359 //!                         7. Draw rectangle.
       
  7360 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7361 //! @SYMTestStatus          Implemented
       
  7362 //! @SYMTestPriority        High
       
  7363 //! @SYMTestExpectedResults 1. Draw a rectangle without error.
       
  7364 //!                         2. The drawing result is as expected.
       
  7365 //!                         3. Check the rectangle.
       
  7366 //! @SYMTestType            CIT
       
  7367 
       
  7368     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7369         CREATE_OBJECT       RFbsSession          fbsSession
       
  7370         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7371         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7372         COMMAND             fbsSession           Connect
       
  7373         COMMAND             fbsBitGc             NewL
       
  7374         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355-NewL_command03
       
  7375         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355-Activate_command04
       
  7376         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355-SetBrushStyle_command05
       
  7377         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355-SetBrushColor_command06
       
  7378         COMMAND             fbsBitGc             Clear
       
  7379         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355-SetBrushColor_command08
       
  7380         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355-SetPenSize_command09
       
  7381         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355-DrawRect_command10
       
  7382         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355-checkRectColor_command11
       
  7383         COMMAND             fbsScrDev            Update
       
  7384         COMMAND             fbsSession           Disconnect
       
  7385         COMMAND             fbsBitGc             ~
       
  7386         COMMAND             fbsScrDev            ~
       
  7387      END_TEST_BLOCK
       
  7388 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0355
       
  7389 
       
  7390 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356
       
  7391 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356
       
  7392 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7393 //! @SYMAuthor              Felix Rao
       
  7394 //! @SYMCreationDate        09/12/2008
       
  7395 //! @SYMTestCaseDesc        Draw a rectangle with 0-height pen
       
  7396 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7397 //!                         2. Create a CFbsBitGc object.
       
  7398 //!                         3. Create a CFbsScreenDevice object.
       
  7399 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7400 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7401 //!                         6. Set brush color and pen size to TSize(0, 1).
       
  7402 //!                         7. Draw rectangle.
       
  7403 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7404 //! @SYMTestStatus          Implemented
       
  7405 //! @SYMTestPriority        High
       
  7406 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
  7407 //! @SYMTestType            CIT
       
  7408 
       
  7409     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7410         CREATE_OBJECT       RFbsSession          fbsSession
       
  7411         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7412         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7413         COMMAND             fbsSession           Connect
       
  7414         COMMAND             fbsBitGc             NewL
       
  7415         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356-NewL_command03
       
  7416         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356-Activate_command04
       
  7417         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356-SetBrushStyle_command05
       
  7418         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356-SetBrushColor_command06
       
  7419         COMMAND             fbsBitGc             Clear
       
  7420         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356-SetBrushColor_command08
       
  7421         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356-SetPenSize_command09
       
  7422         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356-DrawRect_command10
       
  7423         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356-checkRectColor_command11
       
  7424         COMMAND             fbsScrDev            Update
       
  7425         COMMAND             fbsSession           Disconnect
       
  7426         COMMAND             fbsBitGc             ~
       
  7427         COMMAND             fbsScrDev            ~
       
  7428      END_TEST_BLOCK
       
  7429 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0356
       
  7430 
       
  7431 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357
       
  7432 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357
       
  7433 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7434 //! @SYMAuthor              Felix Rao
       
  7435 //! @SYMCreationDate        09/12/2008
       
  7436 //! @SYMTestCaseDesc        Draw a rectangle with null pen
       
  7437 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7438 //!                         2. Create a CFbsBitGc object.
       
  7439 //!                         3. Create a CFbsScreenDevice object.
       
  7440 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7441 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7442 //!                         6. Set brush color and null pen.
       
  7443 //!                         7. Draw rectangle.
       
  7444 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7445 //! @SYMTestStatus          Implemented
       
  7446 //! @SYMTestPriority        High
       
  7447 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
  7448 //! @SYMTestType            CIT
       
  7449 
       
  7450     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7451         CREATE_OBJECT       RFbsSession          fbsSession
       
  7452         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7453         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7454         COMMAND             fbsSession           Connect
       
  7455         COMMAND             fbsBitGc             NewL
       
  7456         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357-NewL_command03
       
  7457         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357-Activate_command04
       
  7458         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357-SetBrushStyle_command05
       
  7459         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357-SetBrushColor_command06
       
  7460         COMMAND             fbsBitGc             Clear
       
  7461         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357-SetBrushColor_command08
       
  7462         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357-SetPenStyle_command09
       
  7463         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357-DrawRect_command10
       
  7464         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357-checkRectColor_command11
       
  7465         COMMAND             fbsScrDev            Update
       
  7466         COMMAND             fbsSession           Disconnect
       
  7467         COMMAND             fbsBitGc             ~
       
  7468         COMMAND             fbsScrDev            ~
       
  7469      END_TEST_BLOCK
       
  7470 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0357
       
  7471 
       
  7472 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358
       
  7473 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358
       
  7474 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7475 //! @SYMAuthor              Felix Rao
       
  7476 //! @SYMCreationDate        09/12/2008
       
  7477 //! @SYMTestCaseDesc        Draw a rectangle with dotted pen
       
  7478 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7479 //!                         2. Create a CFbsBitGc object.
       
  7480 //!                         3. Create a CFbsScreenDevice object.
       
  7481 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7482 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7483 //!                         6. Set brush color and dotted pen.
       
  7484 //!                         7. Draw rectangle.
       
  7485 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7486 //! @SYMTestStatus          Implemented
       
  7487 //! @SYMTestPriority        High
       
  7488 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
  7489 //! @SYMTestType            CIT
       
  7490 
       
  7491     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7492         CREATE_OBJECT       RFbsSession          fbsSession
       
  7493         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7494         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7495         COMMAND             fbsSession           Connect
       
  7496         COMMAND             fbsBitGc             NewL
       
  7497         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358-NewL_command03
       
  7498         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358-Activate_command04
       
  7499         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358-SetBrushStyle_command05
       
  7500         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358-SetBrushColor_command06
       
  7501         COMMAND             fbsBitGc             Clear
       
  7502         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358-SetBrushColor_command08
       
  7503         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358-SetPenStyle_command09
       
  7504         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358-DrawRect_command10
       
  7505         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358-checkRectColor_command11
       
  7506         COMMAND             fbsScrDev            Update
       
  7507         COMMAND             fbsSession           Disconnect
       
  7508         COMMAND             fbsBitGc             ~
       
  7509         COMMAND             fbsScrDev            ~
       
  7510      END_TEST_BLOCK
       
  7511 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0358
       
  7512 
       
  7513 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359
       
  7514 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359
       
  7515 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7516 //! @SYMAuthor              Felix Rao
       
  7517 //! @SYMCreationDate        09/12/2008
       
  7518 //! @SYMTestCaseDesc        Draw a 1-width rectangle (a line).
       
  7519 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7520 //!                         2. Create a CFbsBitGc object.
       
  7521 //!                         3. Create a CFbsScreenDevice object.
       
  7522 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7523 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7524 //!                         6. Set brush and pen color.
       
  7525 //!                         7. Draw rectangle.
       
  7526 //!                         8. Check the rectangle drawn.
       
  7527 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7528 //! @SYMTestStatus          Implemented
       
  7529 //! @SYMTestPriority        High
       
  7530 //! @SYMTestExpectedResults 1. Draw a rectangle without error.
       
  7531 //!                         2. The drawing result is as expected.
       
  7532 //!                         3. Check the rectangle.
       
  7533 //! @SYMTestType            CIT
       
  7534 
       
  7535     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7536         CREATE_OBJECT       RFbsSession          fbsSession
       
  7537         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7538         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7539         COMMAND             fbsSession           Connect
       
  7540         COMMAND             fbsBitGc             NewL
       
  7541         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359-NewL_command03
       
  7542         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359-Activate_command04
       
  7543         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359-SetBrushStyle_command05
       
  7544         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359-SetBrushColor_command06
       
  7545         COMMAND             fbsBitGc             Clear
       
  7546         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359-SetBrushColor_command08
       
  7547         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359-SetPenColor_command09
       
  7548         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359-DrawRect_command10
       
  7549         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359-checkLineColor_command11
       
  7550         COMMAND             fbsScrDev            Update
       
  7551         COMMAND             fbsSession           Disconnect
       
  7552         COMMAND             fbsBitGc             ~
       
  7553         COMMAND             fbsScrDev            ~
       
  7554      END_TEST_BLOCK
       
  7555 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0359
       
  7556 
       
  7557 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360
       
  7558 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360
       
  7559 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7560 //! @SYMAuthor              Felix Rao
       
  7561 //! @SYMCreationDate        09/12/2008
       
  7562 //! @SYMTestCaseDesc        Draw a 1 x 1 rectangle (a line).
       
  7563 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7564 //!                         2. Create a CFbsBitGc object.
       
  7565 //!                         3. Create a CFbsScreenDevice object.
       
  7566 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7567 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7568 //!                         6. Set brush and pen color.
       
  7569 //!                         7. Draw rectangle.
       
  7570 //!                         8. Check the rectangle drawn.
       
  7571 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7572 //! @SYMTestStatus          Implemented
       
  7573 //! @SYMTestPriority        High
       
  7574 //! @SYMTestExpectedResults 1. Draw a rectangle without error.
       
  7575 //!                         2. The drawing result is as expected.
       
  7576 //!                         3. Check the rectangle.
       
  7577 //! @SYMTestType            CIT
       
  7578 
       
  7579     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7580         CREATE_OBJECT       RFbsSession          fbsSession
       
  7581         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7582         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7583         COMMAND             fbsSession           Connect
       
  7584         COMMAND             fbsBitGc             NewL
       
  7585         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360-NewL_command03
       
  7586         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360-Activate_command04
       
  7587         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360-SetBrushStyle_command05
       
  7588         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360-SetBrushColor_command06
       
  7589         COMMAND             fbsBitGc             Clear
       
  7590         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360-SetBrushColor_command08
       
  7591         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360-SetPenColor_command09
       
  7592         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360-DrawRect_command10
       
  7593         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360-checkLineColor_command11
       
  7594         COMMAND             fbsScrDev            Update
       
  7595         COMMAND             fbsSession           Disconnect
       
  7596         COMMAND             fbsBitGc             ~
       
  7597         COMMAND             fbsScrDev            ~
       
  7598      END_TEST_BLOCK
       
  7599 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0360
       
  7600 
       
  7601 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361
       
  7602 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361
       
  7603 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7604 //! @SYMAuthor              Felix Rao
       
  7605 //! @SYMCreationDate        09/12/2008
       
  7606 //! @SYMTestCaseDesc        Draw a rectangle with pen size TSize(1, 2).
       
  7607 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7608 //!                         2. Create a CFbsBitGc object.
       
  7609 //!                         3. Create a CFbsScreenDevice object.
       
  7610 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7611 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7612 //!                         6. Set brush color and pen size to TSize(1, 2).
       
  7613 //!                         7. Draw rectangle.
       
  7614 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7615 //! @SYMTestStatus          Implemented
       
  7616 //! @SYMTestPriority        High
       
  7617 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
  7618 //! @SYMTestType            CIT
       
  7619 
       
  7620     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7621         CREATE_OBJECT       RFbsSession          fbsSession
       
  7622         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7623         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7624         COMMAND             fbsSession           Connect
       
  7625         COMMAND             fbsBitGc             NewL
       
  7626         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361-NewL_command03
       
  7627         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361-Activate_command04
       
  7628         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361-SetBrushStyle_command05
       
  7629         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361-SetBrushColor_command06
       
  7630         COMMAND             fbsBitGc             Clear
       
  7631         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361-SetBrushColor_command08
       
  7632         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361-SetPenSize_command09
       
  7633         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361-DrawRect_command10
       
  7634         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361-checkRectColor_command11
       
  7635         COMMAND             fbsScrDev            Update
       
  7636         COMMAND             fbsSession           Disconnect
       
  7637         COMMAND             fbsBitGc             ~
       
  7638         COMMAND             fbsScrDev            ~
       
  7639      END_TEST_BLOCK
       
  7640 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0361
       
  7641 
       
  7642 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362
       
  7643 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362
       
  7644 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
  7645 //! @SYMAuthor              Felix Rao
       
  7646 //! @SYMCreationDate        09/12/2008
       
  7647 //! @SYMTestCaseDesc        Draw a rectangle with draw mode set to EDrawModeWriteAlpha.
       
  7648 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7649 //!                         2. Create a CFbsBitGc object.
       
  7650 //!                         3. Create a CFbsScreenDevice object.
       
  7651 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7652 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
  7653 //!                         6. Set brush color and draw mode.
       
  7654 //!                         7. Draw rectangle.
       
  7655 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7656 //! @SYMTestStatus          Implemented
       
  7657 //! @SYMTestPriority        High
       
  7658 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
  7659 //! @SYMTestType            CIT
       
  7660 
       
  7661     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7662         CREATE_OBJECT       RFbsSession          fbsSession
       
  7663         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7664         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7665         COMMAND             fbsSession           Connect
       
  7666         COMMAND             fbsBitGc             NewL
       
  7667         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362-NewL_command03
       
  7668         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362-Activate_command04
       
  7669         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362-SetBrushStyle_command05
       
  7670         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362-SetBrushColor_command06
       
  7671         COMMAND             fbsBitGc             Clear
       
  7672         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362-SetBrushColor_command08
       
  7673         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362-SetDrawMode_command09
       
  7674         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362-SetPenSize_command10
       
  7675         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362-DrawRect_command11
       
  7676         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362-checkRectColor_command12
       
  7677         COMMAND             fbsScrDev            Update
       
  7678         COMMAND             fbsSession           Disconnect
       
  7679         COMMAND             fbsBitGc             ~
       
  7680         COMMAND             fbsScrDev            ~
       
  7681      END_TEST_BLOCK
       
  7682 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0362
       
  7683 
       
  7684 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401
       
  7685 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401
       
  7686 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref})
       
  7687 //! @SYMAuthor              Wei Liu
       
  7688 //! @SYMCreationDate        23/12/2008
       
  7689 //! @SYMTestCaseDesc        Draw a line of the text at the current position.
       
  7690 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7691 //!                         2. Create a CFbsBitGc object.
       
  7692 //!                         3. Create a CFbsScreenDevice object.
       
  7693 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7694 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  7695 //!                         6. Set the useFont.
       
  7696 //!							7. Set the current position to the point(20,20).
       
  7697 //!                         8. Draw a line of the text.
       
  7698 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7699 //! @SYMTestStatus          Implemented
       
  7700 //! @SYMTestPriority        High
       
  7701 //! @SYMTestExpectedResults A line of text will be drawn without any panic.
       
  7702 //! @SYMTestType            CIT
       
  7703 
       
  7704     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7705         CREATE_OBJECT       RFbsSession          fbsSession
       
  7706         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7707         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7708         CREATE_OBJECT       CFbsFont          	 font
       
  7709         COMMAND             fbsSession           Connect
       
  7710         COMMAND             fbsBitGc             NewL
       
  7711         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401-NewL_command03
       
  7712         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401-Activate_command04
       
  7713         COMMAND             fbsBitGc             Clear
       
  7714         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401-SetPenColor_command06
       
  7715         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401-GetNearestFontToDesignHeightInPixels_command07
       
  7716         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401-UseFont_command08
       
  7717         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401-MoveTo_command09
       
  7718         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401-DrawText_command10
       
  7719         COMMAND             fbsBitGc             DiscardFont 
       
  7720         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401-ReleaseFont_command12
       
  7721         COMMAND             fbsScrDev            Update    
       
  7722         COMMAND             fbsSession           Disconnect
       
  7723         COMMAND             fbsBitGc             ~
       
  7724         COMMAND             fbsScrDev            ~
       
  7725      END_TEST_BLOCK
       
  7726 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0401
       
  7727 
       
  7728 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402
       
  7729 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402
       
  7730 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref})
       
  7731 //! @SYMAuthor              Wei Liu
       
  7732 //! @SYMCreationDate        23/12/2008
       
  7733 //! @SYMTestCaseDesc        Negitive case, Set the TDesC is Null.
       
  7734 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7735 //!                         2. Create a CFbsBitGc object.
       
  7736 //!                         3. Create a CFbsScreenDevice object.
       
  7737 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7738 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  7739 //!                         6. Set the useFont.
       
  7740 //!							7. Set the current position to the point(20,20).
       
  7741 //!                         8. Draw a line of the text.
       
  7742 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7743 //! @SYMTestStatus          Implemented
       
  7744 //! @SYMTestPriority        High
       
  7745 //! @SYMTestExpectedResults Nothing will be drawn.
       
  7746 //! @SYMTestType            CIT
       
  7747 
       
  7748     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7749         CREATE_OBJECT       RFbsSession          fbsSession
       
  7750         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7751         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7752         CREATE_OBJECT       CFbsFont          	 font
       
  7753         COMMAND             fbsSession           Connect
       
  7754         COMMAND             fbsBitGc             NewL
       
  7755         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402-NewL_command03
       
  7756         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402-Activate_command04
       
  7757         COMMAND             fbsBitGc             Clear
       
  7758         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402-SetPenColor_command06
       
  7759         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402-GetNearestFontToDesignHeightInPixels_command07
       
  7760         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402-UseFont_command08
       
  7761         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402-MoveTo_command09
       
  7762         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402-DrawText_command10
       
  7763         COMMAND             fbsBitGc             DiscardFont 
       
  7764         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402-ReleaseFont_command12
       
  7765         COMMAND             fbsScrDev            Update    
       
  7766         COMMAND             fbsSession           Disconnect
       
  7767         COMMAND             fbsBitGc             ~
       
  7768         COMMAND             fbsScrDev            ~     
       
  7769     END_TEST_BLOCK
       
  7770 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0402
       
  7771 
       
  7772 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0403
       
  7773 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0403
       
  7774 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TPoint(ref)).
       
  7775 //! @SYMAuthor              Wei Liu
       
  7776 //! @SYMCreationDate        23/12/2008
       
  7777 //! @SYMTestCaseDesc        Draw a line of text at the specific position.
       
  7778 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7779 //!                         2. Create a CFbsBitGc object.
       
  7780 //!                         3. Create a CFbsScreenDevice object.
       
  7781 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7782 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  7783 //!                         6. Set the useFont.
       
  7784 //!                         7. Draw a line of the text at the beginning point(20,30).
       
  7785 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7786 //! @SYMTestStatus          Implemented
       
  7787 //! @SYMTestPriority        High
       
  7788 //! @SYMTestExpectedResults A line of text will be drawn without any panic.
       
  7789 //! @SYMTestType            CIT
       
  7790 
       
  7791     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7792         CREATE_OBJECT       RFbsSession          fbsSession
       
  7793         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7794         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7795         CREATE_OBJECT       CFbsFont          	 font
       
  7796         COMMAND             fbsSession           Connect
       
  7797         COMMAND             fbsBitGc             NewL
       
  7798         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0403-NewL_command03
       
  7799         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0403-Activate_command04
       
  7800         COMMAND             fbsBitGc             Clear
       
  7801         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0403-SetPenColor_command06
       
  7802         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0403-GetNearestFontToDesignHeightInPixels_command07
       
  7803         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0403-UseFont_command08
       
  7804         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0403-DrawText_command09
       
  7805         COMMAND             fbsBitGc             DiscardFont 
       
  7806         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0403-ReleaseFont_command11
       
  7807         COMMAND             fbsScrDev            Update    
       
  7808         COMMAND             fbsSession           Disconnect
       
  7809         COMMAND             fbsBitGc             ~
       
  7810         COMMAND             fbsScrDev            ~
       
  7811      END_TEST_BLOCK
       
  7812 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0403
       
  7813 
       
  7814 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404
       
  7815 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404
       
  7816 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TPoint(ref)).
       
  7817 //! @SYMAuthor              Wei Liu
       
  7818 //! @SYMCreationDate        23/12/2008
       
  7819 //! @SYMTestCaseDesc        Negitve case,Draw a line of text at negitve/too big position.
       
  7820 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7821 //!                         2. Create a CFbsBitGc object.
       
  7822 //!                         3. Create a CFbsScreenDevice object.
       
  7823 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7824 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  7825 //!                         6. Set the useFont.
       
  7826 //!                         7. Draw a line of the text at negitive(-10,-10)/too big(640000,640000) point.
       
  7827 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7828 //! @SYMTestStatus          Implemented
       
  7829 //! @SYMTestPriority        High
       
  7830 //! @SYMTestExpectedResults DrawText is called without panic.
       
  7831 //! @SYMTestType            CIT
       
  7832 
       
  7833     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7834         CREATE_OBJECT       RFbsSession          fbsSession
       
  7835         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7836         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7837         CREATE_OBJECT       CFbsFont          	 font
       
  7838         COMMAND             fbsSession           Connect
       
  7839         COMMAND             fbsBitGc             NewL
       
  7840         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404-NewL_command03
       
  7841         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404-Activate_command04
       
  7842         COMMAND             fbsBitGc             Clear
       
  7843         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404-SetPenColor_command06
       
  7844         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404-GetNearestFontToDesignHeightInPixels_command07
       
  7845         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404-UseFont_command08
       
  7846         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404-DrawText_command09
       
  7847         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404-DrawText_command10
       
  7848         COMMAND             fbsBitGc             DiscardFont 
       
  7849         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404-ReleaseFont_command12
       
  7850         COMMAND             fbsScrDev            Update    
       
  7851         COMMAND             fbsSession           Disconnect
       
  7852         COMMAND             fbsBitGc             ~
       
  7853         COMMAND             fbsScrDev            ~
       
  7854      END_TEST_BLOCK
       
  7855 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0404
       
  7856 
       
  7857 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0405
       
  7858 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0405
       
  7859 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TRect(ref)).
       
  7860 //! @SYMAuthor              Wei Liu
       
  7861 //! @SYMCreationDate        23/12/2008
       
  7862 //! @SYMTestCaseDesc        Draw a line of text within the clipping rectangle(0,0,100,200).
       
  7863 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7864 //!                         2. Create a CFbsBitGc object.
       
  7865 //!                         3. Create a CFbsScreenDevice object.
       
  7866 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7867 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  7868 //!                         6. Set the useFont.
       
  7869 //!                         7. Draw a line of the text within the clipping rectangle.
       
  7870 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7871 //! @SYMTestStatus          Implemented
       
  7872 //! @SYMTestPriority        High
       
  7873 //! @SYMTestExpectedResults A line of text will be drawn within the rectangle.
       
  7874 //! @SYMTestType            CIT
       
  7875 
       
  7876     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7877         CREATE_OBJECT       RFbsSession          fbsSession
       
  7878         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7879         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7880         CREATE_OBJECT       CFbsFont          	 font
       
  7881         COMMAND             fbsSession           Connect
       
  7882         COMMAND             fbsBitGc             NewL
       
  7883         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0405-NewL_command03
       
  7884         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0405-Activate_command04
       
  7885         COMMAND             fbsBitGc             Clear
       
  7886         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0405-SetPenColor_command06
       
  7887         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0405-GetNearestFontToDesignHeightInPixels_command07
       
  7888         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0405-UseFont_command08
       
  7889         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0405-DrawText_command09
       
  7890         COMMAND             fbsBitGc             DiscardFont 
       
  7891         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0405-ReleaseFont_command11
       
  7892         COMMAND             fbsScrDev            Update    
       
  7893         COMMAND             fbsSession           Disconnect
       
  7894         COMMAND             fbsBitGc             ~
       
  7895         COMMAND             fbsScrDev            ~
       
  7896      END_TEST_BLOCK
       
  7897 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0405
       
  7898 
       
  7899 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0406
       
  7900 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0406
       
  7901 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TRect(ref)).
       
  7902 //! @SYMAuthor              Wei Liu
       
  7903 //! @SYMCreationDate        23/12/2008
       
  7904 //! @SYMTestCaseDesc        Negitve case,Draw a line of text within the clipping rectangle(0,0,0,0).
       
  7905 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7906 //!                         2. Create a CFbsBitGc object.
       
  7907 //!                         3. Create a CFbsScreenDevice object.
       
  7908 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7909 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  7910 //!                         6. Set the useFont.
       
  7911 //!                         7. Draw a line of the text within the clipping rectangle.
       
  7912 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7913 //! @SYMTestStatus          Implemented
       
  7914 //! @SYMTestPriority        High
       
  7915 //! @SYMTestExpectedResults Nothing will be drawn.
       
  7916 //! @SYMTestType            CIT
       
  7917 
       
  7918     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7919         CREATE_OBJECT       RFbsSession          fbsSession
       
  7920         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7921         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7922         CREATE_OBJECT       CFbsFont          	 font
       
  7923         COMMAND             fbsSession           Connect
       
  7924         COMMAND             fbsBitGc             NewL
       
  7925         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0406-NewL_command03
       
  7926         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0406-Activate_command04
       
  7927         COMMAND             fbsBitGc             Clear
       
  7928         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0406-SetPenColor_command06
       
  7929         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0406-GetNearestFontToDesignHeightInPixels_command07
       
  7930         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0406-UseFont_command08
       
  7931         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0406-DrawText_command09
       
  7932         COMMAND             fbsBitGc             DiscardFont 
       
  7933         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0406-ReleaseFont_command11
       
  7934         COMMAND             fbsScrDev            Update    
       
  7935         COMMAND             fbsSession           Disconnect
       
  7936         COMMAND             fbsBitGc             ~
       
  7937         COMMAND             fbsScrDev            ~
       
  7938      END_TEST_BLOCK
       
  7939 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0406
       
  7940 
       
  7941 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407
       
  7942 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407
       
  7943 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TRect(ref), TInt, TTextAlign, TInt).
       
  7944 //! @SYMAuthor              Wei Liu
       
  7945 //! @SYMCreationDate        23/12/2008
       
  7946 //! @SYMTestCaseDesc        Draw a line of text within the clipping rectangle with params TTextAlign=ELeft/ECenter/ERight.
       
  7947 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7948 //!                         2. Create a CFbsBitGc object.
       
  7949 //!                         3. Create a CFbsScreenDevice object.
       
  7950 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7951 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  7952 //!                         6. Set the useFont.
       
  7953 //!                         7. Draw a line of the text within the clipping rectangle with params TTextAlign=ELeft/ECenter/ERight.
       
  7954 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7955 //! @SYMTestStatus          Implemented
       
  7956 //! @SYMTestPriority        High
       
  7957 //! @SYMTestExpectedResults A line of text will be drawn within the rectangle.
       
  7958 //! @SYMTestType            CIT
       
  7959 
       
  7960     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  7961         CREATE_OBJECT       RFbsSession          fbsSession
       
  7962         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  7963         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  7964         CREATE_OBJECT       CFbsFont          	 font
       
  7965         COMMAND             fbsSession           Connect
       
  7966         COMMAND             fbsBitGc             NewL
       
  7967         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407-NewL_command03
       
  7968         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407-Activate_command04
       
  7969         COMMAND             fbsBitGc             Clear
       
  7970         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407-SetPenColor_command06
       
  7971         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407-GetNearestFontToDesignHeightInPixels_command07
       
  7972         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407-UseFont_command08
       
  7973         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407-DrawText_command09
       
  7974 		COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407-DrawText_command10        
       
  7975         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407-DrawText_command11
       
  7976         COMMAND             fbsBitGc             DiscardFont 
       
  7977         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407-ReleaseFont_command13
       
  7978         COMMAND             fbsScrDev            Update    
       
  7979         COMMAND             fbsSession           Disconnect
       
  7980         COMMAND             fbsBitGc             ~
       
  7981         COMMAND             fbsScrDev            ~
       
  7982      END_TEST_BLOCK
       
  7983 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0407
       
  7984 
       
  7985 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408
       
  7986 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408
       
  7987 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TRect(ref), TInt, TTextAlign, TInt).
       
  7988 //! @SYMAuthor              Wei Liu
       
  7989 //! @SYMCreationDate        23/12/2008
       
  7990 //! @SYMTestCaseDesc        Negtive case,Draw a line of text with bad params.(negtive/too big Baselineoffset and Margin)
       
  7991 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  7992 //!                         2. Create a CFbsBitGc object.
       
  7993 //!                         3. Create a CFbsScreenDevice object.
       
  7994 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  7995 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  7996 //!                         6. Set the useFont.
       
  7997 //!                         7. Draw a line of the text with bad params.
       
  7998 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  7999 //! @SYMTestStatus          Implemented
       
  8000 //! @SYMTestPriority        High
       
  8001 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
  8002 //! @SYMTestType            CIT
       
  8003 
       
  8004     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8005         CREATE_OBJECT       RFbsSession          fbsSession
       
  8006         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8007         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8008         CREATE_OBJECT       CFbsFont          	 font
       
  8009         COMMAND             fbsSession           Connect
       
  8010         COMMAND             fbsBitGc             NewL
       
  8011         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408-NewL_command03
       
  8012         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408-Activate_command04
       
  8013         COMMAND             fbsBitGc             Clear
       
  8014         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408-SetPenColor_command06
       
  8015         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408-GetNearestFontToDesignHeightInPixels_command07
       
  8016         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408-UseFont_command08
       
  8017         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408-DrawText_command09
       
  8018 		COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408-DrawText_command10        
       
  8019         COMMAND             fbsBitGc             DiscardFont 
       
  8020         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408-ReleaseFont_command12
       
  8021         COMMAND             fbsScrDev            Update    
       
  8022         COMMAND             fbsSession           Disconnect
       
  8023         COMMAND             fbsBitGc             ~
       
  8024         COMMAND             fbsScrDev            ~
       
  8025      END_TEST_BLOCK
       
  8026 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0408
       
  8027 
       
  8028 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409
       
  8029 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409
       
  8030 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TRect(ref), TInt, TInt, TTextAlign, TInt).
       
  8031 //! @SYMAuthor              Wei Liu
       
  8032 //! @SYMCreationDate        23/12/2008
       
  8033 //! @SYMTestCaseDesc        Draw a line of text within a rectangle.
       
  8034 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8035 //!                         2. Create a CFbsBitGc object.
       
  8036 //!                         3. Create a CFbsScreenDevice object.
       
  8037 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8038 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8039 //!                         6. Set the useFont.
       
  8040 //!                         7. Draw a line of the text within the rectangle.
       
  8041 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8042 //! @SYMTestStatus          Implemented
       
  8043 //! @SYMTestPriority        High
       
  8044 //! @SYMTestExpectedResults A line of the text will be drawn without any panic.
       
  8045 //! @SYMTestType            CIT
       
  8046 
       
  8047     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8048         CREATE_OBJECT       RFbsSession          fbsSession
       
  8049         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8050         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8051         CREATE_OBJECT       CFbsFont          	 font
       
  8052         COMMAND             fbsSession           Connect
       
  8053         COMMAND             fbsBitGc             NewL
       
  8054         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409-NewL_command03
       
  8055         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409-Activate_command04
       
  8056         COMMAND             fbsBitGc             Clear
       
  8057         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409-SetPenColor_command06
       
  8058         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409-GetNearestFontToDesignHeightInPixels_command07
       
  8059         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409-UseFont_command08
       
  8060         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409-DrawText_command09        
       
  8061         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409-DrawText_command10
       
  8062         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409-DrawText_command11
       
  8063         COMMAND             fbsBitGc             DiscardFont 
       
  8064         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409-ReleaseFont_command13
       
  8065         COMMAND             fbsScrDev            Update    
       
  8066         COMMAND             fbsSession           Disconnect
       
  8067         COMMAND             fbsBitGc             ~
       
  8068         COMMAND             fbsScrDev            ~
       
  8069      END_TEST_BLOCK
       
  8070 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0409
       
  8071 
       
  8072 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410
       
  8073 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410
       
  8074 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TRect(ref), TInt, TInt, TTextAlign, TInt).
       
  8075 //! @SYMAuthor              Wei Liu
       
  8076 //! @SYMCreationDate        23/12/2008
       
  8077 //! @SYMTestCaseDesc        Negtive case,Draw a line of text with negitive/too big aTextWidth params.
       
  8078 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8079 //!                         2. Create a CFbsBitGc object.
       
  8080 //!                         3. Create a CFbsScreenDevice object.
       
  8081 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8082 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8083 //!                         6. Set the useFont.
       
  8084 //!                         7. Draw a line of the text with bad params.
       
  8085 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8086 //! @SYMTestStatus          Implemented
       
  8087 //! @SYMTestPriority        High
       
  8088 //! @SYMTestExpectedResults Nothing will be drawn.
       
  8089 //! @SYMTestType            CIT
       
  8090 
       
  8091     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8092         CREATE_OBJECT       RFbsSession          fbsSession
       
  8093         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8094         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8095         CREATE_OBJECT       CFbsFont          	 font
       
  8096         COMMAND             fbsSession           Connect
       
  8097         COMMAND             fbsBitGc             NewL
       
  8098         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410-NewL_command03
       
  8099         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410-Activate_command04
       
  8100         COMMAND             fbsBitGc             Clear
       
  8101         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410-SetPenColor_command06
       
  8102         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410-GetNearestFontToDesignHeightInPixels_command07
       
  8103         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410-UseFont_command08
       
  8104         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410-DrawText_command09        
       
  8105         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410-DrawText_command10
       
  8106         COMMAND             fbsBitGc             DiscardFont 
       
  8107         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410-ReleaseFont_command12
       
  8108         COMMAND             fbsScrDev            Update    
       
  8109         COMMAND             fbsSession           Disconnect
       
  8110         COMMAND             fbsBitGc             ~
       
  8111         COMMAND             fbsScrDev            ~
       
  8112      END_TEST_BLOCK
       
  8113 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0410
       
  8114 
       
  8115 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411
       
  8116 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411
       
  8117 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, TBool)
       
  8118 //! @SYMAuthor              Wei Liu
       
  8119 //! @SYMCreationDate        23/12/2008
       
  8120 //! @SYMTestCaseDesc        Draw a vertical line of the text at the current position.
       
  8121 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8122 //!                         2. Create a CFbsBitGc object.
       
  8123 //!                         3. Create a CFbsScreenDevice object.
       
  8124 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8125 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8126 //!                         6. Set the useFont.
       
  8127 //!							7. Set the current position to the point(20,20).
       
  8128 //!                         8. Draw a vertical line of the text.
       
  8129 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8130 //! @SYMTestStatus          Implemented
       
  8131 //! @SYMTestPriority        High
       
  8132 //! @SYMTestExpectedResults A vertical line of text will be drawn without any panic.
       
  8133 //! @SYMTestType            CIT
       
  8134 
       
  8135     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8136         CREATE_OBJECT       RFbsSession          fbsSession
       
  8137         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8138         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8139         CREATE_OBJECT       CFbsFont          	 font
       
  8140         COMMAND             fbsSession           Connect
       
  8141         COMMAND             fbsBitGc             NewL
       
  8142         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411-NewL_command03
       
  8143         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411-Activate_command04
       
  8144         COMMAND             fbsBitGc             Clear
       
  8145         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411-SetPenColor_command06
       
  8146         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411-GetNearestFontToDesignHeightInPixels_command07
       
  8147         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411-UseFont_command08
       
  8148         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411-MoveTo_command09
       
  8149         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411-DrawTextVertical_command10
       
  8150         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411-DrawTextVertical_command11
       
  8151         COMMAND             fbsBitGc             DiscardFont 
       
  8152         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411-ReleaseFont_command13
       
  8153         COMMAND             fbsScrDev            Update    
       
  8154         COMMAND             fbsSession           Disconnect
       
  8155         COMMAND             fbsBitGc             ~
       
  8156         COMMAND             fbsScrDev            ~
       
  8157      END_TEST_BLOCK
       
  8158 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0411
       
  8159 
       
  8160 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412
       
  8161 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412
       
  8162 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, TBool)
       
  8163 //! @SYMAuthor              Wei Liu
       
  8164 //! @SYMCreationDate        23/12/2008
       
  8165 //! @SYMTestCaseDesc        Negitive case, Set the TDesC is Null.
       
  8166 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8167 //!                         2. Create a CFbsBitGc object.
       
  8168 //!                         3. Create a CFbsScreenDevice object.
       
  8169 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8170 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8171 //!                         6. Set the useFont.
       
  8172 //!							7. Set the current position to the point(20,20).
       
  8173 //!                         8. Draw a vertical line of the text.
       
  8174 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8175 //! @SYMTestStatus          Implemented
       
  8176 //! @SYMTestPriority        High
       
  8177 //! @SYMTestExpectedResults Nothing will be drawn.
       
  8178 //! @SYMTestType            CIT
       
  8179 
       
  8180     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8181         CREATE_OBJECT       RFbsSession          fbsSession
       
  8182         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8183         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8184         CREATE_OBJECT       CFbsFont          	 font
       
  8185         COMMAND             fbsSession           Connect
       
  8186         COMMAND             fbsBitGc             NewL
       
  8187         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412-NewL_command03
       
  8188         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412-Activate_command04
       
  8189         COMMAND             fbsBitGc             Clear
       
  8190         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412-SetPenColor_command06
       
  8191         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412-GetNearestFontToDesignHeightInPixels_command07
       
  8192         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412-UseFont_command08
       
  8193         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412-MoveTo_command09
       
  8194         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412-DrawTextVertical_command10
       
  8195         COMMAND             fbsBitGc             DiscardFont 
       
  8196         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412-ReleaseFont_command12
       
  8197         COMMAND             fbsScrDev            Update    
       
  8198         COMMAND             fbsSession           Disconnect
       
  8199         COMMAND             fbsBitGc             ~
       
  8200         COMMAND             fbsScrDev            ~     
       
  8201     END_TEST_BLOCK
       
  8202 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0412
       
  8203 
       
  8204 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0413
       
  8205 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0413
       
  8206 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TPoint(ref), TBool).
       
  8207 //! @SYMAuthor              Wei Liu
       
  8208 //! @SYMCreationDate        23/12/2008
       
  8209 //! @SYMTestCaseDesc        Draw a vertical line of text at the specific position.
       
  8210 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8211 //!                         2. Create a CFbsBitGc object.
       
  8212 //!                         3. Create a CFbsScreenDevice object.
       
  8213 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8214 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8215 //!                         6. Set the useFont.
       
  8216 //!                         7. Draw a vertical line of the text at the beginning point(20,30).
       
  8217 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8218 //! @SYMTestStatus          Implemented
       
  8219 //! @SYMTestPriority        High
       
  8220 //! @SYMTestExpectedResults A verical line of text will be drawn without any panic.
       
  8221 //! @SYMTestType            CIT
       
  8222 
       
  8223     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8224         CREATE_OBJECT       RFbsSession          fbsSession
       
  8225         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8226         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8227         CREATE_OBJECT       CFbsFont          	 font
       
  8228         COMMAND             fbsSession           Connect
       
  8229         COMMAND             fbsBitGc             NewL
       
  8230         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0413-NewL_command03
       
  8231         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0413-Activate_command04
       
  8232         COMMAND             fbsBitGc             Clear
       
  8233         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0413-SetPenColor_command06
       
  8234         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0413-GetNearestFontToDesignHeightInPixels_command07
       
  8235         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0413-UseFont_command08
       
  8236         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0413-DrawTextVertical_command09
       
  8237         COMMAND             fbsBitGc             DiscardFont 
       
  8238         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0413-ReleaseFont_command11
       
  8239         COMMAND             fbsScrDev            Update    
       
  8240         COMMAND             fbsSession           Disconnect
       
  8241         COMMAND             fbsBitGc             ~
       
  8242         COMMAND             fbsScrDev            ~
       
  8243      END_TEST_BLOCK
       
  8244 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0413
       
  8245 
       
  8246 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414
       
  8247 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414
       
  8248 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TPoint(ref), TBool).
       
  8249 //! @SYMAuthor              Wei Liu
       
  8250 //! @SYMCreationDate        23/12/2008
       
  8251 //! @SYMTestCaseDesc        Negitve case,Draw a vertical line of text at negitve/too big position.
       
  8252 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8253 //!                         2. Create a CFbsBitGc object.
       
  8254 //!                         3. Create a CFbsScreenDevice object.
       
  8255 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8256 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8257 //!                         6. Set the useFont.
       
  8258 //!                         7. Draw a vertical line of the text at negitive(-10,-10)/too big(640000,640000) point.
       
  8259 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8260 //! @SYMTestStatus          Implemented
       
  8261 //! @SYMTestPriority        High
       
  8262 //! @SYMTestExpectedResults DrawTextVertical is called without panic.
       
  8263 //! @SYMTestType            CIT
       
  8264 
       
  8265     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8266         CREATE_OBJECT       RFbsSession          fbsSession
       
  8267         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8268         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8269         CREATE_OBJECT       CFbsFont          	 font
       
  8270         COMMAND             fbsSession           Connect
       
  8271         COMMAND             fbsBitGc             NewL
       
  8272         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414-NewL_command03
       
  8273         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414-Activate_command04
       
  8274         COMMAND             fbsBitGc             Clear
       
  8275         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414-SetPenColor_command06
       
  8276         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414-GetNearestFontToDesignHeightInPixels_command07
       
  8277         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414-UseFont_command08
       
  8278         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414-DrawTextVertical_command09
       
  8279         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414-DrawTextVertical_command10
       
  8280         COMMAND             fbsBitGc             DiscardFont 
       
  8281         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414-ReleaseFont_command12
       
  8282         COMMAND             fbsScrDev            Update    
       
  8283         COMMAND             fbsSession           Disconnect
       
  8284         COMMAND             fbsBitGc             ~
       
  8285         COMMAND             fbsScrDev            ~
       
  8286     END_TEST_BLOCK
       
  8287 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0414
       
  8288 
       
  8289 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0415
       
  8290 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0415
       
  8291 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TRect(ref), TBool).
       
  8292 //! @SYMAuthor              Wei Liu
       
  8293 //! @SYMCreationDate        23/12/2008
       
  8294 //! @SYMTestCaseDesc        Draw a vertical line of text within the clipping rectangle(0,0,100,200).
       
  8295 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8296 //!                         2. Create a CFbsBitGc object.
       
  8297 //!                         3. Create a CFbsScreenDevice object.
       
  8298 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8299 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8300 //!                         6. Set the useFont.
       
  8301 //!                         7. Draw a vertical line of the text within the clipping rectangle.
       
  8302 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8303 //! @SYMTestStatus          Implemented
       
  8304 //! @SYMTestPriority        High
       
  8305 //! @SYMTestExpectedResults A vertical line of text will be drawn within the rectangle.
       
  8306 //! @SYMTestType            CIT
       
  8307 
       
  8308     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8309         CREATE_OBJECT       RFbsSession          fbsSession
       
  8310         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8311         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8312         CREATE_OBJECT       CFbsFont          	 font
       
  8313         COMMAND             fbsSession           Connect
       
  8314         COMMAND             fbsBitGc             NewL
       
  8315         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0415-NewL_command03
       
  8316         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0415-Activate_command04
       
  8317         COMMAND             fbsBitGc             Clear
       
  8318         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0415-SetPenColor_command06
       
  8319         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0415-GetNearestFontToDesignHeightInPixels_command07
       
  8320         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0415-UseFont_command08
       
  8321         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0415-DrawTextVertical_command09
       
  8322         COMMAND             fbsBitGc             DiscardFont 
       
  8323         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0415-ReleaseFont_command11
       
  8324         COMMAND             fbsScrDev            Update    
       
  8325         COMMAND             fbsSession           Disconnect
       
  8326         COMMAND             fbsBitGc             ~
       
  8327         COMMAND             fbsScrDev            ~
       
  8328      END_TEST_BLOCK
       
  8329 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0415
       
  8330 
       
  8331 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0416
       
  8332 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0416
       
  8333 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TRect(ref), TBool).
       
  8334 //! @SYMAuthor              Wei Liu
       
  8335 //! @SYMCreationDate        23/12/2008
       
  8336 //! @SYMTestCaseDesc        Negitve case,Draw a vertical line of text within the clipping rectangle(0,0,0,0).
       
  8337 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8338 //!                         2. Create a CFbsBitGc object.
       
  8339 //!                         3. Create a CFbsScreenDevice object.
       
  8340 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8341 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8342 //!                         6. Set the useFont.
       
  8343 //!                         7. Draw a vertical line of the text within the clipping rectangle.
       
  8344 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8345 //! @SYMTestStatus          Implemented
       
  8346 //! @SYMTestPriority        High
       
  8347 //! @SYMTestExpectedResults Nothing will be drawn.
       
  8348 //! @SYMTestType            CIT
       
  8349 
       
  8350     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8351         CREATE_OBJECT       RFbsSession          fbsSession
       
  8352         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8353         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8354         CREATE_OBJECT       CFbsFont          	 font
       
  8355         COMMAND             fbsSession           Connect
       
  8356         COMMAND             fbsBitGc             NewL
       
  8357         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0416-NewL_command03
       
  8358         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0416-Activate_command04
       
  8359         COMMAND             fbsBitGc             Clear
       
  8360         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0416-SetPenColor_command06
       
  8361         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0416-GetNearestFontToDesignHeightInPixels_command07
       
  8362         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0416-UseFont_command08
       
  8363         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0416-DrawTextVertical_command09
       
  8364         COMMAND             fbsBitGc             DiscardFont 
       
  8365         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0416-ReleaseFont_command11
       
  8366         COMMAND             fbsScrDev            Update    
       
  8367         COMMAND             fbsSession           Disconnect
       
  8368         COMMAND             fbsBitGc             ~
       
  8369         COMMAND             fbsScrDev            ~
       
  8370      END_TEST_BLOCK
       
  8371 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0416
       
  8372 
       
  8373 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417
       
  8374 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417
       
  8375 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TRect(ref), TInt, TBool, TTextAlign, TInt).
       
  8376 //! @SYMAuthor              Wei Liu
       
  8377 //! @SYMCreationDate        23/12/2008
       
  8378 //! @SYMTestCaseDesc        Draw a vertical line of text within the clipping rectangle with params TTextAlign=ELeft/ECenter/ERight.
       
  8379 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8380 //!                         2. Create a CFbsBitGc object.
       
  8381 //!                         3. Create a CFbsScreenDevice object.
       
  8382 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8383 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8384 //!                         6. Set the useFont.
       
  8385 //!                         7. Draw a vertical line of the text within the clipping rectangle with params TTextAlign=ELeft/ECenter/ERight.
       
  8386 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8387 //! @SYMTestStatus          Implemented
       
  8388 //! @SYMTestPriority        High
       
  8389 //! @SYMTestExpectedResults A vertical line of text will be drawn within the rectangle.
       
  8390 //! @SYMTestType            CIT
       
  8391 
       
  8392     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8393         CREATE_OBJECT       RFbsSession          fbsSession
       
  8394         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8395         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8396         CREATE_OBJECT       CFbsFont          	 font
       
  8397         COMMAND             fbsSession           Connect
       
  8398         COMMAND             fbsBitGc             NewL
       
  8399         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417-NewL_command03
       
  8400         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417-Activate_command04
       
  8401         COMMAND             fbsBitGc             Clear
       
  8402         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417-SetPenColor_command06
       
  8403         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417-GetNearestFontToDesignHeightInPixels_command07
       
  8404         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417-UseFont_command08
       
  8405         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417-DrawTextVertical_command09
       
  8406 		COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417-DrawTextVertical_command10        
       
  8407         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417-DrawTextVertical_command11
       
  8408         COMMAND             fbsBitGc             DiscardFont 
       
  8409         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417-ReleaseFont_command13
       
  8410         COMMAND             fbsScrDev            Update    
       
  8411         COMMAND             fbsSession           Disconnect
       
  8412         COMMAND             fbsBitGc             ~
       
  8413         COMMAND             fbsScrDev            ~
       
  8414      END_TEST_BLOCK
       
  8415 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0417
       
  8416 
       
  8417 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418
       
  8418 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418
       
  8419 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TRect(ref), TInt, TBool, TTextAlign, TInt).
       
  8420 //! @SYMAuthor              Wei Liu
       
  8421 //! @SYMCreationDate        23/12/2008
       
  8422 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with bad params.(negtive/too big Baselineoffset and Margin)
       
  8423 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8424 //!                         2. Create a CFbsBitGc object.
       
  8425 //!                         3. Create a CFbsScreenDevice object.
       
  8426 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8427 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8428 //!                         6. Set the useFont.
       
  8429 //!                         7. Draw a vertical line of the text with bad params.
       
  8430 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8431 //! @SYMTestStatus          Implemented
       
  8432 //! @SYMTestPriority        High
       
  8433 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
  8434 //! @SYMTestType            CIT
       
  8435 
       
  8436     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8437         CREATE_OBJECT       RFbsSession          fbsSession
       
  8438         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8439         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8440         CREATE_OBJECT       CFbsFont          	 font
       
  8441         COMMAND             fbsSession           Connect
       
  8442         COMMAND             fbsBitGc             NewL
       
  8443         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418-NewL_command03
       
  8444         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418-Activate_command04
       
  8445         COMMAND             fbsBitGc             Clear
       
  8446         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418-SetPenColor_command06
       
  8447         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418-GetNearestFontToDesignHeightInPixels_command07
       
  8448         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418-UseFont_command08
       
  8449         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418-DrawTextVertical_command09
       
  8450 		COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418-DrawTextVertical_command10        
       
  8451         COMMAND             fbsBitGc             DiscardFont 
       
  8452         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418-ReleaseFont_command12
       
  8453         COMMAND             fbsScrDev            Update    
       
  8454         COMMAND             fbsSession           Disconnect
       
  8455         COMMAND             fbsBitGc             ~
       
  8456         COMMAND             fbsScrDev            ~
       
  8457      END_TEST_BLOCK
       
  8458 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0418
       
  8459 
       
  8460 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0419
       
  8461 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0419
       
  8462 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TRect(ref), TInt, TInt, TBool, TTextAlign, TInt).
       
  8463 //! @SYMAuthor              Wei Liu
       
  8464 //! @SYMCreationDate        23/12/2008
       
  8465 //! @SYMTestCaseDesc        Draw a vertical line of text within a rectangle.
       
  8466 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8467 //!                         2. Create a CFbsBitGc object.
       
  8468 //!                         3. Create a CFbsScreenDevice object.
       
  8469 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8470 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8471 //!                         6. Set the useFont.
       
  8472 //!                         7. Draw a vertical line of the text within the rectangle.
       
  8473 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8474 //! @SYMTestStatus          Implemented
       
  8475 //! @SYMTestPriority        High
       
  8476 //! @SYMTestExpectedResults A vertical line of the text will be drawn without any panic.
       
  8477 //! @SYMTestType            CIT
       
  8478 
       
  8479     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8480         CREATE_OBJECT       RFbsSession          fbsSession
       
  8481         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8482         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8483         CREATE_OBJECT       CFbsFont          	 font
       
  8484         COMMAND             fbsSession           Connect
       
  8485         COMMAND             fbsBitGc             NewL
       
  8486         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0419-NewL_command03
       
  8487         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0419-Activate_command04
       
  8488         COMMAND             fbsBitGc             Clear
       
  8489         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0419-SetPenColor_command06
       
  8490         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0419-GetNearestFontToDesignHeightInPixels_command07
       
  8491         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0419-UseFont_command08
       
  8492         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0419-DrawTextVertical_command09        
       
  8493         COMMAND             fbsBitGc             DiscardFont 
       
  8494         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0419-ReleaseFont_command11
       
  8495         COMMAND             fbsScrDev            Update    
       
  8496         COMMAND             fbsSession           Disconnect
       
  8497         COMMAND             fbsBitGc             ~
       
  8498         COMMAND             fbsScrDev            ~
       
  8499      END_TEST_BLOCK
       
  8500 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0419
       
  8501 
       
  8502 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420
       
  8503 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420
       
  8504 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TRect(ref), TInt, TInt, TBool, TTextAlign, TInt).
       
  8505 //! @SYMAuthor              Wei Liu
       
  8506 //! @SYMCreationDate        23/12/2008
       
  8507 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with negitive/too big aTextWidth params.
       
  8508 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8509 //!                         2. Create a CFbsBitGc object.
       
  8510 //!                         3. Create a CFbsScreenDevice object.
       
  8511 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8512 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8513 //!                         6. Set the useFont.
       
  8514 //!                         7. Draw a vertical line of the text with bad params.
       
  8515 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8516 //! @SYMTestStatus          Implemented
       
  8517 //! @SYMTestPriority        High
       
  8518 //! @SYMTestExpectedResults Nothing will be drawn.
       
  8519 //! @SYMTestType            CIT
       
  8520 
       
  8521     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8522         CREATE_OBJECT       RFbsSession          fbsSession
       
  8523         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8524         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8525         CREATE_OBJECT       CFbsFont          	 font
       
  8526         COMMAND             fbsSession           Connect
       
  8527         COMMAND             fbsBitGc             NewL
       
  8528         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420-NewL_command03
       
  8529         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420-Activate_command04
       
  8530         COMMAND             fbsBitGc             Clear
       
  8531         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420-SetPenColor_command06
       
  8532         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420-GetNearestFontToDesignHeightInPixels_command07
       
  8533         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420-UseFont_command08
       
  8534         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420-DrawTextVertical_command09        
       
  8535         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420-DrawTextVertical_command10
       
  8536         COMMAND             fbsBitGc             DiscardFont 
       
  8537         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420-ReleaseFont_command12
       
  8538         COMMAND             fbsScrDev            Update    
       
  8539         COMMAND             fbsSession           Disconnect
       
  8540         COMMAND             fbsBitGc             ~
       
  8541         COMMAND             fbsScrDev            ~
       
  8542      END_TEST_BLOCK
       
  8543 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0420
       
  8544 
       
  8545 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441
       
  8546 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441
       
  8547 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr})
       
  8548 //! @SYMAuthor              Wei Liu
       
  8549 //! @SYMCreationDate        24/12/2008
       
  8550 //! @SYMTestCaseDesc        Draw a line of the text at the specific position.
       
  8551 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8552 //!                         2. Create a CFbsBitGc object.
       
  8553 //!                         3. Create a CFbsScreenDevice object.
       
  8554 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8555 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8556 //!                         6. Set the useFont.
       
  8557 //!							7. Set the current position to the TTextParameter.
       
  8558 //!                         8. Draw a line of the text.
       
  8559 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8560 //! @SYMTestStatus          Implemented
       
  8561 //! @SYMTestPriority        High
       
  8562 //! @SYMTestExpectedResults A line of text will be drawn without any panic.
       
  8563 //! @SYMTestType            CIT
       
  8564 
       
  8565     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8566         CREATE_OBJECT       RFbsSession          fbsSession
       
  8567         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8568         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8569         CREATE_OBJECT       CFbsFont          	 font
       
  8570         COMMAND             fbsSession           Connect
       
  8571         COMMAND             fbsBitGc             NewL
       
  8572         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441-NewL_command03
       
  8573         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441-Activate_command04
       
  8574         COMMAND             fbsBitGc             Clear
       
  8575         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441-SetPenColor_command06
       
  8576         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441-GetNearestFontToDesignHeightInPixels_command07
       
  8577         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441-UseFont_command08
       
  8578         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441-MoveTo_command09
       
  8579         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441-DrawText_command10
       
  8580         DELAY               500000
       
  8581         COMMAND				fbsBitGc			 Clear
       
  8582         COMMAND				fbsBitGc			 DrawText									GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441-DrawText_command13
       
  8583         COMMAND             fbsBitGc             DiscardFont 
       
  8584         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441-ReleaseFont_command16
       
  8585         COMMAND             fbsScrDev            Update    
       
  8586         COMMAND             fbsSession           Disconnect
       
  8587         COMMAND             fbsBitGc             ~
       
  8588         COMMAND             fbsScrDev            ~
       
  8589      END_TEST_BLOCK
       
  8590 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0441
       
  8591 
       
  8592 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442
       
  8593 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442
       
  8594 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr})
       
  8595 //! @SYMAuthor              Wei Liu
       
  8596 //! @SYMCreationDate        25/12/2008
       
  8597 //! @SYMTestCaseDesc        Negitive case, Set the TDesC is Null.
       
  8598 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8599 //!                         2. Create a CFbsBitGc object.
       
  8600 //!                         3. Create a CFbsScreenDevice object.
       
  8601 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8602 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8603 //!                         6. Set the useFont.
       
  8604 //!							7. Set the current position to the point(20,20).
       
  8605 //!                         8. Draw a line of the text.
       
  8606 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8607 //! @SYMTestStatus          Implemented
       
  8608 //! @SYMTestPriority        High
       
  8609 //! @SYMTestExpectedResults Nothing will be drawn.
       
  8610 //! @SYMTestType            CIT
       
  8611 
       
  8612     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8613         CREATE_OBJECT       RFbsSession          fbsSession
       
  8614         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8615         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8616         CREATE_OBJECT       CFbsFont          	 font
       
  8617         COMMAND             fbsSession           Connect
       
  8618         COMMAND             fbsBitGc             NewL
       
  8619         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442-NewL_command03
       
  8620         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442-Activate_command04
       
  8621         COMMAND             fbsBitGc             Clear
       
  8622         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442-SetPenColor_command06
       
  8623         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442-GetNearestFontToDesignHeightInPixels_command07
       
  8624         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442-UseFont_command08
       
  8625         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442-MoveTo_command09
       
  8626         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442-DrawText_command10
       
  8627         DELAY               500000
       
  8628         COMMAND             fbsBitGc             DiscardFont 
       
  8629         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442-ReleaseFont_command13
       
  8630         COMMAND             fbsScrDev            Update    
       
  8631         COMMAND             fbsSession           Disconnect
       
  8632         COMMAND             fbsBitGc             ~
       
  8633         COMMAND             fbsScrDev            ~     
       
  8634     END_TEST_BLOCK
       
  8635 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0442
       
  8636 
       
  8637 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443
       
  8638 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443
       
  8639 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr})
       
  8640 //! @SYMAuthor              Wei Liu
       
  8641 //! @SYMCreationDate        25/12/2008
       
  8642 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(negtive position).
       
  8643 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8644 //!                         2. Create a CFbsBitGc object.
       
  8645 //!                         3. Create a CFbsScreenDevice object.
       
  8646 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8647 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8648 //!                         6. Set the useFont.
       
  8649 //!							7. Set the current position to the point(20,20).
       
  8650 //!                         8. Draw a line of the text.
       
  8651 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8652 //! @SYMTestStatus          Implemented
       
  8653 //! @SYMTestPriority        High
       
  8654 //! @SYMTestExpectedResults Nothing will be drawn.
       
  8655 //! @SYMTestType            CIT
       
  8656 
       
  8657     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8658         CREATE_OBJECT       RFbsSession          fbsSession
       
  8659         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8660         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8661         CREATE_OBJECT       CFbsFont          	 font
       
  8662         COMMAND             fbsSession           Connect
       
  8663         COMMAND             fbsBitGc             NewL
       
  8664         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443-NewL_command03
       
  8665         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443-Activate_command04
       
  8666         COMMAND             fbsBitGc             Clear
       
  8667         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443-SetPenColor_command06
       
  8668         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443-GetNearestFontToDesignHeightInPixels_command07
       
  8669         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443-UseFont_command08
       
  8670         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443-MoveTo_command09
       
  8671         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443-DrawText_command10
       
  8672     	DELAY               500000
       
  8673         COMMAND             fbsBitGc             DiscardFont 
       
  8674         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443-ReleaseFont_command13
       
  8675         COMMAND             fbsScrDev            Update    
       
  8676         COMMAND             fbsSession           Disconnect
       
  8677         COMMAND             fbsBitGc             ~
       
  8678         COMMAND             fbsScrDev            ~
       
  8679    END_TEST_BLOCK
       
  8680 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0443
       
  8681 
       
  8682 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444
       
  8683 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444
       
  8684 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr})
       
  8685 //! @SYMAuthor              Wei Liu
       
  8686 //! @SYMCreationDate        25/12/2008
       
  8687 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(too big position).
       
  8688 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8689 //!                         2. Create a CFbsBitGc object.
       
  8690 //!                         3. Create a CFbsScreenDevice object.
       
  8691 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8692 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8693 //!                         6. Set the useFont.
       
  8694 //!							7. Set the current position to the point(20,20).
       
  8695 //!                         8. Draw a line of the text.
       
  8696 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8697 //! @SYMTestStatus          Implemented
       
  8698 //! @SYMTestPriority        High
       
  8699 //! @SYMTestExpectedResults Nothing will be drawn.
       
  8700 //! @SYMTestType            CIT
       
  8701 
       
  8702     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8703         CREATE_OBJECT       RFbsSession          fbsSession
       
  8704         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8705         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8706         CREATE_OBJECT       CFbsFont          	 font
       
  8707         COMMAND             fbsSession           Connect
       
  8708         COMMAND             fbsBitGc             NewL
       
  8709         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444-NewL_command03
       
  8710         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444-Activate_command04
       
  8711         COMMAND             fbsBitGc             Clear
       
  8712         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444-SetPenColor_command06
       
  8713         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444-GetNearestFontToDesignHeightInPixels_command07
       
  8714         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444-UseFont_command08
       
  8715         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444-MoveTo_command09
       
  8716         COMMAND 		    fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444-DrawText_command10 		       
       
  8717 	    DELAY               500000
       
  8718         COMMAND             fbsBitGc             DiscardFont 
       
  8719         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444-ReleaseFont_command13
       
  8720         COMMAND             fbsScrDev            Update    
       
  8721         COMMAND             fbsSession           Disconnect
       
  8722         COMMAND             fbsBitGc             ~
       
  8723         COMMAND             fbsScrDev            ~
       
  8724     END_TEST_BLOCK
       
  8725 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0444
       
  8726 
       
  8727 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445
       
  8728 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445
       
  8729 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr})
       
  8730 //! @SYMAuthor              Wei Liu
       
  8731 //! @SYMCreationDate        25/12/2008
       
  8732 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is bigger than iEnd).
       
  8733 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8734 //!                         2. Create a CFbsBitGc object.
       
  8735 //!                         3. Create a CFbsScreenDevice object.
       
  8736 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8737 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8738 //!                         6. Set the useFont.
       
  8739 //!							7. Set the current position to the point(20,20).
       
  8740 //!                         8. Draw a line of the text.
       
  8741 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8742 //! @SYMTestStatus          Implemented
       
  8743 //! @SYMTestPriority        High
       
  8744 //! @SYMTestExpectedResults GNothing will be drawn.
       
  8745 //! @SYMTestType            CIT
       
  8746 
       
  8747     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8748         CREATE_OBJECT       RFbsSession          fbsSession
       
  8749         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8750         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8751         CREATE_OBJECT       CFbsFont          	 font
       
  8752         COMMAND             fbsSession           Connect
       
  8753         COMMAND             fbsBitGc             NewL
       
  8754         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445-NewL_command03
       
  8755         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445-Activate_command04
       
  8756         COMMAND             fbsBitGc             Clear
       
  8757         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445-SetPenColor_command06
       
  8758         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445-GetNearestFontToDesignHeightInPixels_command07
       
  8759         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445-UseFont_command08
       
  8760         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445-MoveTo_command09
       
  8761         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445-DrawText_command10
       
  8762     	DELAY               500000
       
  8763         COMMAND             fbsBitGc             DiscardFont 
       
  8764         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445-ReleaseFont_command13
       
  8765         COMMAND             fbsScrDev            Update    
       
  8766         COMMAND             fbsSession           Disconnect
       
  8767         COMMAND             fbsBitGc             ~
       
  8768         COMMAND             fbsScrDev            ~
       
  8769     END_TEST_BLOCK
       
  8770 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0445
       
  8771 
       
  8772 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446
       
  8773 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446
       
  8774 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr})
       
  8775 //! @SYMAuthor              Wei Liu
       
  8776 //! @SYMCreationDate        25/12/2008
       
  8777 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is equal to iEnd).
       
  8778 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8779 //!                         2. Create a CFbsBitGc object.
       
  8780 //!                         3. Create a CFbsScreenDevice object.
       
  8781 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8782 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8783 //!                         6. Set the useFont.
       
  8784 //!							7. Set the current position to the point(20,20).
       
  8785 //!                         8. Draw a line of the text.
       
  8786 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8787 //! @SYMTestStatus          Implemented
       
  8788 //! @SYMTestPriority        High
       
  8789 //! @SYMTestExpectedResults Nothing will be drawn.
       
  8790 //! @SYMTestType            CIT
       
  8791 
       
  8792     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8793         CREATE_OBJECT       RFbsSession          fbsSession
       
  8794         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8795         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8796         CREATE_OBJECT       CFbsFont          	 font
       
  8797         COMMAND             fbsSession           Connect
       
  8798         COMMAND             fbsBitGc             NewL
       
  8799         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446-NewL_command03
       
  8800         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446-Activate_command04
       
  8801         COMMAND             fbsBitGc             Clear
       
  8802         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446-SetPenColor_command06
       
  8803         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446-GetNearestFontToDesignHeightInPixels_command07
       
  8804         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446-UseFont_command08
       
  8805         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446-MoveTo_command09
       
  8806         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446-DrawText_command10
       
  8807 	    DELAY               500000
       
  8808         COMMAND             fbsBitGc             DiscardFont 
       
  8809         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446-ReleaseFont_command13
       
  8810         COMMAND             fbsScrDev            Update    
       
  8811         COMMAND             fbsSession           Disconnect
       
  8812         COMMAND             fbsBitGc             ~
       
  8813         COMMAND             fbsScrDev            ~
       
  8814    END_TEST_BLOCK
       
  8815 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0446
       
  8816 
       
  8817 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447
       
  8818 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447
       
  8819 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref)).
       
  8820 //! @SYMAuthor              Wei Liu
       
  8821 //! @SYMCreationDate        25/12/2008
       
  8822 //! @SYMTestCaseDesc        Draw a line of text at the specific position.
       
  8823 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8824 //!                         2. Create a CFbsBitGc object.
       
  8825 //!                         3. Create a CFbsScreenDevice object.
       
  8826 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8827 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8828 //!                         6. Set the useFont.
       
  8829 //!                         7. Draw a line of the text at the beginning point(20,30).
       
  8830 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8831 //! @SYMTestStatus          Implemented
       
  8832 //! @SYMTestPriority        High
       
  8833 //! @SYMTestExpectedResults A line of text will be drawn without any panic.
       
  8834 //! @SYMTestType            CIT
       
  8835 
       
  8836     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8837         CREATE_OBJECT       RFbsSession          fbsSession
       
  8838         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8839         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8840         CREATE_OBJECT       CFbsFont          	 font
       
  8841         COMMAND             fbsSession           Connect
       
  8842         COMMAND             fbsBitGc             NewL
       
  8843         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447-NewL_command03
       
  8844         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447-Activate_command04
       
  8845         COMMAND             fbsBitGc             Clear
       
  8846         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447-SetPenColor_command06
       
  8847         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447-GetNearestFontToDesignHeightInPixels_command07
       
  8848         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447-UseFont_command08
       
  8849         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447-DrawText_command09
       
  8850         DELAY               500000
       
  8851         COMMAND				fbsBitGc			 Clear
       
  8852         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447-DrawText_command12
       
  8853         DELAY               500000
       
  8854         COMMAND             fbsBitGc             DiscardFont 
       
  8855         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447-ReleaseFont_command15
       
  8856         COMMAND             fbsScrDev            Update    
       
  8857         COMMAND             fbsSession           Disconnect
       
  8858         COMMAND             fbsBitGc             ~
       
  8859         COMMAND             fbsScrDev            ~
       
  8860      END_TEST_BLOCK
       
  8861 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0447
       
  8862 
       
  8863 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448
       
  8864 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448
       
  8865 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref)).
       
  8866 //! @SYMAuthor              Wei Liu
       
  8867 //! @SYMCreationDate        25/12/2008
       
  8868 //! @SYMTestCaseDesc        Negitve case, draw text with Null input and bad TPoint(Negtive/too big).
       
  8869 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8870 //!                         2. Create a CFbsBitGc object.
       
  8871 //!                         3. Create a CFbsScreenDevice object.
       
  8872 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8873 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8874 //!                         6. Set the useFont.
       
  8875 //!                         7. Draw a line of the text.
       
  8876 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8877 //! @SYMTestStatus          Implemented
       
  8878 //! @SYMTestPriority        High
       
  8879 //! @SYMTestExpectedResults DrawText is called without panic.
       
  8880 //! @SYMTestType            CIT
       
  8881 
       
  8882     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8883         CREATE_OBJECT       RFbsSession          fbsSession
       
  8884         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8885         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8886         CREATE_OBJECT       CFbsFont          	 font
       
  8887         COMMAND             fbsSession           Connect
       
  8888         COMMAND             fbsBitGc             NewL
       
  8889         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448-NewL_command03
       
  8890         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448-Activate_command04
       
  8891         COMMAND             fbsBitGc             Clear
       
  8892         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448-SetPenColor_command06
       
  8893         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448-GetNearestFontToDesignHeightInPixels_command07
       
  8894         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448-UseFont_command08
       
  8895         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448-DrawText_command09
       
  8896 		DELAY               500000
       
  8897 		COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448-DrawText_command11
       
  8898 		DELAY               500000
       
  8899 		COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448-DrawText_command13        
       
  8900         DELAY               500000
       
  8901         COMMAND             fbsBitGc             DiscardFont 
       
  8902         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448-ReleaseFont_command16
       
  8903         COMMAND             fbsScrDev            Update    
       
  8904         COMMAND             fbsSession           Disconnect
       
  8905         COMMAND             fbsBitGc             ~
       
  8906         COMMAND             fbsScrDev            ~
       
  8907      END_TEST_BLOCK
       
  8908 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0448
       
  8909 
       
  8910 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0449
       
  8911 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0449
       
  8912 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref)).
       
  8913 //! @SYMAuthor              Wei Liu
       
  8914 //! @SYMCreationDate        25/12/2008
       
  8915 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(negtive position).
       
  8916 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8917 //!                         2. Create a CFbsBitGc object.
       
  8918 //!                         3. Create a CFbsScreenDevice object.
       
  8919 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8920 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8921 //!                         6. Set the useFont.
       
  8922 //!                         7. Draw a line of the text.
       
  8923 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8924 //! @SYMTestStatus          Implemented
       
  8925 //! @SYMTestPriority        High
       
  8926 //! @SYMTestExpectedResults DrawText is called without panic.
       
  8927 //! @SYMTestType            CIT
       
  8928 
       
  8929     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8930         CREATE_OBJECT       RFbsSession          fbsSession
       
  8931         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8932         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8933         CREATE_OBJECT       CFbsFont          	 font
       
  8934         COMMAND             fbsSession           Connect
       
  8935         COMMAND             fbsBitGc             NewL
       
  8936         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0449-NewL_command03
       
  8937         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0449-Activate_command04
       
  8938         COMMAND             fbsBitGc             Clear
       
  8939         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0449-SetPenColor_command06
       
  8940         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0449-GetNearestFontToDesignHeightInPixels_command07
       
  8941         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0449-UseFont_command08
       
  8942         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0449-DrawText_command09
       
  8943         DELAY               500000
       
  8944         COMMAND             fbsBitGc             DiscardFont 
       
  8945         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0449-ReleaseFont_command12
       
  8946         COMMAND             fbsScrDev            Update    
       
  8947         COMMAND             fbsSession           Disconnect
       
  8948         COMMAND             fbsBitGc             ~
       
  8949         COMMAND             fbsScrDev            ~
       
  8950    END_TEST_BLOCK
       
  8951 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0449
       
  8952 
       
  8953 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0450
       
  8954 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0450
       
  8955 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref)).
       
  8956 //! @SYMAuthor              Wei Liu
       
  8957 //! @SYMCreationDate        25/12/2008
       
  8958 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(too big position).
       
  8959 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  8960 //!                         2. Create a CFbsBitGc object.
       
  8961 //!                         3. Create a CFbsScreenDevice object.
       
  8962 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  8963 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  8964 //!                         6. Set the useFont.
       
  8965 //!                         7. Draw a line of the text.
       
  8966 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  8967 //! @SYMTestStatus          Implemented
       
  8968 //! @SYMTestPriority        High
       
  8969 //! @SYMTestExpectedResults DrawText is called without panic.
       
  8970 //! @SYMTestType            CIT
       
  8971 
       
  8972     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  8973         CREATE_OBJECT       RFbsSession          fbsSession
       
  8974         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  8975         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  8976         CREATE_OBJECT       CFbsFont          	 font
       
  8977         COMMAND             fbsSession           Connect
       
  8978         COMMAND             fbsBitGc             NewL
       
  8979         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0450-NewL_command03
       
  8980         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0450-Activate_command04
       
  8981         COMMAND             fbsBitGc             Clear
       
  8982         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0450-SetPenColor_command06
       
  8983         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0450-GetNearestFontToDesignHeightInPixels_command07
       
  8984         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0450-UseFont_command08
       
  8985         COMMAND  			fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0450-DrawText_command09
       
  8986         DELAY               500000
       
  8987         COMMAND             fbsBitGc             DiscardFont 
       
  8988         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0450-ReleaseFont_command12
       
  8989         COMMAND             fbsScrDev            Update    
       
  8990         COMMAND             fbsSession           Disconnect
       
  8991         COMMAND             fbsBitGc             ~
       
  8992         COMMAND             fbsScrDev            ~
       
  8993    END_TEST_BLOCK
       
  8994 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0450
       
  8995 
       
  8996 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0451
       
  8997 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0451
       
  8998 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref)).
       
  8999 //! @SYMAuthor              Wei Liu
       
  9000 //! @SYMCreationDate        25/12/2008
       
  9001 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is bigger than iEnd).
       
  9002 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9003 //!                         2. Create a CFbsBitGc object.
       
  9004 //!                         3. Create a CFbsScreenDevice object.
       
  9005 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9006 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9007 //!                         6. Set the useFont.
       
  9008 //!                         7. Draw a line of the text.
       
  9009 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9010 //! @SYMTestStatus          Implemented
       
  9011 //! @SYMTestPriority        High
       
  9012 //! @SYMTestExpectedResults DrawText is called without panic.
       
  9013 //! @SYMTestType            CIT
       
  9014 
       
  9015     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9016         CREATE_OBJECT       RFbsSession          fbsSession
       
  9017         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9018         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9019         CREATE_OBJECT       CFbsFont          	 font
       
  9020         COMMAND             fbsSession           Connect
       
  9021         COMMAND             fbsBitGc             NewL
       
  9022         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0451-NewL_command03
       
  9023         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0451-Activate_command04
       
  9024         COMMAND             fbsBitGc             Clear
       
  9025         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0451-SetPenColor_command06
       
  9026         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0451-GetNearestFontToDesignHeightInPixels_command07
       
  9027         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0451-UseFont_command08
       
  9028         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0451-DrawText_command09
       
  9029         DELAY               500000
       
  9030         COMMAND             fbsBitGc             DiscardFont 
       
  9031         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0451-ReleaseFont_command12
       
  9032         COMMAND             fbsScrDev            Update    
       
  9033         COMMAND             fbsSession           Disconnect
       
  9034         COMMAND             fbsBitGc             ~
       
  9035         COMMAND             fbsScrDev            ~
       
  9036    END_TEST_BLOCK
       
  9037 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0451
       
  9038 
       
  9039 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0452
       
  9040 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0452
       
  9041 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref)).
       
  9042 //! @SYMAuthor              Wei Liu
       
  9043 //! @SYMCreationDate        25/12/2008
       
  9044 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is equal to iEnd).
       
  9045 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9046 //!                         2. Create a CFbsBitGc object.
       
  9047 //!                         3. Create a CFbsScreenDevice object.
       
  9048 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9049 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9050 //!                         6. Set the useFont.
       
  9051 //!                         7. Draw a line of the text.
       
  9052 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9053 //! @SYMTestStatus          Implemented
       
  9054 //! @SYMTestPriority        High
       
  9055 //! @SYMTestExpectedResults DrawText is called without panic.
       
  9056 //! @SYMTestType            CIT
       
  9057 
       
  9058     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9059         CREATE_OBJECT       RFbsSession          fbsSession
       
  9060         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9061         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9062         CREATE_OBJECT       CFbsFont          	 font
       
  9063         COMMAND             fbsSession           Connect
       
  9064         COMMAND             fbsBitGc             NewL
       
  9065         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0452-NewL_command03
       
  9066         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0452-Activate_command04
       
  9067         COMMAND             fbsBitGc             Clear
       
  9068         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0452-SetPenColor_command06
       
  9069         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0452-GetNearestFontToDesignHeightInPixels_command07
       
  9070         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0452-UseFont_command08
       
  9071         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0452-DrawText_command09
       
  9072         DELAY               500000
       
  9073         COMMAND             fbsBitGc             DiscardFont 
       
  9074         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0452-ReleaseFont_command12
       
  9075         COMMAND             fbsScrDev            Update    
       
  9076         COMMAND             fbsSession           Disconnect
       
  9077         COMMAND             fbsBitGc             ~
       
  9078         COMMAND             fbsScrDev            ~
       
  9079    END_TEST_BLOCK
       
  9080 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0452
       
  9081 
       
  9082 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453
       
  9083 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453
       
  9084 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref)).
       
  9085 //! @SYMAuthor              Wei Liu
       
  9086 //! @SYMCreationDate        25/12/2008
       
  9087 //! @SYMTestCaseDesc        Draw a line of text within the clipping rectangle(0,0,100,200).
       
  9088 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9089 //!                         2. Create a CFbsBitGc object.
       
  9090 //!                         3. Create a CFbsScreenDevice object.
       
  9091 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9092 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9093 //!                         6. Set the useFont.
       
  9094 //!                         7. Draw a line of the text within the clipping rectangle.
       
  9095 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9096 //! @SYMTestStatus          Implemented
       
  9097 //! @SYMTestPriority        High
       
  9098 //! @SYMTestExpectedResults A line of text will be drawn within the rectangle.
       
  9099 //! @SYMTestType            CIT
       
  9100 
       
  9101     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9102         CREATE_OBJECT       RFbsSession          fbsSession
       
  9103         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9104         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9105         CREATE_OBJECT       CFbsFont          	 font
       
  9106         COMMAND             fbsSession           Connect
       
  9107         COMMAND             fbsBitGc             NewL
       
  9108         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453-NewL_command03
       
  9109         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453-Activate_command04
       
  9110         COMMAND             fbsBitGc             Clear
       
  9111         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453-SetPenColor_command06
       
  9112         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453-GetNearestFontToDesignHeightInPixels_command07
       
  9113         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453-UseFont_command08
       
  9114         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453-DrawText_command09
       
  9115         DELAY               500000
       
  9116         COMMAND             fbsBitGc             Clear
       
  9117         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453-DrawText_command12
       
  9118         DELAY               500000
       
  9119         COMMAND             fbsBitGc             DiscardFont 
       
  9120         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453-ReleaseFont_command15
       
  9121         COMMAND             fbsScrDev            Update
       
  9122         COMMAND             fbsSession           Disconnect
       
  9123         COMMAND             fbsBitGc             ~
       
  9124         COMMAND             fbsScrDev            ~
       
  9125      END_TEST_BLOCK
       
  9126 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0453
       
  9127 
       
  9128 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454
       
  9129 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454
       
  9130 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref)).
       
  9131 //! @SYMAuthor              Wei Liu
       
  9132 //! @SYMCreationDate        25/12/2008
       
  9133 //! @SYMTestCaseDesc        Negitve case,Draw a line of text with Null input and bad TRect.
       
  9134 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9135 //!                         2. Create a CFbsBitGc object.
       
  9136 //!                         3. Create a CFbsScreenDevice object.
       
  9137 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9138 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9139 //!                         6. Set the useFont.
       
  9140 //!                         7. Draw a line of the text within the clipping rectangle.
       
  9141 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9142 //! @SYMTestStatus          Implemented
       
  9143 //! @SYMTestPriority        High
       
  9144 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9145 //! @SYMTestType            CIT
       
  9146 
       
  9147     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9148         CREATE_OBJECT       RFbsSession          fbsSession
       
  9149         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9150         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9151         CREATE_OBJECT       CFbsFont          	 font
       
  9152         COMMAND             fbsSession           Connect
       
  9153         COMMAND             fbsBitGc             NewL
       
  9154         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454-NewL_command03
       
  9155         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454-Activate_command04
       
  9156         COMMAND             fbsBitGc             Clear
       
  9157         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454-SetPenColor_command06
       
  9158         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454-GetNearestFontToDesignHeightInPixels_command07
       
  9159         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454-UseFont_command08
       
  9160         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454-DrawText_command09
       
  9161 		DELAY               500000
       
  9162 		COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454-DrawText_command11        
       
  9163         DELAY               500000
       
  9164         COMMAND             fbsBitGc             DiscardFont 
       
  9165         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454-ReleaseFont_command14
       
  9166         COMMAND             fbsScrDev            Update    
       
  9167         COMMAND             fbsSession           Disconnect
       
  9168         COMMAND             fbsBitGc             ~
       
  9169         COMMAND             fbsScrDev            ~
       
  9170      END_TEST_BLOCK
       
  9171 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0454
       
  9172 
       
  9173 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0455
       
  9174 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0455
       
  9175 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref)).
       
  9176 //! @SYMAuthor              Wei Liu
       
  9177 //! @SYMCreationDate        25/12/2008
       
  9178 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(negtive position).
       
  9179 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9180 //!                         2. Create a CFbsBitGc object.
       
  9181 //!                         3. Create a CFbsScreenDevice object.
       
  9182 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9183 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9184 //!                         6. Set the useFont.
       
  9185 //!                         7. Draw a line of the text.
       
  9186 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9187 //! @SYMTestStatus          Implemented
       
  9188 //! @SYMTestPriority        High
       
  9189 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9190 //! @SYMTestType            CIT
       
  9191 
       
  9192     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9193         CREATE_OBJECT       RFbsSession          fbsSession
       
  9194         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9195         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9196         CREATE_OBJECT       CFbsFont          	 font
       
  9197         COMMAND             fbsSession           Connect
       
  9198         COMMAND             fbsBitGc             NewL
       
  9199         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0455-NewL_command03
       
  9200         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0455-Activate_command04
       
  9201         COMMAND             fbsBitGc             Clear
       
  9202         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0455-SetPenColor_command06
       
  9203         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0455-GetNearestFontToDesignHeightInPixels_command07
       
  9204         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0455-UseFont_command08
       
  9205         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0455-DrawText_command09
       
  9206         DELAY               500000
       
  9207         COMMAND             fbsBitGc             DiscardFont 
       
  9208         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0455-ReleaseFont_command12
       
  9209         COMMAND             fbsScrDev            Update    
       
  9210         COMMAND             fbsSession           Disconnect
       
  9211         COMMAND             fbsBitGc             ~
       
  9212         COMMAND             fbsScrDev            ~
       
  9213    END_TEST_BLOCK
       
  9214 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0455
       
  9215 
       
  9216 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0456
       
  9217 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0456
       
  9218 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref)).
       
  9219 //! @SYMAuthor              Wei Liu
       
  9220 //! @SYMCreationDate        25/12/2008
       
  9221 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(too big position).
       
  9222 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9223 //!                         2. Create a CFbsBitGc object.
       
  9224 //!                         3. Create a CFbsScreenDevice object.
       
  9225 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9226 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9227 //!                         6. Set the useFont.
       
  9228 //!                         7. Draw a line of the text.
       
  9229 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9230 //! @SYMTestStatus          Implemented
       
  9231 //! @SYMTestPriority        High
       
  9232 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9233 //! @SYMTestType            CIT
       
  9234 
       
  9235     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9236         CREATE_OBJECT       RFbsSession          fbsSession
       
  9237         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9238         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9239         CREATE_OBJECT       CFbsFont          	 font
       
  9240         COMMAND             fbsSession           Connect
       
  9241         COMMAND             fbsBitGc             NewL
       
  9242         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0456-NewL_command03
       
  9243         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0456-Activate_command04
       
  9244         COMMAND             fbsBitGc             Clear
       
  9245         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0456-SetPenColor_command06
       
  9246         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0456-GetNearestFontToDesignHeightInPixels_command07
       
  9247         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0456-UseFont_command08
       
  9248         COMMAND   			fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0456-DrawText_command09
       
  9249        	DELAY               500000
       
  9250         COMMAND             fbsBitGc             DiscardFont 
       
  9251         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0456-ReleaseFont_command12
       
  9252         COMMAND             fbsScrDev            Update    
       
  9253         COMMAND             fbsSession           Disconnect
       
  9254         COMMAND             fbsBitGc             ~
       
  9255         COMMAND             fbsScrDev            ~
       
  9256     END_TEST_BLOCK
       
  9257 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0456
       
  9258 
       
  9259 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0457
       
  9260 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0457
       
  9261 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref)).
       
  9262 //! @SYMAuthor              Wei Liu
       
  9263 //! @SYMCreationDate        25/12/2008
       
  9264 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is bigger than iEnd).
       
  9265 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9266 //!                         2. Create a CFbsBitGc object.
       
  9267 //!                         3. Create a CFbsScreenDevice object.
       
  9268 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9269 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9270 //!                         6. Set the useFont.
       
  9271 //!                         7. Draw a line of the text.
       
  9272 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9273 //! @SYMTestStatus          Implemented
       
  9274 //! @SYMTestPriority        High
       
  9275 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9276 //! @SYMTestType            CIT
       
  9277 
       
  9278     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9279         CREATE_OBJECT       RFbsSession          fbsSession
       
  9280         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9281         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9282         CREATE_OBJECT       CFbsFont          	 font
       
  9283         COMMAND             fbsSession           Connect
       
  9284         COMMAND             fbsBitGc             NewL
       
  9285         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0457-NewL_command03
       
  9286         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0457-Activate_command04
       
  9287         COMMAND             fbsBitGc             Clear
       
  9288         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0457-SetPenColor_command06
       
  9289         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0457-GetNearestFontToDesignHeightInPixels_command07
       
  9290         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0457-UseFont_command08
       
  9291         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0457-DrawText_command09
       
  9292         DELAY               500000
       
  9293         COMMAND             fbsBitGc             DiscardFont 
       
  9294         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0457-ReleaseFont_command12
       
  9295         COMMAND             fbsScrDev            Update    
       
  9296         COMMAND             fbsSession           Disconnect
       
  9297         COMMAND             fbsBitGc             ~
       
  9298         COMMAND             fbsScrDev            ~
       
  9299     END_TEST_BLOCK
       
  9300 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0457
       
  9301 
       
  9302 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0458
       
  9303 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0458
       
  9304 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref)).
       
  9305 //! @SYMAuthor              Wei Liu
       
  9306 //! @SYMCreationDate        25/12/2008
       
  9307 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is equal to iEnd).
       
  9308 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9309 //!                         2. Create a CFbsBitGc object.
       
  9310 //!                         3. Create a CFbsScreenDevice object.
       
  9311 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9312 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9313 //!                         6. Set the useFont.
       
  9314 //!                         7. Draw a line of the text.
       
  9315 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9316 //! @SYMTestStatus          Implemented
       
  9317 //! @SYMTestPriority        High
       
  9318 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9319 //! @SYMTestType            CIT
       
  9320 
       
  9321     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9322         CREATE_OBJECT       RFbsSession          fbsSession
       
  9323         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9324         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9325         CREATE_OBJECT       CFbsFont          	 font
       
  9326         COMMAND             fbsSession           Connect
       
  9327         COMMAND             fbsBitGc             NewL
       
  9328         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0458-NewL_command03
       
  9329         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0458-Activate_command04
       
  9330         COMMAND             fbsBitGc             Clear
       
  9331         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0458-SetPenColor_command06
       
  9332         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0458-GetNearestFontToDesignHeightInPixels_command07
       
  9333         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0458-UseFont_command08
       
  9334         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0458-DrawText_command09
       
  9335         DELAY               500000
       
  9336         COMMAND             fbsBitGc             DiscardFont 
       
  9337         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0458-ReleaseFont_command12
       
  9338         COMMAND             fbsScrDev            Update    
       
  9339         COMMAND             fbsSession           Disconnect
       
  9340         COMMAND             fbsBitGc             ~
       
  9341         COMMAND             fbsScrDev            ~
       
  9342     END_TEST_BLOCK
       
  9343 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0458
       
  9344 
       
  9345 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459
       
  9346 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459
       
  9347 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt).
       
  9348 //! @SYMAuthor              Wei Liu
       
  9349 //! @SYMCreationDate        25/12/2008
       
  9350 //! @SYMTestCaseDesc        Draw a line of text within the clipping rectangle with params TTextAlign=ELeft/ECenter/ERight.
       
  9351 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9352 //!                         2. Create a CFbsBitGc object.
       
  9353 //!                         3. Create a CFbsScreenDevice object.
       
  9354 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9355 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9356 //!                         6. Set the useFont.
       
  9357 //!                         7. Draw a line of the text within the clipping rectangle with params TTextAlign=ELeft/ECenter/ERight.
       
  9358 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9359 //! @SYMTestStatus          Implemented
       
  9360 //! @SYMTestPriority        High
       
  9361 //! @SYMTestExpectedResults A line of text will be drawn within the rectangle.
       
  9362 //! @SYMTestType            CIT
       
  9363 
       
  9364     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9365         CREATE_OBJECT       RFbsSession          fbsSession
       
  9366         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9367         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9368         CREATE_OBJECT       CFbsFont          	 font
       
  9369         COMMAND             fbsSession           Connect
       
  9370         COMMAND             fbsBitGc             NewL
       
  9371         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459-NewL_command03
       
  9372         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459-Activate_command04
       
  9373         COMMAND             fbsBitGc             Clear
       
  9374         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459-SetPenColor_command06
       
  9375         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459-GetNearestFontToDesignHeightInPixels_command07
       
  9376         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459-UseFont_command08
       
  9377         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459-DrawText_command09
       
  9378 		DELAY               500000
       
  9379 		COMMAND             fbsBitGc             Clear
       
  9380 		COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459-DrawText_command12        
       
  9381         DELAY               500000
       
  9382 		COMMAND             fbsBitGc             Clear
       
  9383         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459-DrawText_command15
       
  9384         DELAY               500000
       
  9385 		COMMAND             fbsBitGc             Clear
       
  9386         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459-DrawText_command18
       
  9387         DELAY               500000
       
  9388         COMMAND             fbsBitGc             DiscardFont 
       
  9389         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459-ReleaseFont_command21
       
  9390         COMMAND             fbsScrDev            Update    
       
  9391         COMMAND             fbsSession           Disconnect
       
  9392         COMMAND             fbsBitGc             ~
       
  9393         COMMAND             fbsScrDev            ~
       
  9394      END_TEST_BLOCK
       
  9395 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0459
       
  9396 
       
  9397 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460
       
  9398 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460
       
  9399 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt).
       
  9400 //! @SYMAuthor              Wei Liu
       
  9401 //! @SYMCreationDate        25/12/2008
       
  9402 //! @SYMTestCaseDesc        Negtive case,Draw a line of text with Null input, bad aBaselineOffset and bad aMargin.
       
  9403 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9404 //!                         2. Create a CFbsBitGc object.
       
  9405 //!                         3. Create a CFbsScreenDevice object.
       
  9406 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9407 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9408 //!                         6. Set the useFont.
       
  9409 //!                         7. Draw a line of the text with bad params.
       
  9410 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9411 //! @SYMTestStatus          Implemented
       
  9412 //! @SYMTestPriority        High
       
  9413 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
  9414 //! @SYMTestType            CIT
       
  9415 
       
  9416     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9417         CREATE_OBJECT       RFbsSession          fbsSession
       
  9418         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9419         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9420         CREATE_OBJECT       CFbsFont          	 font
       
  9421         COMMAND             fbsSession           Connect
       
  9422         COMMAND             fbsBitGc             NewL
       
  9423         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460-NewL_command03
       
  9424         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460-Activate_command04
       
  9425         COMMAND             fbsBitGc             Clear
       
  9426         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460-SetPenColor_command06
       
  9427         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460-GetNearestFontToDesignHeightInPixels_command07
       
  9428         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460-UseFont_command08
       
  9429         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460-DrawText_command09
       
  9430 		COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460-DrawText_command10        
       
  9431         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460-DrawText_command11
       
  9432         DELAY               500000
       
  9433         COMMAND             fbsBitGc             DiscardFont 
       
  9434         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460-ReleaseFont_command14
       
  9435         COMMAND             fbsScrDev            Update    
       
  9436         COMMAND             fbsSession           Disconnect
       
  9437         COMMAND             fbsBitGc             ~
       
  9438         COMMAND             fbsScrDev            ~
       
  9439      END_TEST_BLOCK
       
  9440 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0460
       
  9441 
       
  9442 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0461
       
  9443 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0461
       
  9444 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt).
       
  9445 //! @SYMAuthor              Wei Liu
       
  9446 //! @SYMCreationDate        25/12/2008
       
  9447 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(negtive position).
       
  9448 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9449 //!                         2. Create a CFbsBitGc object.
       
  9450 //!                         3. Create a CFbsScreenDevice object.
       
  9451 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9452 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9453 //!                         6. Set the useFont.
       
  9454 //!                         7. Draw a line of the text.
       
  9455 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9456 //! @SYMTestStatus          Implemented
       
  9457 //! @SYMTestPriority        High
       
  9458 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
  9459 //! @SYMTestType            CIT
       
  9460 
       
  9461     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9462         CREATE_OBJECT       RFbsSession          fbsSession
       
  9463         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9464         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9465         CREATE_OBJECT       CFbsFont          	 font
       
  9466         COMMAND             fbsSession           Connect
       
  9467         COMMAND             fbsBitGc             NewL
       
  9468         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0461-NewL_command03
       
  9469         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0461-Activate_command04
       
  9470         COMMAND             fbsBitGc             Clear
       
  9471         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0461-SetPenColor_command06
       
  9472         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0461-GetNearestFontToDesignHeightInPixels_command07
       
  9473         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0461-UseFont_command08
       
  9474         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0461-DrawText_command09
       
  9475         DELAY               500000
       
  9476         COMMAND             fbsBitGc             DiscardFont 
       
  9477         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0461-ReleaseFont_command12
       
  9478         COMMAND             fbsScrDev            Update    
       
  9479         COMMAND             fbsSession           Disconnect
       
  9480         COMMAND             fbsBitGc             ~
       
  9481         COMMAND             fbsScrDev            ~
       
  9482     END_TEST_BLOCK
       
  9483 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0461
       
  9484 
       
  9485 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0462
       
  9486 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0462
       
  9487 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt).
       
  9488 //! @SYMAuthor              Wei Liu
       
  9489 //! @SYMCreationDate        25/12/2008
       
  9490 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(too big position).
       
  9491 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9492 //!                         2. Create a CFbsBitGc object.
       
  9493 //!                         3. Create a CFbsScreenDevice object.
       
  9494 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9495 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9496 //!                         6. Set the useFont.
       
  9497 //!                         7. Draw a line of the text.
       
  9498 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9499 //! @SYMTestStatus          Implemented
       
  9500 //! @SYMTestPriority        High
       
  9501 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
  9502 //! @SYMTestType            CIT
       
  9503 
       
  9504     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9505         CREATE_OBJECT       RFbsSession          fbsSession
       
  9506         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9507         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9508         CREATE_OBJECT       CFbsFont          	 font
       
  9509         COMMAND             fbsSession           Connect
       
  9510         COMMAND             fbsBitGc             NewL
       
  9511         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0462-NewL_command03
       
  9512         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0462-Activate_command04
       
  9513         COMMAND             fbsBitGc             Clear
       
  9514         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0462-SetPenColor_command06
       
  9515         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0462-GetNearestFontToDesignHeightInPixels_command07
       
  9516         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0462-UseFont_command08
       
  9517         COMMAND  	  		fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0462-DrawText_command09
       
  9518         DELAY               500000
       
  9519         COMMAND             fbsBitGc             DiscardFont 
       
  9520         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0462-ReleaseFont_command12
       
  9521         COMMAND             fbsScrDev            Update    
       
  9522         COMMAND             fbsSession           Disconnect
       
  9523         COMMAND             fbsBitGc             ~
       
  9524         COMMAND             fbsScrDev            ~
       
  9525     END_TEST_BLOCK
       
  9526 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0462
       
  9527 
       
  9528 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0463
       
  9529 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0463
       
  9530 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt).
       
  9531 //! @SYMAuthor              Wei Liu
       
  9532 //! @SYMCreationDate        25/12/2008
       
  9533 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is bigger than iEnd).
       
  9534 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9535 //!                         2. Create a CFbsBitGc object.
       
  9536 //!                         3. Create a CFbsScreenDevice object.
       
  9537 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9538 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9539 //!                         6. Set the useFont.
       
  9540 //!                         7. Draw a line of the text.
       
  9541 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9542 //! @SYMTestStatus          Implemented
       
  9543 //! @SYMTestPriority        High
       
  9544 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
  9545 //! @SYMTestType            CIT
       
  9546 
       
  9547     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9548         CREATE_OBJECT       RFbsSession          fbsSession
       
  9549         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9550         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9551         CREATE_OBJECT       CFbsFont          	 font
       
  9552         COMMAND             fbsSession           Connect
       
  9553         COMMAND             fbsBitGc             NewL
       
  9554         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0463-NewL_command03
       
  9555         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0463-Activate_command04
       
  9556         COMMAND             fbsBitGc             Clear
       
  9557         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0463-SetPenColor_command06
       
  9558         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0463-GetNearestFontToDesignHeightInPixels_command07
       
  9559         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0463-UseFont_command08
       
  9560         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0463-DrawText_command09
       
  9561         DELAY               500000
       
  9562         COMMAND             fbsBitGc             DiscardFont 
       
  9563         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0463-ReleaseFont_command12
       
  9564         COMMAND             fbsScrDev            Update    
       
  9565         COMMAND             fbsSession           Disconnect
       
  9566         COMMAND             fbsBitGc             ~
       
  9567         COMMAND             fbsScrDev            ~
       
  9568     END_TEST_BLOCK
       
  9569 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0463
       
  9570 
       
  9571 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0464
       
  9572 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0464
       
  9573 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt).
       
  9574 //! @SYMAuthor              Wei Liu
       
  9575 //! @SYMCreationDate        25/12/2008
       
  9576 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is equal to iEnd).
       
  9577 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9578 //!                         2. Create a CFbsBitGc object.
       
  9579 //!                         3. Create a CFbsScreenDevice object.
       
  9580 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9581 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9582 //!                         6. Set the useFont.
       
  9583 //!                         7. Draw a line of the text.
       
  9584 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9585 //! @SYMTestStatus          Implemented
       
  9586 //! @SYMTestPriority        High
       
  9587 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
  9588 //! @SYMTestType            CIT
       
  9589 
       
  9590     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9591         CREATE_OBJECT       RFbsSession          fbsSession
       
  9592         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9593         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9594         CREATE_OBJECT       CFbsFont          	 font
       
  9595         COMMAND             fbsSession           Connect
       
  9596         COMMAND             fbsBitGc             NewL
       
  9597         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0464-NewL_command03
       
  9598         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0464-Activate_command04
       
  9599         COMMAND             fbsBitGc             Clear
       
  9600         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0464-SetPenColor_command06
       
  9601         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0464-GetNearestFontToDesignHeightInPixels_command07
       
  9602         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0464-UseFont_command08
       
  9603         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0464-DrawText_command09
       
  9604         DELAY               500000
       
  9605         COMMAND             fbsBitGc             DiscardFont 
       
  9606         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0464-ReleaseFont_command12
       
  9607         COMMAND             fbsScrDev            Update    
       
  9608         COMMAND             fbsSession           Disconnect
       
  9609         COMMAND             fbsBitGc             ~
       
  9610         COMMAND             fbsScrDev            ~
       
  9611     END_TEST_BLOCK
       
  9612 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0464
       
  9613 
       
  9614 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465
       
  9615 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465
       
  9616 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt).
       
  9617 //! @SYMAuthor              Wei Liu
       
  9618 //! @SYMCreationDate        25/12/2008
       
  9619 //! @SYMTestCaseDesc        Draw a line of text within a rectangle.
       
  9620 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9621 //!                         2. Create a CFbsBitGc object.
       
  9622 //!                         3. Create a CFbsScreenDevice object.
       
  9623 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9624 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9625 //!                         6. Set the useFont.
       
  9626 //!                         7. Draw a line of the text within the rectangle.
       
  9627 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9628 //! @SYMTestStatus          Implemented
       
  9629 //! @SYMTestPriority        High
       
  9630 //! @SYMTestExpectedResults A line of the text will be drawn without any panic.
       
  9631 //! @SYMTestType            CIT
       
  9632 
       
  9633     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9634         CREATE_OBJECT       RFbsSession          fbsSession
       
  9635         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9636         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9637         CREATE_OBJECT       CFbsFont          	 font
       
  9638         COMMAND             fbsSession           Connect
       
  9639         COMMAND             fbsBitGc             NewL
       
  9640         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465-NewL_command03
       
  9641         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465-Activate_command04
       
  9642         COMMAND             fbsBitGc             Clear
       
  9643         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465-SetPenColor_command06
       
  9644         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465-GetNearestFontToDesignHeightInPixels_command07
       
  9645         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465-UseFont_command08
       
  9646         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465-DrawText_command09        
       
  9647         DELAY               500000
       
  9648         COMMAND             fbsBitGc             Clear
       
  9649         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465-DrawText_command12
       
  9650         DELAY               500000
       
  9651         COMMAND             fbsBitGc             DiscardFont 
       
  9652         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465-ReleaseFont_command15
       
  9653         COMMAND             fbsScrDev            Update    
       
  9654         COMMAND             fbsSession           Disconnect
       
  9655         COMMAND             fbsBitGc             ~
       
  9656         COMMAND             fbsScrDev            ~
       
  9657      END_TEST_BLOCK
       
  9658 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0465
       
  9659 
       
  9660 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466
       
  9661 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466
       
  9662 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt).
       
  9663 //! @SYMAuthor              Wei Liu
       
  9664 //! @SYMCreationDate        25/12/2008
       
  9665 //! @SYMTestCaseDesc        Negtive case,Draw a line of text with Null input and bad aTextWidth.
       
  9666 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9667 //!                         2. Create a CFbsBitGc object.
       
  9668 //!                         3. Create a CFbsScreenDevice object.
       
  9669 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9670 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9671 //!                         6. Set the useFont.
       
  9672 //!                         7. Draw a line of the text with bad params.
       
  9673 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9674 //! @SYMTestStatus          Implemented
       
  9675 //! @SYMTestPriority        High
       
  9676 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9677 //! @SYMTestType            CIT
       
  9678 
       
  9679     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9680         CREATE_OBJECT       RFbsSession          fbsSession
       
  9681         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9682         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9683         CREATE_OBJECT       CFbsFont          	 font
       
  9684         COMMAND             fbsSession           Connect
       
  9685         COMMAND             fbsBitGc             NewL
       
  9686         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466-NewL_command03
       
  9687         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466-Activate_command04
       
  9688         COMMAND             fbsBitGc             Clear
       
  9689         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466-SetPenColor_command06
       
  9690         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466-GetNearestFontToDesignHeightInPixels_command07
       
  9691         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466-UseFont_command08
       
  9692         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466-DrawText_command09        
       
  9693         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466-DrawText_command10
       
  9694         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466-DrawText_command11
       
  9695         DELAY               500000
       
  9696         COMMAND             fbsBitGc             DiscardFont 
       
  9697         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466-ReleaseFont_command14
       
  9698         COMMAND             fbsScrDev            Update    
       
  9699         COMMAND             fbsSession           Disconnect
       
  9700         COMMAND             fbsBitGc             ~
       
  9701         COMMAND             fbsScrDev            ~
       
  9702      END_TEST_BLOCK
       
  9703 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0466
       
  9704 
       
  9705 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0467
       
  9706 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0467
       
  9707 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt).
       
  9708 //! @SYMAuthor              Wei Liu
       
  9709 //! @SYMCreationDate        25/12/2008
       
  9710 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(negtive position).
       
  9711 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9712 //!                         2. Create a CFbsBitGc object.
       
  9713 //!                         3. Create a CFbsScreenDevice object.
       
  9714 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9715 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9716 //!                         6. Set the useFont.
       
  9717 //!                         7. Draw a line of the text.
       
  9718 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9719 //! @SYMTestStatus          Implemented
       
  9720 //! @SYMTestPriority        High
       
  9721 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9722 //! @SYMTestType            CIT
       
  9723 
       
  9724     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9725         CREATE_OBJECT       RFbsSession          fbsSession
       
  9726         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9727         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9728         CREATE_OBJECT       CFbsFont          	 font
       
  9729         COMMAND             fbsSession           Connect
       
  9730         COMMAND             fbsBitGc             NewL
       
  9731         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0467-NewL_command03
       
  9732         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0467-Activate_command04
       
  9733         COMMAND             fbsBitGc             Clear
       
  9734         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0467-SetPenColor_command06
       
  9735         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0467-GetNearestFontToDesignHeightInPixels_command07
       
  9736         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0467-UseFont_command08
       
  9737         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0467-DrawText_command09
       
  9738         DELAY               500000
       
  9739         COMMAND             fbsBitGc             DiscardFont 
       
  9740         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0467-ReleaseFont_command12
       
  9741         COMMAND             fbsScrDev            Update    
       
  9742         COMMAND             fbsSession           Disconnect
       
  9743         COMMAND             fbsBitGc             ~
       
  9744         COMMAND             fbsScrDev            ~
       
  9745     END_TEST_BLOCK
       
  9746 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0467
       
  9747 
       
  9748 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0468
       
  9749 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0468
       
  9750 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt).
       
  9751 //! @SYMAuthor              Wei Liu
       
  9752 //! @SYMCreationDate        25/12/2008
       
  9753 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(too big position).
       
  9754 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9755 //!                         2. Create a CFbsBitGc object.
       
  9756 //!                         3. Create a CFbsScreenDevice object.
       
  9757 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9758 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9759 //!                         6. Set the useFont.
       
  9760 //!                         7. Draw a line of the text.
       
  9761 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9762 //! @SYMTestStatus          Implemented
       
  9763 //! @SYMTestPriority        High
       
  9764 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9765 //! @SYMTestType            CIT
       
  9766 
       
  9767     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9768         CREATE_OBJECT       RFbsSession          fbsSession
       
  9769         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9770         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9771         CREATE_OBJECT       CFbsFont          	 font
       
  9772         COMMAND             fbsSession           Connect
       
  9773         COMMAND             fbsBitGc             NewL
       
  9774         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0468-NewL_command03
       
  9775         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0468-Activate_command04
       
  9776         COMMAND             fbsBitGc             Clear
       
  9777         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0468-SetPenColor_command06
       
  9778         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0468-GetNearestFontToDesignHeightInPixels_command07
       
  9779         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0468-UseFont_command08
       
  9780         COMMAND 			fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0468-DrawText_command09
       
  9781         DELAY               500000
       
  9782         COMMAND             fbsBitGc             DiscardFont 
       
  9783         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0468-ReleaseFont_command12
       
  9784         COMMAND             fbsScrDev            Update    
       
  9785         COMMAND             fbsSession           Disconnect
       
  9786         COMMAND             fbsBitGc             ~
       
  9787         COMMAND             fbsScrDev            ~
       
  9788     END_TEST_BLOCK
       
  9789 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0468
       
  9790 
       
  9791 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0469
       
  9792 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0469
       
  9793 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt).
       
  9794 //! @SYMAuthor              Wei Liu
       
  9795 //! @SYMCreationDate        25/12/2008
       
  9796 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is bigger than iEnd).
       
  9797 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9798 //!                         2. Create a CFbsBitGc object.
       
  9799 //!                         3. Create a CFbsScreenDevice object.
       
  9800 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9801 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9802 //!                         6. Set the useFont.
       
  9803 //!                         7. Draw a line of the text.
       
  9804 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9805 //! @SYMTestStatus          Implemented
       
  9806 //! @SYMTestPriority        High
       
  9807 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9808 //! @SYMTestType            CIT
       
  9809 
       
  9810     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9811         CREATE_OBJECT       RFbsSession          fbsSession
       
  9812         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9813         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9814         CREATE_OBJECT       CFbsFont          	 font
       
  9815         COMMAND             fbsSession           Connect
       
  9816         COMMAND             fbsBitGc             NewL
       
  9817         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0469-NewL_command03
       
  9818         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0469-Activate_command04
       
  9819         COMMAND             fbsBitGc             Clear
       
  9820         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0469-SetPenColor_command06
       
  9821         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0469-GetNearestFontToDesignHeightInPixels_command07
       
  9822         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0469-UseFont_command08
       
  9823         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0469-DrawText_command09
       
  9824         DELAY               500000
       
  9825         COMMAND             fbsBitGc             DiscardFont 
       
  9826         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0469-ReleaseFont_command12
       
  9827         COMMAND             fbsScrDev            Update    
       
  9828         COMMAND             fbsSession           Disconnect
       
  9829         COMMAND             fbsBitGc             ~
       
  9830         COMMAND             fbsScrDev            ~
       
  9831     END_TEST_BLOCK
       
  9832 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0469
       
  9833 
       
  9834 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0470
       
  9835 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0470
       
  9836 //! @SYMAPI                 CFbsBitGc::DrawText(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt).
       
  9837 //! @SYMAuthor              Wei Liu
       
  9838 //! @SYMCreationDate        25/12/2008
       
  9839 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is equal to iEnd).
       
  9840 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9841 //!                         2. Create a CFbsBitGc object.
       
  9842 //!                         3. Create a CFbsScreenDevice object.
       
  9843 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9844 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9845 //!                         6. Set the useFont.
       
  9846 //!                         7. Draw a line of the text.
       
  9847 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9848 //! @SYMTestStatus          Implemented
       
  9849 //! @SYMTestPriority        High
       
  9850 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9851 //! @SYMTestType            CIT
       
  9852 
       
  9853     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9854         CREATE_OBJECT       RFbsSession          fbsSession
       
  9855         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9856         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9857         CREATE_OBJECT       CFbsFont          	 font
       
  9858         COMMAND             fbsSession           Connect
       
  9859         COMMAND             fbsBitGc             NewL
       
  9860         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0470-NewL_command03
       
  9861         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0470-Activate_command04
       
  9862         COMMAND             fbsBitGc             Clear
       
  9863         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0470-SetPenColor_command06
       
  9864         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0470-GetNearestFontToDesignHeightInPixels_command07
       
  9865         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0470-UseFont_command08
       
  9866         COMMAND             fbsBitGc             DrawText      								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0470-DrawText_command09
       
  9867         DELAY               500000
       
  9868         COMMAND             fbsBitGc             DiscardFont 
       
  9869         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0470-ReleaseFont_command12
       
  9870         COMMAND             fbsScrDev            Update    
       
  9871         COMMAND             fbsSession           Disconnect
       
  9872         COMMAND             fbsBitGc             ~
       
  9873         COMMAND             fbsScrDev            ~
       
  9874     END_TEST_BLOCK
       
  9875 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0470
       
  9876 
       
  9877 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471
       
  9878 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471
       
  9879 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
  9880 //! @SYMAuthor              Wei Liu
       
  9881 //! @SYMCreationDate        25/12/2008
       
  9882 //! @SYMTestCaseDesc        Draw a vertical line of the text at the specific position.
       
  9883 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9884 //!                         2. Create a CFbsBitGc object.
       
  9885 //!                         3. Create a CFbsScreenDevice object.
       
  9886 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9887 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9888 //!                         6. Set the useFont.
       
  9889 //!							7. Set the current position to the TTextParameter.
       
  9890 //!                         8. Draw a vertical line of the text.
       
  9891 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9892 //! @SYMTestStatus          Implemented
       
  9893 //! @SYMTestPriority        High
       
  9894 //! @SYMTestExpectedResults A vertical line of text will be drawn without any panic.
       
  9895 //! @SYMTestType            CIT
       
  9896 
       
  9897     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9898         CREATE_OBJECT       RFbsSession          fbsSession
       
  9899         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9900         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9901         CREATE_OBJECT       CFbsFont          	 font
       
  9902         COMMAND             fbsSession           Connect
       
  9903         COMMAND             fbsBitGc             NewL
       
  9904         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471-NewL_command03
       
  9905         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471-Activate_command04
       
  9906         COMMAND             fbsBitGc             Clear
       
  9907         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471-SetPenColor_command06
       
  9908         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471-GetNearestFontToDesignHeightInPixels_command07
       
  9909         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471-UseFont_command08
       
  9910         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471-MoveTo_command09
       
  9911         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471-DrawTextVertical_command10
       
  9912         DELAY               500000
       
  9913         COMMAND             fbsBitGc             Clear
       
  9914         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471-DrawTextVertical_command13
       
  9915         DELAY               500000
       
  9916         COMMAND             fbsBitGc             Clear
       
  9917         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471-DrawTextVertical_command16
       
  9918         DELAY               500000
       
  9919         COMMAND             fbsBitGc             DiscardFont 
       
  9920         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471-ReleaseFont_command19
       
  9921         COMMAND             fbsScrDev            Update    
       
  9922         COMMAND             fbsSession           Disconnect
       
  9923         COMMAND             fbsBitGc             ~
       
  9924         COMMAND             fbsScrDev            ~
       
  9925      END_TEST_BLOCK
       
  9926 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0471
       
  9927 
       
  9928 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472
       
  9929 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472
       
  9930 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
  9931 //! @SYMAuthor              Wei Liu
       
  9932 //! @SYMCreationDate        25/12/2008
       
  9933 //! @SYMTestCaseDesc        Negitive case, Set the TDesC is Null.
       
  9934 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9935 //!                         2. Create a CFbsBitGc object.
       
  9936 //!                         3. Create a CFbsScreenDevice object.
       
  9937 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9938 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9939 //!                         6. Set the useFont.
       
  9940 //!							7. Set the current position to the point(20,20).
       
  9941 //!                         8. Draw a line of the text.
       
  9942 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9943 //! @SYMTestStatus          Implemented
       
  9944 //! @SYMTestPriority        High
       
  9945 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9946 //! @SYMTestType            CIT
       
  9947 
       
  9948     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9949         CREATE_OBJECT       RFbsSession          fbsSession
       
  9950         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9951         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9952         CREATE_OBJECT       CFbsFont          	 font
       
  9953         COMMAND             fbsSession           Connect
       
  9954         COMMAND             fbsBitGc             NewL
       
  9955         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472-NewL_command03
       
  9956         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472-Activate_command04
       
  9957         COMMAND             fbsBitGc             Clear
       
  9958         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472-SetPenColor_command06
       
  9959         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472-GetNearestFontToDesignHeightInPixels_command07
       
  9960         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472-UseFont_command08
       
  9961         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472-MoveTo_command09
       
  9962         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472-DrawTextVertical_command10
       
  9963         DELAY               500000
       
  9964         COMMAND             fbsBitGc             DiscardFont 
       
  9965         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472-ReleaseFont_command13
       
  9966         COMMAND             fbsScrDev            Update    
       
  9967         COMMAND             fbsSession           Disconnect
       
  9968         COMMAND             fbsBitGc             ~
       
  9969         COMMAND             fbsScrDev            ~     
       
  9970     END_TEST_BLOCK
       
  9971 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0472
       
  9972 
       
  9973 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473
       
  9974 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473
       
  9975 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
  9976 //! @SYMAuthor              Wei Liu
       
  9977 //! @SYMCreationDate        25/12/2008
       
  9978 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(negtive position).
       
  9979 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
  9980 //!                         2. Create a CFbsBitGc object.
       
  9981 //!                         3. Create a CFbsScreenDevice object.
       
  9982 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
  9983 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
  9984 //!                         6. Set the useFont.
       
  9985 //!							7. Set the current position to the point(20,20).
       
  9986 //!                         8. Draw a vertical line of the text.
       
  9987 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
  9988 //! @SYMTestStatus          Implemented
       
  9989 //! @SYMTestPriority        High
       
  9990 //! @SYMTestExpectedResults Nothing will be drawn.
       
  9991 //! @SYMTestType            CIT
       
  9992 
       
  9993     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
  9994         CREATE_OBJECT       RFbsSession          fbsSession
       
  9995         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
  9996         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
  9997         CREATE_OBJECT       CFbsFont          	 font
       
  9998         COMMAND             fbsSession           Connect
       
  9999         COMMAND             fbsBitGc             NewL
       
 10000         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473-NewL_command03
       
 10001         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473-Activate_command04
       
 10002         COMMAND             fbsBitGc             Clear
       
 10003         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473-SetPenColor_command06
       
 10004         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473-GetNearestFontToDesignHeightInPixels_command07
       
 10005         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473-UseFont_command08
       
 10006         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473-MoveTo_command09
       
 10007         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473-DrawTextVertical_command10
       
 10008 	    DELAY               500000
       
 10009         COMMAND             fbsBitGc             DiscardFont 
       
 10010         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473-ReleaseFont_command13
       
 10011         COMMAND             fbsScrDev            Update    
       
 10012         COMMAND             fbsSession           Disconnect
       
 10013         COMMAND             fbsBitGc             ~
       
 10014         COMMAND             fbsScrDev            ~ 
       
 10015     END_TEST_BLOCK
       
 10016 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0473
       
 10017 
       
 10018 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474
       
 10019 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474
       
 10020 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
 10021 //! @SYMAuthor              Wei Liu
       
 10022 //! @SYMCreationDate        25/12/2008
       
 10023 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(too big position).
       
 10024 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10025 //!                         2. Create a CFbsBitGc object.
       
 10026 //!                         3. Create a CFbsScreenDevice object.
       
 10027 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10028 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10029 //!                         6. Set the useFont.
       
 10030 //!							7. Set the current position to the point(20,20).
       
 10031 //!                         8. Draw a line of the text.
       
 10032 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10033 //! @SYMTestStatus          Implemented
       
 10034 //! @SYMTestPriority        High
       
 10035 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10036 //! @SYMTestType            CIT
       
 10037 
       
 10038     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10039         CREATE_OBJECT       RFbsSession          fbsSession
       
 10040         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10041         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10042         CREATE_OBJECT       CFbsFont          	 font
       
 10043         COMMAND             fbsSession           Connect
       
 10044         COMMAND             fbsBitGc             NewL
       
 10045         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474-NewL_command03
       
 10046         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474-Activate_command04
       
 10047         COMMAND             fbsBitGc             Clear
       
 10048         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474-SetPenColor_command06
       
 10049         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474-GetNearestFontToDesignHeightInPixels_command07
       
 10050         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474-UseFont_command08
       
 10051         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474-MoveTo_command09
       
 10052         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474-DrawTextVertical_command10
       
 10053         DELAY               500000
       
 10054         COMMAND             fbsBitGc             DiscardFont 
       
 10055         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474-ReleaseFont_command13
       
 10056         COMMAND             fbsScrDev            Update    
       
 10057         COMMAND             fbsSession           Disconnect
       
 10058         COMMAND             fbsBitGc             ~
       
 10059         COMMAND             fbsScrDev            ~   
       
 10060     END_TEST_BLOCK
       
 10061 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0474
       
 10062 
       
 10063 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475
       
 10064 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475
       
 10065 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
 10066 //! @SYMAuthor              Wei Liu
       
 10067 //! @SYMCreationDate        25/12/2008
       
 10068 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is equal to iEnd).
       
 10069 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10070 //!                         2. Create a CFbsBitGc object.
       
 10071 //!                         3. Create a CFbsScreenDevice object.
       
 10072 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10073 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10074 //!                         6. Set the useFont.
       
 10075 //!							7. Set the current position to the point(20,20).
       
 10076 //!                         8. Draw a vertical line of the text.
       
 10077 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10078 //! @SYMTestStatus          Implemented
       
 10079 //! @SYMTestPriority        High
       
 10080 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10081 //! @SYMTestType            CIT
       
 10082 
       
 10083     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10084         CREATE_OBJECT       RFbsSession          fbsSession
       
 10085         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10086         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10087         CREATE_OBJECT       CFbsFont          	 font
       
 10088         COMMAND             fbsSession           Connect
       
 10089         COMMAND             fbsBitGc             NewL
       
 10090         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475-NewL_command03
       
 10091         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475-Activate_command04
       
 10092         COMMAND             fbsBitGc             Clear
       
 10093         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475-SetPenColor_command06
       
 10094         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475-GetNearestFontToDesignHeightInPixels_command07
       
 10095         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475-UseFont_command08
       
 10096         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475-MoveTo_command09
       
 10097         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475-DrawTextVertical_command10
       
 10098 	    DELAY               500000
       
 10099         COMMAND             fbsBitGc             DiscardFont 
       
 10100         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475-ReleaseFont_command13
       
 10101         COMMAND             fbsScrDev            Update    
       
 10102         COMMAND             fbsSession           Disconnect
       
 10103         COMMAND             fbsBitGc             ~
       
 10104         COMMAND             fbsScrDev            ~ 
       
 10105     END_TEST_BLOCK
       
 10106 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0475
       
 10107 
       
 10108 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476
       
 10109 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476
       
 10110 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
 10111 //! @SYMAuthor              Wei Liu
       
 10112 //! @SYMCreationDate        25/12/2008
       
 10113 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is bigger than iEnd).
       
 10114 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10115 //!                         2. Create a CFbsBitGc object.
       
 10116 //!                         3. Create a CFbsScreenDevice object.
       
 10117 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10118 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10119 //!                         6. Set the useFont.
       
 10120 //!							7. Set the current position to the point(20,20).
       
 10121 //!                         8. Draw a vertical line of the text.
       
 10122 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10123 //! @SYMTestStatus          Implemented
       
 10124 //! @SYMTestPriority        High
       
 10125 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10126 //! @SYMTestType            CIT
       
 10127 
       
 10128     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10129         CREATE_OBJECT       RFbsSession          fbsSession
       
 10130         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10131         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10132         CREATE_OBJECT       CFbsFont          	 font
       
 10133         COMMAND             fbsSession           Connect
       
 10134         COMMAND             fbsBitGc             NewL
       
 10135         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476-NewL_command03
       
 10136         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476-Activate_command04
       
 10137         COMMAND             fbsBitGc             Clear
       
 10138         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476-SetPenColor_command06
       
 10139         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476-GetNearestFontToDesignHeightInPixels_command07
       
 10140         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476-UseFont_command08
       
 10141         COMMAND				fbsBitGc			 MoveTo										GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476-MoveTo_command09
       
 10142         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476-DrawTextVertical_command10
       
 10143 	    DELAY               500000
       
 10144         COMMAND             fbsBitGc             DiscardFont 
       
 10145         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476-ReleaseFont_command13
       
 10146         COMMAND             fbsScrDev            Update    
       
 10147         COMMAND             fbsSession           Disconnect
       
 10148         COMMAND             fbsBitGc             ~
       
 10149         COMMAND             fbsScrDev            ~
       
 10150     END_TEST_BLOCK 
       
 10151 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0476
       
 10152 
       
 10153 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477
       
 10154 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477
       
 10155 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref), TBool).
       
 10156 //! @SYMAuthor              Wei Liu
       
 10157 //! @SYMCreationDate        25/12/2008
       
 10158 //! @SYMTestCaseDesc        Draw a vertical line of text at the specific position.
       
 10159 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10160 //!                         2. Create a CFbsBitGc object.
       
 10161 //!                         3. Create a CFbsScreenDevice object.
       
 10162 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10163 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10164 //!                         6. Set the useFont.
       
 10165 //!                         7. Draw a vertical line of the text at the beginning point(20,30).
       
 10166 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10167 //! @SYMTestStatus          Implemented
       
 10168 //! @SYMTestPriority        High
       
 10169 //! @SYMTestExpectedResults A vertical line of text will be drawn without any panic.
       
 10170 //! @SYMTestType            CIT
       
 10171 
       
 10172     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10173         CREATE_OBJECT       RFbsSession          fbsSession
       
 10174         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10175         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10176         CREATE_OBJECT       CFbsFont          	 font
       
 10177         COMMAND             fbsSession           Connect
       
 10178         COMMAND             fbsBitGc             NewL
       
 10179         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477-NewL_command03
       
 10180         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477-Activate_command04
       
 10181         COMMAND             fbsBitGc             Clear
       
 10182         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477-SetPenColor_command06
       
 10183         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477-GetNearestFontToDesignHeightInPixels_command07
       
 10184         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477-UseFont_command08
       
 10185         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477-DrawTextVertical_command09
       
 10186         DELAY               500000
       
 10187         COMMAND             fbsBitGc             Clear
       
 10188         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477-DrawTextVertical_command12
       
 10189         DELAY               500000
       
 10190         COMMAND             fbsBitGc             DiscardFont 
       
 10191         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477-ReleaseFont_command15
       
 10192         COMMAND             fbsScrDev            Update    
       
 10193         COMMAND             fbsSession           Disconnect
       
 10194         COMMAND             fbsBitGc             ~
       
 10195         COMMAND             fbsScrDev            ~
       
 10196      END_TEST_BLOCK
       
 10197 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0477
       
 10198 
       
 10199 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478
       
 10200 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478
       
 10201 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref), TBool).
       
 10202 //! @SYMAuthor              Wei Liu
       
 10203 //! @SYMCreationDate        25/12/2008
       
 10204 //! @SYMTestCaseDesc        Negitive case, Set the TDesC is Null and bad Point.
       
 10205 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10206 //!                         2. Create a CFbsBitGc object.
       
 10207 //!                         3. Create a CFbsScreenDevice object.
       
 10208 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10209 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10210 //!                         6. Set the useFont.
       
 10211 //!							7. Set the current position to the point(20,20).
       
 10212 //!                         8. Draw a line of the text.
       
 10213 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10214 //! @SYMTestStatus          Implemented
       
 10215 //! @SYMTestPriority        High
       
 10216 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10217 //! @SYMTestType            CIT
       
 10218 
       
 10219     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10220         CREATE_OBJECT       RFbsSession          fbsSession
       
 10221         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10222         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10223         CREATE_OBJECT       CFbsFont          	 font
       
 10224         COMMAND             fbsSession           Connect
       
 10225         COMMAND             fbsBitGc             NewL
       
 10226         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478-NewL_command03
       
 10227         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478-Activate_command04
       
 10228         COMMAND             fbsBitGc             Clear
       
 10229         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478-SetPenColor_command06
       
 10230         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478-GetNearestFontToDesignHeightInPixels_command07
       
 10231         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478-UseFont_command08
       
 10232         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478-DrawTextVertical_command09
       
 10233         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478-DrawTextVertical_command10
       
 10234         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478-DrawTextVertical_command11
       
 10235         DELAY               500000
       
 10236         COMMAND             fbsBitGc             DiscardFont 
       
 10237         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478-ReleaseFont_command14
       
 10238         COMMAND             fbsScrDev            Update    
       
 10239         COMMAND             fbsSession           Disconnect
       
 10240         COMMAND             fbsBitGc             ~
       
 10241         COMMAND             fbsScrDev            ~     
       
 10242     END_TEST_BLOCK
       
 10243 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0478
       
 10244 
       
 10245 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0479
       
 10246 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0479
       
 10247 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref), TBool).
       
 10248 //! @SYMAuthor              Wei Liu
       
 10249 //! @SYMCreationDate        25/12/2008
       
 10250 //! @SYMTestCaseDesc        Negitive case, Draw text with bad TTextParameters(negtive position).
       
 10251 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10252 //!                         2. Create a CFbsBitGc object.
       
 10253 //!                         3. Create a CFbsScreenDevice object.
       
 10254 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10255 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10256 //!                         6. Set the useFont.
       
 10257 //!							7. Set the current position to the point(20,20).
       
 10258 //!                         8. Draw a line of the text.
       
 10259 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10260 //! @SYMTestStatus          Implemented
       
 10261 //! @SYMTestPriority        High
       
 10262 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10263 //! @SYMTestType            CIT
       
 10264 
       
 10265     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10266         CREATE_OBJECT       RFbsSession          fbsSession
       
 10267         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10268         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10269         CREATE_OBJECT       CFbsFont          	 font
       
 10270         COMMAND             fbsSession           Connect
       
 10271         COMMAND             fbsBitGc             NewL
       
 10272         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0479-NewL_command03
       
 10273         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0479-Activate_command04
       
 10274         COMMAND             fbsBitGc             Clear
       
 10275         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0479-SetPenColor_command06
       
 10276         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0479-GetNearestFontToDesignHeightInPixels_command07
       
 10277         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0479-UseFont_command08
       
 10278         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0479-DrawTextVertical_command09
       
 10279 	    DELAY               500000
       
 10280         COMMAND             fbsBitGc             DiscardFont 
       
 10281         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0479-ReleaseFont_command12
       
 10282         COMMAND             fbsScrDev            Update    
       
 10283         COMMAND             fbsSession           Disconnect
       
 10284         COMMAND             fbsBitGc             ~
       
 10285         COMMAND             fbsScrDev            ~ 
       
 10286     END_TEST_BLOCK 
       
 10287 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0479
       
 10288 
       
 10289 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0480
       
 10290 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0480
       
 10291 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref), TBool).
       
 10292 //! @SYMAuthor              Wei Liu
       
 10293 //! @SYMCreationDate        25/12/2008
       
 10294 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(too big position).
       
 10295 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10296 //!                         2. Create a CFbsBitGc object.
       
 10297 //!                         3. Create a CFbsScreenDevice object.
       
 10298 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10299 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10300 //!                         6. Set the useFont.
       
 10301 //!							7. Set the current position to the point(20,20).
       
 10302 //!                         8. Draw a line of the text.
       
 10303 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10304 //! @SYMTestStatus          Implemented
       
 10305 //! @SYMTestPriority        High
       
 10306 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10307 //! @SYMTestType            CIT
       
 10308 
       
 10309     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10310         CREATE_OBJECT       RFbsSession          fbsSession
       
 10311         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10312         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10313         CREATE_OBJECT       CFbsFont          	 font
       
 10314         COMMAND             fbsSession           Connect
       
 10315         COMMAND             fbsBitGc             NewL
       
 10316         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0480-NewL_command03
       
 10317         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0480-Activate_command04
       
 10318         COMMAND             fbsBitGc             Clear
       
 10319         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0480-SetPenColor_command06
       
 10320         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0480-GetNearestFontToDesignHeightInPixels_command07
       
 10321         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0480-UseFont_command08
       
 10322         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0480-DrawTextVertical_command09
       
 10323         DELAY               500000
       
 10324         COMMAND             fbsBitGc             DiscardFont 
       
 10325         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0480-ReleaseFont_command12
       
 10326         COMMAND             fbsScrDev            Update    
       
 10327         COMMAND             fbsSession           Disconnect
       
 10328         COMMAND             fbsBitGc             ~
       
 10329         COMMAND             fbsScrDev            ~ 
       
 10330     END_TEST_BLOCK
       
 10331 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0480
       
 10332 
       
 10333 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0481
       
 10334 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0481
       
 10335 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref), TBool).
       
 10336 //! @SYMAuthor              Wei Liu
       
 10337 //! @SYMCreationDate        25/12/2008
       
 10338 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is equal to iEnd).
       
 10339 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10340 //!                         2. Create a CFbsBitGc object.
       
 10341 //!                         3. Create a CFbsScreenDevice object.
       
 10342 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10343 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10344 //!                         6. Set the useFont.
       
 10345 //!							7. Set the current position to the point(20,20).
       
 10346 //!                         8. Draw a line of the text.
       
 10347 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10348 //! @SYMTestStatus          Implemented
       
 10349 //! @SYMTestPriority        High
       
 10350 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10351 //! @SYMTestType            CIT
       
 10352 
       
 10353     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10354         CREATE_OBJECT       RFbsSession          fbsSession
       
 10355         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10356         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10357         CREATE_OBJECT       CFbsFont          	 font
       
 10358         COMMAND             fbsSession           Connect
       
 10359         COMMAND             fbsBitGc             NewL
       
 10360         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0481-NewL_command03
       
 10361         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0481-Activate_command04
       
 10362         COMMAND             fbsBitGc             Clear
       
 10363         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0481-SetPenColor_command06
       
 10364         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0481-GetNearestFontToDesignHeightInPixels_command07
       
 10365         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0481-UseFont_command08
       
 10366         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0481-DrawTextVertical_command09
       
 10367 	    DELAY               500000
       
 10368         COMMAND             fbsBitGc             DiscardFont 
       
 10369         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0481-ReleaseFont_command12
       
 10370         COMMAND             fbsScrDev            Update    
       
 10371         COMMAND             fbsSession           Disconnect
       
 10372         COMMAND             fbsBitGc             ~
       
 10373         COMMAND             fbsScrDev            ~ 
       
 10374     END_TEST_BLOCK
       
 10375 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0481
       
 10376 
       
 10377 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0482
       
 10378 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0482
       
 10379 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TPoint(ref), TBool).
       
 10380 //! @SYMAuthor              Wei Liu
       
 10381 //! @SYMCreationDate        25/12/2008
       
 10382 //! @SYMTestCaseDesc        Negitive case, DrawText with bad TTextParameters(iStart is bigger than iEnd).
       
 10383 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10384 //!                         2. Create a CFbsBitGc object.
       
 10385 //!                         3. Create a CFbsScreenDevice object.
       
 10386 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10387 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10388 //!                         6. Set the useFont.
       
 10389 //!							7. Set the current position to the point(20,20).
       
 10390 //!                         8. Draw a line of the text.
       
 10391 //!                         9. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10392 //! @SYMTestStatus          Implemented
       
 10393 //! @SYMTestPriority        High
       
 10394 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10395 //! @SYMTestType            CIT
       
 10396 
       
 10397     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10398         CREATE_OBJECT       RFbsSession          fbsSession
       
 10399         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10400         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10401         CREATE_OBJECT       CFbsFont          	 font
       
 10402         COMMAND             fbsSession           Connect
       
 10403         COMMAND             fbsBitGc             NewL
       
 10404         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0482-NewL_command03
       
 10405         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0482-Activate_command04
       
 10406         COMMAND             fbsBitGc             Clear
       
 10407         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0482-SetPenColor_command06
       
 10408         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0482-GetNearestFontToDesignHeightInPixels_command07
       
 10409         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0482-UseFont_command08
       
 10410         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0482-DrawTextVertical_command09
       
 10411 	    DELAY               500000
       
 10412         COMMAND             fbsBitGc             DiscardFont 
       
 10413         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0482-ReleaseFont_command12
       
 10414         COMMAND             fbsScrDev            Update    
       
 10415         COMMAND             fbsSession           Disconnect
       
 10416         COMMAND             fbsBitGc             ~
       
 10417         COMMAND             fbsScrDev            ~ 
       
 10418     END_TEST_BLOCK
       
 10419 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0482
       
 10420 
       
 10421 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483
       
 10422 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483
       
 10423 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TBool).
       
 10424 //! @SYMAuthor              Wei Liu
       
 10425 //! @SYMCreationDate        25/12/2008
       
 10426 //! @SYMTestCaseDesc        Draw a vertical line of text within the clipping rectangle(0,0,100,200).
       
 10427 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10428 //!                         2. Create a CFbsBitGc object.
       
 10429 //!                         3. Create a CFbsScreenDevice object.
       
 10430 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10431 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10432 //!                         6. Set the useFont.
       
 10433 //!                         7. Draw a vertical line of the text within the clipping rectangle.
       
 10434 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10435 //! @SYMTestStatus          Implemented
       
 10436 //! @SYMTestPriority        High
       
 10437 //! @SYMTestExpectedResults A vertical line of text will be drawn within the rectangle.
       
 10438 //! @SYMTestType            CIT
       
 10439 
       
 10440     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10441         CREATE_OBJECT       RFbsSession          fbsSession
       
 10442         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10443         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10444         CREATE_OBJECT       CFbsFont          	 font
       
 10445         COMMAND             fbsSession           Connect
       
 10446         COMMAND             fbsBitGc             NewL
       
 10447         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483-NewL_command03
       
 10448         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483-Activate_command04
       
 10449         COMMAND             fbsBitGc             Clear
       
 10450         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483-SetPenColor_command06
       
 10451         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483-GetNearestFontToDesignHeightInPixels_command07
       
 10452         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483-UseFont_command08
       
 10453         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483-DrawTextVertical_command09
       
 10454         DELAY               500000
       
 10455         COMMAND             fbsBitGc             Clear
       
 10456         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483-DrawTextVertical_command12
       
 10457         DELAY               500000
       
 10458         COMMAND             fbsBitGc             DiscardFont 
       
 10459         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483-ReleaseFont_command15
       
 10460         COMMAND             fbsScrDev            Update    
       
 10461         COMMAND             fbsSession           Disconnect
       
 10462         COMMAND             fbsBitGc             ~
       
 10463         COMMAND             fbsScrDev            ~
       
 10464      END_TEST_BLOCK
       
 10465 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0483
       
 10466 
       
 10467 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484
       
 10468 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484
       
 10469 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TBool).
       
 10470 //! @SYMAuthor              Wei Liu
       
 10471 //! @SYMCreationDate        25/12/2008
       
 10472 //! @SYMTestCaseDesc        Negitve case,Draw a vertical line of text with Null input and bad TRect.
       
 10473 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10474 //!                         2. Create a CFbsBitGc object.
       
 10475 //!                         3. Create a CFbsScreenDevice object.
       
 10476 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10477 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10478 //!                         6. Set the useFont.
       
 10479 //!                         7. Draw a vertical line of the text within the clipping rectangle.
       
 10480 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10481 //! @SYMTestStatus          Implemented
       
 10482 //! @SYMTestPriority        High
       
 10483 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10484 //! @SYMTestType            CIT
       
 10485 
       
 10486     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10487         CREATE_OBJECT       RFbsSession          fbsSession
       
 10488         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10489         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10490         CREATE_OBJECT       CFbsFont          	 font
       
 10491         COMMAND             fbsSession           Connect
       
 10492         COMMAND             fbsBitGc             NewL
       
 10493         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484-NewL_command03
       
 10494         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484-Activate_command04
       
 10495         COMMAND             fbsBitGc             Clear
       
 10496         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484-SetPenColor_command06
       
 10497         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484-GetNearestFontToDesignHeightInPixels_command07
       
 10498         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484-UseFont_command08
       
 10499         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484-DrawTextVertical_command09
       
 10500         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484-DrawTextVertical_command10
       
 10501         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484-DrawTextVertical_command11
       
 10502         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484-DrawTextVertical_command12
       
 10503         DELAY               500000
       
 10504         COMMAND             fbsBitGc             DiscardFont 
       
 10505         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484-ReleaseFont_command15
       
 10506         COMMAND             fbsScrDev            Update    
       
 10507         COMMAND             fbsSession           Disconnect
       
 10508         COMMAND             fbsBitGc             ~
       
 10509         COMMAND             fbsScrDev            ~
       
 10510      END_TEST_BLOCK
       
 10511 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0484
       
 10512 
       
 10513 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0485
       
 10514 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0485
       
 10515 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TBool).
       
 10516 //! @SYMAuthor              Wei Liu
       
 10517 //! @SYMCreationDate        25/12/2008
       
 10518 //! @SYMTestCaseDesc        Negitve case,Draw a vertical with bad TTextParameters(negitive position).
       
 10519 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10520 //!                         2. Create a CFbsBitGc object.
       
 10521 //!                         3. Create a CFbsScreenDevice object.
       
 10522 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10523 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10524 //!                         6. Set the useFont.
       
 10525 //!                         7. Draw a vertical line of the text within the clipping rectangle.
       
 10526 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10527 //! @SYMTestStatus          Implemented
       
 10528 //! @SYMTestPriority        High
       
 10529 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10530 //! @SYMTestType            CIT
       
 10531 
       
 10532     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10533         CREATE_OBJECT       RFbsSession          fbsSession
       
 10534         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10535         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10536         CREATE_OBJECT       CFbsFont          	 font
       
 10537         COMMAND             fbsSession           Connect
       
 10538         COMMAND             fbsBitGc             NewL
       
 10539         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0485-NewL_command03
       
 10540         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0485-Activate_command04
       
 10541         COMMAND             fbsBitGc             Clear
       
 10542         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0485-SetPenColor_command06
       
 10543         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0485-GetNearestFontToDesignHeightInPixels_command07
       
 10544         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0485-UseFont_command08
       
 10545         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0485-DrawTextVertical_command09
       
 10546 		DELAY               500000
       
 10547         COMMAND             fbsBitGc             DiscardFont 
       
 10548         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0485-ReleaseFont_command12
       
 10549         COMMAND             fbsScrDev            Update    
       
 10550         COMMAND             fbsSession           Disconnect
       
 10551         COMMAND             fbsBitGc             ~
       
 10552         COMMAND             fbsScrDev            ~
       
 10553     END_TEST_BLOCK
       
 10554 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0485
       
 10555 
       
 10556 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0486
       
 10557 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0486
       
 10558 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TBool).
       
 10559 //! @SYMAuthor              Wei Liu
       
 10560 //! @SYMCreationDate        25/12/2008
       
 10561 //! @SYMTestCaseDesc        Negitve case,Draw a vertical line with bad TTextParameters(Too big position).
       
 10562 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10563 //!                         2. Create a CFbsBitGc object.
       
 10564 //!                         3. Create a CFbsScreenDevice object.
       
 10565 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10566 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10567 //!                         6. Set the useFont.
       
 10568 //!                         7. Draw a vertical line of the text within the clipping rectangle.
       
 10569 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10570 //! @SYMTestStatus          Implemented
       
 10571 //! @SYMTestPriority        High
       
 10572 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10573 //! @SYMTestType            CIT
       
 10574 
       
 10575     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10576         CREATE_OBJECT       RFbsSession          fbsSession
       
 10577         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10578         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10579         CREATE_OBJECT       CFbsFont          	 font
       
 10580         COMMAND             fbsSession           Connect
       
 10581         COMMAND             fbsBitGc             NewL
       
 10582         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0486-NewL_command03
       
 10583         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0486-Activate_command04
       
 10584         COMMAND             fbsBitGc             Clear
       
 10585         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0486-SetPenColor_command06
       
 10586         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0486-GetNearestFontToDesignHeightInPixels_command07
       
 10587         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0486-UseFont_command08
       
 10588         COMMAND  			fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0486-DrawTextVertical_command09
       
 10589         DELAY               500000
       
 10590         COMMAND             fbsBitGc             DiscardFont 
       
 10591         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0486-ReleaseFont_command12
       
 10592         COMMAND             fbsScrDev            Update    
       
 10593         COMMAND             fbsSession           Disconnect
       
 10594         COMMAND             fbsBitGc             ~
       
 10595         COMMAND             fbsScrDev            ~
       
 10596     END_TEST_BLOCK
       
 10597 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0486
       
 10598 
       
 10599 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0487
       
 10600 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0487
       
 10601 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TBool).
       
 10602 //! @SYMAuthor              Wei Liu
       
 10603 //! @SYMCreationDate        25/12/2008
       
 10604 //! @SYMTestCaseDesc        Negitve case,Draw a vertical with bad TTextParameters(iStart is equal to iEnd).
       
 10605 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10606 //!                         2. Create a CFbsBitGc object.
       
 10607 //!                         3. Create a CFbsScreenDevice object.
       
 10608 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10609 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10610 //!                         6. Set the useFont.
       
 10611 //!                         7. Draw a vertical line of the text within the clipping rectangle.
       
 10612 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10613 //! @SYMTestStatus          Implemented
       
 10614 //! @SYMTestPriority        High
       
 10615 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10616 //! @SYMTestType            CIT
       
 10617 
       
 10618     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10619         CREATE_OBJECT       RFbsSession          fbsSession
       
 10620         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10621         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10622         CREATE_OBJECT       CFbsFont          	 font
       
 10623         COMMAND             fbsSession           Connect
       
 10624         COMMAND             fbsBitGc             NewL
       
 10625         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0487-NewL_command03
       
 10626         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0487-Activate_command04
       
 10627         COMMAND             fbsBitGc             Clear
       
 10628         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0487-SetPenColor_command06
       
 10629         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0487-GetNearestFontToDesignHeightInPixels_command07
       
 10630         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0487-UseFont_command08
       
 10631         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0487-DrawTextVertical_command09
       
 10632 		DELAY               500000
       
 10633         COMMAND             fbsBitGc             DiscardFont 
       
 10634         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0487-ReleaseFont_command12
       
 10635         COMMAND             fbsScrDev            Update    
       
 10636         COMMAND             fbsSession           Disconnect
       
 10637         COMMAND             fbsBitGc             ~
       
 10638         COMMAND             fbsScrDev            ~
       
 10639     END_TEST_BLOCK
       
 10640 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0487
       
 10641 
       
 10642 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0488
       
 10643 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0488
       
 10644 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TBool).
       
 10645 //! @SYMAuthor              Wei Liu
       
 10646 //! @SYMCreationDate        25/12/2008
       
 10647 //! @SYMTestCaseDesc        Negitve case,Draw a vertical with bad TTextParameters(iStart is bigger than iEnd).
       
 10648 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10649 //!                         2. Create a CFbsBitGc object.
       
 10650 //!                         3. Create a CFbsScreenDevice object.
       
 10651 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10652 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10653 //!                         6. Set the useFont.
       
 10654 //!                         7. Draw a vertical line of the text within the clipping rectangle.
       
 10655 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10656 //! @SYMTestStatus          Implemented
       
 10657 //! @SYMTestPriority        High
       
 10658 //! @SYMTestExpectedResults Nothing will be drawn.
       
 10659 //! @SYMTestType            CIT
       
 10660 
       
 10661     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10662         CREATE_OBJECT       RFbsSession          fbsSession
       
 10663         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10664         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10665         CREATE_OBJECT       CFbsFont          	 font
       
 10666         COMMAND             fbsSession           Connect
       
 10667         COMMAND             fbsBitGc             NewL
       
 10668         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0488-NewL_command03
       
 10669         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0488-Activate_command04
       
 10670         COMMAND             fbsBitGc             Clear
       
 10671         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0488-SetPenColor_command06
       
 10672         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0488-GetNearestFontToDesignHeightInPixels_command07
       
 10673         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0488-UseFont_command08
       
 10674         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0488-DrawTextVertical_command09
       
 10675 		DELAY               500000
       
 10676         COMMAND             fbsBitGc             DiscardFont 
       
 10677         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0488-ReleaseFont_command12
       
 10678         COMMAND             fbsScrDev            Update    
       
 10679         COMMAND             fbsSession           Disconnect
       
 10680         COMMAND             fbsBitGc             ~
       
 10681         COMMAND             fbsScrDev            ~
       
 10682     END_TEST_BLOCK
       
 10683 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0488
       
 10684 
       
 10685 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489
       
 10686 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489
       
 10687 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt, TBool).
       
 10688 //! @SYMAuthor              Wei Liu
       
 10689 //! @SYMCreationDate        25/12/2008
       
 10690 //! @SYMTestCaseDesc        Draw a vertical line of text within the clipping rectangle with params TTextAlign=ELeft/ECenter/ERight.
       
 10691 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10692 //!                         2. Create a CFbsBitGc object.
       
 10693 //!                         3. Create a CFbsScreenDevice object.
       
 10694 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10695 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10696 //!                         6. Set the useFont.
       
 10697 //!                         7. Draw a vertical line of the text within the clipping rectangle with params TTextAlign=ELeft/ECenter/ERight.
       
 10698 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10699 //! @SYMTestStatus          Implemented
       
 10700 //! @SYMTestPriority        High
       
 10701 //! @SYMTestExpectedResults A vertical line of text will be drawn within the rectangle.
       
 10702 //! @SYMTestType            CIT
       
 10703 
       
 10704     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10705         CREATE_OBJECT       RFbsSession          fbsSession
       
 10706         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10707         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10708         CREATE_OBJECT       CFbsFont          	 font
       
 10709         COMMAND             fbsSession           Connect
       
 10710         COMMAND             fbsBitGc             NewL
       
 10711         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489-NewL_command03
       
 10712         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489-Activate_command04
       
 10713         COMMAND             fbsBitGc             Clear
       
 10714         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489-SetPenColor_command06
       
 10715         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489-GetNearestFontToDesignHeightInPixels_command07
       
 10716         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489-UseFont_command08
       
 10717         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489-DrawTextVertical_command09
       
 10718 		DELAY               500000
       
 10719 		COMMAND             fbsBitGc             Clear
       
 10720 		COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489-DrawTextVertical_command12        
       
 10721         DELAY               500000
       
 10722 		COMMAND             fbsBitGc             Clear
       
 10723         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489-DrawTextVertical_command15
       
 10724         DELAY               500000
       
 10725 		COMMAND             fbsBitGc             Clear
       
 10726         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489-DrawTextVertical_command18
       
 10727         DELAY               500000
       
 10728         COMMAND             fbsBitGc             DiscardFont 
       
 10729         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489-ReleaseFont_command21
       
 10730         COMMAND             fbsScrDev            Update   
       
 10731         COMMAND             fbsSession           Disconnect
       
 10732         COMMAND             fbsBitGc             ~
       
 10733         COMMAND             fbsScrDev            ~
       
 10734      END_TEST_BLOCK
       
 10735 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0489
       
 10736 
       
 10737 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490
       
 10738 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490
       
 10739 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt, TBool).
       
 10740 //! @SYMAuthor              Wei Liu
       
 10741 //! @SYMCreationDate        25/12/2008
       
 10742 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with Null input and  bad BaselineOffset and bad Margin.
       
 10743 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10744 //!                         2. Create a CFbsBitGc object.
       
 10745 //!                         3. Create a CFbsScreenDevice object.
       
 10746 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10747 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10748 //!                         6. Set the useFont.
       
 10749 //!                         7. Draw a vertical line of the text with bad params.
       
 10750 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10751 //! @SYMTestStatus          Implemented
       
 10752 //! @SYMTestPriority        High
       
 10753 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
 10754 //! @SYMTestType            CIT
       
 10755 
       
 10756     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10757         CREATE_OBJECT       RFbsSession          fbsSession
       
 10758         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10759         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10760         CREATE_OBJECT       CFbsFont          	 font
       
 10761         COMMAND             fbsSession           Connect
       
 10762         COMMAND             fbsBitGc             NewL
       
 10763         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490-NewL_command03
       
 10764         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490-Activate_command04
       
 10765         COMMAND             fbsBitGc             Clear
       
 10766         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490-SetPenColor_command06
       
 10767         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490-GetNearestFontToDesignHeightInPixels_command07
       
 10768         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490-UseFont_command08
       
 10769         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490-DrawTextVertical_command09
       
 10770 		COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490-DrawTextVertical_command10        
       
 10771         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490-DrawTextVertical_command11
       
 10772         DELAY               500000
       
 10773         COMMAND             fbsBitGc             DiscardFont 
       
 10774         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490-ReleaseFont_command14
       
 10775         COMMAND             fbsScrDev            Update    
       
 10776         COMMAND             fbsSession           Disconnect
       
 10777         COMMAND             fbsBitGc             ~
       
 10778         COMMAND             fbsScrDev            ~
       
 10779      END_TEST_BLOCK
       
 10780 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0490
       
 10781 
       
 10782 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0491
       
 10783 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0491
       
 10784 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt, TBool).
       
 10785 //! @SYMAuthor              Wei Liu
       
 10786 //! @SYMCreationDate        25/12/2008
       
 10787 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with bad TTextParameters(negitive point).
       
 10788 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10789 //!                         2. Create a CFbsBitGc object.
       
 10790 //!                         3. Create a CFbsScreenDevice object.
       
 10791 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10792 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10793 //!                         6. Set the useFont.
       
 10794 //!                         7. Draw a vertical line of the text with bad params.
       
 10795 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10796 //! @SYMTestStatus          Implemented
       
 10797 //! @SYMTestPriority        High
       
 10798 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
 10799 //! @SYMTestType            CIT
       
 10800 
       
 10801     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10802         CREATE_OBJECT       RFbsSession          fbsSession
       
 10803         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10804         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10805         CREATE_OBJECT       CFbsFont          	 font
       
 10806         COMMAND             fbsSession           Connect
       
 10807         COMMAND             fbsBitGc             NewL
       
 10808         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0491-NewL_command03
       
 10809         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0491-Activate_command04
       
 10810         COMMAND             fbsBitGc             Clear
       
 10811         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0491-SetPenColor_command06
       
 10812         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0491-GetNearestFontToDesignHeightInPixels_command07
       
 10813         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0491-UseFont_command08
       
 10814         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0491-DrawTextVertical_command09
       
 10815 		DELAY               500000
       
 10816         COMMAND             fbsBitGc             DiscardFont 
       
 10817         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0491-ReleaseFont_command12
       
 10818         COMMAND             fbsScrDev            Update    
       
 10819         COMMAND             fbsSession           Disconnect
       
 10820         COMMAND             fbsBitGc             ~
       
 10821         COMMAND             fbsScrDev            ~
       
 10822     END_TEST_BLOCK
       
 10823 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0491
       
 10824 
       
 10825 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0492
       
 10826 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0492
       
 10827 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt, TBool).
       
 10828 //! @SYMAuthor              Wei Liu
       
 10829 //! @SYMCreationDate        25/12/2008
       
 10830 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with bad TTextParameters(too big position).
       
 10831 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10832 //!                         2. Create a CFbsBitGc object.
       
 10833 //!                         3. Create a CFbsScreenDevice object.
       
 10834 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10835 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10836 //!                         6. Set the useFont.
       
 10837 //!                         7. Draw a vertical line of the text with bad params.
       
 10838 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10839 //! @SYMTestStatus          Implemented
       
 10840 //! @SYMTestPriority        High
       
 10841 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
 10842 //! @SYMTestType            CIT
       
 10843 
       
 10844     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10845         CREATE_OBJECT       RFbsSession          fbsSession
       
 10846         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10847         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10848         CREATE_OBJECT       CFbsFont          	 font
       
 10849         COMMAND             fbsSession           Connect
       
 10850         COMMAND             fbsBitGc             NewL
       
 10851         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0492-NewL_command03
       
 10852         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0492-Activate_command04
       
 10853         COMMAND             fbsBitGc             Clear
       
 10854         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0492-SetPenColor_command06
       
 10855         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0492-GetNearestFontToDesignHeightInPixels_command07
       
 10856         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0492-UseFont_command08
       
 10857         COMMAND 		    fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0492-DrawTextVertical_command09
       
 10858         DELAY               500000
       
 10859         COMMAND             fbsBitGc             DiscardFont 
       
 10860         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0492-ReleaseFont_command12
       
 10861         COMMAND             fbsScrDev            Update    
       
 10862         COMMAND             fbsSession           Disconnect
       
 10863         COMMAND             fbsBitGc             ~
       
 10864         COMMAND             fbsScrDev            ~
       
 10865     END_TEST_BLOCK
       
 10866 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0492
       
 10867 
       
 10868 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0493
       
 10869 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0493
       
 10870 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt, TBool).
       
 10871 //! @SYMAuthor              Wei Liu
       
 10872 //! @SYMCreationDate        26/12/2008
       
 10873 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with bad TTextParameters(iStart is equal to iEnd).
       
 10874 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10875 //!                         2. Create a CFbsBitGc object.
       
 10876 //!                         3. Create a CFbsScreenDevice object.
       
 10877 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10878 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10879 //!                         6. Set the useFont.
       
 10880 //!                         7. Draw a vertical line of the text with bad params.
       
 10881 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10882 //! @SYMTestStatus          Implemented
       
 10883 //! @SYMTestPriority        High
       
 10884 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
 10885 //! @SYMTestType            CIT
       
 10886 
       
 10887     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10888         CREATE_OBJECT       RFbsSession          fbsSession
       
 10889         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10890         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10891         CREATE_OBJECT       CFbsFont          	 font
       
 10892         COMMAND             fbsSession           Connect
       
 10893         COMMAND             fbsBitGc             NewL
       
 10894         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0493-NewL_command03
       
 10895         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0493-Activate_command04
       
 10896         COMMAND             fbsBitGc             Clear
       
 10897         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0493-SetPenColor_command06
       
 10898         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0493-GetNearestFontToDesignHeightInPixels_command07
       
 10899         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0493-UseFont_command08
       
 10900         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0493-DrawTextVertical_command09
       
 10901 		DELAY               500000
       
 10902         COMMAND             fbsBitGc             DiscardFont 
       
 10903         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0493-ReleaseFont_command12
       
 10904         COMMAND             fbsScrDev            Update    
       
 10905         COMMAND             fbsSession           Disconnect
       
 10906         COMMAND             fbsBitGc             ~
       
 10907         COMMAND             fbsScrDev            ~
       
 10908     END_TEST_BLOCK
       
 10909 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0493
       
 10910 
       
 10911 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0494
       
 10912 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0494
       
 10913 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TTextAlign, TInt, TBool).
       
 10914 //! @SYMAuthor              Wei Liu
       
 10915 //! @SYMCreationDate        26/12/2008
       
 10916 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with bad TTextParameters(iStart is bigger than iEnd).
       
 10917 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10918 //!                         2. Create a CFbsBitGc object.
       
 10919 //!                         3. Create a CFbsScreenDevice object.
       
 10920 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10921 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10922 //!                         6. Set the useFont.
       
 10923 //!                         7. Draw a vertical line of the text with bad params.
       
 10924 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10925 //! @SYMTestStatus          Implemented
       
 10926 //! @SYMTestPriority        High
       
 10927 //! @SYMTestExpectedResults Nothing will be drawn without any panic.
       
 10928 //! @SYMTestType            CIT
       
 10929 
       
 10930     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10931         CREATE_OBJECT       RFbsSession          fbsSession
       
 10932         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10933         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10934         CREATE_OBJECT       CFbsFont          	 font
       
 10935         COMMAND             fbsSession           Connect
       
 10936         COMMAND             fbsBitGc             NewL
       
 10937         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0494-NewL_command03
       
 10938         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0494-Activate_command04
       
 10939         COMMAND             fbsBitGc             Clear
       
 10940         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0494-SetPenColor_command06
       
 10941         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0494-GetNearestFontToDesignHeightInPixels_command07
       
 10942         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0494-UseFont_command08
       
 10943         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0494-DrawTextVertical_command09
       
 10944 		DELAY               500000
       
 10945         COMMAND             fbsBitGc             DiscardFont 
       
 10946         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0494-ReleaseFont_command12
       
 10947         COMMAND             fbsScrDev            Update    
       
 10948         COMMAND             fbsSession           Disconnect
       
 10949         COMMAND             fbsBitGc             ~
       
 10950         COMMAND             fbsScrDev            ~
       
 10951     END_TEST_BLOCK
       
 10952 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0494
       
 10953 
       
 10954 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495
       
 10955 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495
       
 10956 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt, TBool).
       
 10957 //! @SYMAuthor              Wei Liu
       
 10958 //! @SYMCreationDate        25/12/2008
       
 10959 //! @SYMTestCaseDesc        Draw a vertical line of text within a rectangle.
       
 10960 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 10961 //!                         2. Create a CFbsBitGc object.
       
 10962 //!                         3. Create a CFbsScreenDevice object.
       
 10963 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 10964 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 10965 //!                         6. Set the useFont.
       
 10966 //!                         7. Draw a vertical line of the text within the rectangle.
       
 10967 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 10968 //! @SYMTestStatus          Implemented
       
 10969 //! @SYMTestPriority        High
       
 10970 //! @SYMTestExpectedResults A vertical line of the text will be drawn without any panic.
       
 10971 //! @SYMTestType            CIT
       
 10972 
       
 10973     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 10974         CREATE_OBJECT       RFbsSession          fbsSession
       
 10975         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 10976         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 10977         CREATE_OBJECT       CFbsFont          	 font
       
 10978         COMMAND             fbsSession           Connect
       
 10979         COMMAND             fbsBitGc             NewL
       
 10980         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495-NewL_command03
       
 10981         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495-Activate_command04
       
 10982         COMMAND             fbsBitGc             Clear
       
 10983         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495-SetPenColor_command06
       
 10984         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495-GetNearestFontToDesignHeightInPixels_command07
       
 10985         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495-UseFont_command08
       
 10986         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495-DrawTextVertical_command09        
       
 10987         DELAY               500000
       
 10988         COMMAND				fbsBitGc			 Clear
       
 10989         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495-DrawTextVertical_command12
       
 10990         DELAY               500000
       
 10991         COMMAND             fbsBitGc             DiscardFont 
       
 10992         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495-ReleaseFont_command15
       
 10993         COMMAND             fbsScrDev            Update    
       
 10994         COMMAND             fbsSession           Disconnect
       
 10995         COMMAND             fbsBitGc             ~
       
 10996         COMMAND             fbsScrDev            ~
       
 10997      END_TEST_BLOCK
       
 10998 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0495
       
 10999 
       
 11000 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496
       
 11001 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496
       
 11002 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt, TBool).
       
 11003 //! @SYMAuthor              Wei Liu
       
 11004 //! @SYMCreationDate        26/12/2008
       
 11005 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with Null input and bad TextWidth.
       
 11006 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11007 //!                         2. Create a CFbsBitGc object.
       
 11008 //!                         3. Create a CFbsScreenDevice object.
       
 11009 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11010 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 11011 //!                         6. Set the useFont.
       
 11012 //!                         7. Draw a vertical line of the text with bad params.
       
 11013 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11014 //! @SYMTestStatus          Implemented
       
 11015 //! @SYMTestPriority        High
       
 11016 //! @SYMTestExpectedResults Nothing will be drawn.
       
 11017 //! @SYMTestType            CIT
       
 11018 
       
 11019     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11020         CREATE_OBJECT       RFbsSession          fbsSession
       
 11021         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11022         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11023         CREATE_OBJECT       CFbsFont          	 font
       
 11024         COMMAND             fbsSession           Connect
       
 11025         COMMAND             fbsBitGc             NewL
       
 11026         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496-NewL_command03
       
 11027         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496-Activate_command04
       
 11028         COMMAND             fbsBitGc             Clear
       
 11029         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496-SetPenColor_command06
       
 11030         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496-GetNearestFontToDesignHeightInPixels_command07
       
 11031         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496-UseFont_command08
       
 11032         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496-DrawTextVertical_command09        
       
 11033         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496-DrawTextVertical_command10
       
 11034         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496-DrawTextVertical_command11
       
 11035         COMMAND				fbsBitGc			 DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496-DrawTextVertical_command12
       
 11036         DELAY               500000
       
 11037         COMMAND             fbsBitGc             DiscardFont 
       
 11038         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496-ReleaseFont_command15
       
 11039         COMMAND             fbsScrDev            Update    
       
 11040         COMMAND             fbsSession           Disconnect
       
 11041         COMMAND             fbsBitGc             ~
       
 11042         COMMAND             fbsScrDev            ~
       
 11043      END_TEST_BLOCK
       
 11044 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0496
       
 11045 
       
 11046 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0497
       
 11047 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0497
       
 11048 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt, TBool).
       
 11049 //! @SYMAuthor              Wei Liu
       
 11050 //! @SYMCreationDate        25/12/2008
       
 11051 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with bad TTextParameters(negitive position).
       
 11052 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11053 //!                         2. Create a CFbsBitGc object.
       
 11054 //!                         3. Create a CFbsScreenDevice object.
       
 11055 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11056 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 11057 //!                         6. Set the useFont.
       
 11058 //!                         7. Draw a vertical line of the text within the rectangle.
       
 11059 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11060 //! @SYMTestStatus          Implemented
       
 11061 //! @SYMTestPriority        High
       
 11062 //! @SYMTestExpectedResults Nothing will be drawn.
       
 11063 //! @SYMTestType            CIT
       
 11064 
       
 11065     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11066         CREATE_OBJECT       RFbsSession          fbsSession
       
 11067         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11068         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11069         CREATE_OBJECT       CFbsFont          	 font
       
 11070         COMMAND             fbsSession           Connect
       
 11071         COMMAND             fbsBitGc             NewL
       
 11072         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0497-NewL_command03
       
 11073         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0497-Activate_command04
       
 11074         COMMAND             fbsBitGc             Clear
       
 11075         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0497-SetPenColor_command06
       
 11076         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0497-GetNearestFontToDesignHeightInPixels_command07
       
 11077         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0497-UseFont_command08
       
 11078         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0497-DrawTextVertical_command09        
       
 11079 		DELAY               500000
       
 11080         COMMAND             fbsBitGc             DiscardFont 
       
 11081         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0497-ReleaseFont_command12
       
 11082         COMMAND             fbsScrDev            Update    
       
 11083         COMMAND             fbsSession           Disconnect
       
 11084         COMMAND             fbsBitGc             ~
       
 11085         COMMAND             fbsScrDev            ~
       
 11086     END_TEST_BLOCK
       
 11087 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0497
       
 11088 
       
 11089 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0498
       
 11090 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0498
       
 11091 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt, TBool).
       
 11092 //! @SYMAuthor              Wei Liu
       
 11093 //! @SYMCreationDate        26/12/2008
       
 11094 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with bad TTextParameters(too big position).
       
 11095 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11096 //!                         2. Create a CFbsBitGc object.
       
 11097 //!                         3. Create a CFbsScreenDevice object.
       
 11098 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11099 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 11100 //!                         6. Set the useFont.
       
 11101 //!                         7. Draw a vertical line of the text with bad params.
       
 11102 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11103 //! @SYMTestStatus          Implemented
       
 11104 //! @SYMTestPriority        High
       
 11105 //! @SYMTestExpectedResults Nothing will be drawn.
       
 11106 //! @SYMTestType            CIT
       
 11107 
       
 11108     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11109         CREATE_OBJECT       RFbsSession          fbsSession
       
 11110         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11111         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11112         CREATE_OBJECT       CFbsFont          	 font
       
 11113         COMMAND             fbsSession           Connect
       
 11114         COMMAND             fbsBitGc             NewL
       
 11115         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0498-NewL_command03
       
 11116         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0498-Activate_command04
       
 11117         COMMAND             fbsBitGc             Clear
       
 11118         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0498-SetPenColor_command06
       
 11119         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0498-GetNearestFontToDesignHeightInPixels_command07
       
 11120         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0498-UseFont_command08
       
 11121         COMMAND  		    fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0498-DrawTextVertical_command09        
       
 11122         DELAY               500000
       
 11123         COMMAND             fbsBitGc             DiscardFont 
       
 11124         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0498-ReleaseFont_command12
       
 11125         COMMAND             fbsScrDev            Update    
       
 11126         COMMAND             fbsSession           Disconnect
       
 11127         COMMAND             fbsBitGc             ~
       
 11128         COMMAND             fbsScrDev            ~
       
 11129     END_TEST_BLOCK
       
 11130 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0498
       
 11131 
       
 11132 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0499
       
 11133 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0499
       
 11134 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt, TBool).
       
 11135 //! @SYMAuthor              Wei Liu
       
 11136 //! @SYMCreationDate        25/12/2008
       
 11137 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with bad TTextParameters(iStart is equal to iEnd).
       
 11138 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11139 //!                         2. Create a CFbsBitGc object.
       
 11140 //!                         3. Create a CFbsScreenDevice object.
       
 11141 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11142 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 11143 //!                         6. Set the useFont.
       
 11144 //!                         7. Draw a vertical line of the text within the rectangle.
       
 11145 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11146 //! @SYMTestStatus          Implemented
       
 11147 //! @SYMTestPriority        High
       
 11148 //! @SYMTestExpectedResults Nothing will be drawn.
       
 11149 //! @SYMTestType            CIT
       
 11150 
       
 11151     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11152         CREATE_OBJECT       RFbsSession          fbsSession
       
 11153         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11154         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11155         CREATE_OBJECT       CFbsFont          	 font
       
 11156         COMMAND             fbsSession           Connect
       
 11157         COMMAND             fbsBitGc             NewL
       
 11158         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0499-NewL_command03
       
 11159         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0499-Activate_command04
       
 11160         COMMAND             fbsBitGc             Clear
       
 11161         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0499-SetPenColor_command06
       
 11162         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0499-GetNearestFontToDesignHeightInPixels_command07
       
 11163         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0499-UseFont_command08
       
 11164         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0499-DrawTextVertical_command09        
       
 11165 		DELAY               500000
       
 11166         COMMAND             fbsBitGc             DiscardFont 
       
 11167         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0499-ReleaseFont_command12
       
 11168         COMMAND             fbsScrDev            Update    
       
 11169         COMMAND             fbsSession           Disconnect
       
 11170         COMMAND             fbsBitGc             ~
       
 11171         COMMAND             fbsScrDev            ~
       
 11172     END_TEST_BLOCK
       
 11173 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0499
       
 11174 
       
 11175 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0500
       
 11176 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0500
       
 11177 //! @SYMAPI                 CFbsBitGc::DrawTextVertical(const TDesC{ref}, const TTextParameters{ptr}, const TRect(ref), TInt, TInt, TTextAlign, TInt, TBool).
       
 11178 //! @SYMAuthor              Wei Liu
       
 11179 //! @SYMCreationDate        25/12/2008
       
 11180 //! @SYMTestCaseDesc        Negtive case,Draw a vertical line of text with bad TTextParameters(iStart is bigger than iEnd).
       
 11181 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11182 //!                         2. Create a CFbsBitGc object.
       
 11183 //!                         3. Create a CFbsScreenDevice object.
       
 11184 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11185 //!                         5. Clear the device and set pen color TRgb(255, 0, 255).
       
 11186 //!                         6. Set the useFont.
       
 11187 //!                         7. Draw a vertical line of the text within the rectangle.
       
 11188 //!                         8. Release useFont and disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11189 //! @SYMTestStatus          Implemented
       
 11190 //! @SYMTestPriority        High
       
 11191 //! @SYMTestExpectedResults Nothing will be drawn.
       
 11192 //! @SYMTestType            CIT
       
 11193 
       
 11194     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11195         CREATE_OBJECT       RFbsSession          fbsSession
       
 11196         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11197         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11198         CREATE_OBJECT       CFbsFont          	 font
       
 11199         COMMAND             fbsSession           Connect
       
 11200         COMMAND             fbsBitGc             NewL
       
 11201         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0500-NewL_command03
       
 11202         COMMAND             fbsBitGc             Activate                       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0500-Activate_command04
       
 11203         COMMAND             fbsBitGc             Clear
       
 11204         COMMAND             fbsBitGc             SetPenColor   								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0500-SetPenColor_command06
       
 11205         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels     	GRAPHICS-BITGDI-FbsBitGc-PublicApi-0500-GetNearestFontToDesignHeightInPixels_command07
       
 11206         COMMAND             fbsBitGc             UseFont       								GRAPHICS-BITGDI-FbsBitGc-PublicApi-0500-UseFont_command08
       
 11207         COMMAND             fbsBitGc             DrawTextVertical      						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0500-DrawTextVertical_command09        
       
 11208 		DELAY               500000
       
 11209         COMMAND             fbsBitGc             DiscardFont 
       
 11210         COMMAND             fbsScrDev            ReleaseFont        						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0500-ReleaseFont_command12
       
 11211         COMMAND             fbsScrDev            Update    
       
 11212         COMMAND             fbsSession           Disconnect
       
 11213         COMMAND             fbsBitGc             ~
       
 11214         COMMAND             fbsScrDev            ~
       
 11215     END_TEST_BLOCK
       
 11216 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0500
       
 11217 
       
 11218 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0501
       
 11219 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0501
       
 11220 //! @SYMAPI                 CFbsBitGc::UpdateJustification(const TDesC{ref})
       
 11221 //! @SYMAuthor              Wei Liu
       
 11222 //! @SYMCreationDate        24/12/2008
       
 11223 //! @SYMTestCaseDesc        Update the Justification setting.
       
 11224 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11225 //!                         2. Create a CFbsBitGc object.
       
 11226 //!                         3. Create a CFbsScreenDevice object.
       
 11227 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11228 //!                         5. Update the justification settings.
       
 11229 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11230 //! @SYMTestStatus          Implemented
       
 11231 //! @SYMTestPriority        High
       
 11232 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11233 //! @SYMTestType            CIT
       
 11234 
       
 11235     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11236         CREATE_OBJECT       RFbsSession          fbsSession
       
 11237         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11238         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11239         COMMAND             fbsSession           Connect
       
 11240         COMMAND             fbsBitGc             NewL
       
 11241         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0501-NewL_command03
       
 11242         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0501-ActivateNoJustAutoUpdate_command04
       
 11243         COMMAND             fbsBitGc  			 UpdateJustification						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0501-UpdateJustification_command05
       
 11244         COMMAND             fbsSession           Disconnect
       
 11245         COMMAND             fbsBitGc             ~
       
 11246         COMMAND             fbsScrDev            ~
       
 11247      END_TEST_BLOCK
       
 11248 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0501
       
 11249 
       
 11250 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0502
       
 11251 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0502
       
 11252 //! @SYMAPI                 CFbsBitGc::UpdateJustification(const TDesC{ref})
       
 11253 //! @SYMAuthor              Wei Liu
       
 11254 //! @SYMCreationDate        24/12/2008
       
 11255 //! @SYMTestCaseDesc        Negitive case,Update the Justification setting by Null input.
       
 11256 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11257 //!                         2. Create a CFbsBitGc object.
       
 11258 //!                         3. Create a CFbsScreenDevice object.
       
 11259 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11260 //!                         5. Update the justification settings.
       
 11261 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11262 //! @SYMTestStatus          Implemented
       
 11263 //! @SYMTestPriority        High
       
 11264 //! @SYMTestExpectedResults Justification is called without any panic.
       
 11265 //! @SYMTestType            CIT
       
 11266 
       
 11267     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11268         CREATE_OBJECT       RFbsSession          fbsSession
       
 11269         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11270         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11271         COMMAND             fbsSession           Connect
       
 11272         COMMAND             fbsBitGc             NewL
       
 11273         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0502-NewL_command03
       
 11274         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0502-ActivateNoJustAutoUpdate_command04
       
 11275         COMMAND             fbsBitGc  			 UpdateJustification						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0502-UpdateJustification_command05
       
 11276         COMMAND             fbsSession           Disconnect
       
 11277         COMMAND             fbsBitGc             ~
       
 11278         COMMAND             fbsScrDev            ~
       
 11279      END_TEST_BLOCK
       
 11280 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0502
       
 11281 
       
 11282 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0503
       
 11283 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0503
       
 11284 //! @SYMAPI                 CFbsBitGc::UpdateJustificationVertical(const TDesC{ref}, TBool)
       
 11285 //! @SYMAuthor              Wei Liu
       
 11286 //! @SYMCreationDate        24/12/2008
       
 11287 //! @SYMTestCaseDesc        Update the Justification setting.
       
 11288 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11289 //!                         2. Create a CFbsBitGc object.
       
 11290 //!                         3. Create a CFbsScreenDevice object.
       
 11291 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11292 //!                         5. Update the justification settings.
       
 11293 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11294 //! @SYMTestStatus          Implemented
       
 11295 //! @SYMTestPriority        High
       
 11296 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11297 //! @SYMTestType            CIT
       
 11298 
       
 11299     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11300         CREATE_OBJECT       RFbsSession          fbsSession
       
 11301         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11302         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11303         COMMAND             fbsSession           Connect
       
 11304         COMMAND             fbsBitGc             NewL
       
 11305         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0503-NewL_command03
       
 11306         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0503-ActivateNoJustAutoUpdate_command04
       
 11307         COMMAND             fbsBitGc  			 UpdateJustificationVertical				GRAPHICS-BITGDI-FbsBitGc-PublicApi-0503-UpdateJustificationVertical_command05
       
 11308         COMMAND				fbsBitGc			 UpdateJustificationVertical				GRAPHICS-BITGDI-FbsBitGc-PublicApi-0503-UpdateJustificationVertical_command06
       
 11309         COMMAND             fbsSession           Disconnect
       
 11310         COMMAND             fbsBitGc             ~
       
 11311         COMMAND             fbsScrDev            ~
       
 11312      END_TEST_BLOCK
       
 11313 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0503
       
 11314 
       
 11315 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0504
       
 11316 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0504
       
 11317 //! @SYMAPI                 CFbsBitGc::UpdateJustificationVertical(const TDesC{ref}, TBool)
       
 11318 //! @SYMAuthor              Wei Liu
       
 11319 //! @SYMCreationDate        24/12/2008
       
 11320 //! @SYMTestCaseDesc        Negitive case,Update the Justification setting by Null input.
       
 11321 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11322 //!                         2. Create a CFbsBitGc object.
       
 11323 //!                         3. Create a CFbsScreenDevice object.
       
 11324 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11325 //!                         5. Update the justification settings.
       
 11326 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11327 //! @SYMTestStatus          Implemented
       
 11328 //! @SYMTestPriority        High
       
 11329 //! @SYMTestExpectedResults Justification is called without any panic.
       
 11330 //! @SYMTestType            CIT
       
 11331 
       
 11332     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11333         CREATE_OBJECT       RFbsSession          fbsSession
       
 11334         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11335         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11336         COMMAND             fbsSession           Connect
       
 11337         COMMAND             fbsBitGc             NewL
       
 11338         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0504-NewL_command03
       
 11339         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0504-ActivateNoJustAutoUpdate_command04
       
 11340         COMMAND             fbsBitGc  			 UpdateJustificationVertical				GRAPHICS-BITGDI-FbsBitGc-PublicApi-0504-UpdateJustificationVertical_command05
       
 11341         COMMAND             fbsSession           Disconnect
       
 11342         COMMAND             fbsBitGc             ~
       
 11343         COMMAND             fbsScrDev            ~
       
 11344      END_TEST_BLOCK
       
 11345 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0504
       
 11346 
       
 11347 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0505
       
 11348 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0505
       
 11349 //! @SYMAPI                 CFbsBitGc::UpdateJustification(const TDesC{ref}, const TTextParameters{ptr})
       
 11350 //! @SYMAuthor              Wei Liu
       
 11351 //! @SYMCreationDate        25/12/2008
       
 11352 //! @SYMTestCaseDesc        Update the Justification setting.
       
 11353 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11354 //!                         2. Create a CFbsBitGc object.
       
 11355 //!                         3. Create a CFbsScreenDevice object.
       
 11356 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11357 //!                         5. Update the justification settings.
       
 11358 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11359 //! @SYMTestStatus          Implemented
       
 11360 //! @SYMTestPriority        High
       
 11361 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11362 //! @SYMTestType            CIT
       
 11363 
       
 11364     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11365         CREATE_OBJECT       RFbsSession          fbsSession
       
 11366         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11367         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11368         COMMAND             fbsSession           Connect
       
 11369         COMMAND             fbsBitGc             NewL
       
 11370         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0505-NewL_command03
       
 11371         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0505-ActivateNoJustAutoUpdate_command04
       
 11372         COMMAND             fbsBitGc  			 UpdateJustification						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0505-UpdateJustification_command05
       
 11373         COMMAND             fbsBitGc  			 UpdateJustification						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0505-UpdateJustification_command06
       
 11374         COMMAND             fbsSession           Disconnect
       
 11375         COMMAND             fbsBitGc             ~
       
 11376         COMMAND             fbsScrDev            ~
       
 11377      END_TEST_BLOCK
       
 11378 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0505
       
 11379 
       
 11380 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0506
       
 11381 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0506
       
 11382 //! @SYMAPI                 CFbsBitGc::UpdateJustification(const TDesC{ref}, const TTextParameters{ptr})
       
 11383 //! @SYMAuthor              Wei Liu
       
 11384 //! @SYMCreationDate        25/12/2008
       
 11385 //! @SYMTestCaseDesc        Negtive case, Update the Justification setting with Null input.
       
 11386 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11387 //!                         2. Create a CFbsBitGc object.
       
 11388 //!                         3. Create a CFbsScreenDevice object.
       
 11389 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11390 //!                         5. Update the justification settings.
       
 11391 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11392 //! @SYMTestStatus          Implemented
       
 11393 //! @SYMTestPriority        High
       
 11394 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11395 //! @SYMTestType            CIT
       
 11396 
       
 11397     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11398         CREATE_OBJECT       RFbsSession          fbsSession
       
 11399         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11400         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11401         COMMAND             fbsSession           Connect
       
 11402         COMMAND             fbsBitGc             NewL
       
 11403         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0506-NewL_command03
       
 11404         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0506-ActivateNoJustAutoUpdate_command04
       
 11405         COMMAND             fbsBitGc  			 UpdateJustification						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0506-UpdateJustification_command05
       
 11406         COMMAND             fbsSession           Disconnect
       
 11407         COMMAND             fbsBitGc             ~
       
 11408         COMMAND             fbsScrDev            ~
       
 11409      END_TEST_BLOCK
       
 11410 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0506
       
 11411 
       
 11412 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0507
       
 11413 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0507
       
 11414 //! @SYMAPI                 CFbsBitGc::UpdateJustification(const TDesC{ref}, const TTextParameters{ptr})
       
 11415 //! @SYMAuthor              Wei Liu
       
 11416 //! @SYMCreationDate        25/12/2008
       
 11417 //! @SYMTestCaseDesc        Negtive case, Update the Justification with bad TTextParameters(negtive position).
       
 11418 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11419 //!                         2. Create a CFbsBitGc object.
       
 11420 //!                         3. Create a CFbsScreenDevice object.
       
 11421 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11422 //!                         5. Update the justification settings.
       
 11423 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11424 //! @SYMTestStatus          Implemented
       
 11425 //! @SYMTestPriority        High
       
 11426 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11427 //! @SYMTestType            CIT
       
 11428 
       
 11429     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11430         CREATE_OBJECT       RFbsSession          fbsSession
       
 11431         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11432         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11433         COMMAND             fbsSession           Connect
       
 11434         COMMAND             fbsBitGc             NewL
       
 11435         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0507-NewL_command03
       
 11436         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0507-ActivateNoJustAutoUpdate_command04
       
 11437         COMMAND             fbsBitGc  			 UpdateJustification						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0507-UpdateJustification_command05
       
 11438         COMMAND             fbsSession           Disconnect
       
 11439         COMMAND             fbsBitGc             ~
       
 11440         COMMAND             fbsScrDev            ~
       
 11441      END_TEST_BLOCK
       
 11442 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0507
       
 11443 
       
 11444 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0508
       
 11445 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0508
       
 11446 //! @SYMAPI                 CFbsBitGc::UpdateJustification(const TDesC{ref}, const TTextParameters{ptr})
       
 11447 //! @SYMAuthor              Wei Liu
       
 11448 //! @SYMCreationDate        25/12/2008
       
 11449 //! @SYMTestCaseDesc        Negtive case, Update the Justification with bad TTextParameters(too big position).
       
 11450 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11451 //!                         2. Create a CFbsBitGc object.
       
 11452 //!                         3. Create a CFbsScreenDevice object.
       
 11453 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11454 //!                         5. Update the justification settings.
       
 11455 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11456 //! @SYMTestStatus          Implemented
       
 11457 //! @SYMTestPriority        High
       
 11458 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11459 //! @SYMTestType            CIT
       
 11460 
       
 11461     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11462         CREATE_OBJECT       RFbsSession          fbsSession
       
 11463         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11464         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11465         COMMAND             fbsSession           Connect
       
 11466         COMMAND             fbsBitGc             NewL
       
 11467         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0508-NewL_command03
       
 11468         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0508-ActivateNoJustAutoUpdate_command04
       
 11469         COMMAND             fbsBitGc  			 UpdateJustification						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0508-UpdateJustification_command05
       
 11470         COMMAND             fbsSession           Disconnect
       
 11471         COMMAND             fbsBitGc             ~
       
 11472         COMMAND             fbsScrDev            ~
       
 11473      END_TEST_BLOCK
       
 11474 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0508
       
 11475 
       
 11476 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0509
       
 11477 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0509
       
 11478 //! @SYMAPI                 CFbsBitGc::UpdateJustification(const TDesC{ref}, const TTextParameters{ptr})
       
 11479 //! @SYMAuthor              Wei Liu
       
 11480 //! @SYMCreationDate        25/12/2008
       
 11481 //! @SYMTestCaseDesc        Negtive case, Update the Justification with bad TTextParameters(iStart is equal to iEnd).
       
 11482 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11483 //!                         2. Create a CFbsBitGc object.
       
 11484 //!                         3. Create a CFbsScreenDevice object.
       
 11485 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11486 //!                         5. Update the justification settings.
       
 11487 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11488 //! @SYMTestStatus          Implemented
       
 11489 //! @SYMTestPriority        High
       
 11490 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11491 //! @SYMTestType            CIT
       
 11492 
       
 11493     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11494         CREATE_OBJECT       RFbsSession          fbsSession
       
 11495         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11496         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11497         COMMAND             fbsSession           Connect
       
 11498         COMMAND             fbsBitGc             NewL
       
 11499         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0509-NewL_command03
       
 11500         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0509-ActivateNoJustAutoUpdate_command04
       
 11501         COMMAND             fbsBitGc  			 UpdateJustification						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0509-UpdateJustification_command05
       
 11502         COMMAND             fbsSession           Disconnect
       
 11503         COMMAND             fbsBitGc             ~
       
 11504         COMMAND             fbsScrDev            ~
       
 11505      END_TEST_BLOCK
       
 11506 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0509
       
 11507 
       
 11508 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0510
       
 11509 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0510
       
 11510 //! @SYMAPI                 CFbsBitGc::UpdateJustification(const TDesC{ref}, const TTextParameters{ptr})
       
 11511 //! @SYMAuthor              Wei Liu
       
 11512 //! @SYMCreationDate        25/12/2008
       
 11513 //! @SYMTestCaseDesc        Negtive case, Update the Justification with bad TTextParameters(iStart is bigger than iEnd).
       
 11514 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11515 //!                         2. Create a CFbsBitGc object.
       
 11516 //!                         3. Create a CFbsScreenDevice object.
       
 11517 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11518 //!                         5. Update the justification settings.
       
 11519 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11520 //! @SYMTestStatus          Implemented
       
 11521 //! @SYMTestPriority        High
       
 11522 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11523 //! @SYMTestType            CIT
       
 11524 
       
 11525     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11526         CREATE_OBJECT       RFbsSession          fbsSession
       
 11527         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11528         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11529         COMMAND             fbsSession           Connect
       
 11530         COMMAND             fbsBitGc             NewL
       
 11531         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0510-NewL_command03
       
 11532         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0510-ActivateNoJustAutoUpdate_command04
       
 11533         COMMAND             fbsBitGc  			 UpdateJustification						GRAPHICS-BITGDI-FbsBitGc-PublicApi-0510-UpdateJustification_command05
       
 11534         COMMAND             fbsSession           Disconnect
       
 11535         COMMAND             fbsBitGc             ~
       
 11536         COMMAND             fbsScrDev            ~
       
 11537      END_TEST_BLOCK
       
 11538 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0510
       
 11539 
       
 11540 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0511
       
 11541 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0511
       
 11542 //! @SYMAPI                 CFbsBitGc::UpdateJustificationVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
 11543 //! @SYMAuthor              Wei Liu
       
 11544 //! @SYMCreationDate        25/12/2008
       
 11545 //! @SYMTestCaseDesc        Update the Justification setting.
       
 11546 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11547 //!                         2. Create a CFbsBitGc object.
       
 11548 //!                         3. Create a CFbsScreenDevice object.
       
 11549 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11550 //!                         5. Update the justification settings.
       
 11551 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11552 //! @SYMTestStatus          Implemented
       
 11553 //! @SYMTestPriority        High
       
 11554 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11555 //! @SYMTestType            CIT
       
 11556 
       
 11557     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11558         CREATE_OBJECT       RFbsSession          fbsSession
       
 11559         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11560         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11561         COMMAND             fbsSession           Connect
       
 11562         COMMAND             fbsBitGc             NewL
       
 11563         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0511-NewL_command03
       
 11564         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0511-ActivateNoJustAutoUpdate_command04
       
 11565         COMMAND             fbsBitGc  			 UpdateJustificationVertical				GRAPHICS-BITGDI-FbsBitGc-PublicApi-0511-UpdateJustificationVertical_command05
       
 11566         COMMAND             fbsBitGc  			 UpdateJustificationVertical				GRAPHICS-BITGDI-FbsBitGc-PublicApi-0511-UpdateJustificationVertical_command06
       
 11567         COMMAND             fbsSession           Disconnect
       
 11568         COMMAND             fbsBitGc             ~
       
 11569         COMMAND             fbsScrDev            ~
       
 11570      END_TEST_BLOCK
       
 11571 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0511
       
 11572 
       
 11573 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0512
       
 11574 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0512
       
 11575 //! @SYMAPI                 CFbsBitGc::UpdateJustificationVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
 11576 //! @SYMAuthor              Wei Liu
       
 11577 //! @SYMCreationDate        25/12/2008
       
 11578 //! @SYMTestCaseDesc        Negtive case, Update the Justification setting with NULL input.
       
 11579 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11580 //!                         2. Create a CFbsBitGc object.
       
 11581 //!                         3. Create a CFbsScreenDevice object.
       
 11582 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11583 //!                         5. Update the justification settings.
       
 11584 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11585 //! @SYMTestStatus          Implemented
       
 11586 //! @SYMTestPriority        High
       
 11587 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11588 //! @SYMTestType            CIT
       
 11589 
       
 11590     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11591         CREATE_OBJECT       RFbsSession          fbsSession
       
 11592         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11593         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11594         COMMAND             fbsSession           Connect
       
 11595         COMMAND             fbsBitGc             NewL
       
 11596         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0512-NewL_command03
       
 11597         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0512-ActivateNoJustAutoUpdate_command04
       
 11598         COMMAND             fbsBitGc  			 UpdateJustificationVertical				GRAPHICS-BITGDI-FbsBitGc-PublicApi-0512-UpdateJustificationVertical_command05
       
 11599         COMMAND             fbsSession           Disconnect
       
 11600         COMMAND             fbsBitGc             ~
       
 11601         COMMAND             fbsScrDev            ~
       
 11602      END_TEST_BLOCK
       
 11603 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0512
       
 11604 
       
 11605 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0513
       
 11606 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0513
       
 11607 //! @SYMAPI                 CFbsBitGc::UpdateJustificationVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
 11608 //! @SYMAuthor              Wei Liu
       
 11609 //! @SYMCreationDate        25/12/2008
       
 11610 //! @SYMTestCaseDesc        Negtive case, Update the Justification setting with bad TTextParameters(negtive position).
       
 11611 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11612 //!                         2. Create a CFbsBitGc object.
       
 11613 //!                         3. Create a CFbsScreenDevice object.
       
 11614 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11615 //!                         5. Update the justification settings.
       
 11616 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11617 //! @SYMTestStatus          Implemented
       
 11618 //! @SYMTestPriority        High
       
 11619 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11620 //! @SYMTestType            CIT
       
 11621 
       
 11622     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11623         CREATE_OBJECT       RFbsSession          fbsSession
       
 11624         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11625         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11626         COMMAND             fbsSession           Connect
       
 11627         COMMAND             fbsBitGc             NewL
       
 11628         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0513-NewL_command03
       
 11629         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0513-ActivateNoJustAutoUpdate_command04
       
 11630         COMMAND             fbsBitGc  			 UpdateJustificationVertical				GRAPHICS-BITGDI-FbsBitGc-PublicApi-0513-UpdateJustificationVertical_command05
       
 11631         COMMAND             fbsSession           Disconnect
       
 11632         COMMAND             fbsBitGc             ~
       
 11633         COMMAND             fbsScrDev            ~
       
 11634      END_TEST_BLOCK
       
 11635 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0513
       
 11636 
       
 11637 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0514
       
 11638 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0514
       
 11639 //! @SYMAPI                 CFbsBitGc::UpdateJustificationVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
 11640 //! @SYMAuthor              Wei Liu
       
 11641 //! @SYMCreationDate        25/12/2008
       
 11642 //! @SYMTestCaseDesc        Negtive case, Update the Justification setting with bad TTextParameters(too big position).
       
 11643 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11644 //!                         2. Create a CFbsBitGc object.
       
 11645 //!                         3. Create a CFbsScreenDevice object.
       
 11646 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11647 //!                         5. Update the justification settings.
       
 11648 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11649 //! @SYMTestStatus          Implemented
       
 11650 //! @SYMTestPriority        High
       
 11651 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11652 //! @SYMTestType            CIT
       
 11653 
       
 11654     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11655         CREATE_OBJECT       RFbsSession          fbsSession
       
 11656         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11657         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11658         COMMAND             fbsSession           Connect
       
 11659         COMMAND             fbsBitGc             NewL
       
 11660         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0514-NewL_command03
       
 11661         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0514-ActivateNoJustAutoUpdate_command04
       
 11662         COMMAND             fbsBitGc  			 UpdateJustificationVertical				GRAPHICS-BITGDI-FbsBitGc-PublicApi-0514-UpdateJustificationVertical_command05
       
 11663         COMMAND             fbsSession           Disconnect
       
 11664         COMMAND             fbsBitGc             ~
       
 11665         COMMAND             fbsScrDev            ~
       
 11666      END_TEST_BLOCK
       
 11667 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0514
       
 11668 
       
 11669 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0515
       
 11670 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0515
       
 11671 //! @SYMAPI                 CFbsBitGc::UpdateJustificationVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
 11672 //! @SYMAuthor              Wei Liu
       
 11673 //! @SYMCreationDate        25/12/2008
       
 11674 //! @SYMTestCaseDesc        Negtive case, Update the Justification setting with bad TTextParameters(iStart is equal to iEnd).
       
 11675 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11676 //!                         2. Create a CFbsBitGc object.
       
 11677 //!                         3. Create a CFbsScreenDevice object.
       
 11678 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11679 //!                         5. Update the justification settings.
       
 11680 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11681 //! @SYMTestStatus          Implemented
       
 11682 //! @SYMTestPriority        High
       
 11683 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11684 //! @SYMTestType            CIT
       
 11685 
       
 11686     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11687         CREATE_OBJECT       RFbsSession          fbsSession
       
 11688         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11689         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11690         COMMAND             fbsSession           Connect
       
 11691         COMMAND             fbsBitGc             NewL
       
 11692         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0515-NewL_command03
       
 11693         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0515-ActivateNoJustAutoUpdate_command04
       
 11694         COMMAND             fbsBitGc  			 UpdateJustificationVertical				GRAPHICS-BITGDI-FbsBitGc-PublicApi-0515-UpdateJustificationVertical_command05
       
 11695         COMMAND             fbsSession           Disconnect
       
 11696         COMMAND             fbsBitGc             ~
       
 11697         COMMAND             fbsScrDev            ~
       
 11698      END_TEST_BLOCK
       
 11699 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0515
       
 11700 
       
 11701 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0516
       
 11702 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0516
       
 11703 //! @SYMAPI                 CFbsBitGc::UpdateJustificationVertical(const TDesC{ref}, const TTextParameters{ptr}, TBool)
       
 11704 //! @SYMAuthor              Wei Liu
       
 11705 //! @SYMCreationDate        25/12/2008
       
 11706 //! @SYMTestCaseDesc        Negtive case, Update the Justification setting with bad TTextParameters(iStart is bigger than iEnd).
       
 11707 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11708 //!                         2. Create a CFbsBitGc object.
       
 11709 //!                         3. Create a CFbsScreenDevice object.
       
 11710 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11711 //!                         5. Update the justification settings.
       
 11712 //!                         6. Disconnect RFbsSession, destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11713 //! @SYMTestStatus          Implemented
       
 11714 //! @SYMTestPriority        High
       
 11715 //! @SYMTestExpectedResults Justification is updated without any error.
       
 11716 //! @SYMTestType            CIT
       
 11717 
       
 11718     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11719         CREATE_OBJECT       RFbsSession          fbsSession
       
 11720         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11721         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11722         COMMAND             fbsSession           Connect
       
 11723         COMMAND             fbsBitGc             NewL
       
 11724         COMMAND             fbsScrDev            NewL                           			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0516-NewL_command03
       
 11725         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate       			GRAPHICS-BITGDI-FbsBitGc-PublicApi-0516-ActivateNoJustAutoUpdate_command04
       
 11726         COMMAND             fbsBitGc  			 UpdateJustificationVertical				GRAPHICS-BITGDI-FbsBitGc-PublicApi-0516-UpdateJustificationVertical_command05
       
 11727         COMMAND             fbsSession           Disconnect
       
 11728         COMMAND             fbsBitGc             ~
       
 11729         COMMAND             fbsScrDev            ~
       
 11730      END_TEST_BLOCK
       
 11731 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0516
       
 11732 
       
 11733 
       
 11734 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517
       
 11735 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517
       
 11736 //! @SYMAPI                 CFbsBitGc::UpdateJustificationVertical(const TDesC{ref}, TBool);
       
 11737 //! @SYMAuthor              Forbes Fu
       
 11738 //! @SYMCreationDate        19/01/2009
       
 11739 //! @SYMTestCaseDesc        Set the character justification to (30, 6), (-30, 6), (30, -1), (0, -2);
       
 11740 //!                         Set the word justification to (20, 3), (-20, 3), (20, -1), (0, -1);
       
 11741 //!                         Update the justification for vertical text respectively.
       
 11742 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11743 //!                         2. Create a CFbsScreenDevice object.
       
 11744 //!                         3. Create a CFbsBitGc object.
       
 11745 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 11746 //!                         5. Set the character justification to (30, 6).
       
 11747 //!                         6. Update the justification for vertical text.
       
 11748 //!                         7. Set the word justification to (20, 3).
       
 11749 //!                         8. Update the justification for vertical text.
       
 11750 //!                         9. Set the character justification to (-30, 6).
       
 11751 //!                         10.Update the justification for vertical text.
       
 11752 //!                         11.Set the word justification to (-20, 3).
       
 11753 //!                         12.Update the justification for vertical text.
       
 11754 //!                         13.Set the character justification to (30, -1).
       
 11755 //!                         14.Update the justification for vertical text.
       
 11756 //!                         15.Set the word justification to (20, -1).
       
 11757 //!                         16.Update the justification for vertical text.
       
 11758 //!                         17.Set the character justification to (0, -2).
       
 11759 //!                         18.Update the justification for vertical text.
       
 11760 //!                         19.Set the word justification to (0, -1).
       
 11761 //!                         20.Update the justification for vertical text.
       
 11762 //!                         21.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 11763 //!                         22.Disconnect RFbsSession.
       
 11764 //! @SYMTestStatus          Implemented
       
 11765 //! @SYMTestPriority        High
       
 11766 //! @SYMTestExpectedResults Update justification without error.
       
 11767 //! @SYMTestType            CIT
       
 11768 
       
 11769     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11770         CREATE_OBJECT       RFbsSession          fbsSession
       
 11771         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11772         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11773         COMMAND             fbsSession           Connect
       
 11774         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-NewL_command02
       
 11775         COMMAND             fbsBitGc             NewL
       
 11776         COMMAND             fbsBitGc             ActivateNoJustAutoUpdate               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-ActivateNoJustAutoUpdate_command04
       
 11777         COMMAND             fbsBitGc             SetCharJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-SetCharJustification_command05
       
 11778         COMMAND             fbsBitGc             UpdateJustificationVertical            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-UpdateJustificationVertical_command06
       
 11779         COMMAND             fbsBitGc             SetWordJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-SetWordJustification_command07
       
 11780         COMMAND             fbsBitGc             UpdateJustificationVertical            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-UpdateJustificationVertical_command08
       
 11781         COMMAND             fbsBitGc             SetCharJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-SetCharJustification_command09
       
 11782         COMMAND             fbsBitGc             UpdateJustificationVertical            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-UpdateJustificationVertical_command10
       
 11783         COMMAND             fbsBitGc             SetWordJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-SetWordJustification_command11
       
 11784         COMMAND             fbsBitGc             UpdateJustificationVertical            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-UpdateJustificationVertical_command12
       
 11785         COMMAND             fbsBitGc             SetCharJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-SetCharJustification_command13
       
 11786         COMMAND             fbsBitGc             UpdateJustificationVertical            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-UpdateJustificationVertical_command14
       
 11787         COMMAND             fbsBitGc             SetWordJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-SetWordJustification_command15
       
 11788         COMMAND             fbsBitGc             UpdateJustificationVertical            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-UpdateJustificationVertical_command16
       
 11789         COMMAND             fbsBitGc             SetCharJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-SetCharJustification_command17
       
 11790         COMMAND             fbsBitGc             UpdateJustificationVertical            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-UpdateJustificationVertical_command18
       
 11791         COMMAND             fbsBitGc             SetWordJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-SetWordJustification_command19
       
 11792         COMMAND             fbsBitGc             UpdateJustificationVertical            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517-UpdateJustificationVertical_command20
       
 11793         COMMAND             fbsBitGc             ~
       
 11794         COMMAND             fbsScrDev            ~
       
 11795         COMMAND             fbsSession           Disconnect
       
 11796      END_TEST_BLOCK
       
 11797 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0517
       
 11798 
       
 11799 
       
 11800 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0601
       
 11801 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0601
       
 11802 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
 11803 //! @SYMAuthor              Felix Rao
       
 11804 //! @SYMCreationDate        04/12/2008
       
 11805 //! @SYMTestCaseDesc        Negative case. Draw a rectangle to invalid graphic device.
       
 11806 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
 11807 //!                         2. Associate the CFbsBitGc object with the invalid CFbsScreenDevice object.
       
 11808 //!                         3. Draw rectangle.
       
 11809 //! @SYMTestStatus          Implemented
       
 11810 //! @SYMTestPriority        High
       
 11811 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when trying to draw to an invalid device.
       
 11812 //! @SYMTestType            CIT
       
 11813 
       
 11814     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11815         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11816         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11817         COMMAND             fbsBitGc             NewL
       
 11818         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0601-Activate_command02
       
 11819         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0601-DrawRect_command03
       
 11820      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
 11821      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 11822 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0601
       
 11823 
       
 11824 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0602
       
 11825 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0602
       
 11826 //! @SYMAPI                 CFbsBitGc::DrawRect(const TRect{ref})
       
 11827 //! @SYMAuthor              Felix Rao
       
 11828 //! @SYMCreationDate        04/12/2008
       
 11829 //! @SYMTestCaseDesc        Negative case. Draw a rectangle by using a non-activated graphics context.
       
 11830 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
 11831 //!                         2. Draw rectangle.
       
 11832 //! @SYMTestStatus          Implemented
       
 11833 //! @SYMTestPriority        High
       
 11834 //! @SYMTestExpectedResults Get panic code 1 of BITGDI when drawing line using a non-activated graphics context.
       
 11835 //! @SYMTestType            CIT
       
 11836 
       
 11837     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-2.ini
       
 11838         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11839         COMMAND             fbsBitGc             NewL
       
 11840         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0602-DrawRect_command02
       
 11841      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
 11842      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 11843 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0602
       
 11844 
       
 11845 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0801
       
 11846 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0801
       
 11847 //! @SYMAPI                 CFbsBitGc::MapColors(const TRect{ref}, const TRgb{ptr}, TInt, TBool)
       
 11848 //! @SYMAuthor              Felix Rao
       
 11849 //! @SYMCreationDate        07/01/2009
       
 11850 //! @SYMTestCaseDesc        Maps pixels in the specified rectangle.
       
 11851 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11852 //!                         2. Create a CFbsBitGc object.
       
 11853 //!                         3. Create a CFbsScreenDevice object.
       
 11854 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11855 //!                         5. Set brush color TRgb(255, 255, 255) and solid brush and clear the device.
       
 11856 //!                         6. Map pixels in rectangle area (0, 0, 100, 100) with TRgb pair {TRgb(255, 255, 255), TRgb(0, 255, 0)}.
       
 11857 //!                         7. Check the rectangle area which has color mapped.
       
 11858 //!                         8. Map pixels in rectangle area (101, 101, 150, 150) with TRgb pair {TRgb(0, 0, 255), TRgb(0, 255, 0)}.
       
 11859 //!                         9. Check the rectangle area which has color mapped.
       
 11860 //!                         10. Update the device.
       
 11861 //!                         11. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11862 //! @SYMTestStatus          Implemented
       
 11863 //! @SYMTestPriority        High
       
 11864 //! @SYMTestExpectedResults 1. The color-mapped rectangle will be drawn in color TRgb(0, 255, 0)
       
 11865 //!                         2. Check the 2 mapped rectangles.
       
 11866 //! @SYMTestType            CIT
       
 11867 
       
 11868     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 11869         CREATE_OBJECT       RFbsSession          fbsSession
       
 11870         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11871         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11872         COMMAND             fbsSession           Connect
       
 11873         COMMAND             fbsBitGc             NewL
       
 11874         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0801-NewL_command03
       
 11875         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0801-Activate_command04
       
 11876         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0801-SetBrushStyle_command05
       
 11877         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0801-SetBrushColor_command06
       
 11878         COMMAND             fbsBitGc             Clear
       
 11879         COMMAND             fbsBitGc             MapColors                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0801-MapColors_command08
       
 11880         COMMAND             fbsBitGc             MapColors                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0801-MapColors_command09
       
 11881         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0801-checkRectColor_command10
       
 11882         COMMAND             fbsScrDev            Update
       
 11883         DELAY               500000
       
 11884         COMMAND             fbsSession           Disconnect
       
 11885         COMMAND             fbsBitGc             ~
       
 11886         COMMAND             fbsScrDev            ~
       
 11887      END_TEST_BLOCK
       
 11888 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0801
       
 11889 
       
 11890 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802
       
 11891 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802
       
 11892 //! @SYMAPI                 CFbsBitGc::MapColors(const TRect{ref}, const TRgb{ptr}, TInt, TBool)
       
 11893 //! @SYMAuthor              Felix Rao
       
 11894 //! @SYMCreationDate        07/01/2009
       
 11895 //! @SYMTestCaseDesc        Negative case. Maps pixels in empty rectangle and a rectangle intersects with but does not equal to mapping rectangle.
       
 11896 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11897 //!                         2. Create a CFbsBitGc object.
       
 11898 //!                         3. Create a CFbsScreenDevice object.
       
 11899 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11900 //!                         5. Set brush color TRgb(255, 255, 255) and solid brush and clear the device.
       
 11901 //!                         6. Map pixels in rectangle area (0, 0, 0, 0) with TRgb pair {TRgb(255, 255, 255), TRgb(0, 255, 0)} and clear the device.
       
 11902 //!                         7. Set brush color TRgb(255, 0, 0) and pen color TRgb(255, 0, 0).
       
 11903 //!                         8. Draw a rectangle area (0, 0, 50, 50) in TRgb(255, 0, 0).
       
 11904 //!                         9. Map pixels in rectangle area (10, 10, 100, 100) with TRgb pair {TRgb(255, 0, 0), TRgb(0, 255, 0)}.
       
 11905 //!                         10. Check the drawn and mapped rectangles.
       
 11906 //!                         11. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11907 //! @SYMTestStatus          Implemented
       
 11908 //! @SYMTestPriority        High
       
 11909 //! @SYMTestExpectedResults 1. First call to MapColors() will have no effects.
       
 11910 //!                         2. Second call to MapColors() will have color of rectangle area (10, 10, 50, 50) mapped.
       
 11911 //!                         3. The color of rectangles (0, 0, 10 ,50), (10, 0, 50, 10) in color TRgb(255, 0, 0).
       
 11912 //!                         4. The color of rectangles (10, 50, 50 ,100), (50, 10, 100, 100) in color TRgb(255, 255, 255).
       
 11913 //!                         5. The color of rectangle (10, 10, 50 ,50) in color TRgb(0, 255, 0).
       
 11914 //! @SYMTestType            CIT
       
 11915 
       
 11916     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 11917         CREATE_OBJECT       RFbsSession          fbsSession
       
 11918         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11919         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11920         COMMAND             fbsSession           Connect
       
 11921         COMMAND             fbsBitGc             NewL
       
 11922         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802-NewL_command03
       
 11923         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802-Activate_command04
       
 11924         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802-SetBrushStyle_command05
       
 11925         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802-SetBrushColor_command06
       
 11926         COMMAND             fbsBitGc             Clear
       
 11927         COMMAND             fbsBitGc             MapColors                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802-MapColors_command08
       
 11928         COMMAND             fbsBitGc             Clear
       
 11929         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802-SetBrushColor_command10
       
 11930         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802-SetPenColor_command11
       
 11931         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802-DrawRect_command12
       
 11932         COMMAND             fbsScrDev            Update
       
 11933         DELAY               500000
       
 11934         COMMAND             fbsBitGc             MapColors                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802-MapColors_command15
       
 11935         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802-checkRectColor_command16
       
 11936         COMMAND             fbsSession           Disconnect
       
 11937         DELAY               500000
       
 11938         COMMAND             fbsScrDev            Update
       
 11939         COMMAND             fbsBitGc             ~
       
 11940         COMMAND             fbsScrDev            ~
       
 11941      END_TEST_BLOCK
       
 11942 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0802
       
 11943 
       
 11944 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0803
       
 11945 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0803
       
 11946 //! @SYMAPI                 CFbsBitGc::MapColors(const TRect{ref}, const TRgb{ptr}, TInt, TBool)
       
 11947 //! @SYMAuthor              Felix Rao
       
 11948 //! @SYMCreationDate        07/01/2009
       
 11949 //! @SYMTestCaseDesc        Negative case. Maps pixels in the specified rectangle which does not intersect with clipping rectangle.
       
 11950 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11951 //!                         2. Create a CFbsBitGc object.
       
 11952 //!                         3. Create a CFbsScreenDevice object.
       
 11953 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 11954 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device.
       
 11955 //!                         6. Set clipping rectangle area(110, 110, 120, 120).
       
 11956 //!                         7. Map pixels in rectangle area (0, 0, 100, 100) with TRgb pair {TRgb(255, 255, 255), TRgb(0, 255, 0)}.
       
 11957 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 11958 //! @SYMTestStatus          Implemented
       
 11959 //! @SYMTestPriority        High
       
 11960 //! @SYMTestExpectedResults MapColors() will be called without error.
       
 11961 //! @SYMTestType            CIT
       
 11962 
       
 11963     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 11964         CREATE_OBJECT       RFbsSession          fbsSession
       
 11965         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 11966         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11967         COMMAND             fbsSession           Connect
       
 11968         COMMAND             fbsBitGc             NewL
       
 11969         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0803-NewL_command03
       
 11970         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0803-Activate_command04
       
 11971         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0803-SetBrushStyle_command05
       
 11972         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0803-SetBrushColor_command06
       
 11973         COMMAND             fbsBitGc             Clear
       
 11974         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0803-SetClippingRect_command08
       
 11975         COMMAND             fbsBitGc             MapColors                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0803-MapColors_command09
       
 11976         COMMAND             fbsSession           Disconnect
       
 11977         COMMAND             fbsBitGc             ~
       
 11978         COMMAND             fbsScrDev            ~
       
 11979      END_TEST_BLOCK
       
 11980 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0803
       
 11981 
       
 11982 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0804
       
 11983 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0804
       
 11984 //! @SYMAPI                 CFbsBitGc::MapColors(const TRect{ref}, const TRgb{ptr}, TInt, TBool)
       
 11985 //! @SYMAuthor              Felix Rao
       
 11986 //! @SYMCreationDate        07/01/2009
       
 11987 //! @SYMTestCaseDesc        Negative case. Maps pixels in the specified rectangle using non-activated CFbsBitGc object.
       
 11988 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 11989 //!                         2. Create a CFbsBitGc object.
       
 11990 //!                         3. Map pixels in rectangle area (0, 0, 100, 100) with TRgb pair {TRgb(255, 255, 255), TRgb(0, 255, 0)}.
       
 11991 //! @SYMTestStatus          Implemented
       
 11992 //! @SYMTestPriority        High
       
 11993 //! @SYMTestExpectedResults Get Panic code 1 and PanicString BITGDI.
       
 11994 //! @SYMTestType            CIT
       
 11995 
       
 11996     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 11997         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 11998         COMMAND             fbsBitGc             NewL
       
 11999         COMMAND             fbsBitGc             MapColors                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0804-MapColors_command03
       
 12000      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
 12001      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 12002 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0804
       
 12003 
       
 12004 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0901
       
 12005 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0901
       
 12006 //! @SYMAPI                 CFbsBitGc::MoveTo(const TPoint{ref})
       
 12007 //! @SYMAuthor              Felix Rao
       
 12008 //! @SYMCreationDate        01/12/2008
       
 12009 //! @SYMTestCaseDesc        Sets the internal drawing position relative to the co-ordinate origin.
       
 12010 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12011 //!                         2. Create a CFbsBitGc object.
       
 12012 //!                         3. Create a CFbsScreenDevice object.
       
 12013 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 12014 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
 12015 //!                         6. Move the drawing position to point.
       
 12016 //!                         7. Draw a line.
       
 12017 //!                         8. Check the start point of the line as the result of MoveTo() operation.
       
 12018 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12019 //! @SYMTestStatus          Implemented
       
 12020 //! @SYMTestPriority        High
       
 12021 //! @SYMTestExpectedResults 1. Current drawing position is move to point specified in test data.
       
 12022 //!                         2. The target point is drawn as the start point of the line.
       
 12023 //! @SYMTestType            CIT
       
 12024 
       
 12025     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12026         CREATE_OBJECT       RFbsSession          fbsSession
       
 12027         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12028         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12029         COMMAND             fbsSession           Connect
       
 12030         COMMAND             fbsBitGc             NewL
       
 12031         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0901-NewL_command03
       
 12032         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0901-Activate_command04
       
 12033         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0901-SetBrushStyle_command05
       
 12034         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0901-SetBrushColor_command06
       
 12035         COMMAND             fbsBitGc             Clear
       
 12036         COMMAND             fbsBitGc             MoveTo                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0901-MoveTo_command08
       
 12037         COMMAND             fbsBitGc             DrawLineTo                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0901-DrawLineTo_command09
       
 12038         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0901-checkPixels_command10
       
 12039         COMMAND             fbsScrDev            Update
       
 12040         COMMAND             fbsSession           Disconnect
       
 12041         COMMAND             fbsBitGc             ~
       
 12042         COMMAND             fbsScrDev            ~
       
 12043      END_TEST_BLOCK
       
 12044 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0901
       
 12045 
       
 12046 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0902
       
 12047 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0902
       
 12048 //! @SYMAPI                 CFbsBitGc::MoveBy(const TPoint{ref})
       
 12049 //! @SYMAuthor              Felix Rao
       
 12050 //! @SYMCreationDate        01/12/2008
       
 12051 //! @SYMTestCaseDesc        Sets the internal drawing position relative to the co-ordinate origin.
       
 12052 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12053 //!                         2. Create a CFbsBitGc object.
       
 12054 //!                         3. Create a CFbsScreenDevice object.
       
 12055 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 12056 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
 12057 //!                         6. Draw a line.
       
 12058 //!                         7. Move current drawing position relative to the end point of the line just drawn.
       
 12059 //!                         8. Draw a line.
       
 12060 //!                         9. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12061 //! @SYMTestStatus          Implemented
       
 12062 //! @SYMTestPriority        High
       
 12063 //! @SYMTestExpectedResults 1. Current drawing position is move to point specified in test data.
       
 12064 //!                         2. The target point is drawn as the start point of the line.
       
 12065 //! @SYMTestType            CIT
       
 12066 
       
 12067     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12068         CREATE_OBJECT       RFbsSession          fbsSession
       
 12069         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12070         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12071         COMMAND             fbsSession           Connect
       
 12072         COMMAND             fbsBitGc             NewL
       
 12073         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0902-NewL_command03
       
 12074         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0902-Activate_command04
       
 12075         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0902-SetBrushStyle_command05
       
 12076         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0902-SetBrushColor_command06
       
 12077         COMMAND             fbsBitGc             Clear
       
 12078         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0902-DrawLine_command08
       
 12079         COMMAND             fbsBitGc             MoveBy                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0902-MoveBy_command09
       
 12080         COMMAND             fbsBitGc             DrawLineBy                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0902-DrawLineBy_command10
       
 12081         COMMAND             fbsScrDev            Update
       
 12082         COMMAND             fbsSession           Disconnect
       
 12083         COMMAND             fbsBitGc             ~
       
 12084         COMMAND             fbsScrDev            ~
       
 12085      END_TEST_BLOCK
       
 12086 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0902
       
 12087 
       
 12088 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0911
       
 12089 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0911
       
 12090 //! @SYMAPI                 CFbsBitGc::OrientationsAvailable(TBool{ptr})
       
 12091 //! @SYMAuthor              Felix Rao
       
 12092 //! @SYMCreationDate        09/01/2009
       
 12093 //! @SYMTestCaseDesc        Get the orientations supported.
       
 12094 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12095 //!                         2. Create a CFbsBitGc object.
       
 12096 //!                         3. Create a CFbsScreenDevice object.
       
 12097 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 12098 //!                         5. Get the orientations supported.
       
 12099 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12100 //! @SYMTestStatus          Implemented
       
 12101 //! @SYMTestPriority        High
       
 12102 //! @SYMTestExpectedResults OrientationsAvailable() will be called without error.
       
 12103 //! @SYMTestType            CIT
       
 12104 
       
 12105     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12106         CREATE_OBJECT       RFbsSession          fbsSession
       
 12107         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12108         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12109         COMMAND             fbsSession           Connect
       
 12110         COMMAND             fbsBitGc             NewL
       
 12111         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0911-NewL_command03
       
 12112         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0911-Activate_command04
       
 12113         COMMAND             fbsBitGc             OrientationsAvailable                  GRAPHICS-BITGDI-FbsBitGc-PublicApi-0911-OrientationsAvailable_command05
       
 12114         COMMAND             fbsSession           Disconnect
       
 12115         COMMAND             fbsBitGc             ~
       
 12116         COMMAND             fbsScrDev            ~
       
 12117      END_TEST_BLOCK
       
 12118 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0911
       
 12119 
       
 12120 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0912
       
 12121 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0912
       
 12122 //! @SYMAPI                 CFbsBitGc::OrientationsAvailable(TBool{ptr})
       
 12123 //! @SYMAuthor              Felix Rao
       
 12124 //! @SYMCreationDate        09/01/2009
       
 12125 //! @SYMTestCaseDesc        Negative case. Get the orientations supported on a non-activated CFbsBitGc object.
       
 12126 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
 12127 //!                         2. Get the orientations supported.
       
 12128 //!                         3. Destruct CFbsBitGc object.
       
 12129 //! @SYMTestStatus          Implemented
       
 12130 //! @SYMTestPriority        High
       
 12131 //! @SYMTestExpectedResults OrientationsAvailable() will be called without error.
       
 12132 //! @SYMTestType            CIT
       
 12133 
       
 12134     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12135         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12136         COMMAND             fbsBitGc             NewL
       
 12137         COMMAND             fbsBitGc             OrientationsAvailable                  GRAPHICS-BITGDI-FbsBitGc-PublicApi-0912-OrientationsAvailable_command02
       
 12138         COMMAND             fbsBitGc             ~
       
 12139      END_TEST_BLOCK
       
 12140 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0912
       
 12141 
       
 12142 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921
       
 12143 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921
       
 12144 //! @SYMAPI                 CFbsBitGc::Plot(const TPoint{ref})
       
 12145 //! @SYMAuthor              Felix Rao
       
 12146 //! @SYMCreationDate        07/01/2009
       
 12147 //! @SYMTestCaseDesc        Draws a single point.
       
 12148 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12149 //!                         2. Create a CFbsBitGc object.
       
 12150 //!                         3. Create a CFbsScreenDevice object.
       
 12151 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 12152 //!                         5. Set brush color TRgb(255, 255, 255) and clear the device with brush color just set.
       
 12153 //!                         6. Draw a single point (10, 7).
       
 12154 //!                         7. check the pixels just drawn.
       
 12155 //!                         8. Set pen size to TSize(30, 1) and plot point (30, 30).
       
 12156 //!                         9. Set pen size to TSize(1, 30) and plot point (60, 60).
       
 12157 //!                         10. Check the 2 drawn lines and clear the device.
       
 12158 //!                         11. Set pen size to TSize(40, 40) and plot point (110, 110).
       
 12159 //!                         12. Check pixels of the filled circle.
       
 12160 //!                         13. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12161 //! @SYMTestStatus          Implemented
       
 12162 //! @SYMTestPriority        High
       
 12163 //! @SYMTestExpectedResults 1. The point will be drawn.
       
 12164 //!                         2. Point (10, 7) in color TRgb(0, 0, 0).
       
 12165 //!                         3. Lines from point (16, 30) to point (45, 30) and from point (60, 46) to (60, 75) in color TRgb(0, 0, 0).
       
 12166 //!                         4. Point (110, 110), (130, 110), (91, 110), (110, 91), (110, 130) in color TRgb(0, 0, 0).
       
 12167 //! @SYMTestType            CIT
       
 12168 
       
 12169     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12170         CREATE_OBJECT       RFbsSession          fbsSession
       
 12171         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12172         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12173         COMMAND             fbsSession           Connect
       
 12174         COMMAND             fbsBitGc             NewL
       
 12175         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-NewL_command03
       
 12176         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-Activate_command04
       
 12177         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-SetBrushStyle_command05
       
 12178         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-SetBrushColor_command06
       
 12179         COMMAND             fbsBitGc             Clear
       
 12180         COMMAND             fbsBitGc             Plot                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-Plot_command08
       
 12181         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-checkPixels_command09
       
 12182         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-SetPenSize_command10
       
 12183         COMMAND             fbsBitGc             Plot                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-Plot_command11
       
 12184         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-SetPenSize_command12
       
 12185         COMMAND             fbsBitGc             Plot                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-Plot_command13
       
 12186         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-checkLineColor_command14
       
 12187         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-SetPenSize_command15
       
 12188         COMMAND             fbsBitGc             Plot                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-Plot_command16
       
 12189         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921-checkPixels_command17
       
 12190         COMMAND             fbsScrDev            Update
       
 12191         DELAY               500000
       
 12192         COMMAND             fbsSession           Disconnect
       
 12193         COMMAND             fbsBitGc             ~
       
 12194         COMMAND             fbsScrDev            ~
       
 12195      END_TEST_BLOCK
       
 12196 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0921
       
 12197 
       
 12198 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0922
       
 12199 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0922
       
 12200 //! @SYMAPI                 CFbsBitGc::Plot(const TPoint{ref})
       
 12201 //! @SYMAuthor              Felix Rao
       
 12202 //! @SYMCreationDate        07/01/2009
       
 12203 //! @SYMTestCaseDesc        Negative case. Draws a single point using non-activated CFbsBitGc object.
       
 12204 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12205 //!                         2. Create a CFbsBitGc object.
       
 12206 //!                         3. Draw a point.
       
 12207 //! @SYMTestStatus          Implemented
       
 12208 //! @SYMTestPriority        High
       
 12209 //! @SYMTestExpectedResults Get Panic code 1 and PanicString BITGDI.
       
 12210 //! @SYMTestType            CIT
       
 12211 
       
 12212     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12213         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12214         COMMAND             fbsBitGc             NewL
       
 12215         COMMAND             fbsBitGc             Plot                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0922-Plot_command03
       
 12216      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
 12217      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 12218 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0922
       
 12219 
       
 12220 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0923
       
 12221 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0923
       
 12222 //! @SYMAPI                 CFbsBitGc::Plot(const TPoint{ref})
       
 12223 //! @SYMAuthor              Felix Rao
       
 12224 //! @SYMCreationDate        07/01/2009
       
 12225 //! @SYMTestCaseDesc        Negative case. Draws a single point with null pen.
       
 12226 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12227 //!                         2. Create a CFbsBitGc object.
       
 12228 //!                         3. Create a CFbsScreenDevice object.
       
 12229 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object and clear the device.
       
 12230 //!                         5. Set pen style to null pen.
       
 12231 //!                         6. Draw a single point.
       
 12232 //!                         7. Check color of the point.
       
 12233 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12234 //! @SYMTestStatus          Implemented
       
 12235 //! @SYMTestPriority        High
       
 12236 //! @SYMTestExpectedResults 1. The point will not be drawn.
       
 12237 //!                         2. The color of the point is TRgb(255, 255, 255).
       
 12238 //! @SYMTestType            CIT
       
 12239 
       
 12240     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12241         CREATE_OBJECT       RFbsSession          fbsSession
       
 12242         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12243         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12244         COMMAND             fbsSession           Connect
       
 12245         COMMAND             fbsBitGc             NewL
       
 12246         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0923-NewL_command03
       
 12247         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0923-Activate_command04
       
 12248         COMMAND             fbsBitGc             Clear
       
 12249         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0923-SetPenStyle_command06
       
 12250         COMMAND             fbsBitGc             Plot                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0923-Plot_command07
       
 12251         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0923-checkPixels_command08
       
 12252         COMMAND             fbsSession           Disconnect
       
 12253         COMMAND             fbsBitGc             ~
       
 12254         COMMAND             fbsScrDev            ~
       
 12255      END_TEST_BLOCK
       
 12256 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0923
       
 12257 
       
 12258 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0924
       
 12259 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0924
       
 12260 //! @SYMAPI                 CFbsBitGc::Plot(const TPoint{ref})
       
 12261 //! @SYMAuthor              Felix Rao
       
 12262 //! @SYMCreationDate        07/01/2009
       
 12263 //! @SYMTestCaseDesc        Negative case. Draws a single point with pen size set to TSize(0, 1).
       
 12264 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12265 //!                         2. Create a CFbsBitGc object.
       
 12266 //!                         3. Create a CFbsScreenDevice object.
       
 12267 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object and clear the device.
       
 12268 //!                         5. Set pen size to TSize(0, 1).
       
 12269 //!                         6. Draw a single point.
       
 12270 //!                         7. Check color of the point.
       
 12271 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12272 //! @SYMTestStatus          Implemented
       
 12273 //! @SYMTestPriority        High
       
 12274 //! @SYMTestExpectedResults 1. The point will not be drawn.
       
 12275 //!                         2. The color of the point is TRgb(255, 255, 255).
       
 12276 //! @SYMTestType            CIT
       
 12277 
       
 12278     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12279         CREATE_OBJECT       RFbsSession          fbsSession
       
 12280         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12281         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12282         COMMAND             fbsSession           Connect
       
 12283         COMMAND             fbsBitGc             NewL
       
 12284         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0924-NewL_command03
       
 12285         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0924-Activate_command04
       
 12286         COMMAND             fbsBitGc             Clear
       
 12287         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0924-SetPenSize_command06
       
 12288         COMMAND             fbsBitGc             Plot                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0924-Plot_command07
       
 12289         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0924-checkPixels_command08
       
 12290         COMMAND             fbsSession           Disconnect
       
 12291         COMMAND             fbsBitGc             ~
       
 12292         COMMAND             fbsScrDev            ~
       
 12293      END_TEST_BLOCK
       
 12294 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0924
       
 12295 
       
 12296 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0925
       
 12297 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0925
       
 12298 //! @SYMAPI                 CFbsBitGc::Plot(const TPoint{ref})
       
 12299 //! @SYMAuthor              Felix Rao
       
 12300 //! @SYMCreationDate        07/01/2009
       
 12301 //! @SYMTestCaseDesc        Negative case. Draws a single point with pen size set to TSize(0, 0).
       
 12302 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12303 //!                         2. Create a CFbsBitGc object.
       
 12304 //!                         3. Create a CFbsScreenDevice object.
       
 12305 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object and clear the device.
       
 12306 //!                         5. Set pen size to TSize(0, 0).
       
 12307 //!                         6. Draw a single point.
       
 12308 //!                         7. Check color of the point.
       
 12309 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12310 //! @SYMTestStatus          Implemented
       
 12311 //! @SYMTestPriority        High
       
 12312 //! @SYMTestExpectedResults 1. The point will not be drawn.
       
 12313 //!                         2. The color of the point is TRgb(255, 255, 255).
       
 12314 //! @SYMTestType            CIT
       
 12315 
       
 12316     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12317         CREATE_OBJECT       RFbsSession          fbsSession
       
 12318         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12319         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12320         COMMAND             fbsSession           Connect
       
 12321         COMMAND             fbsBitGc             NewL
       
 12322         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0925-NewL_command03
       
 12323         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0925-Activate_command04
       
 12324         COMMAND             fbsBitGc             Clear
       
 12325         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0925-SetPenSize_command06
       
 12326         COMMAND             fbsBitGc             Plot                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0925-Plot_command07
       
 12327         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0925-checkPixels_command08
       
 12328         COMMAND             fbsSession           Disconnect
       
 12329         COMMAND             fbsBitGc             ~
       
 12330         COMMAND             fbsScrDev            ~
       
 12331      END_TEST_BLOCK
       
 12332 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0925
       
 12333 
       
 12334 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0926
       
 12335 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0926
       
 12336 //! @SYMAPI                 CFbsBitGc::Plot(const TPoint{ref})
       
 12337 //! @SYMAuthor              Felix Rao
       
 12338 //! @SYMCreationDate        07/01/2009
       
 12339 //! @SYMTestCaseDesc        Negative case. Draws a single point in rectangle area which doesnt intersect with clipping rectangle.
       
 12340 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12341 //!                         2. Create a CFbsBitGc object.
       
 12342 //!                         3. Create a CFbsScreenDevice object.
       
 12343 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 12344 //!                         5. Set clipping rectangle area TRect(8000, 8000, 8005, 8005).
       
 12345 //!                         6. Draw a single point (10, 10).
       
 12346 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12347 //! @SYMTestStatus          Implemented
       
 12348 //! @SYMTestPriority        High
       
 12349 //! @SYMTestExpectedResults The point will not be drawn.
       
 12350 //! @SYMTestType            CIT
       
 12351 
       
 12352     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12353         CREATE_OBJECT       RFbsSession          fbsSession
       
 12354         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12355         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12356         COMMAND             fbsSession           Connect
       
 12357         COMMAND             fbsBitGc             NewL
       
 12358         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0926-NewL_command03
       
 12359         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0926-Activate_command04
       
 12360         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0926-SetClippingRect_command05
       
 12361         COMMAND             fbsBitGc             Plot                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0926-Plot_command06
       
 12362         COMMAND             fbsSession           Disconnect
       
 12363         COMMAND             fbsBitGc             ~
       
 12364         COMMAND             fbsScrDev            ~
       
 12365      END_TEST_BLOCK
       
 12366 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0926
       
 12367 
       
 12368 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0927
       
 12369 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0927
       
 12370 //! @SYMAPI                 CFbsBitGc::RectDrawnTo(TRect{ref})
       
 12371 //! @SYMAuthor              Felix Rao
       
 12372 //! @SYMCreationDate        09/01/2009
       
 12373 //! @SYMTestCaseDesc        Get the bounding rectangle of all drawing done before this function is called.
       
 12374 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12375 //!                         2. Create a CFbsBitGc object.
       
 12376 //!                         3. Create a CFbsScreenDevice object.
       
 12377 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 12378 //!                         5. Draw a line from TPoint(5, 0) to TPoint(5, 100)
       
 12379 //!                         6. Draw a line from TPoint(0, 0) to TPoint(100, 0)
       
 12380 //!                         7. Get the bounding rectangle of all drawing done.
       
 12381 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12382 //! @SYMTestStatus          Implemented
       
 12383 //! @SYMTestPriority        High
       
 12384 //! @SYMTestExpectedResults RectDrawnTo() will be called without error.
       
 12385 //! @SYMTestType            CIT
       
 12386 
       
 12387     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12388         CREATE_OBJECT       RFbsSession          fbsSession
       
 12389         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12390         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12391         COMMAND             fbsSession           Connect
       
 12392         COMMAND             fbsBitGc             NewL
       
 12393         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0927-NewL_command03
       
 12394         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0927-Activate_command04
       
 12395         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0927-DrawLine_command05
       
 12396         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0927-DrawLine_command06
       
 12397         COMMAND             fbsBitGc             RectDrawnTo                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0927-RectDrawnTo_command07
       
 12398         COMMAND             fbsSession           Disconnect
       
 12399         COMMAND             fbsBitGc             ~
       
 12400         COMMAND             fbsScrDev            ~
       
 12401      END_TEST_BLOCK
       
 12402 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0927
       
 12403 
       
 12404 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0928
       
 12405 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0928
       
 12406 //! @SYMAPI                 CFbsBitGc::RectDrawnTo(TRect{ref})
       
 12407 //! @SYMAuthor              Felix Rao
       
 12408 //! @SYMCreationDate        09/01/2009
       
 12409 //! @SYMTestCaseDesc        Negative case. Get the bounding rectangle of all drawing done before this function is called which is very large.
       
 12410 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12411 //!                         2. Create a CFbsBitGc object.
       
 12412 //!                         3. Create a CFbsScreenDevice object.
       
 12413 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 12414 //!                         5. Draw a line from TPoint(5, 0) to TPoint(5, 8000)
       
 12415 //!                         6. Get the bounding rectangle of all drawing done.
       
 12416 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12417 //! @SYMTestStatus          Implemented
       
 12418 //! @SYMTestPriority        High
       
 12419 //! @SYMTestExpectedResults RectDrawnTo() will be called without error.
       
 12420 //! @SYMTestType            CIT
       
 12421 
       
 12422     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12423         CREATE_OBJECT       RFbsSession          fbsSession
       
 12424         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12425         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12426         COMMAND             fbsSession           Connect
       
 12427         COMMAND             fbsBitGc             NewL
       
 12428         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0928-NewL_command03
       
 12429         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0928-Activate_command04
       
 12430         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0928-DrawLine_command05
       
 12431         COMMAND             fbsBitGc             RectDrawnTo                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0928-RectDrawnTo_command06
       
 12432         COMMAND             fbsSession           Disconnect
       
 12433         COMMAND             fbsBitGc             ~
       
 12434         COMMAND             fbsScrDev            ~
       
 12435      END_TEST_BLOCK
       
 12436 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0928
       
 12437 
       
 12438 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0929
       
 12439 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0929
       
 12440 //! @SYMAPI                 CFbsBitGc::RectDrawnTo(TRect{ref})
       
 12441 //! @SYMAuthor              Felix Rao
       
 12442 //! @SYMCreationDate        09/01/2009
       
 12443 //! @SYMTestCaseDesc        Negative case. Get the bounding rectangle when no drawing done.
       
 12444 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12445 //!                         2. Create a CFbsBitGc object.
       
 12446 //!                         3. Create a CFbsScreenDevice object.
       
 12447 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 12448 //!                         5. Get the bounding rectangle of all drawing done.
       
 12449 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 12450 //! @SYMTestStatus          Implemented
       
 12451 //! @SYMTestPriority        High
       
 12452 //! @SYMTestExpectedResults RectDrawnTo() will be called without error.
       
 12453 //! @SYMTestType            CIT
       
 12454 
       
 12455     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12456         CREATE_OBJECT       RFbsSession          fbsSession
       
 12457         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12458         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12459         COMMAND             fbsSession           Connect
       
 12460         COMMAND             fbsBitGc             NewL
       
 12461         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0929-NewL_command03
       
 12462         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0929-Activate_command04
       
 12463         COMMAND             fbsBitGc             RectDrawnTo                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0929-RectDrawnTo_command05
       
 12464         COMMAND             fbsSession           Disconnect
       
 12465         COMMAND             fbsBitGc             ~
       
 12466         COMMAND             fbsScrDev            ~
       
 12467      END_TEST_BLOCK
       
 12468 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0929
       
 12469 
       
 12470 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0930
       
 12471 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0930
       
 12472 //! @SYMAPI                 CFbsBitGc::RectDrawnTo(TRect{ref})
       
 12473 //! @SYMAuthor              Felix Rao
       
 12474 //! @SYMCreationDate        09/01/2009
       
 12475 //! @SYMTestCaseDesc        Negative case. Get the bounding rectangle of non-activated CFbsBitGc object.
       
 12476 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
 12477 //!                         5. Get the bounding rectangle of all drawing done.
       
 12478 //!                         6. Destruct CFbsBitGc object.
       
 12479 //! @SYMTestStatus          Implemented
       
 12480 //! @SYMTestPriority        High
       
 12481 //! @SYMTestExpectedResults RectDrawnTo() will be called without error.
       
 12482 //! @SYMTestType            CIT
       
 12483 
       
 12484     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12485         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12486         COMMAND             fbsBitGc             NewL
       
 12487         COMMAND             fbsBitGc             RectDrawnTo                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0930-RectDrawnTo_command02
       
 12488         COMMAND             fbsBitGc             ~
       
 12489      END_TEST_BLOCK
       
 12490 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0930
       
 12491 
       
 12492 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931
       
 12493 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931
       
 12494 //! @SYMAPI                 CFbsBitGc::Reset()
       
 12495 //! @SYMAuthor              Felix Rao
       
 12496 //! @SYMCreationDate        08/01/2009
       
 12497 //! @SYMTestCaseDesc        Resets the graphics context to its default settings.
       
 12498 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12499 //!                         2. Create a CFbsBitGc object.
       
 12500 //!                         3. Create a CFbsScreenDevice object and a CFbsTypefaceStore object and a CFbsFont object.
       
 12501 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 12502 //!                         5. Set brush color to TRgb(255, 0, 0) and brush style to ESolidBrush and clear the device.
       
 12503 //!                         6. Set pen size to (10, 1) and draw a line from point (0, 5) to point (10, 5) which is actually a rectangle.
       
 12504 //!                         7. Set clipping rectangle area (10, 20, 20, 30).
       
 12505 //!                         8. Draw a line from point (25, 20) to (35, 20) which is actually a rectangle.
       
 12506 //!                         9. Set brush and pen color to TRgb(0, 255, 0) and TRgb(0, 0, 255) respectively.
       
 12507 //!                         10. Set clipping rectangle area (30, 0, 100, 100).
       
 12508 //!                         11. Set draw mode to EDrawModeAND and set pen style to EDottedPen.
       
 12509 //!                         12. Draw a rectangle area (30, 0, 120, 120).
       
 12510 //!                         13. Check the 3 rectangles.
       
 12511 //!                         14. Get a font and make CFbsBitGc object use this font.
       
 12512 //!                         15. Test if the font is used.
       
 12513 //!                         16. Reset the CFbsBitGc object.
       
 12514 //!                         17. Clear the device and test if the font is used.
       
 12515 //!                         18. Draw a rectangle area (0, 0, 60, 120).
       
 12516 //!                         19. Check the rectangle and its border.
       
 12517 //!                         20. Disconnect RFbsSession , release CFbsFont object and destruct CFbsBitGc object, CFbsTypefaceStore object and CFbsScreenDevice object.
       
 12518 //! @SYMTestStatus          Implemented
       
 12519 //! @SYMTestPriority        High
       
 12520 //! @SYMTestExpectedResults 1. Reset() will be called without error.
       
 12521 //!                         2. The first 2 rectangles drawn before Reset() call is in color TRgb(0, 0, 0). The 3rd rectangle area in clipping rectangle is in color TRgb(255, 0, 0)
       
 12522 //!                         3. Before Reset() is called, IsFontUsed() returns true. After that call, IsFontUsed() returns false.
       
 12523 //!                         4. The rectangle drawn after Reset() call is in color TRgb(255, 255, 255).
       
 12524 //!                         5. The border of rectangle drawn after Reset() call is in color TRgb(0, 0, 0).
       
 12525 //! @SYMTestType            CIT
       
 12526 
       
 12527     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12528         CREATE_OBJECT       RFbsSession          fbsSession
       
 12529         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12530         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12531        	CREATE_OBJECT       CFbsTypefaceStore    fbsTypefaceStore
       
 12532         CREATE_OBJECT       CFbsFont             fbsFont
       
 12533         COMMAND             fbsSession           Connect
       
 12534         COMMAND             fbsBitGc             NewL
       
 12535         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-NewL_command03
       
 12536         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-Activate_command04
       
 12537         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-SetBrushColor_command05
       
 12538         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-SetBrushStyle_command06
       
 12539         COMMAND             fbsBitGc             Clear
       
 12540         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-SetPenSize_command08
       
 12541         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-DrawLine_command09
       
 12542         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-SetClippingRect_command10
       
 12543         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-DrawLine_command11
       
 12544         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-SetBrushColor_command12
       
 12545         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-SetPenColor_command13
       
 12546         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-SetClippingRect_command14
       
 12547         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-SetDrawMode_command15
       
 12548         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-SetPenStyle_command16
       
 12549         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-DrawRect_command17
       
 12550         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-checkRectColor_command18
       
 12551        	COMMAND             fbsTypefaceStore     NewL
       
 12552         COMMAND             fbsTypefaceStore     GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-GetNearestFontToDesignHeightInPixels_command19
       
 12553         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-UseFont_command20
       
 12554         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-IsFontUsed_command21
       
 12555         COMMAND             fbsScrDev            Update
       
 12556         DELAY               500000
       
 12557         COMMAND             fbsBitGc             Reset
       
 12558         COMMAND             fbsBitGc             Clear
       
 12559         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-IsFontUsed_command26
       
 12560         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-DrawRect_command27
       
 12561         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-checkRectColor_command28
       
 12562         COMMAND             fbsScrDev            checkLineColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-checkLineColor_command29
       
 12563         COMMAND             fbsScrDev            Update
       
 12564         DELAY               500000
       
 12565        	COMMAND             fbsTypefaceStore     ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931-ReleaseFont_command32
       
 12566        	COMMAND             fbsTypefaceStore     ~
       
 12567         COMMAND             fbsSession           Disconnect
       
 12568         COMMAND             fbsBitGc             ~
       
 12569         COMMAND             fbsScrDev            ~
       
 12570      END_TEST_BLOCK
       
 12571 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0931
       
 12572 
       
 12573 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0932
       
 12574 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0932
       
 12575 //! @SYMAPI                 CFbsBitGc::Reset()
       
 12576 //! @SYMAuthor              Felix Rao
       
 12577 //! @SYMCreationDate        08/01/2009
       
 12578 //! @SYMTestCaseDesc        Resets the graphics context to its default settings using a non-activated CFbsBitGc object.
       
 12579 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
 12580 //!                         2. Reset the CFbsBitGc object.
       
 12581 //!                         3. Destruct CFbsBitGc object.
       
 12582 //! @SYMTestStatus          Implemented
       
 12583 //! @SYMTestPriority        High
       
 12584 //! @SYMTestExpectedResults Reset will be called without error.
       
 12585 //! @SYMTestType            CIT
       
 12586 
       
 12587     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12588         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12589         COMMAND             fbsBitGc             NewL
       
 12590         COMMAND             fbsBitGc             Reset
       
 12591         COMMAND             fbsBitGc             ~
       
 12592      END_TEST_BLOCK
       
 12593 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0932
       
 12594 
       
 12595 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0941
       
 12596 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0941
       
 12597 //! @SYMAPI                 CFbsBitGc::Resized()
       
 12598 //! @SYMAuthor              Felix Rao
       
 12599 //! @SYMCreationDate        12/01/2009
       
 12600 //! @SYMTestCaseDesc        Needs to be called if the CFbsBitmapDevice is resized.
       
 12601 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12602 //!                         2. Create a CFbsBitGc object and a CFbsBitmap object.
       
 12603 //!                         3. Load the bitmap.
       
 12604 //!                         4. Create a CFbsBitmapDevice object using the CFbsBitmap object.
       
 12605 //!                         5. Activate the CFbsBitGc object to draw to the CFbsBitmapDevice object.
       
 12606 //!                         6. Resize CFbsBitmapDevice object.
       
 12607 //!                         7. Call Resized of CFbsBitGc object
       
 12608 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object, CFbsBitmap object and CFbsBitmapDevice object.
       
 12609 //! @SYMTestStatus          Implemented
       
 12610 //! @SYMTestPriority        High
       
 12611 //! @SYMTestExpectedResults Resized will be called without error.
       
 12612 //! @SYMTestType            CIT
       
 12613 
       
 12614     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12615         CREATE_OBJECT       RFbsSession          fbsSession
       
 12616         CREATE_OBJECT       CFbsBitmapDevice     fbsBmpDev
       
 12617         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12618         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 12619         COMMAND             fbsSession           Connect
       
 12620         COMMAND             fbsBitGc             NewL
       
 12621         COMMAND             fbsBitmap            new
       
 12622         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0941-Load_command04
       
 12623         COMMAND             fbsBmpDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0941-NewL_command05
       
 12624         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0941-Activate_command06
       
 12625         COMMAND             fbsBmpDev            Resize                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0941-Resize_command07
       
 12626         COMMAND             fbsBitGc             Resized
       
 12627         COMMAND             fbsBitGc             ~
       
 12628         COMMAND             fbsBitmap            ~
       
 12629         COMMAND             fbsBmpDev            ~
       
 12630         COMMAND             fbsSession           Disconnect
       
 12631      END_TEST_BLOCK
       
 12632 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0941
       
 12633 
       
 12634 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0942
       
 12635 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0942
       
 12636 //! @SYMAPI                 CFbsBitGc::Resized()
       
 12637 //! @SYMAuthor              Felix Rao
       
 12638 //! @SYMCreationDate        12/01/2009
       
 12639 //! @SYMTestCaseDesc        Negative case. Called without CFbsBitmapDevice object resized.
       
 12640 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12641 //!                         2. Create a CFbsBitGc object and a CFbsBitmap object.
       
 12642 //!                         3. Load the bitmap.
       
 12643 //!                         4. Create a CFbsBitmapDevice object using the CFbsBitmap object.
       
 12644 //!                         5. Activate the CFbsBitGc object to draw to the CFbsBitmapDevice object.
       
 12645 //!                         6. Call Resized of CFbsBitGc object
       
 12646 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object, CFbsBitmap object and CFbsBitmapDevice object.
       
 12647 //! @SYMTestStatus          Implemented
       
 12648 //! @SYMTestPriority        High
       
 12649 //! @SYMTestExpectedResults Resized will be called without error.
       
 12650 //! @SYMTestType            CIT
       
 12651 
       
 12652     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12653         CREATE_OBJECT       RFbsSession          fbsSession
       
 12654         CREATE_OBJECT       CFbsBitmapDevice     fbsBmpDev
       
 12655         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12656         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 12657         COMMAND             fbsSession           Connect
       
 12658         COMMAND             fbsBitGc             NewL
       
 12659         COMMAND             fbsBitmap            new
       
 12660         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0942-Load_command04
       
 12661         COMMAND             fbsBmpDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0942-NewL_command05
       
 12662         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0942-Activate_command06
       
 12663         COMMAND             fbsBitGc             Resized
       
 12664         COMMAND             fbsBitGc             ~
       
 12665         COMMAND             fbsBitmap            ~
       
 12666         COMMAND             fbsBmpDev            ~
       
 12667         COMMAND             fbsSession           Disconnect
       
 12668      END_TEST_BLOCK
       
 12669 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0942
       
 12670 
       
 12671 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0943
       
 12672 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0943
       
 12673 //! @SYMAPI                 CFbsBitGc::Resized()
       
 12674 //! @SYMAuthor              Felix Rao
       
 12675 //! @SYMCreationDate        12/01/2009
       
 12676 //! @SYMTestCaseDesc        Negative case. Called using a non-activated CFbsBitGc object.
       
 12677 //! @SYMTestActions         1. Create a CFbsBitGc object.
       
 12678 //!                         2. Call Resized of CFbsBitGc object
       
 12679 //! @SYMTestStatus          Implemented
       
 12680 //! @SYMTestPriority        High
       
 12681 //! @SYMTestExpectedResults Get Panic code 1 and Panic String BITGDI
       
 12682 //! @SYMTestType            CIT
       
 12683 
       
 12684     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12685         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12686         COMMAND             fbsBitGc             NewL
       
 12687         COMMAND             fbsBitGc             Resized
       
 12688      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
 12689      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 12690 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0943
       
 12691 
       
 12692 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0944
       
 12693 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-0944
       
 12694 //! @SYMAPI                 CFbsBitGc::Resized()
       
 12695 //! @SYMAuthor              Felix Rao
       
 12696 //! @SYMCreationDate        13/01/2009
       
 12697 //! @SYMTestCaseDesc        Negative case. Needs to be called if the CFbsBitmapDevice is resized.
       
 12698 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12699 //!                         2. Create a CFbsBitGc object.
       
 12700 //!                         3. Create a CFbsBitmap object and load the bitmap.
       
 12701 //!                         4. Create a CFbsBitmapDevice object using the CFbsBitmap object.
       
 12702 //!                         5. Activate the CFbsBitGc object to draw to the CFbsBitmapDevice object.
       
 12703 //!                         6. Draw a line from point (0, 0) to (8000, 8000).
       
 12704 //!                         7. Set the drawing and brush origin to (-8000, -8000).
       
 12705 //!                         8. Resize CFbsBitmapDevice object.
       
 12706 //!                         9. Call Resized of CFbsBitGc object
       
 12707 //!                         10. Disconnect RFbsSession and destruct CFbsBitGc object, CFbsBitmap object and CFbsBitmapDevice object.
       
 12708 //! @SYMTestStatus          Implemented
       
 12709 //! @SYMTestPriority        High
       
 12710 //! @SYMTestExpectedResults Resized will be called without error.
       
 12711 //! @SYMTestType            CIT
       
 12712 
       
 12713     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12714         CREATE_OBJECT       RFbsSession          fbsSession
       
 12715         CREATE_OBJECT       CFbsBitmapDevice     fbsBmpDev
       
 12716         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12717         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 12718         COMMAND             fbsSession           Connect
       
 12719         COMMAND             fbsBitGc             NewL
       
 12720         COMMAND             fbsBitmap            new
       
 12721         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0944-Load_command04
       
 12722         COMMAND             fbsBmpDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-0944-NewL_command05
       
 12723         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0944-Activate_command06
       
 12724         COMMAND             fbsBitGc             DrawLine                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-0944-DrawLine_command07
       
 12725         COMMAND             fbsBitGc             SetOrigin                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-0944-SetOrigin_command08
       
 12726         COMMAND             fbsBitGc             SetBrushOrigin                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-0944-SetBrushOrigin_command09
       
 12727         COMMAND             fbsBmpDev            Resize                                 GRAPHICS-BITGDI-FbsBitGc-PublicApi-0944-Resize_command10
       
 12728         COMMAND             fbsBitGc             Resized
       
 12729         COMMAND             fbsBitGc             ~
       
 12730         COMMAND             fbsBitmap            ~
       
 12731         COMMAND             fbsBmpDev            ~
       
 12732         COMMAND             fbsSession           Disconnect
       
 12733      END_TEST_BLOCK
       
 12734 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-0944
       
 12735 
       
 12736 
       
 12737 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1101
       
 12738 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1101
       
 12739 //! @SYMAPI                 CFbsBitGc::SetBrushStyle(TBrushStyle);
       
 12740 //! @SYMAuthor              Forbes Fu
       
 12741 //! @SYMCreationDate        08/01/2009
       
 12742 //! @SYMTestCaseDesc        Set the brush style to ENullBrush and draw a hollow pie.
       
 12743 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12744 //!                         2. Create a CFbsScreenDevice object.
       
 12745 //!                         3. Create a CFbsBitGc object.
       
 12746 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 12747 //!                         5. Set the brush style to ENullBrush.
       
 12748 //!                         6. Set the brush color to TRgb(0, 0, 0).
       
 12749 //!                         7. Draw a pie.
       
 12750 //!                         8. Update the device.
       
 12751 //!                         9. Check a pixel in pie.
       
 12752 //!                         10.Delay half a second
       
 12753 //!                         11.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 12754 //!                         12.Disconnect RFbsSession.
       
 12755 //! @SYMTestStatus          Implemented
       
 12756 //! @SYMTestPriority        High
       
 12757 //! @SYMTestExpectedResults A hollow pie will be drawn and the color in TPoint(90, 90) should be TRgb(255, 255, 255).
       
 12758 //! @SYMTestType            CIT
       
 12759 
       
 12760     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12761         CREATE_OBJECT       RFbsSession          fbsSession
       
 12762         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12763         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12764         COMMAND             fbsSession           Connect
       
 12765         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1101-NewL_command02
       
 12766         COMMAND             fbsBitGc             NewL
       
 12767         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1101-Activate_command04
       
 12768         COMMAND             fbsBitGc             Clear
       
 12769         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1101-SetBrushStyle_command06
       
 12770         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1101-SetBrushColor_command07
       
 12771         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1101-DrawPie_command08
       
 12772         COMMAND             fbsScrDev            Update
       
 12773         COMMAND             fbsScrDev            checkPixels                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1101-checkPixels_command10
       
 12774         DELAY               500000
       
 12775         COMMAND             fbsBitGc             ~
       
 12776         COMMAND             fbsScrDev            ~
       
 12777         COMMAND             fbsSession           Disconnect
       
 12778      END_TEST_BLOCK
       
 12779 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1101
       
 12780 
       
 12781 
       
 12782 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1102
       
 12783 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1102
       
 12784 //! @SYMAPI                 CFbsBitGc::SetBrushStyle(TBrushStyle);
       
 12785 //! @SYMAuthor              Forbes Fu
       
 12786 //! @SYMCreationDate        08/01/2009
       
 12787 //! @SYMTestCaseDesc        Set the brush style to ESolidBrush and draw a solid pie.
       
 12788 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12789 //!                         2. Create a CFbsScreenDevice object.
       
 12790 //!                         3. Create a CFbsBitGc object.
       
 12791 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 12792 //!                         5. Set the brush style to ESolidBrush.
       
 12793 //!                         6. Set the brush color to TRgb(0, 0, 0).
       
 12794 //!                         7. Draw a pie.
       
 12795 //!                         8. Update the device and Delay half a second.
       
 12796 //!                         9. Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 12797 //!                         10.Disconnect RFbsSession.
       
 12798 //! @SYMTestStatus          Implemented
       
 12799 //! @SYMTestPriority        High
       
 12800 //! @SYMTestExpectedResults A pie will be drawn.
       
 12801 //! @SYMTestType            CIT
       
 12802 
       
 12803     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12804         CREATE_OBJECT       RFbsSession          fbsSession
       
 12805         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12806         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12807         COMMAND             fbsSession           Connect
       
 12808         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1102-NewL_command02
       
 12809         COMMAND             fbsBitGc             NewL
       
 12810         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1102-Activate_command04
       
 12811         COMMAND             fbsBitGc             Clear
       
 12812         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1102-SetBrushStyle_command06
       
 12813         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1102-SetBrushColor_command07
       
 12814         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1102-DrawPie_command08
       
 12815         COMMAND             fbsScrDev            Update
       
 12816         DELAY               500000
       
 12817         COMMAND             fbsBitGc             ~
       
 12818         COMMAND             fbsScrDev            ~
       
 12819         COMMAND             fbsSession           Disconnect
       
 12820      END_TEST_BLOCK
       
 12821 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1102
       
 12822 
       
 12823 
       
 12824 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1103
       
 12825 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1103
       
 12826 //! @SYMAPI                 CFbsBitGc::SetBrushStyle(TBrushStyle);
       
 12827 //! @SYMAuthor              Forbes Fu
       
 12828 //! @SYMCreationDate        08/01/2009
       
 12829 //! @SYMTestCaseDesc        Set the brush style to EPatternedBrush and draw a patterned pie.
       
 12830 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12831 //!                         2. Create a CFbsScreenDevice object.
       
 12832 //!                         3. Create a CFbsBitGc object.
       
 12833 //!                         4. Create a CFbsBitmap and load a bitmap.
       
 12834 //!                         5. Activate the CFbsBitGc object and clear the device.
       
 12835 //!                         6. Set the brush pattern to the bitmap.
       
 12836 //!                         7. Set the brush style to EPatternedBrush.
       
 12837 //!                         8. Draw a pie.
       
 12838 //!                         9. Update the device and Delay half a second.
       
 12839 //!                         10.Destroy the CFbsBitmap object, CFbsBitGc object and CFbsScreenDevice object.
       
 12840 //!                         11.Disconnect RFbsSession.
       
 12841 //! @SYMTestStatus          Implemented
       
 12842 //! @SYMTestPriority        High
       
 12843 //! @SYMTestExpectedResults A pie will be drawn.
       
 12844 //! @SYMTestType            CIT
       
 12845 
       
 12846     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12847         CREATE_OBJECT       RFbsSession          fbsSession
       
 12848         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12849         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12850         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 12851         COMMAND             fbsSession           Connect
       
 12852         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1103-NewL_command02
       
 12853         COMMAND             fbsBitGc             NewL
       
 12854         COMMAND             fbsBitmap            new
       
 12855         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1103-Load_command05
       
 12856         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1103-Activate_command06
       
 12857         COMMAND             fbsBitGc             Clear
       
 12858         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-1103-UseBrushPattern_command08
       
 12859         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1103-SetBrushStyle_command09
       
 12860         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1103-DrawPie_command10
       
 12861         COMMAND             fbsScrDev            Update
       
 12862         DELAY               500000
       
 12863         COMMAND             fbsBitmap            ~
       
 12864         COMMAND             fbsBitGc             ~
       
 12865         COMMAND             fbsScrDev            ~
       
 12866         COMMAND             fbsSession           Disconnect
       
 12867      END_TEST_BLOCK
       
 12868 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1103
       
 12869 
       
 12870 
       
 12871 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1104
       
 12872 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1104
       
 12873 //! @SYMAPI                 CFbsBitGc::SetBrushStyle(TBrushStyle);
       
 12874 //! @SYMAuthor              Forbes Fu
       
 12875 //! @SYMCreationDate        08/01/2009
       
 12876 //! @SYMTestCaseDesc        Negative case; Set the brush style to EPatternedBrush and draw a patterned pie without setting the brush pattern to a bitmap.
       
 12877 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12878 //!                         2. Create a CFbsScreenDevice object.
       
 12879 //!                         3. Create a CFbsBitGc object.
       
 12880 //!                         4. Create a CFbsBitmap and load a bitmap.
       
 12881 //!                         5. Activate the CFbsBitGc object and clear the device.
       
 12882 //!                         6. Set the brush pattern to the bitmap.
       
 12883 //!                         7. Set the brush style to EPatternedBrush.
       
 12884 //!                         8. Draw a pie and panic occurs.
       
 12885 //! @SYMTestStatus          Implemented
       
 12886 //! @SYMTestPriority        High
       
 12887 //! @SYMTestExpectedResults Get panic "BITGDI 13".
       
 12888 //! @SYMTestType            CIT
       
 12889 
       
 12890     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12891         CREATE_OBJECT       RFbsSession          fbsSession
       
 12892         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12893         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12894         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 12895         COMMAND             fbsSession           Connect
       
 12896         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1104-NewL_command02
       
 12897         COMMAND             fbsBitGc             NewL
       
 12898         COMMAND             fbsBitmap            new
       
 12899         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1104-Load_command05
       
 12900         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1104-Activate_command06
       
 12901         COMMAND             fbsBitGc             Clear
       
 12902         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1104-SetBrushStyle_command08
       
 12903         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1104-DrawPie_command09
       
 12904     END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=13
       
 12905     RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 12906 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1104
       
 12907 
       
 12908 
       
 12909 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1105
       
 12910 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1105
       
 12911 //! @SYMAPI                 CFbsBitGc::SetBrushColor(const TRgb{ref});
       
 12912 //! @SYMAuthor              Forbes Fu
       
 12913 //! @SYMCreationDate        08/01/2009
       
 12914 //! @SYMTestCaseDesc        Set the brush color to TRgb(255, 0, 0) and draw a red pie.
       
 12915 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12916 //!                         2. Create a CFbsScreenDevice object.
       
 12917 //!                         3. Create a CFbsBitGc object.
       
 12918 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 12919 //!                         5. Set brush color to TRgb(255, 0, 0).
       
 12920 //!                         6. Draw a red pie.
       
 12921 //!                         7. Update the device and Delay half a second.
       
 12922 //!                         8. Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 12923 //!                         9. Disconnect RFbsSession.
       
 12924 //! @SYMTestStatus          Implemented
       
 12925 //! @SYMTestPriority        High
       
 12926 //! @SYMTestExpectedResults A red pie will be drawn.
       
 12927 //! @SYMTestType            CIT
       
 12928 
       
 12929     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12930         CREATE_OBJECT       RFbsSession          fbsSession
       
 12931         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12932         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12933         COMMAND             fbsSession           Connect
       
 12934         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1105-NewL_command02
       
 12935         COMMAND             fbsBitGc             NewL
       
 12936         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1105-Activate_command04
       
 12937         COMMAND             fbsBitGc             Clear
       
 12938         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1105-SetBrushStyle_command06
       
 12939         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1105-SetBrushColor_command07
       
 12940         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1105-DrawPie_command08
       
 12941         COMMAND             fbsScrDev            Update
       
 12942         DELAY               500000
       
 12943         COMMAND             fbsBitGc             ~
       
 12944         COMMAND             fbsScrDev            ~
       
 12945         COMMAND             fbsSession           Disconnect
       
 12946      END_TEST_BLOCK
       
 12947 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1105
       
 12948 
       
 12949 
       
 12950 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106
       
 12951 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106
       
 12952 //! @SYMAPI                 CFbsBitGc::SetBrushStyle(TBrushStyle);
       
 12953 //! @SYMAuthor              Forbes Fu
       
 12954 //! @SYMCreationDate        08/01/2009
       
 12955 //! @SYMTestCaseDesc        Set the brush style to EVerticalHatchBrush, EForwardDiagonalHatchBrush, EHorizontalHatchBrush, ERearwardDiagonalHatchBrush,
       
 12956 //!                         ESquareCrossHatchBrush, EDiamondCrossHatchBrush and draw six colorful rectangles respectively.
       
 12957 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 12958 //!                         2. Create a CFbsScreenDevice object.
       
 12959 //!                         3. Create a CFbsBitGc object.
       
 12960 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 12961 //!                         5. Set the brush color to TRgb(255, 0, 0).
       
 12962 //!                         6. Set the brush style to EVerticalHatchBrush.
       
 12963 //!                         7. Draw a rectangle.
       
 12964 //!                         8. Set the brush style to EForwardDiagonalHatchBrush.
       
 12965 //!                         9. Draw a rectangle.
       
 12966 //!                         10.Set the brush color to TRgb(0, 255, 0).
       
 12967 //!                         11.Set the brush style to EHorizontalHatchBrush.
       
 12968 //!                         12.Draw a rectangle.
       
 12969 //!                         13.Set the brush style to ERearwardDiagonalHatchBrush.
       
 12970 //!                         14.Draw a rectangle.
       
 12971 //!                         15.Set the brush color to TRgb(0, 0, 255).
       
 12972 //!                         16.Set the brush style to ESquareCrossHatchBrush.
       
 12973 //!                         17.Draw a rectangle.
       
 12974 //!                         18.Set the brush style to EDiamondCrossHatchBrush.
       
 12975 //!                         19.Draw a rectangle.
       
 12976 //!                         20.Update the device and Delay half a second.
       
 12977 //!                         21.Destroy the CFbsBitmap object, CFbsBitGc object and CFbsScreenDevice object.
       
 12978 //!                         22.Disconnect RFbsSession.
       
 12979 //! @SYMTestStatus          Implemented
       
 12980 //! @SYMTestPriority        High
       
 12981 //! @SYMTestExpectedResults Six rectangles with different brush styles will be drawn.
       
 12982 //! @SYMTestType            CIT
       
 12983 
       
 12984     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 12985         CREATE_OBJECT       RFbsSession          fbsSession
       
 12986         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 12987         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 12988         COMMAND             fbsSession           Connect
       
 12989         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-NewL_command02
       
 12990         COMMAND             fbsBitGc             NewL
       
 12991         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-Activate_command04
       
 12992         COMMAND             fbsBitGc             Clear
       
 12993         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-SetBrushColor_command06
       
 12994         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-SetBrushStyle_command07
       
 12995         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-DrawRect_command08
       
 12996         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-SetBrushStyle_command09
       
 12997         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-DrawRect_command10
       
 12998         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-SetBrushColor_command11
       
 12999         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-SetBrushStyle_command12
       
 13000         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-DrawRect_command13
       
 13001         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-SetBrushStyle_command14
       
 13002         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-DrawRect_command15
       
 13003         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-SetBrushColor_command16
       
 13004         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-SetBrushStyle_command17
       
 13005         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-DrawRect_command18
       
 13006         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-SetBrushStyle_command19
       
 13007         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106-DrawRect_command20
       
 13008         COMMAND             fbsScrDev            Update
       
 13009         DELAY               500000
       
 13010         COMMAND             fbsBitGc             ~
       
 13011         COMMAND             fbsScrDev            ~
       
 13012         COMMAND             fbsSession           Disconnect
       
 13013      END_TEST_BLOCK
       
 13014 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1106
       
 13015 
       
 13016 
       
 13017 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1107
       
 13018 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1107
       
 13019 //! @SYMAPI                 CFbsBitGc::SetBrushOrigin(const TPoint{ref});
       
 13020 //! @SYMAuthor              Forbes Fu
       
 13021 //! @SYMCreationDate        08/01/2009
       
 13022 //! @SYMTestCaseDesc        Set the brush pattern origin to TPoint(10, 10) and draw a retangle with default brush style.
       
 13023 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13024 //!                         2. Create a CFbsScreenDevice object.
       
 13025 //!                         3. Create a CFbsBitGc object.
       
 13026 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 13027 //!                         5. Set the brush pattern origin to TPoint(10, 10).
       
 13028 //!                         6. Draw a rectangle.
       
 13029 //!                         7. Update the device and Delay half a second.
       
 13030 //!                         8. Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13031 //!                         9. Disconnect RFbsSession.
       
 13032 //! @SYMTestStatus          Implemented
       
 13033 //! @SYMTestPriority        High
       
 13034 //! @SYMTestExpectedResults A retangle will be drawn.
       
 13035 //! @SYMTestType            CIT
       
 13036 
       
 13037     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13038         CREATE_OBJECT       RFbsSession          fbsSession
       
 13039         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13040         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13041         COMMAND             fbsSession           Connect
       
 13042         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1107-NewL_command02
       
 13043         COMMAND             fbsBitGc             NewL
       
 13044         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1107-Activate_command04
       
 13045         COMMAND             fbsBitGc             Clear
       
 13046         COMMAND             fbsBitGc             SetBrushOrigin                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1107-SetBrushOrigin_command06
       
 13047         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1107-DrawRect_command07
       
 13048         COMMAND             fbsScrDev            Update
       
 13049         DELAY               500000
       
 13050         COMMAND             fbsBitGc             ~
       
 13051         COMMAND             fbsScrDev            ~
       
 13052         COMMAND             fbsSession           Disconnect
       
 13053      END_TEST_BLOCK
       
 13054 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1107
       
 13055 
       
 13056 
       
 13057 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108
       
 13058 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108
       
 13059 //! @SYMAPI                 CFbsBitGc::SetBrushOrigin(const TPoint{ref});
       
 13060 //! @SYMAuthor              Forbes Fu
       
 13061 //! @SYMCreationDate        08/01/2009
       
 13062 //! @SYMTestCaseDesc        Set the brush pattern origin to TPoint(20, 10) and draw a retangle with a bitmap pattern;
       
 13063 //!                         Then set the brush pattern origin to TPoint(0, 0) and draw another retangle.
       
 13064 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13065 //!                         2. Create a CFbsScreenDevice object.
       
 13066 //!                         3. Create a CFbsBitGc object.
       
 13067 //!                         4. Create a CFbsBitmap and load a bitmap.
       
 13068 //!                         5. Activate the CFbsBitGc object and clear the device.
       
 13069 //!                         6. Set the brush pattern to the bitmap.
       
 13070 //!                         7. Set the brush style to EPatternedBrush.
       
 13071 //!                         8. Set the brush pattern origin to TPoint(20, 10).
       
 13072 //!                         9. Draw a retangle.
       
 13073 //!                         10.Set the brush pattern origin to TPoint(0, 0).
       
 13074 //!                         11.Draw a retangle.
       
 13075 //!                         12.Update the device and Delay half a second.
       
 13076 //!                         13.Destroy fbsBitmap object, CFbsBitGc object and CFbsScreenDevice object.
       
 13077 //!                         14.Disconnect RFbsSession.
       
 13078 //! @SYMTestStatus          Implemented
       
 13079 //! @SYMTestPriority        High
       
 13080 //! @SYMTestExpectedResults Two retangles with different pattern origins will be drawn.
       
 13081 //! @SYMTestType            CIT
       
 13082 
       
 13083     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13084         CREATE_OBJECT       RFbsSession          fbsSession
       
 13085         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13086         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13087         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 13088         COMMAND             fbsSession           Connect
       
 13089         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108-NewL_command02
       
 13090         COMMAND             fbsBitGc             NewL
       
 13091         COMMAND             fbsBitmap            new
       
 13092         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108-Load_command05
       
 13093         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108-Activate_command06
       
 13094         COMMAND             fbsBitGc             Clear
       
 13095         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108-UseBrushPattern_command08
       
 13096         COMMAND             fbsBitGc             SetBrushOrigin                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108-SetBrushOrigin_command09
       
 13097         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108-DrawRect_command10
       
 13098         COMMAND             fbsBitGc             SetBrushOrigin                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108-SetBrushOrigin_command11
       
 13099         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108-DrawRect_command12
       
 13100         COMMAND             fbsScrDev            Update
       
 13101         DELAY               500000
       
 13102         COMMAND             fbsBitmap            ~
       
 13103         COMMAND             fbsBitGc             ~
       
 13104         COMMAND             fbsScrDev            ~
       
 13105         COMMAND             fbsSession           Disconnect
       
 13106      END_TEST_BLOCK
       
 13107 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1108
       
 13108 
       
 13109 
       
 13110 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109
       
 13111 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109
       
 13112 //! @SYMAPI                 CFbsBitGc::SetBrushColor(const TRgb{ref});
       
 13113 //!                         CFbsBitGc::SetBrushStyle(TBrushStyle);
       
 13114 //! @SYMAuthor              Forbes Fu
       
 13115 //! @SYMCreationDate        08/01/2009
       
 13116 //! @SYMTestCaseDesc        Set the brush style to ESolidBrush; Set the brush color to TRgb(255, 0, 0), TRgb(0, 0, 0), TRgb(255, 255, 255);
       
 13117 //!                         Draw three rectangles and check retangle color respectively.
       
 13118 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13119 //!                         2. Create a CFbsScreenDevice object.
       
 13120 //!                         3. Create a CFbsBitGc object.
       
 13121 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 13122 //!                         5. Set the brush style to ESolidBrush.
       
 13123 //!                         6. Set the brush color to TRgb(255, 0, 0).
       
 13124 //!                         7. Draw a rectangle.
       
 13125 //!                         8. Set the brush color to TRgb(0, 0, 0).
       
 13126 //!                         9. Draw a rectangle.
       
 13127 //!                         10.Set the brush color to TRgb(255, 255, 255).
       
 13128 //!                         11.Draw a rectangle.
       
 13129 //!                         12.Update the device.
       
 13130 //!                         13.Check retangle color.
       
 13131 //!                         14.Delay half a second.
       
 13132 //!                         15.Destroy the CFbsBitmap object, CFbsBitGc object and CFbsScreenDevice object.
       
 13133 //!                         16.Disconnect RFbsSession.
       
 13134 //! @SYMTestStatus          Implemented
       
 13135 //! @SYMTestPriority        High
       
 13136 //! @SYMTestExpectedResults checkRectColor returns TRUE.
       
 13137 //! @SYMTestType            CIT
       
 13138 
       
 13139     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13140         CREATE_OBJECT       RFbsSession          fbsSession
       
 13141         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13142         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13143         COMMAND             fbsSession           Connect
       
 13144         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109-NewL_command02
       
 13145         COMMAND             fbsBitGc             NewL
       
 13146         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109-Activate_command04
       
 13147         COMMAND             fbsBitGc             Clear
       
 13148         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109-SetBrushStyle_command06
       
 13149         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109-SetBrushColor_command07
       
 13150         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109-DrawRect_command08
       
 13151         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109-SetBrushColor_command09
       
 13152         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109-DrawRect_command10
       
 13153         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109-SetBrushColor_command11
       
 13154         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109-DrawRect_command12
       
 13155         COMMAND             fbsScrDev            Update
       
 13156         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109-checkRectColor_command14        
       
 13157         DELAY               500000
       
 13158         COMMAND             fbsBitGc             ~
       
 13159         COMMAND             fbsScrDev            ~
       
 13160         COMMAND             fbsSession           Disconnect
       
 13161      END_TEST_BLOCK
       
 13162 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1109
       
 13163 
       
 13164 
       
 13165 
       
 13166 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1111
       
 13167 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1111
       
 13168 //! @SYMAPI                 CFbsBitGc::SetPenColor(const TRgb{ref});
       
 13169 //! @SYMAuthor              Forbes Fu
       
 13170 //! @SYMCreationDate        09/01/2009
       
 13171 //! @SYMTestCaseDesc        Set the pen color to TRgb(0, 0, 255) and draw a pie with blue edge.
       
 13172 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13173 //!                         2. Create a CFbsScreenDevice object.
       
 13174 //!                         3. Create a CFbsBitGc object.
       
 13175 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 13176 //!                         5. Set pen color to TRgb(0, 0, 255).
       
 13177 //!                         6. Draw a pie with blue edge.
       
 13178 //!                         7. Update the device and Delay half a second.
       
 13179 //!                         8. Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13180 //!                         9. Disconnect RFbsSession.
       
 13181 //! @SYMTestStatus          Implemented
       
 13182 //! @SYMTestPriority        High
       
 13183 //! @SYMTestExpectedResults A pie with blue edge will be drawn.
       
 13184 //! @SYMTestType            CIT
       
 13185 
       
 13186     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13187         CREATE_OBJECT       RFbsSession          fbsSession
       
 13188         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13189         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13190         COMMAND             fbsSession           Connect
       
 13191         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1111-NewL_command02
       
 13192         COMMAND             fbsBitGc             NewL
       
 13193         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1111-Activate_command04
       
 13194         COMMAND             fbsBitGc             Clear
       
 13195         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1111-SetPenColor_command06
       
 13196         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1111-DrawPie_command07
       
 13197         COMMAND             fbsScrDev            Update
       
 13198         DELAY               500000
       
 13199         COMMAND             fbsBitGc             ~
       
 13200         COMMAND             fbsScrDev            ~
       
 13201         COMMAND             fbsSession           Disconnect
       
 13202      END_TEST_BLOCK
       
 13203 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1111
       
 13204 
       
 13205 
       
 13206 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1112
       
 13207 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1112
       
 13208 //! @SYMAPI                 CFbsBitGc::SetPenStyle(TPenStyle);
       
 13209 //! @SYMAuthor              Forbes Fu
       
 13210 //! @SYMCreationDate        09/01/2009
       
 13211 //! @SYMTestCaseDesc        Set the pen style to ENullPen and draw a pie.
       
 13212 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13213 //!                         2. Create a CFbsScreenDevice object.
       
 13214 //!                         3. Create a CFbsBitGc object.
       
 13215 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 13216 //!                         5. Set pen style to ENullPen.
       
 13217 //!                         6. Draw a pie.
       
 13218 //!                         7. Update the device and Delay half a second.
       
 13219 //!                         8. Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13220 //!                         9. Disconnect RFbsSession.
       
 13221 //! @SYMTestStatus          Implemented
       
 13222 //! @SYMTestPriority        High
       
 13223 //! @SYMTestExpectedResults The pie will be drawn without border.
       
 13224 //! @SYMTestType            CIT
       
 13225 
       
 13226     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13227         CREATE_OBJECT       RFbsSession          fbsSession
       
 13228         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13229         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13230         COMMAND             fbsSession           Connect
       
 13231         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1112-NewL_command02
       
 13232         COMMAND             fbsBitGc             NewL
       
 13233         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1112-Activate_command04
       
 13234         COMMAND             fbsBitGc             Clear
       
 13235         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1112-SetPenStyle_command06        
       
 13236         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1112-DrawPie_command07
       
 13237         COMMAND             fbsScrDev            Update
       
 13238         DELAY               500000
       
 13239         COMMAND             fbsBitGc             ~
       
 13240         COMMAND             fbsScrDev            ~
       
 13241         COMMAND             fbsSession           Disconnect
       
 13242      END_TEST_BLOCK
       
 13243 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1112
       
 13244 
       
 13245 
       
 13246 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1113
       
 13247 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1113
       
 13248 //! @SYMAPI                 CFbsBitGc::SetPenStyle(TPenStyle);
       
 13249 //! @SYMAuthor              Forbes Fu
       
 13250 //! @SYMCreationDate        09/01/2009
       
 13251 //! @SYMTestCaseDesc        Set the pen style to ESolidPen and draw a pie.
       
 13252 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13253 //!                         2. Create a CFbsScreenDevice object.
       
 13254 //!                         3. Create a CFbsBitGc object.
       
 13255 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 13256 //!                         5. Set pen style to ESolidPen.
       
 13257 //!                         6. Draw a pie.
       
 13258 //!                         7. Update the device and Delay half a second.
       
 13259 //!                         8. Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13260 //!                         9. Disconnect RFbsSession.
       
 13261 //! @SYMTestStatus          Implemented
       
 13262 //! @SYMTestPriority        High
       
 13263 //! @SYMTestExpectedResults A pie will be drawn.
       
 13264 //! @SYMTestType            CIT
       
 13265 
       
 13266     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13267         CREATE_OBJECT       RFbsSession          fbsSession
       
 13268         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13269         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13270         COMMAND             fbsSession           Connect
       
 13271         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1113-NewL_command02
       
 13272         COMMAND             fbsBitGc             NewL
       
 13273         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1113-Activate_command04
       
 13274         COMMAND             fbsBitGc             Clear
       
 13275         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1113-SetPenStyle_command06        
       
 13276         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1113-DrawPie_command07
       
 13277         COMMAND             fbsScrDev            Update
       
 13278         DELAY               500000
       
 13279         COMMAND             fbsBitGc             ~
       
 13280         COMMAND             fbsScrDev            ~
       
 13281         COMMAND             fbsSession           Disconnect
       
 13282      END_TEST_BLOCK
       
 13283 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1113
       
 13284 
       
 13285 
       
 13286 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114
       
 13287 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114
       
 13288 //! @SYMAPI                 CFbsBitGc::SetPenStyle(TPenStyle);
       
 13289 //! @SYMAuthor              Forbes Fu
       
 13290 //! @SYMCreationDate        09/01/2009
       
 13291 //! @SYMTestCaseDesc        Set the pen style to EDottedPen, EDashedPen, EDotDashPen, EDotDotDashPen and draw four colorful rectangles respectively.
       
 13292 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13293 //!                         2. Create a CFbsScreenDevice object.
       
 13294 //!                         3. Create a CFbsBitGc object.
       
 13295 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 13296 //!                         5. Set pen color to TRgb(255, 128, 0);
       
 13297 //!                         6. Set pen style to EDottedPen.
       
 13298 //!                         7. Draw a rectangle.
       
 13299 //!                         8. Set pen style to EDashedPen.
       
 13300 //!                         9. Draw a rectangle. 
       
 13301 //!                         10.Set pen color to TRgb(0, 128, 255);                  
       
 13302 //!                         11.Set pen style to EDotDashPen.
       
 13303 //!                         12.Draw a rectangle.
       
 13304 //!                         13.Set pen style to EDotDotDashPen.
       
 13305 //!                         14.Draw a rectangle.
       
 13306 //!                         15.Update the device and Delay half a second.
       
 13307 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13308 //!                         17.Disconnect RFbsSession.
       
 13309 //! @SYMTestStatus          Implemented
       
 13310 //! @SYMTestPriority        High
       
 13311 //! @SYMTestExpectedResults Four colorful rectangles with different pen styles will be drawn.
       
 13312 //! @SYMTestType            CIT
       
 13313 
       
 13314     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13315         CREATE_OBJECT       RFbsSession          fbsSession
       
 13316         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13317         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13318         COMMAND             fbsSession           Connect
       
 13319         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114-NewL_command02
       
 13320         COMMAND             fbsBitGc             NewL
       
 13321         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114-Activate_command04
       
 13322         COMMAND             fbsBitGc             Clear
       
 13323         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1111-SetPenColor_command06
       
 13324         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114-SetPenStyle_command07
       
 13325         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114-DrawRect_command08
       
 13326         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114-SetPenStyle_command09
       
 13327         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114-DrawRect_command10
       
 13328         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1111-SetPenColor_command11
       
 13329         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114-SetPenStyle_command12
       
 13330         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114-DrawRect_command13
       
 13331         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114-SetPenStyle_command14
       
 13332         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114-DrawRect_command15
       
 13333         COMMAND             fbsScrDev            Update
       
 13334         DELAY               500000
       
 13335         COMMAND             fbsBitGc             ~
       
 13336         COMMAND             fbsScrDev            ~
       
 13337         COMMAND             fbsSession           Disconnect
       
 13338      END_TEST_BLOCK
       
 13339 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1114
       
 13340 
       
 13341 
       
 13342 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1115
       
 13343 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1115
       
 13344 //! @SYMAPI                 CFbsBitGc::SetPenSize(const TSize{ref});
       
 13345 //! @SYMAuthor              Forbes Fu
       
 13346 //! @SYMCreationDate        09/01/2009
       
 13347 //! @SYMTestCaseDesc        Set the pen size to TSize(4, 2) and draw a rectangle.
       
 13348 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13349 //!                         2. Create a CFbsScreenDevice object.
       
 13350 //!                         3. Create a CFbsBitGc object.
       
 13351 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 13352 //!                         5. Set pen size to TSize(4, 2).
       
 13353 //!                         6. Draw a rectangle.
       
 13354 //!                         7. Update the device and Delay half a second.
       
 13355 //!                         8. Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13356 //!                         9. Disconnect RFbsSession.
       
 13357 //! @SYMTestStatus          Implemented
       
 13358 //! @SYMTestPriority        High
       
 13359 //! @SYMTestExpectedResults A rectangle will be drawn.
       
 13360 //! @SYMTestType            CIT
       
 13361 
       
 13362     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13363         CREATE_OBJECT       RFbsSession          fbsSession
       
 13364         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13365         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13366         COMMAND             fbsSession           Connect
       
 13367         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1115-NewL_command02
       
 13368         COMMAND             fbsBitGc             NewL
       
 13369         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1115-Activate_command04
       
 13370         COMMAND             fbsBitGc             Clear
       
 13371         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-1115-SetPenSize_command06        
       
 13372         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1115-DrawRect_command07        
       
 13373         COMMAND             fbsScrDev            Update
       
 13374         DELAY               500000
       
 13375         COMMAND             fbsBitGc             ~
       
 13376         COMMAND             fbsScrDev            ~
       
 13377         COMMAND             fbsSession           Disconnect
       
 13378      END_TEST_BLOCK
       
 13379 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1115
       
 13380 
       
 13381 
       
 13382 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116
       
 13383 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116
       
 13384 //! @SYMAPI                 CFbsBitGc::SetPenSize(const TSize{ref});
       
 13385 //! @SYMAuthor              Forbes Fu
       
 13386 //! @SYMCreationDate        09/01/2009
       
 13387 //! @SYMTestCaseDesc        Set the pen size to TSize(0, 2), TSize(-2, 0), TSize(0, 0) and draw three rectangles respectively.
       
 13388 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13389 //!                         2. Create a CFbsScreenDevice object.
       
 13390 //!                         3. Create a CFbsBitGc object.
       
 13391 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 13392 //!                         7. Set pen size to TSize(0, 2).
       
 13393 //!                         8. Draw a rectangle.
       
 13394 //!                         9. Set pen size to TSize(-2, 0).
       
 13395 //!                         10.Draw a rectangle.
       
 13396 //!                         11.Set pen size to TSize(0, 0).
       
 13397 //!                         12.Draw a rectangle.
       
 13398 //!                         13.Update the device and Delay half a second.
       
 13399 //!                         14.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13400 //!                         15.Disconnect RFbsSession.
       
 13401 //! @SYMTestStatus          Implemented
       
 13402 //! @SYMTestPriority        High
       
 13403 //! @SYMTestExpectedResults Three rectangles will not be drawn.
       
 13404 //! @SYMTestType            CIT
       
 13405 
       
 13406     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13407         CREATE_OBJECT       RFbsSession          fbsSession
       
 13408         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13409         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13410         COMMAND             fbsSession           Connect
       
 13411         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116-NewL_command02
       
 13412         COMMAND             fbsBitGc             NewL
       
 13413         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116-Activate_command04
       
 13414         COMMAND             fbsBitGc             Clear
       
 13415         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116-SetPenSize_command06
       
 13416         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116-DrawRect_command07
       
 13417         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116-SetPenSize_command08
       
 13418         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116-DrawRect_command09
       
 13419         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116-SetPenSize_command10
       
 13420         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116-DrawRect_command11
       
 13421         COMMAND             fbsScrDev            Update
       
 13422         DELAY               500000
       
 13423         COMMAND             fbsBitGc             ~
       
 13424         COMMAND             fbsScrDev            ~
       
 13425         COMMAND             fbsSession           Disconnect
       
 13426      END_TEST_BLOCK
       
 13427 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1116
       
 13428 
       
 13429 
       
 13430 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117
       
 13431 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117
       
 13432 //! @SYMAPI                 CFbsBitGc::SetPenColor(const TRgb{ref});
       
 13433 //!                         CFbsBitGc::SetPenSize(const TSize{ref});
       
 13434 //!                         CFbsBitGc::SetPenStyle(TPenStyle);
       
 13435 //! @SYMAuthor              Forbes Fu
       
 13436 //! @SYMCreationDate        09/01/2009
       
 13437 //! @SYMTestCaseDesc        Set the pen style to ESolidPen; Set the pen color to TRgb(255, 0, 0), TRgb(0, 0, 0), TRgb(255, 255, 255);
       
 13438 //!                         Set the pen size to TSize(5, 2), TSize(0, 0), TSize(1, 1);
       
 13439 //!                         Draw three different rectangles, then check retangle edge color respectively. 
       
 13440 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13441 //!                         2. Create a CFbsScreenDevice object.
       
 13442 //!                         3. Create a CFbsBitGc object.
       
 13443 //!                         4. Activate the CFbsBitGc object and clear the device..
       
 13444 //!                         5. Set pen style to ESolidPen.
       
 13445 //!                         6. Set the pen color to TRgb(255, 0, 0)
       
 13446 //!                         7. Set the pen size to TSize(5, 2).
       
 13447 //!                         8. Draw a rectangle.
       
 13448 //!                         9. Set the pen color to TRgb(0, 0, 0)
       
 13449 //!                         10.Set the pen size to TSize(0, 0).
       
 13450 //!                         11.Draw a rectangle.
       
 13451 //!                         12.Set the pen color to TRgb(255, 255, 255)
       
 13452 //!                         13.Set the pen size to TSize(1, 1).
       
 13453 //!                         14.Draw a rectangle.
       
 13454 //!                         15.Update the device
       
 13455 //!                         16.Check rectangle edge color. 
       
 13456 //!                         17.Delay half a second.
       
 13457 //!                         18.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13458 //!                         19.Disconnect RFbsSession.
       
 13459 //! @SYMTestStatus          Implemented
       
 13460 //! @SYMTestPriority        High
       
 13461 //! @SYMTestExpectedResults 1. The first Rectangle will be drawn with red border color.
       
 13462 //!                         2. The second Rectangle will not be drawn.
       
 13463 //!                         3. The third Rectangle will be drawn with white border color.
       
 13464 //! @SYMTestType            CIT
       
 13465 
       
 13466     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13467         CREATE_OBJECT       RFbsSession          fbsSession
       
 13468         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13469         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13470         COMMAND             fbsSession           Connect
       
 13471         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-NewL_command02
       
 13472         COMMAND             fbsBitGc             NewL
       
 13473         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-Activate_command04
       
 13474         COMMAND             fbsBitGc             Clear
       
 13475         COMMAND             fbsBitGc             SetPenStyle                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-SetPenStyle_command06
       
 13476         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-SetPenColor_command07
       
 13477         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-SetPenSize_command08
       
 13478         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-DrawRect_command09
       
 13479         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-SetPenColor_command10
       
 13480         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-SetPenSize_command11
       
 13481         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-DrawRect_command12
       
 13482         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-SetPenColor_command13
       
 13483         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-SetPenSize_command14
       
 13484         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-DrawRect_command15
       
 13485         COMMAND             fbsScrDev            Update
       
 13486         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117-checkRectColor_command17
       
 13487         DELAY               500000
       
 13488         COMMAND             fbsBitGc             ~
       
 13489         COMMAND             fbsScrDev            ~
       
 13490         COMMAND             fbsSession           Disconnect
       
 13491      END_TEST_BLOCK
       
 13492 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1117
       
 13493 
       
 13494 
       
 13495 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1121
       
 13496 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1121
       
 13497 //! @SYMAPI                 CFbsBitGc::SetClippingRect(const TRect{ref});
       
 13498 //! @SYMAuthor              Forbes Fu
       
 13499 //! @SYMCreationDate        09/01/2009
       
 13500 //! @SYMTestCaseDesc        Set the clipping rectangle to TRect(0, 0, 120, 120) and draw a rectangle which is in the clipping area.
       
 13501 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13502 //!                         2. Create a CFbsScreenDevice object.
       
 13503 //!                         3. Create a CFbsBitGc object.
       
 13504 //!                         4. Activate the CFbsBitGc object and clear the device..
       
 13505 //!                         5. Set the brush style to ESolidBrush.
       
 13506 //!                         6. Set the brush color to TRgb(255, 0, 0).
       
 13507 //!                         7. Set the clipping rectangle to TRect(0, 0, 120, 120) and clear the device.
       
 13508 //!                         8. Draw a rectangle TRect(20, 20, 100, 100) and update the device.
       
 13509 //!                         9. Check whether the rectangle is drawn as expected.
       
 13510 //!                         10.Delay half a second.
       
 13511 //!                         11.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13512 //!                         12.Disconnect RFbsSession.
       
 13513 //! @SYMTestStatus          Implemented
       
 13514 //! @SYMTestPriority        High
       
 13515 //! @SYMTestExpectedResults The rectangle will be drawn as expected.
       
 13516 //! @SYMTestType            CIT
       
 13517 
       
 13518     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13519         CREATE_OBJECT       RFbsSession          fbsSession
       
 13520         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13521         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13522         COMMAND             fbsSession           Connect
       
 13523         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1121-NewL_command02
       
 13524         COMMAND             fbsBitGc             NewL
       
 13525         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1121-Activate_command04
       
 13526         COMMAND             fbsBitGc             Clear
       
 13527         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1121-SetBrushStyle_command06
       
 13528         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1121-SetBrushColor_command07
       
 13529         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-1121-SetClippingRect_command08
       
 13530         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1121-DrawRect_command09
       
 13531         COMMAND             fbsScrDev            Update
       
 13532         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1121-checkRectColor_command11
       
 13533         DELAY               500000
       
 13534         COMMAND             fbsBitGc             ~
       
 13535         COMMAND             fbsScrDev            ~
       
 13536         COMMAND             fbsSession           Disconnect
       
 13537      END_TEST_BLOCK
       
 13538 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1121
       
 13539 
       
 13540  
       
 13541 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122
       
 13542 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122
       
 13543 //! @SYMAPI                 CFbsBitGc::SetClippingRect(const TRect{ref});
       
 13544 //! @SYMAuthor              Forbes Fu
       
 13545 //! @SYMCreationDate        09/01/2009
       
 13546 //! @SYMTestCaseDesc        Set the clipping rectangle to TRect(0, 0, 120, 120) and draw a rectangle which is not in the clipping area.
       
 13547 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13548 //!                         2. Create a CFbsScreenDevice object.
       
 13549 //!                         3. Create two CFbsBitGc objects.
       
 13550 //!                         4. Activate a CFbsBitGc object and clear the screen.
       
 13551 //!                         5. Activate another CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 13552 //!                         6. Set the brush style to ESolidBrush.
       
 13553 //!                         7. Set the brush color to TRgb(0, 255, 0).
       
 13554 //!                         8. Set the clipping rectangle to TRect(0, 0, 120, 120) and clear the device.
       
 13555 //!                         9. Draw a rectangle TRect(130, 130, 180, 180) and update the device.
       
 13556 //!                         10.Check whether the rectangle is drawn as expected.
       
 13557 //!                         11.Delay half a second.
       
 13558 //!                         12.Destroy two CFbsBitGc objects and CFbsScreenDevice object.
       
 13559 //!                         13.Disconnect RFbsSession.
       
 13560 //! @SYMTestStatus          Implemented
       
 13561 //! @SYMTestPriority        High
       
 13562 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
 13563 //! @SYMTestType            CIT
       
 13564 
       
 13565     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13566         CREATE_OBJECT       RFbsSession          fbsSession
       
 13567         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13568         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13569         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
 13570         COMMAND             fbsSession           Connect
       
 13571         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122-NewL_command02
       
 13572         COMMAND             fbsBitGc             NewL
       
 13573         COMMAND             fbsBitGc2            NewL
       
 13574         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122-Activate_command05
       
 13575         COMMAND             fbsBitGc2            Clear
       
 13576         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122-Activate_command07
       
 13577         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122-SetBrushStyle_command08
       
 13578         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122-SetBrushColor_command09
       
 13579         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122-SetClippingRect_command10        
       
 13580         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122-DrawRect_command11
       
 13581         COMMAND             fbsScrDev            Update
       
 13582         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122-checkRectColor_command13
       
 13583         DELAY               500000
       
 13584         COMMAND             fbsBitGc2            ~
       
 13585         COMMAND             fbsBitGc             ~
       
 13586         COMMAND             fbsScrDev            ~
       
 13587         COMMAND             fbsSession           Disconnect
       
 13588      END_TEST_BLOCK
       
 13589 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1122
       
 13590 
       
 13591 
       
 13592 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123
       
 13593 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123
       
 13594 //! @SYMAPI                 CFbsBitGc::SetClippingRect(const TRect{ref});
       
 13595 //! @SYMAuthor              Forbes Fu
       
 13596 //! @SYMCreationDate        09/01/2009
       
 13597 //! @SYMTestCaseDesc        Set the clipping rectangle to TRect(0, 0, 120, 120) and draw a rectangle whose one corner is in the clipping area.
       
 13598 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13599 //!                         2. Create a CFbsScreenDevice object.
       
 13600 //!                         3. Create two CFbsBitGc objects.
       
 13601 //!                         4. Activate a CFbsBitGc object and clear the screen.
       
 13602 //!                         5. Activate another CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 13603 //!                         6. Set the brush style to ESolidBrush.
       
 13604 //!                         7. Set the brush color to TRgb(0, 0, 255).
       
 13605 //!                         8. Set the clipping rectangle to TRect(0, 0, 120, 120) and clear the device.
       
 13606 //!                         9. Draw a rectangle TRect(100, 100, 150, 150) and update the device.
       
 13607 //!                         10.Check whether the rectangle is drawn as expected.
       
 13608 //!                         11.Delay half a second.
       
 13609 //!                         12.Destroy two CFbsBitGc objects and CFbsScreenDevice object.
       
 13610 //!                         13.Disconnect RFbsSession.
       
 13611 //! @SYMTestStatus          Implemented
       
 13612 //! @SYMTestPriority        High
       
 13613 //! @SYMTestExpectedResults Only the top left corner of the rectangle will be drawn.
       
 13614 //! @SYMTestType            CIT
       
 13615 
       
 13616     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13617         CREATE_OBJECT       RFbsSession          fbsSession
       
 13618         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13619         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13620         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
 13621         COMMAND             fbsSession           Connect
       
 13622         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123-NewL_command02
       
 13623         COMMAND             fbsBitGc             NewL
       
 13624         COMMAND             fbsBitGc2            NewL
       
 13625         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123-Activate_command05
       
 13626         COMMAND             fbsBitGc2            Clear
       
 13627         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123-Activate_command07
       
 13628         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123-SetBrushStyle_command08
       
 13629         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123-SetBrushColor_command09
       
 13630         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123-SetClippingRect_command10        
       
 13631         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123-DrawRect_command11
       
 13632         COMMAND             fbsScrDev            Update
       
 13633         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123-checkRectColor_command13
       
 13634         DELAY               500000
       
 13635         COMMAND             fbsBitGc2            ~
       
 13636         COMMAND             fbsBitGc             ~
       
 13637         COMMAND             fbsScrDev            ~
       
 13638         COMMAND             fbsSession           Disconnect
       
 13639      END_TEST_BLOCK
       
 13640 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1123
       
 13641 
       
 13642 
       
 13643 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124
       
 13644 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124
       
 13645 //! @SYMAPI                 CFbsBitGc::SetClippingRect(const TRect{ref});
       
 13646 //! @SYMAuthor              Forbes Fu
       
 13647 //! @SYMCreationDate        09/01/2009
       
 13648 //! @SYMTestCaseDesc        Set the clipping rectangle to TRect(120, 120, 0, 0) and draw a rectangle.
       
 13649 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13650 //!                         2. Create a CFbsScreenDevice object.
       
 13651 //!                         3. Create two CFbsBitGc objects.
       
 13652 //!                         4. Activate a CFbsBitGc object and clear the screen.
       
 13653 //!                         5. Activate another CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 13654 //!                         6. Set the brush style to ESolidBrush.
       
 13655 //!                         7. Set the brush color to TRgb(0, 255, 0).
       
 13656 //!                         8. Set the clipping rectangle to TRect(120, 120, 0, 0)and clear the device.
       
 13657 //!                         9. Draw a rectangle TRect(50, 50, 100, 100) and update the device.
       
 13658 //!                         10.Check whether the rectangle is drawn as expected.
       
 13659 //!                         11.Delay half a second.
       
 13660 //!                         12.Destroy two CFbsBitGc objects and CFbsScreenDevice object.
       
 13661 //!                         13.Disconnect RFbsSession.
       
 13662 //! @SYMTestStatus          Implemented
       
 13663 //! @SYMTestPriority        High
       
 13664 //! @SYMTestExpectedResults The rectangle will not be drawn.
       
 13665 //! @SYMTestType            CIT
       
 13666 
       
 13667     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13668         CREATE_OBJECT       RFbsSession          fbsSession
       
 13669         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13670         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13671         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
 13672         COMMAND             fbsSession           Connect
       
 13673         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124-NewL_command02
       
 13674         COMMAND             fbsBitGc             NewL
       
 13675         COMMAND             fbsBitGc2            NewL
       
 13676         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124-Activate_command05
       
 13677         COMMAND             fbsBitGc2            Clear
       
 13678         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124-Activate_command07
       
 13679         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124-SetBrushStyle_command08
       
 13680         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124-SetBrushColor_command09
       
 13681         COMMAND             fbsBitGc             SetClippingRect                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124-SetClippingRect_command10        
       
 13682         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124-DrawRect_command11
       
 13683         COMMAND             fbsScrDev            Update
       
 13684         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124-checkRectColor_command13
       
 13685         DELAY               500000
       
 13686         COMMAND             fbsBitGc2            ~
       
 13687         COMMAND             fbsBitGc             ~
       
 13688         COMMAND             fbsScrDev            ~
       
 13689         COMMAND             fbsSession           Disconnect
       
 13690      END_TEST_BLOCK
       
 13691 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1124
       
 13692 
       
 13693 
       
 13694 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125
       
 13695 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125
       
 13696 //! @SYMAPI                 CFbsBitGc::SetClippingRegion(const TRegion{ptr})
       
 13697 //! @SYMAuthor              Forbes Fu
       
 13698 //! @SYMCreationDate        09/01/2009
       
 13699 //! @SYMTestCaseDesc        Set the clipping region to two nonadjacent rectangles;
       
 13700 //!                         Draw a rectangle in which one clipping area is encircled and whose right edge acrosses another clipping area.
       
 13701 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13702 //!                         2. Create a CFbsScreenDevice object.
       
 13703 //!                         3. Create two CFbsBitGc objects.
       
 13704 //!                         4. Activate a CFbsBitGc object and clear the screen.
       
 13705 //!                         5. Activate another CFbsBitGc object.
       
 13706 //!                         6. Set the brush style to ESolidBrush.
       
 13707 //!                         7. Set the brush color to TRgb(255, 0, 0).
       
 13708 //!                         8. Set the clipping region to TRect(50, 50, 80, 80) and TRect(100, 50, 130, 80).
       
 13709 //!                         9. Draw a rectangle TRect(30, 30, 120, 100) and update the device.
       
 13710 //!                         10.Check rectangle color.
       
 13711 //!                         11.Delay half a second.
       
 13712 //!                         12.Destroy two CFbsBitGc objects and CFbsScreenDevice object.
       
 13713 //!                         13.Disconnect RFbsSession.
       
 13714 //! @SYMTestStatus          Implemented
       
 13715 //! @SYMTestPriority        High
       
 13716 //! @SYMTestExpectedResults The clipped rectangle will be drawn as expected.
       
 13717 //! @SYMTestType            CIT
       
 13718 
       
 13719     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13720         CREATE_OBJECT       RFbsSession          fbsSession
       
 13721         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13722         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13723         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
 13724         COMMAND             fbsSession           Connect
       
 13725         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125-NewL_command02
       
 13726         COMMAND             fbsBitGc             NewL
       
 13727         COMMAND             fbsBitGc2            NewL
       
 13728         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125-Activate_command05
       
 13729         COMMAND             fbsBitGc2            Clear
       
 13730         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125-Activate_command07
       
 13731         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125-SetBrushStyle_command08
       
 13732         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125-SetBrushColor_command09
       
 13733         COMMAND             fbsBitGc             SetClippingRegion                      GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125-SetClippingRegion_command10        
       
 13734         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125-DrawRect_command11
       
 13735         COMMAND             fbsScrDev            Update
       
 13736         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125-checkRectColor_command13
       
 13737         DELAY               500000
       
 13738         COMMAND             fbsBitGc2            ~
       
 13739         COMMAND             fbsBitGc             ~
       
 13740         COMMAND             fbsScrDev            ~
       
 13741         COMMAND             fbsSession           Disconnect
       
 13742      END_TEST_BLOCK
       
 13743 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1125
       
 13744 
       
 13745 
       
 13746 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126
       
 13747 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126
       
 13748 //! @SYMAPI                 CFbsBitGc::SetClippingRegion(const TRegion{ptr})
       
 13749 //! @SYMAuthor              Forbes Fu
       
 13750 //! @SYMCreationDate        09/01/2009
       
 13751 //! @SYMTestCaseDesc        Set the clipping region to two intersectant rectangles;
       
 13752 //!                         Draw a rectangle whose one corner is in one clipping area respectively.
       
 13753 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13754 //!                         2. Create a CFbsScreenDevice object.
       
 13755 //!                         3. Create two CFbsBitGc objects.
       
 13756 //!                         4. Activate a CFbsBitGc object and clear the screen.
       
 13757 //!                         5. Activate another CFbsBitGc object.
       
 13758 //!                         6. Set the brush style to ESolidBrush.
       
 13759 //!                         7. Set the brush color to TRgb(0, 0, 255).
       
 13760 //!                         8. Set the clipping region to TRect(20, 20, 100, 100) and TRect(80, 80, 160, 160).
       
 13761 //!                         9. Draw a rectangle TRect(60, 60, 120, 120) and update the device.
       
 13762 //!                         10.Check rectangle color.
       
 13763 //!                         11.Delay half a second.
       
 13764 //!                         12.Destroy two CFbsBitGc objects and CFbsScreenDevice object.
       
 13765 //!                         13.Disconnect RFbsSession.
       
 13766 //! @SYMTestStatus          Implemented
       
 13767 //! @SYMTestPriority        High
       
 13768 //! @SYMTestExpectedResults The clipped rectangle will be drawn as expected.
       
 13769 //! @SYMTestType            CIT
       
 13770 
       
 13771     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13772         CREATE_OBJECT       RFbsSession          fbsSession
       
 13773         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13774         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13775         CREATE_OBJECT       CFbsBitGc            fbsBitGc2
       
 13776         COMMAND             fbsSession           Connect
       
 13777         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126-NewL_command02
       
 13778         COMMAND             fbsBitGc             NewL
       
 13779         COMMAND             fbsBitGc2            NewL
       
 13780         COMMAND             fbsBitGc2            Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126-Activate_command05
       
 13781         COMMAND             fbsBitGc2            Clear
       
 13782         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126-Activate_command07
       
 13783         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126-SetBrushStyle_command08
       
 13784         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126-SetBrushColor_command09
       
 13785         COMMAND             fbsBitGc             SetClippingRegion                      GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126-SetClippingRegion_command10        
       
 13786         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126-DrawRect_command11
       
 13787         COMMAND             fbsScrDev            Update
       
 13788         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126-checkRectColor_command13
       
 13789         DELAY               500000
       
 13790         COMMAND             fbsBitGc2            ~
       
 13791         COMMAND             fbsBitGc             ~
       
 13792         COMMAND             fbsScrDev            ~
       
 13793         COMMAND             fbsSession           Disconnect
       
 13794      END_TEST_BLOCK
       
 13795 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1126
       
 13796 
       
 13797 
       
 13798 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1127
       
 13799 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1127
       
 13800 //! @SYMAPI                 CFbsBitGc::SetClippingRegion(const TRegion{ptr})
       
 13801 //! @SYMAuthor              Forbes Fu
       
 13802 //! @SYMCreationDate        09/01/2009
       
 13803 //! @SYMTestCaseDesc        Negative case; Set the clipping region to TRect(-1, -1, 100, 100).
       
 13804 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13805 //!                         2. Create a CFbsScreenDevice object.
       
 13806 //!                         3. Create a CFbsBitGc objects.
       
 13807 //!                         4. Activate the CFbsBitGc objects and clear the screen.
       
 13808 //!                         5. Set the clipping region to TRect(-1, -1, 100, 100).
       
 13809 //!                         6. Destroy two CFbsBitGc objects and CFbsScreenDevice object.
       
 13810 //!                         7 .Disconnect RFbsSession.
       
 13811 //! @SYMTestStatus          Implemented
       
 13812 //! @SYMTestPriority        High
       
 13813 //! @SYMTestExpectedResults SetClippingRegion returns -6(KErrArgument).
       
 13814 //! @SYMTestType            CIT
       
 13815 
       
 13816     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13817         CREATE_OBJECT       RFbsSession          fbsSession
       
 13818         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13819         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13820         COMMAND             fbsSession           Connect
       
 13821         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1127-NewL_command02
       
 13822         COMMAND             fbsBitGc             NewL
       
 13823         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1127-Activate_command04
       
 13824         COMMAND             fbsBitGc             Clear
       
 13825         COMMAND !Error=-6   fbsBitGc             SetClippingRegion                      GRAPHICS-BITGDI-FbsBitGc-PublicApi-1127-SetClippingRegion_command06
       
 13826         COMMAND             fbsBitGc             ~
       
 13827         COMMAND             fbsScrDev            ~
       
 13828         COMMAND             fbsSession           Disconnect
       
 13829     END_TEST_BLOCK
       
 13830 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1127
       
 13831 
       
 13832 
       
 13833 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1128
       
 13834 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1128
       
 13835 //! @SYMAPI                 CFbsBitGc::SetClippingRegion(const TRegion{ptr})
       
 13836 //! @SYMAuthor              Forbes Fu
       
 13837 //! @SYMCreationDate        09/01/2009
       
 13838 //! @SYMTestCaseDesc        Negative case; Set the clipping region to TRect(10, 10, 9999, 9999).
       
 13839 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13840 //!                         2. Create a CFbsScreenDevice object.
       
 13841 //!                         3. Create a CFbsBitGc objects.
       
 13842 //!                         4. Activate the CFbsBitGc objects and clear the screen.
       
 13843 //!                         5. Set the clipping region to TRect(10, 10, 9999, 9999).
       
 13844 //!                         6. Destroy two CFbsBitGc objects and CFbsScreenDevice object.
       
 13845 //!                         7 .Disconnect RFbsSession.
       
 13846 //! @SYMTestStatus          Implemented
       
 13847 //! @SYMTestPriority        High
       
 13848 //! @SYMTestExpectedResults SetClippingRegion returns -6(KErrArgument).
       
 13849 //! @SYMTestType            CIT
       
 13850 
       
 13851     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13852         CREATE_OBJECT       RFbsSession          fbsSession
       
 13853         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13854         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13855         COMMAND             fbsSession           Connect
       
 13856         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1128-NewL_command02
       
 13857         COMMAND             fbsBitGc             NewL
       
 13858         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1128-Activate_command04
       
 13859         COMMAND             fbsBitGc             Clear
       
 13860         COMMAND !Error=-6   fbsBitGc             SetClippingRegion                      GRAPHICS-BITGDI-FbsBitGc-PublicApi-1128-SetClippingRegion_command06
       
 13861         COMMAND             fbsBitGc             ~
       
 13862         COMMAND             fbsScrDev            ~
       
 13863         COMMAND             fbsSession           Disconnect
       
 13864     END_TEST_BLOCK
       
 13865 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1128
       
 13866 
       
 13867 
       
 13868 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131
       
 13869 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131
       
 13870 //! @SYMAPI                 CFbsBitGc::SetFaded(TBool);
       
 13871 //! @SYMAuthor              Forbes Fu
       
 13872 //! @SYMCreationDate        12/01/2009
       
 13873 //! @SYMTestCaseDesc        Set the fade mode to ETrue and draw a rectangle in the fade area.
       
 13874 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13875 //!                         2. Create a CFbsScreenDevice object.
       
 13876 //!                         3. Create a CFbsBitGc object.
       
 13877 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 13878 //!                         5. Set the brush style to ESolidBrush.
       
 13879 //!                         6. Set the brush color to TRgb(0, 0, 255).
       
 13880 //!                         7. Set the fade mode to ETrue.
       
 13881 //!                         8. Set the fading parameters to (255, 255). 
       
 13882 //!                         9. Draw a rectangle TRect(30, 30, 60, 60) and update the device.
       
 13883 //!                         10.Check rectangle color.
       
 13884 //!                         11.Delay half a second.
       
 13885 //!                         12.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13886 //!                         13.Disconnect RFbsSession.
       
 13887 //! @SYMTestStatus          Implemented
       
 13888 //! @SYMTestPriority        High
       
 13889 //! @SYMTestExpectedResults The rectangle color will be mapped to TRgb(255, 255, 255).
       
 13890 //! @SYMTestType            CIT
       
 13891 
       
 13892     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13893         CREATE_OBJECT       RFbsSession          fbsSession
       
 13894         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13895         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13896         COMMAND             fbsSession           Connect
       
 13897         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131-NewL_command02
       
 13898         COMMAND             fbsBitGc             NewL
       
 13899         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131-Activate_command04
       
 13900         COMMAND             fbsBitGc             Clear
       
 13901         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131-SetBrushStyle_command06
       
 13902         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131-SetBrushColor_command07
       
 13903         COMMAND             fbsBitGc             SetFaded                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131-SetFaded_command08
       
 13904         COMMAND             fbsBitGc             SetFadingParameters                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131-SetFadingParameters_command09
       
 13905         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131-DrawRect_command10
       
 13906         COMMAND             fbsScrDev            Update
       
 13907         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131-checkRectColor_command12
       
 13908         DELAY               500000
       
 13909         COMMAND             fbsBitGc             ~
       
 13910         COMMAND             fbsScrDev            ~
       
 13911         COMMAND             fbsSession           Disconnect
       
 13912      END_TEST_BLOCK
       
 13913 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1131
       
 13914 
       
 13915 
       
 13916 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132
       
 13917 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132
       
 13918 //! @SYMAPI                 CFbsBitGc::SetFaded(TBool);
       
 13919 //! @SYMAuthor              Forbes Fu
       
 13920 //! @SYMCreationDate        12/01/2009
       
 13921 //! @SYMTestCaseDesc        Set the fade mode to EFalse and draw a rectangle in the fade area.
       
 13922 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13923 //!                         2. Create a CFbsScreenDevice object.
       
 13924 //!                         3. Create a CFbsBitGc object.
       
 13925 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 13926 //!                         5. Set the brush style to ESolidBrush.
       
 13927 //!                         6. Set the brush color to TRgb(255, 0, 0).
       
 13928 //!                         7. Set the fade mode to EFalse.
       
 13929 //!                         8. Set the fading parameters to (255, 255). 
       
 13930 //!                         9. Draw a rectangle TRect(30, 30, 60, 60) and update the device.
       
 13931 //!                         10.Check rectangle color.
       
 13932 //!                         11.Delay half a second.
       
 13933 //!                         12.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13934 //!                         13.Disconnect RFbsSession.
       
 13935 //! @SYMTestStatus          Implemented
       
 13936 //! @SYMTestPriority        High
       
 13937 //! @SYMTestExpectedResults The rectangle color will still be TRgb(255, 0, 0).
       
 13938 //! @SYMTestType            CIT
       
 13939 
       
 13940     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13941         CREATE_OBJECT       RFbsSession          fbsSession
       
 13942         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13943         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13944         COMMAND             fbsSession           Connect
       
 13945         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132-NewL_command02
       
 13946         COMMAND             fbsBitGc             NewL
       
 13947         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132-Activate_command04
       
 13948         COMMAND             fbsBitGc             Clear
       
 13949         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132-SetBrushStyle_command06
       
 13950         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132-SetBrushColor_command07
       
 13951         COMMAND             fbsBitGc             SetFaded                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132-SetFaded_command08
       
 13952         COMMAND             fbsBitGc             SetFadingParameters                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132-SetFadingParameters_command09
       
 13953         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132-DrawRect_command10
       
 13954         COMMAND             fbsScrDev            Update
       
 13955         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132-checkRectColor_command12
       
 13956         DELAY               500000
       
 13957         COMMAND             fbsBitGc             ~
       
 13958         COMMAND             fbsScrDev            ~
       
 13959         COMMAND             fbsSession           Disconnect
       
 13960      END_TEST_BLOCK
       
 13961 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1132
       
 13962 
       
 13963 
       
 13964 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133
       
 13965 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133
       
 13966 //! @SYMAPI                 CFbsBitGc::SetFadingParameters(TUint8, TUint8);
       
 13967 //! @SYMAuthor              Forbes Fu
       
 13968 //! @SYMCreationDate        12/01/2009
       
 13969 //! @SYMTestCaseDesc        Set the fading parameters to (66, 130) and draw a rectangle in the fade area.
       
 13970 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 13971 //!                         2. Create a CFbsScreenDevice object.
       
 13972 //!                         3. Create a CFbsBitGc object.
       
 13973 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 13974 //!                         5. Set the brush style to ESolidBrush.
       
 13975 //!                         6. Set the brush color to TRgb(0, 255, 0).
       
 13976 //!                         7. Set the fade mode to ETrue.
       
 13977 //!                         8. Set the fading parameters to (66, 130). 
       
 13978 //!                         9. Draw a rectangle TRect(30, 30, 60, 60) and update the device.
       
 13979 //!                         10.Check rectangle color.
       
 13980 //!                         11.Delay half a second.
       
 13981 //!                         12.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 13982 //!                         13.Disconnect RFbsSession.
       
 13983 //! @SYMTestStatus          Implemented
       
 13984 //! @SYMTestPriority        High
       
 13985 //! @SYMTestExpectedResults The rectangle color will be mapped to TRgb(66, 130, 66).
       
 13986 //! @SYMTestType            CIT
       
 13987 
       
 13988     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 13989         CREATE_OBJECT       RFbsSession          fbsSession
       
 13990         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 13991         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 13992         COMMAND             fbsSession           Connect
       
 13993         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133-NewL_command02
       
 13994         COMMAND             fbsBitGc             NewL
       
 13995         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133-Activate_command04
       
 13996         COMMAND             fbsBitGc             Clear
       
 13997         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133-SetBrushStyle_command06
       
 13998         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133-SetBrushColor_command07
       
 13999         COMMAND             fbsBitGc             SetFaded                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133-SetFaded_command08
       
 14000         COMMAND             fbsBitGc             SetFadingParameters                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133-SetFadingParameters_command09
       
 14001         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133-DrawRect_command10
       
 14002         COMMAND             fbsScrDev            Update
       
 14003         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133-checkRectColor_command12
       
 14004         DELAY               500000
       
 14005         COMMAND             fbsBitGc             ~
       
 14006         COMMAND             fbsScrDev            ~
       
 14007         COMMAND             fbsSession           Disconnect
       
 14008      END_TEST_BLOCK
       
 14009 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1133
       
 14010 
       
 14011 
       
 14012 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134
       
 14013 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134
       
 14014 //! @SYMAPI                 CFbsBitGc::SetFadingParameters(TUint8, TUint8);
       
 14015 //! @SYMAuthor              Forbes Fu
       
 14016 //! @SYMCreationDate        12/01/2009
       
 14017 //! @SYMTestCaseDesc        Set the fading parameters to (0, 255) and draw a rectangle in the fade area.
       
 14018 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14019 //!                         2. Create a CFbsScreenDevice object.
       
 14020 //!                         3. Create a CFbsBitGc object.
       
 14021 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 14022 //!                         5. Set the brush style to ESolidBrush.
       
 14023 //!                         6. Set the brush color to TRgb(0, 255, 0).
       
 14024 //!                         7. Set the fade mode to ETrue.
       
 14025 //!                         8. Set the fading parameters to (0, 255). 
       
 14026 //!                         9. Draw a rectangle TRect(30, 30, 60, 60) and update the device.
       
 14027 //!                         10.Check rectangle color.
       
 14028 //!                         11.Delay half a second.
       
 14029 //!                         12.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14030 //!                         13.Disconnect RFbsSession.
       
 14031 //! @SYMTestStatus          Implemented
       
 14032 //! @SYMTestPriority        High
       
 14033 //! @SYMTestExpectedResults The rectangle color will still be TRgb(0, 255, 0).
       
 14034 //! @SYMTestType            CIT
       
 14035 
       
 14036     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14037         CREATE_OBJECT       RFbsSession          fbsSession
       
 14038         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14039         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14040         COMMAND             fbsSession           Connect
       
 14041         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134-NewL_command02
       
 14042         COMMAND             fbsBitGc             NewL
       
 14043         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134-Activate_command04
       
 14044         COMMAND             fbsBitGc             Clear
       
 14045         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134-SetBrushStyle_command06
       
 14046         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134-SetBrushColor_command07
       
 14047         COMMAND             fbsBitGc             SetFaded                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134-SetFaded_command08
       
 14048         COMMAND             fbsBitGc             SetFadingParameters                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134-SetFadingParameters_command09
       
 14049         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134-DrawRect_command10
       
 14050         COMMAND             fbsScrDev            Update
       
 14051         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134-checkRectColor_command12
       
 14052         DELAY               500000
       
 14053         COMMAND             fbsBitGc             ~
       
 14054         COMMAND             fbsScrDev            ~
       
 14055         COMMAND             fbsSession           Disconnect
       
 14056      END_TEST_BLOCK
       
 14057 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1134
       
 14058 
       
 14059 
       
 14060 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135
       
 14061 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135
       
 14062 //! @SYMAPI                 CFbsBitGc::SetFadingParameters(TUint8, TUint8);
       
 14063 //! @SYMAuthor              Forbes Fu
       
 14064 //! @SYMCreationDate        12/01/2009
       
 14065 //! @SYMTestCaseDesc        Set the fading parameters to (0, 0) and draw a rectangle in the fade area.
       
 14066 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14067 //!                         2. Create a CFbsScreenDevice object.
       
 14068 //!                         3. Create a CFbsBitGc object.
       
 14069 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 14070 //!                         5. Set the brush style to ESolidBrush.
       
 14071 //!                         6. Set the brush color to TRgb(255, 127, 0).
       
 14072 //!                         7. Set the fade mode to ETrue.
       
 14073 //!                         8. Set the fading parameters to (0, 0). 
       
 14074 //!                         9. Draw a rectangle TRect(30, 30, 60, 60) and update the device.
       
 14075 //!                         10.Check rectangle color.
       
 14076 //!                         11.Delay half a second.
       
 14077 //!                         12.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14078 //!                         13.Disconnect RFbsSession.
       
 14079 //! @SYMTestStatus          Implemented
       
 14080 //! @SYMTestPriority        High
       
 14081 //! @SYMTestExpectedResults The rectangle color will be mapped to TRgb(0, 0, 0).
       
 14082 //! @SYMTestType            CIT
       
 14083 
       
 14084     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14085         CREATE_OBJECT       RFbsSession          fbsSession
       
 14086         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14087         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14088         COMMAND             fbsSession           Connect
       
 14089         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135-NewL_command02
       
 14090         COMMAND             fbsBitGc             NewL
       
 14091         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135-Activate_command04
       
 14092         COMMAND             fbsBitGc             Clear
       
 14093         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135-SetBrushStyle_command06
       
 14094         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135-SetBrushColor_command07
       
 14095         COMMAND             fbsBitGc             SetFaded                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135-SetFaded_command08
       
 14096         COMMAND             fbsBitGc             SetFadingParameters                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135-SetFadingParameters_command09
       
 14097         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135-DrawRect_command10
       
 14098         COMMAND             fbsScrDev            Update
       
 14099         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135-checkRectColor_command12
       
 14100         DELAY               500000
       
 14101         COMMAND             fbsBitGc             ~
       
 14102         COMMAND             fbsScrDev            ~
       
 14103         COMMAND             fbsSession           Disconnect
       
 14104      END_TEST_BLOCK
       
 14105 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1135
       
 14106 
       
 14107 
       
 14108 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136
       
 14109 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136
       
 14110 //! @SYMAPI                 CFbsBitGc::SetFadingParameters(TUint8, TUint8);
       
 14111 //! @SYMAuthor              Forbes Fu
       
 14112 //! @SYMCreationDate        12/01/2009
       
 14113 //! @SYMTestCaseDesc        Set the fading parameters to (255, 0) and draw a rectangle in the fade area.
       
 14114 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14115 //!                         2. Create a CFbsScreenDevice object.
       
 14116 //!                         3. Create a CFbsBitGc object.
       
 14117 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 14118 //!                         5. Set the brush style to ESolidBrush.
       
 14119 //!                         6. Set the brush color to TRgb(255, 0, 0).
       
 14120 //!                         7. Set the fade mode to ETrue.
       
 14121 //!                         8. Set the fading parameters to (255, 0). 
       
 14122 //!                         9. Draw a rectangle TRect(30, 30, 60, 60) and update the device.
       
 14123 //!                         10.Check rectangle color.
       
 14124 //!                         11.Delay half a second.
       
 14125 //!                         12.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14126 //!                         13.Disconnect RFbsSession.
       
 14127 //! @SYMTestStatus          Implemented
       
 14128 //! @SYMTestPriority        High
       
 14129 //! @SYMTestExpectedResults The rectangle color will be mapped to TRgb(0, 255, 255).
       
 14130 //! @SYMTestType            CIT
       
 14131 
       
 14132     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14133         CREATE_OBJECT       RFbsSession          fbsSession
       
 14134         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14135         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14136         COMMAND             fbsSession           Connect
       
 14137         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136-NewL_command02
       
 14138         COMMAND             fbsBitGc             NewL
       
 14139         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136-Activate_command04
       
 14140         COMMAND             fbsBitGc             Clear
       
 14141         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136-SetBrushStyle_command06
       
 14142         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136-SetBrushColor_command07
       
 14143         COMMAND             fbsBitGc             SetFaded                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136-SetFaded_command08
       
 14144         COMMAND             fbsBitGc             SetFadingParameters                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136-SetFadingParameters_command09
       
 14145         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136-DrawRect_command10
       
 14146         COMMAND             fbsScrDev            Update
       
 14147         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136-checkRectColor_command12
       
 14148         DELAY               500000
       
 14149         COMMAND             fbsBitGc             ~
       
 14150         COMMAND             fbsScrDev            ~
       
 14151         COMMAND             fbsSession           Disconnect
       
 14152      END_TEST_BLOCK
       
 14153 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1136
       
 14154 
       
 14155 
       
 14156 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1141
       
 14157 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1141
       
 14158 //! @SYMAPI                 CFbsBitGc::SetDitherOrigin(const TPoint{ref});
       
 14159 //! @SYMAuthor              Forbes Fu
       
 14160 //! @SYMCreationDate        12/01/2009
       
 14161 //! @SYMTestCaseDesc        Set the dither origion to TPoint(3, 3) and draw a pie.
       
 14162 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14163 //!                         2. Create a CFbsScreenDevice object.
       
 14164 //!                         3. Create a CFbsBitGc object.
       
 14165 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14166 //!                         5. Set the brush style to ESolidBrush.
       
 14167 //!                         6. Set the brush color to TRgb(255, 0, 0).
       
 14168 //!                         7. Set the dither origin to TPoint(3, 3).
       
 14169 //!                         8. Draw a pie.
       
 14170 //!                         9. Update the device and Delay half a second.
       
 14171 //!                         10.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14172 //!                         11.Disconnect RFbsSession.
       
 14173 //! @SYMTestStatus          Implemented
       
 14174 //! @SYMTestPriority        High
       
 14175 //! @SYMTestExpectedResults A pie will be drawn.
       
 14176 //! @SYMTestType            CIT
       
 14177 
       
 14178     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14179         CREATE_OBJECT       RFbsSession          fbsSession
       
 14180         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14181         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14182         COMMAND             fbsSession           Connect
       
 14183         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1141-NewL_command02
       
 14184         COMMAND             fbsBitGc             NewL
       
 14185         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1141-Activate_command04
       
 14186         COMMAND             fbsBitGc             Clear
       
 14187         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1141-SetBrushStyle_command06
       
 14188         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1141-SetBrushColor_command07
       
 14189         COMMAND             fbsBitGc             SetDitherOrigin                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-1141-SetDitherOrigin_command08
       
 14190         COMMAND             fbsBitGc             DrawPie                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1141-DrawPie_command09
       
 14191         COMMAND             fbsScrDev            Update
       
 14192         DELAY               500000
       
 14193         COMMAND             fbsBitGc             ~
       
 14194         COMMAND             fbsScrDev            ~
       
 14195         COMMAND             fbsSession           Disconnect
       
 14196      END_TEST_BLOCK
       
 14197 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1141
       
 14198 
       
 14199 
       
 14200 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1142
       
 14201 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1142
       
 14202 //! @SYMAPI                 CFbsBitGc::SetOrigin(const TPoint{ref});
       
 14203 //! @SYMAuthor              Forbes Fu
       
 14204 //! @SYMCreationDate        12/01/2009
       
 14205 //! @SYMTestCaseDesc        Set the origin to TPoint(100, 100) and draw a rectangle.
       
 14206 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14207 //!                         2. Create a CFbsScreenDevice object.
       
 14208 //!                         3. Create a CFbsBitGc object.
       
 14209 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14210 //!                         5. Set the brush style to ESolidBrush.
       
 14211 //!                         6. Set the brush color to TRgb(0, 0, 255).
       
 14212 //!                         7. Set the origin to TPoint(100, 100).
       
 14213 //!                         8. Draw a rectangle TRect(0, 0, 80, 60).
       
 14214 //!                         9. Check whether the rectangle is in TRect(100, 100, 180, 60).
       
 14215 //!                         10.Update the device and Delay half a second.
       
 14216 //!                         11.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14217 //!                         12.Disconnect RFbsSession.
       
 14218 //! @SYMTestStatus          Implemented
       
 14219 //! @SYMTestPriority        High
       
 14220 //! @SYMTestExpectedResults The rectangle is in TRect(100, 100, 180, 160) as expected.
       
 14221 //! @SYMTestType            CIT
       
 14222 
       
 14223     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14224         CREATE_OBJECT       RFbsSession          fbsSession
       
 14225         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14226         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14227         COMMAND             fbsSession           Connect
       
 14228         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1142-NewL_command02
       
 14229         COMMAND             fbsBitGc             NewL
       
 14230         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1142-Activate_command04
       
 14231         COMMAND             fbsBitGc             Clear
       
 14232         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1142-SetBrushStyle_command06
       
 14233         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1142-SetBrushColor_command07
       
 14234         COMMAND             fbsBitGc             SetOrigin                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-1142-SetOrigin_command08
       
 14235         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1142-DrawRect_command09
       
 14236         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1142-checkRectColor_command10
       
 14237         COMMAND             fbsScrDev            Update
       
 14238         DELAY               500000
       
 14239         COMMAND             fbsBitGc             ~
       
 14240         COMMAND             fbsScrDev            ~
       
 14241         COMMAND             fbsSession           Disconnect
       
 14242      END_TEST_BLOCK
       
 14243 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1142
       
 14244 
       
 14245 
       
 14246 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1143
       
 14247 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1143
       
 14248 //! @SYMAPI                 CFbsBitGc::SetOrigin(const TPoint{ref});
       
 14249 //! @SYMAuthor              Forbes Fu
       
 14250 //! @SYMCreationDate        12/01/2009
       
 14251 //! @SYMTestCaseDesc        Set the origin to TPoint(-50, -50) and draw a rectangle.
       
 14252 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14253 //!                         2. Create a CFbsScreenDevice object.
       
 14254 //!                         3. Create a CFbsBitGc object.
       
 14255 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14256 //!                         5. Set the brush style to ESolidBrush.
       
 14257 //!                         6. Set the brush color to TRgb(0, 255, 0).
       
 14258 //!                         7. Set the origin to TPoint(-50, -50).
       
 14259 //!                         8. Draw a rectangle TRect(100, 100, 180, 160).
       
 14260 //!                         9. Check whether the rectangle is in TRect(50, 50, 130, 110).
       
 14261 //!                         10.Update the device and Delay half a second.
       
 14262 //!                         11.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14263 //!                         12.Disconnect RFbsSession.
       
 14264 //! @SYMTestStatus          Implemented
       
 14265 //! @SYMTestPriority        High
       
 14266 //! @SYMTestExpectedResults The rectangle is in TRect(50, 50, 130, 110) as expected.
       
 14267 //! @SYMTestType            CIT
       
 14268 
       
 14269     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14270         CREATE_OBJECT       RFbsSession          fbsSession
       
 14271         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14272         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14273         COMMAND             fbsSession           Connect
       
 14274         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1143-NewL_command02
       
 14275         COMMAND             fbsBitGc             NewL
       
 14276         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1143-Activate_command04
       
 14277         COMMAND             fbsBitGc             Clear
       
 14278         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1143-SetBrushStyle_command06
       
 14279         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1143-SetBrushColor_command07
       
 14280         COMMAND             fbsBitGc             SetOrigin                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-1143-SetOrigin_command08
       
 14281         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1143-DrawRect_command09
       
 14282         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1143-checkRectColor_command10
       
 14283         COMMAND             fbsScrDev            Update
       
 14284         DELAY               500000
       
 14285         COMMAND             fbsBitGc             ~
       
 14286         COMMAND             fbsScrDev            ~
       
 14287         COMMAND             fbsSession           Disconnect
       
 14288      END_TEST_BLOCK
       
 14289 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1143
       
 14290 
       
 14291 
       
 14292 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144
       
 14293 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144
       
 14294 //! @SYMAPI                 CFbsBitGc::SetOrigin(const TPoint{ref});
       
 14295 //! @SYMAuthor              Forbes Fu
       
 14296 //! @SYMCreationDate        12/01/2009
       
 14297 //! @SYMTestCaseDesc        Set the origin to TPoint(-50, 0), TPoint(0, 0) and draw two rectangles respectively.
       
 14298 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14299 //!                         2. Create a CFbsScreenDevice object.
       
 14300 //!                         3. Create a CFbsBitGc object.
       
 14301 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14302 //!                         5. Set the brush style to ESolidBrush.
       
 14303 //!                         6. Set the brush color to TRgb(255, 0, 0).
       
 14304 //!                         7. Set the origin to TPoint(-50, 0).
       
 14305 //!                         8. Draw a rectangle TRect(0, 0, 100, 60).
       
 14306 //!                         9. Set the origin to TPoint(0, 0).
       
 14307 //!                         10.Draw a rectangle TRect(120, 0, 160, 60).
       
 14308 //!                         11.Check whether two rectangles are in expected position.
       
 14309 //!                         12.Update the device and Delay half a second.
       
 14310 //!                         13.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14311 //!                         14.Disconnect RFbsSession.
       
 14312 //! @SYMTestStatus          Implemented
       
 14313 //! @SYMTestPriority        High
       
 14314 //! @SYMTestExpectedResults 1. The right half part of the first rectangle will be drawn in TRect(0, 0, 50, 60).
       
 14315 //!                         2. The second rectangle will be drawn in TRect(120, 0, 160, 60).
       
 14316 //! @SYMTestType            CIT
       
 14317 
       
 14318     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14319         CREATE_OBJECT       RFbsSession          fbsSession
       
 14320         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14321         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14322         COMMAND             fbsSession           Connect
       
 14323         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144-NewL_command02
       
 14324         COMMAND             fbsBitGc             NewL
       
 14325         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144-Activate_command04
       
 14326         COMMAND             fbsBitGc             Clear
       
 14327         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144-SetBrushStyle_command06
       
 14328         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144-SetBrushColor_command07
       
 14329         COMMAND             fbsBitGc             SetOrigin                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144-SetOrigin_command08
       
 14330         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144-DrawRect_command09
       
 14331         COMMAND             fbsBitGc             SetOrigin                              GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144-SetOrigin_command10
       
 14332         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144-DrawRect_command11
       
 14333         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144-checkRectColor_command12
       
 14334         COMMAND             fbsScrDev            Update
       
 14335         DELAY               500000
       
 14336         COMMAND             fbsBitGc             ~
       
 14337         COMMAND             fbsScrDev            ~
       
 14338         COMMAND             fbsSession           Disconnect
       
 14339      END_TEST_BLOCK
       
 14340 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1144
       
 14341 
       
 14342 
       
 14343 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1146
       
 14344 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1146
       
 14345 //! @SYMAPI                 CFbsBitGc::SetOrientation(TGraphicsOrientation);
       
 14346 //! @SYMAuthor              Forbes Fu
       
 14347 //! @SYMCreationDate        12/01/2009
       
 14348 //! @SYMTestCaseDesc        Set the orientation to EGraphicsOrientationNormal, EGraphicsOrientationRotated90, EGraphicsOrientationRotated180, 
       
 14349 //!                         EGraphicsOrientationRotated270 respectively.
       
 14350 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14351 //!                         2. Create a CFbsScreenDevice object.
       
 14352 //!                         3. Create a CFbsBitGc object.
       
 14353 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14354 //!                         7. Call OrientationsAvailable(TBool[4]).
       
 14355 //!                         8. Set the orientation to EGraphicsOrientationRotated90.
       
 14356 //!                         9. Set the orientation to EGraphicsOrientationRotated180.
       
 14357 //!                         10.Set the orientation to EGraphicsOrientationRotated270.
       
 14358 //!                         11.Set the orientation to EGraphicsOrientationNormal.
       
 14359 //!                         12.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14360 //!                         13.Disconnect RFbsSession.
       
 14361 //! @SYMTestStatus          Implemented
       
 14362 //! @SYMTestPriority        High
       
 14363 //! @SYMTestExpectedResults Results returned by SetOrientation match those acquired from OrientationsAvailable.
       
 14364 //! @SYMTestType            CIT
       
 14365 
       
 14366     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14367         CREATE_OBJECT       RFbsSession          fbsSession
       
 14368         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14369         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14370         COMMAND             fbsSession           Connect
       
 14371         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1146-NewL_command02
       
 14372         COMMAND             fbsBitGc             NewL
       
 14373         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1146-Activate_command04
       
 14374         COMMAND             fbsBitGc             Clear
       
 14375         COMMAND             fbsBitGc             OrientationsAvailable                  
       
 14376         COMMAND             fbsBitGc             SetOrientation                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1146-SetOrientation_command07
       
 14377         DELAY               250000
       
 14378         COMMAND             fbsBitGc             SetOrientation                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1146-SetOrientation_command08
       
 14379         DELAY               250000
       
 14380         COMMAND             fbsBitGc             SetOrientation                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1146-SetOrientation_command09
       
 14381         DELAY               250000
       
 14382         COMMAND             fbsBitGc             SetOrientation                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1146-SetOrientation_command10
       
 14383         DELAY               250000
       
 14384         COMMAND             fbsBitGc             ~
       
 14385         COMMAND             fbsScrDev            ~
       
 14386         COMMAND             fbsSession           Disconnect
       
 14387      END_TEST_BLOCK
       
 14388 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1146
       
 14389 
       
 14390 
       
 14391 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1147
       
 14392 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1147
       
 14393 //! @SYMAPI                 CFbsBitGc::SetOrientation(TGraphicsOrientation);
       
 14394 //! @SYMAuthor              Forbes Fu
       
 14395 //! @SYMCreationDate        13/01/2009
       
 14396 //! @SYMTestCaseDesc        Negatvie case; Set the orientation to EGraphicsOrientationRotated90 using a non-active graphics context.
       
 14397 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14398 //!                         2. Create a CFbsBitGc object.
       
 14399 //!                         3. Set the orientation to EGraphicsOrientationRotated90.
       
 14400 //!                         4. Destroy CFbsBitGc object.
       
 14401 //!                         5. Disconnect RFbsSession.
       
 14402 //! @SYMTestStatus          Implemented
       
 14403 //! @SYMTestPriority        High
       
 14404 //! @SYMTestExpectedResults SetOrientation returns false.
       
 14405 //! @SYMTestType            CIT
       
 14406 
       
 14407     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14408         CREATE_OBJECT       RFbsSession          fbsSession
       
 14409         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14410         COMMAND             fbsSession           Connect
       
 14411         COMMAND             fbsBitGc             NewL
       
 14412         COMMAND             fbsBitGc             SetOrientation                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1147-SetOrientation_command07
       
 14413         COMMAND             fbsBitGc             ~
       
 14414         COMMAND             fbsSession           Disconnect
       
 14415      END_TEST_BLOCK
       
 14416 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1147
       
 14417 
       
 14418 
       
 14419 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151
       
 14420 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151
       
 14421 //! @SYMAPI                 CFbsBitGc::SetStrikethroughStyle(TFontStrikethrough);
       
 14422 //! @SYMAuthor              Forbes Fu
       
 14423 //! @SYMCreationDate        13/01/2009
       
 14424 //! @SYMTestCaseDesc        Set the strikethrough style to EStrikethroughOn, EStrikethroughOff and draw two lines of text respectively.
       
 14425 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14426 //!                         2. Create a CFbsScreenDevice object.
       
 14427 //!                         3. Create a CFbsBitGc object.
       
 14428 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14429 //!                         5. Get and use a font.
       
 14430 //!                         6. Set the strikethrough style to EStrikethroughOn.
       
 14431 //!                         7. Draw a line of text.
       
 14432 //!                         8. Set the strikethrough style to EStrikethroughOff.
       
 14433 //!                         9. Draw a line of text.
       
 14434 //!                         10. Update the device and Delay half a second.
       
 14435 //!                         11. Descard and release the font.
       
 14436 //!                         12.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14437 //!                         13.Disconnect RFbsSession.
       
 14438 //! @SYMTestStatus          Implemented
       
 14439 //! @SYMTestPriority        High
       
 14440 //! @SYMTestExpectedResults 1. A line of text with strikethrough will be drawn in first line.
       
 14441 //!                         2. A line of text without strikethrough will be drawn in second line.
       
 14442 //! @SYMTestType            CIT
       
 14443 
       
 14444     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14445         CREATE_OBJECT       RFbsSession          fbsSession
       
 14446         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14447         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14448         CREATE_OBJECT       CFbsFont             font
       
 14449         COMMAND             fbsSession           Connect
       
 14450         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151-NewL_command02
       
 14451         COMMAND             fbsBitGc             NewL
       
 14452         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151-Activate_command04
       
 14453         COMMAND             fbsBitGc             Clear
       
 14454         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151-GetNearestFontToDesignHeightInPixels_command06
       
 14455         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151-UseFont_command07
       
 14456         COMMAND             fbsBitGc             SetStrikethroughStyle                  GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151-SetStrikethroughStyle_command08
       
 14457         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151-DrawText_command09
       
 14458         COMMAND             fbsBitGc             SetStrikethroughStyle                  GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151-SetStrikethroughStyle_command10
       
 14459         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151-DrawText_command11
       
 14460         COMMAND             fbsScrDev            Update
       
 14461         DELAY               500000
       
 14462         COMMAND             fbsBitGc             DiscardFont 
       
 14463         COMMAND             fbsScrDev            ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151-ReleaseFont_command15
       
 14464         COMMAND             fbsBitGc             ~
       
 14465         COMMAND             fbsScrDev            ~
       
 14466         COMMAND             fbsSession           Disconnect
       
 14467      END_TEST_BLOCK
       
 14468 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1151
       
 14469 
       
 14470 
       
 14471 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153
       
 14472 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153
       
 14473 //! @SYMAPI                 CFbsBitGc::SetUnderlineStyle(TFontUnderline);
       
 14474 //! @SYMAuthor              Forbes Fu
       
 14475 //! @SYMCreationDate        13/01/2009
       
 14476 //! @SYMTestCaseDesc        Set the underline style to EUnderlineOn, EUnderlineOff and draw two lines of text respectively.
       
 14477 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14478 //!                         2. Create a CFbsScreenDevice object.
       
 14479 //!                         3. Create a CFbsBitGc object.
       
 14480 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14481 //!                         5. Get and use a font.
       
 14482 //!                         6. Set the underline style to EUnderlineOn.
       
 14483 //!                         7. Draw a line of text.
       
 14484 //!                         8. Set the underline style to EUnderlineOff.
       
 14485 //!                         9. Draw a line of text.
       
 14486 //!                         10.Update the device and Delay half a second.
       
 14487 //!                         11.Descard and release the font.
       
 14488 //!                         12.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14489 //!                         13.Disconnect RFbsSession.
       
 14490 //! @SYMTestStatus          Implemented
       
 14491 //! @SYMTestPriority        High
       
 14492 //! @SYMTestExpectedResults 1. A line of text with underline will be drawn in first line.
       
 14493 //!                         2. A line of text without underline will be drawn in second line.
       
 14494 //! @SYMTestType            CIT
       
 14495 
       
 14496     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14497         CREATE_OBJECT       RFbsSession          fbsSession
       
 14498         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14499         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14500         CREATE_OBJECT       CFbsFont             font
       
 14501         COMMAND             fbsSession           Connect
       
 14502         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153-NewL_command02
       
 14503         COMMAND             fbsBitGc             NewL
       
 14504         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153-Activate_command04
       
 14505         COMMAND             fbsBitGc             Clear
       
 14506         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153-GetNearestFontToDesignHeightInPixels_command06
       
 14507         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153-UseFont_command07
       
 14508         COMMAND             fbsBitGc             SetUnderlineStyle                      GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153-SetStrikethroughStyle_command08
       
 14509         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153-DrawText_command09
       
 14510         COMMAND             fbsBitGc             SetUnderlineStyle                      GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153-SetStrikethroughStyle_command10
       
 14511         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153-DrawText_command11
       
 14512         COMMAND             fbsScrDev            Update
       
 14513         DELAY               500000
       
 14514         COMMAND             fbsBitGc             DiscardFont 
       
 14515         COMMAND             fbsScrDev            ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153-ReleaseFont_command15
       
 14516         COMMAND             fbsBitGc             ~
       
 14517         COMMAND             fbsScrDev            ~
       
 14518         COMMAND             fbsSession           Disconnect
       
 14519      END_TEST_BLOCK
       
 14520 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1153
       
 14521 
       
 14522 
       
 14523 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155
       
 14524 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155
       
 14525 //! @SYMAPI                 CFbsBitGc::SetShadowMode(TBool);
       
 14526 //! @SYMAuthor              Forbes Fu
       
 14527 //! @SYMCreationDate        13/01/2009
       
 14528 //! @SYMTestCaseDesc        Set the shadow mode on, then off, and draw threee lines of text respectively.
       
 14529 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14530 //!                         2. Create a CFbsScreenDevice object.
       
 14531 //!                         3. Create a CFbsBitGc object.
       
 14532 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14533 //!                         5. Set pen size to TSize(2, 2).
       
 14534 //!                         6. Set pen color to TRgb(255, 191, 0);
       
 14535 //!                         7. Get and use a font.
       
 14536 //!                         8. Draw a line of text.
       
 14537 //!                         9. Set the shadow mode to ETrue.
       
 14538 //!                         10.Draw a line of text.
       
 14539 //!                         11.Set the shadow mode to EFalse.
       
 14540 //!                         12.Draw a line of text.
       
 14541 //!                         13.Update the device and Delay half a second.
       
 14542 //!                         14.Descard and release the font.
       
 14543 //!                         15.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14544 //!                         16.Disconnect RFbsSession.
       
 14545 //! @SYMTestStatus          Implemented
       
 14546 //! @SYMTestPriority        High
       
 14547 //! @SYMTestExpectedResults 1. A line of text with normal color will be drawn in first line.
       
 14548 //!                         2. A line of text with shadow color will be drawn in second line.
       
 14549 //!                         3. A line of text with normal color will be drawn in third line.
       
 14550 //! @SYMTestType            CIT
       
 14551 
       
 14552     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14553         CREATE_OBJECT       RFbsSession          fbsSession
       
 14554         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14555         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14556         CREATE_OBJECT       CFbsFont             font
       
 14557         COMMAND             fbsSession           Connect
       
 14558         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-NewL_command02
       
 14559         COMMAND             fbsBitGc             NewL
       
 14560         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-Activate_command04
       
 14561         COMMAND             fbsBitGc             Clear
       
 14562         COMMAND             fbsBitGc             SetPenSize                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-SetPenSize_command06
       
 14563         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-SetPenColor_command07
       
 14564         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-GetNearestFontToDesignHeightInPixels_command08
       
 14565         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-UseFont_command09
       
 14566         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-DrawText_command10
       
 14567         COMMAND             fbsBitGc             SetShadowMode                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-SetShadowMode_command11
       
 14568         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-DrawText_command12
       
 14569         COMMAND             fbsBitGc             SetShadowMode                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-SSetShadowMode_command13
       
 14570         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-DrawText_command14
       
 14571         COMMAND             fbsScrDev            Update
       
 14572         DELAY               500000
       
 14573         COMMAND             fbsBitGc             DiscardFont 
       
 14574         COMMAND             fbsScrDev            ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155-ReleaseFont_command18
       
 14575         COMMAND             fbsBitGc             ~
       
 14576         COMMAND             fbsScrDev            ~
       
 14577         COMMAND             fbsSession           Disconnect
       
 14578      END_TEST_BLOCK
       
 14579 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1155
       
 14580 
       
 14581 
       
 14582 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156
       
 14583 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156
       
 14584 //! @SYMAPI                 CFbsBitGc::SetCharJustification(TInt, TInt);
       
 14585 //! @SYMAuthor              Forbes Fu
       
 14586 //! @SYMCreationDate        13/01/2009
       
 14587 //! @SYMTestCaseDesc        Set the character justification to (30, 6), (-20, 6), and draw three lines of text respectively.
       
 14588 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14589 //!                         2. Create a CFbsScreenDevice object.
       
 14590 //!                         3. Create a CFbsBitGc object.
       
 14591 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14592 //!                         5. Get and use a font.
       
 14593 //!                         6. Draw a line of text.
       
 14594 //!                         7. Set the character justification to (30, 6).
       
 14595 //!                         8. Draw a line of text.
       
 14596 //!                         9. Set the character justification to (-20, 6).
       
 14597 //!                         10.Draw a line of text.
       
 14598 //!                         11.Update the device and Delay half a second.
       
 14599 //!                         12.Descard and release the font.
       
 14600 //!                         13.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14601 //!                         14.Disconnect RFbsSession.
       
 14602 //! @SYMTestStatus          Implemented
       
 14603 //! @SYMTestPriority        High
       
 14604 //! @SYMTestExpectedResults 1. A line of text without character justification will be drawn in first line.
       
 14605 //!                         2. A line of text whose left six character gaps are justified widen will be drawn in second line.
       
 14606 //!                         3. A line of text whose left six character gaps are justified narrow will be drawn in third line.
       
 14607 //! @SYMTestType            CIT
       
 14608 
       
 14609     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14610         CREATE_OBJECT       RFbsSession          fbsSession
       
 14611         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14612         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14613         CREATE_OBJECT       CFbsFont             font
       
 14614         COMMAND             fbsSession           Connect
       
 14615         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156-NewL_command02
       
 14616         COMMAND             fbsBitGc             NewL
       
 14617         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156-Activate_command04
       
 14618         COMMAND             fbsBitGc             Clear
       
 14619         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156-GetNearestFontToDesignHeightInPixels_command06
       
 14620         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156-UseFont_command07
       
 14621         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156-DrawText_command08
       
 14622         COMMAND             fbsBitGc             SetCharJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156-SetCharJustification_command09
       
 14623         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156-DrawText_command10
       
 14624         COMMAND             fbsBitGc             SetCharJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156-SetCharJustification_command11
       
 14625         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156-DrawText_command12
       
 14626         COMMAND             fbsScrDev            Update
       
 14627         DELAY               500000
       
 14628         COMMAND             fbsBitGc             DiscardFont 
       
 14629         COMMAND             fbsScrDev            ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156-ReleaseFont_command16
       
 14630         COMMAND             fbsBitGc             ~
       
 14631         COMMAND             fbsScrDev            ~
       
 14632         COMMAND             fbsSession           Disconnect
       
 14633      END_TEST_BLOCK
       
 14634 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1156
       
 14635 
       
 14636 
       
 14637 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157
       
 14638 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157
       
 14639 //! @SYMAPI                 CFbsBitGc::SetCharJustification(TInt, TInt);
       
 14640 //! @SYMAuthor              Forbes Fu
       
 14641 //! @SYMCreationDate        13/01/2009
       
 14642 //! @SYMTestCaseDesc        Set the character justification to (0, 6), (20, 0), (0, 0) and draw four lines of text respectively.
       
 14643 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14644 //!                         2. Create a CFbsScreenDevice object.
       
 14645 //!                         3. Create a CFbsBitGc object.
       
 14646 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14647 //!                         5. Get and use a font.
       
 14648 //!                         6. Draw a line of text.
       
 14649 //!                         7. Set the character justification to (0, 6).
       
 14650 //!                         8. Draw a line of text.
       
 14651 //!                         9. Set the character justification to (20, 0).
       
 14652 //!                         10.Draw a line of text.
       
 14653 //!                         11.Set the character justification to (0, 0).
       
 14654 //!                         12.Draw a line of text.
       
 14655 //!                         13.Update the device and Delay half a second.
       
 14656 //!                         14.Descard and release the font.
       
 14657 //!                         15.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14658 //!                         16.Disconnect RFbsSession.
       
 14659 //! @SYMTestStatus          Implemented
       
 14660 //! @SYMTestPriority        High
       
 14661 //! @SYMTestExpectedResults Four lines of text without char justification will be drawn.
       
 14662 //! @SYMTestType            CIT
       
 14663 
       
 14664     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14665         CREATE_OBJECT       RFbsSession          fbsSession
       
 14666         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14667         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14668         CREATE_OBJECT       CFbsFont             font
       
 14669         COMMAND             fbsSession           Connect
       
 14670         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-NewL_command02
       
 14671         COMMAND             fbsBitGc             NewL
       
 14672         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-Activate_command04
       
 14673         COMMAND             fbsBitGc             Clear
       
 14674         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-GetNearestFontToDesignHeightInPixels_command06
       
 14675         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-UseFont_command07
       
 14676         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-DrawText_command08
       
 14677         COMMAND             fbsBitGc             SetCharJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-SetCharJustification_command09
       
 14678         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-DrawText_command10
       
 14679         COMMAND             fbsBitGc             SetCharJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-SetCharJustification_command11
       
 14680         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-DrawText_command12
       
 14681         COMMAND             fbsBitGc             SetCharJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-SetCharJustification_command13
       
 14682         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-DrawText_command14
       
 14683         COMMAND             fbsScrDev            Update
       
 14684         DELAY               500000
       
 14685         COMMAND             fbsBitGc             DiscardFont 
       
 14686         COMMAND             fbsScrDev            ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157-ReleaseFont_command18
       
 14687         COMMAND             fbsBitGc             ~
       
 14688         COMMAND             fbsScrDev            ~
       
 14689         COMMAND             fbsSession           Disconnect
       
 14690      END_TEST_BLOCK
       
 14691 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1157
       
 14692 
       
 14693 
       
 14694 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158
       
 14695 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158
       
 14696 //! @SYMAPI                 CFbsBitGc::SetWordJustification(TInt, TInt);
       
 14697 //! @SYMAuthor              Forbes Fu
       
 14698 //! @SYMCreationDate        13/01/2009
       
 14699 //! @SYMTestCaseDesc        Set the word justification to (20, 0), (-10, 2), (-20, -2), (20, 2) and draw four lines of text respectively.
       
 14700 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14701 //!                         2. Create a CFbsScreenDevice object.
       
 14702 //!                         3. Create a CFbsBitGc object.
       
 14703 //!                         4. Activate the CFbsBitGc object and clear the device.
       
 14704 //!                         5. Get and use a font.
       
 14705 //!                         6. Set the word justification to (20, 0).
       
 14706 //!                         7. Draw a line of text.
       
 14707 //!                         8. Set the word justification to (-10, 2).
       
 14708 //!                         9. Draw a line of text.
       
 14709 //!                         10.Set the word justification to (-20, 2).
       
 14710 //!                         11.Draw a line of text.
       
 14711 //!                         12.Set the word justification to (20, 2).
       
 14712 //!                         13.Draw a line of text.
       
 14713 //!                         14.Update the device and Delay half a second.
       
 14714 //!                         15.Descard and release the font.
       
 14715 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14716 //!                         17.Disconnect RFbsSession.
       
 14717 //! @SYMTestStatus          Implemented
       
 14718 //! @SYMTestPriority        High
       
 14719 //! @SYMTestExpectedResults 1. Four lines of text will be drawn without error.
       
 14720 //! @SYMTestType            CIT
       
 14721 
       
 14722     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14723         CREATE_OBJECT       RFbsSession          fbsSession
       
 14724         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14725         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14726         CREATE_OBJECT       CFbsFont             font
       
 14727         COMMAND             fbsSession           Connect
       
 14728         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-NewL_command02
       
 14729         COMMAND             fbsBitGc             NewL
       
 14730         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-Activate_command04
       
 14731         COMMAND             fbsBitGc             Clear
       
 14732         COMMAND             fbsScrDev            GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-GetNearestFontToDesignHeightInPixels_command06
       
 14733         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-UseFont_command07
       
 14734         COMMAND             fbsBitGc             SetWordJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-SetWordJustification_command08
       
 14735         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-DrawText_command09
       
 14736         COMMAND             fbsBitGc             SetWordJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-SetWordJustification_command10
       
 14737         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-DrawText_command11
       
 14738         COMMAND             fbsBitGc             SetWordJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-SetWordJustification_command12
       
 14739         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-DrawText_command13
       
 14740         COMMAND             fbsBitGc             SetWordJustification                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-SetWordJustification_command14
       
 14741         COMMAND             fbsBitGc             DrawText                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-DrawText_command15
       
 14742         COMMAND             fbsScrDev            Update
       
 14743         DELAY               500000
       
 14744         COMMAND             fbsBitGc             DiscardFont 
       
 14745         COMMAND             fbsScrDev            ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158-ReleaseFont_command19
       
 14746         COMMAND             fbsBitGc             ~
       
 14747         COMMAND             fbsScrDev            ~
       
 14748         COMMAND             fbsSession           Disconnect
       
 14749      END_TEST_BLOCK
       
 14750 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1158
       
 14751 
       
 14752 
       
 14753 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161
       
 14754 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161
       
 14755 //! @SYMAPI                 CFbsBitGc::SetUserDisplayMode(TDisplayMode);
       
 14756 //! @SYMAuthor              Forbes Fu
       
 14757 //! @SYMCreationDate        13/01/2009
       
 14758 //! @SYMTestCaseDesc        Simulate the display mode EGray2 and draw a rectangle.
       
 14759 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14760 //!                         2. Create a CFbsScreenDevice object.
       
 14761 //!                         3. Create a CFbsBitGc object.
       
 14762 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 14763 //!                         7. Set the brush style to ESolidBrush.
       
 14764 //!                         8. Set the brush color to TRgb(100, 100, 100).
       
 14765 //!                         9. Set the display mode to EGray2.
       
 14766 //!                         10.Draw a rectangle TRect(30, 30, 90, 120).
       
 14767 //!                         11.Set the brush color to TRgb(200, 200, 200).
       
 14768 //!                         12.Draw a rectangle TRect(100, 30, 160, 120).
       
 14769 //!                         13.Update the device.
       
 14770 //!                         14.Check whether rectangle color is expected.
       
 14771 //!                         15.Delay half a second.
       
 14772 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14773 //!                         17.Disconnect RFbsSession.
       
 14774 //! @SYMTestStatus          Implemented
       
 14775 //! @SYMTestPriority        High
       
 14776 //! @SYMTestExpectedResults 1. A rectangle with color TRgb(0, 0, 0) will be drawn.
       
 14777 //!                         2. A rectangle with color TRgb(255, 255, 255) will be drawn.
       
 14778 //! @SYMTestType            CIT
       
 14779 
       
 14780     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14781         CREATE_OBJECT       RFbsSession          fbsSession
       
 14782         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14783         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14784         COMMAND             fbsSession           Connect
       
 14785         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161-NewL_command02
       
 14786         COMMAND             fbsBitGc             NewL
       
 14787         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161-Activate_command04
       
 14788         COMMAND             fbsBitGc             Clear
       
 14789         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161-SetBrushStyle_command06
       
 14790         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161-SetBrushColor_command07
       
 14791         COMMAND             fbsBitGc             SetUserDisplayMode                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161-SetUserDisplayMode_command08
       
 14792         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161-DrawRect_command09
       
 14793         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161-SetBrushColor_command10
       
 14794         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161-DrawRect_command11
       
 14795         COMMAND             fbsScrDev            Update       
       
 14796         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161-checkRectColor_command13
       
 14797         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161-checkRectColor_command14
       
 14798         DELAY               500000
       
 14799         COMMAND             fbsBitGc             ~
       
 14800         COMMAND             fbsScrDev            ~
       
 14801         COMMAND             fbsSession           Disconnect
       
 14802      END_TEST_BLOCK
       
 14803 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1161
       
 14804 
       
 14805 
       
 14806 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163
       
 14807 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163
       
 14808 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 14809 //! @SYMAuthor              Forbes Fu
       
 14810 //! @SYMCreationDate        13/01/2009
       
 14811 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeAND and draw a rectangle.
       
 14812 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14813 //!                         2. Create a CFbsScreenDevice object.
       
 14814 //!                         3. Create a CFbsBitGc object.
       
 14815 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 14816 //!                         5. Set the pen color to TRgb(0, 0, 0).
       
 14817 //!                         6. Set the brush style to ESolidBrush.
       
 14818 //!                         7. Set the brush color to TRgb(0, 0, 0).
       
 14819 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 14820 //!                         9. Set the drawing mode to EDrawModeAND.
       
 14821 //!                         10.Set the pen color to TRgb(255, 255, 255).
       
 14822 //!                         11.Set the brush color to TRgb(255, 255, 255).
       
 14823 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 14824 //!                         13.Update the device.
       
 14825 //!                         14.Check whether rectangle color is expected.
       
 14826 //!                         15.Delay half a second.
       
 14827 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14828 //!                         17.Disconnect RFbsSession.
       
 14829 //! @SYMTestStatus          Implemented
       
 14830 //! @SYMTestPriority        High
       
 14831 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(0, 0, 0) will be drawn.
       
 14832 //! @SYMTestType            CIT
       
 14833 
       
 14834     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14835         CREATE_OBJECT       RFbsSession          fbsSession
       
 14836         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14837         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14838         COMMAND             fbsSession           Connect
       
 14839         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-NewL_command02
       
 14840         COMMAND             fbsBitGc             NewL
       
 14841         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-Activate_command04
       
 14842         COMMAND             fbsBitGc             Clear
       
 14843         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-SetPenColor_command06
       
 14844         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-SetBrushStyle_command07
       
 14845         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-SetBrushColor_command08
       
 14846         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-DrawRect_command09
       
 14847         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-SetDrawMode_command10
       
 14848         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-SetPenColor_command11
       
 14849         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-SetBrushColor_command12
       
 14850         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-DrawRect_command13
       
 14851         COMMAND             fbsScrDev            Update       
       
 14852         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163-checkRectColor_command15        
       
 14853         DELAY               500000
       
 14854         COMMAND             fbsBitGc             ~
       
 14855         COMMAND             fbsScrDev            ~
       
 14856         COMMAND             fbsSession           Disconnect
       
 14857      END_TEST_BLOCK
       
 14858 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1163
       
 14859 
       
 14860 
       
 14861 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164
       
 14862 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164
       
 14863 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 14864 //! @SYMAuthor              Forbes Fu
       
 14865 //! @SYMCreationDate        13/01/2009
       
 14866 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeNOTAND and draw a rectangle.
       
 14867 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14868 //!                         2. Create a CFbsScreenDevice object.
       
 14869 //!                         3. Create a CFbsBitGc object.
       
 14870 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 14871 //!                         5. Set the pen color to TRgb(255, 255, 255).
       
 14872 //!                         6. Set the brush style to ESolidBrush.
       
 14873 //!                         7. Set the brush color to TRgb(255, 255, 255).
       
 14874 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 14875 //!                         9. Set the drawing mode to EDrawModeNOTAND.
       
 14876 //!                         10.Set the pen color to TRgb(255, 255, 255).
       
 14877 //!                         11.Set the brush color to TRgb(255, 255, 255).
       
 14878 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 14879 //!                         13.Update the device.
       
 14880 //!                         14.Check whether rectangle color is expected.
       
 14881 //!                         15.Delay half a second.
       
 14882 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14883 //!                         17.Disconnect RFbsSession.
       
 14884 //! @SYMTestStatus          Implemented
       
 14885 //! @SYMTestPriority        High
       
 14886 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(0, 0, 0) will be drawn.
       
 14887 //! @SYMTestType            CIT
       
 14888 
       
 14889     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14890         CREATE_OBJECT       RFbsSession          fbsSession
       
 14891         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14892         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14893         COMMAND             fbsSession           Connect
       
 14894         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-NewL_command02
       
 14895         COMMAND             fbsBitGc             NewL
       
 14896         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-Activate_command04
       
 14897         COMMAND             fbsBitGc             Clear
       
 14898         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-SetPenColor_command06
       
 14899         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-SetBrushStyle_command07
       
 14900         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-SetBrushColor_command08
       
 14901         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-DrawRect_command09
       
 14902         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-SetDrawMode_command10
       
 14903         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-SetPenColor_command11
       
 14904         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-SetBrushColor_command12
       
 14905         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-DrawRect_command13
       
 14906         COMMAND             fbsScrDev            Update       
       
 14907         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164-checkRectColor_command15        
       
 14908         DELAY               500000
       
 14909         COMMAND             fbsBitGc             ~
       
 14910         COMMAND             fbsScrDev            ~
       
 14911         COMMAND             fbsSession           Disconnect
       
 14912      END_TEST_BLOCK
       
 14913 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1164
       
 14914 
       
 14915 
       
 14916 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165
       
 14917 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165
       
 14918 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 14919 //! @SYMAuthor              Forbes Fu
       
 14920 //! @SYMCreationDate        13/01/2009
       
 14921 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModePEN and draw a rectangle.
       
 14922 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14923 //!                         2. Create a CFbsScreenDevice object.
       
 14924 //!                         3. Create a CFbsBitGc object.
       
 14925 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 14926 //!                         5. Set the pen color to TRgb(0, 0, 0).
       
 14927 //!                         6. Set the brush style to ESolidBrush.
       
 14928 //!                         7. Set the brush color to TRgb(255, 255, 255).
       
 14929 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 14930 //!                         9. Set the drawing mode to EDrawModePEN.
       
 14931 //!                         10.Set the pen color to TRgb(0, 0, 0).
       
 14932 //!                         11.Set the brush color to TRgb(0, 0, 0).
       
 14933 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 14934 //!                         13.Update the device.
       
 14935 //!                         14.Check whether rectangle color is expected.
       
 14936 //!                         15.Delay half a second.
       
 14937 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14938 //!                         17.Disconnect RFbsSession.
       
 14939 //! @SYMTestStatus          Implemented
       
 14940 //! @SYMTestPriority        High
       
 14941 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(0, 0, 0) will be drawn.
       
 14942 //! @SYMTestType            CIT
       
 14943 
       
 14944     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 14945         CREATE_OBJECT       RFbsSession          fbsSession
       
 14946         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 14947         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 14948         COMMAND             fbsSession           Connect
       
 14949         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-NewL_command02
       
 14950         COMMAND             fbsBitGc             NewL
       
 14951         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-Activate_command04
       
 14952         COMMAND             fbsBitGc             Clear
       
 14953         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-SetPenColor_command06
       
 14954         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-SetBrushStyle_command07
       
 14955         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-SetBrushColor_command08
       
 14956         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-DrawRect_command09
       
 14957         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-SetDrawMode_command10
       
 14958         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-SetPenColor_command11
       
 14959         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-SetBrushColor_command12
       
 14960         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-DrawRect_command13
       
 14961         COMMAND             fbsScrDev            Update       
       
 14962         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165-checkRectColor_command15        
       
 14963         DELAY               500000
       
 14964         COMMAND             fbsBitGc             ~
       
 14965         COMMAND             fbsScrDev            ~
       
 14966         COMMAND             fbsSession           Disconnect
       
 14967      END_TEST_BLOCK
       
 14968 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1165
       
 14969 
       
 14970 
       
 14971 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166
       
 14972 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166
       
 14973 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 14974 //! @SYMAuthor              Forbes Fu
       
 14975 //! @SYMCreationDate        13/01/2009
       
 14976 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeANDNOT and draw a rectangle.
       
 14977 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 14978 //!                         2. Create a CFbsScreenDevice object.
       
 14979 //!                         3. Create a CFbsBitGc object.
       
 14980 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 14981 //!                         5. Set the pen color to TRgb(255, 255, 255).
       
 14982 //!                         6. Set the brush style to ESolidBrush.
       
 14983 //!                         7. Set the brush color to TRgb(255, 255, 255).
       
 14984 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 14985 //!                         9. Set the drawing mode to EDrawModeANDNOT.
       
 14986 //!                         10.Set the pen color to TRgb(255, 255, 255).
       
 14987 //!                         11.Set the brush color to TRgb(255, 255, 255).
       
 14988 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 14989 //!                         13.Update the device.
       
 14990 //!                         14.Check whether rectangle color is expected.
       
 14991 //!                         15.Delay half a second.
       
 14992 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 14993 //!                         17.Disconnect RFbsSession.
       
 14994 //! @SYMTestStatus          Implemented
       
 14995 //! @SYMTestPriority        High
       
 14996 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(0, 0, 0) will be drawn.
       
 14997 //! @SYMTestType            CIT
       
 14998 
       
 14999     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15000         CREATE_OBJECT       RFbsSession          fbsSession
       
 15001         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15002         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15003         COMMAND             fbsSession           Connect
       
 15004         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-NewL_command02
       
 15005         COMMAND             fbsBitGc             NewL
       
 15006         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-Activate_command04
       
 15007         COMMAND             fbsBitGc             Clear
       
 15008         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-SetPenColor_command06
       
 15009         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-SetBrushStyle_command07
       
 15010         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-SetBrushColor_command08
       
 15011         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-DrawRect_command09
       
 15012         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-SetDrawMode_command10
       
 15013         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-SetPenColor_command11
       
 15014         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-SetBrushColor_command12
       
 15015         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-DrawRect_command13
       
 15016         COMMAND             fbsScrDev            Update       
       
 15017         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166-checkRectColor_command15        
       
 15018         DELAY               500000
       
 15019         COMMAND             fbsBitGc             ~
       
 15020         COMMAND             fbsScrDev            ~
       
 15021         COMMAND             fbsSession           Disconnect
       
 15022      END_TEST_BLOCK
       
 15023 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1166
       
 15024 
       
 15025 
       
 15026 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167
       
 15027 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167
       
 15028 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 15029 //! @SYMAuthor              Forbes Fu
       
 15030 //! @SYMCreationDate        13/01/2009
       
 15031 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeXOR and draw a rectangle.
       
 15032 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15033 //!                         2. Create a CFbsScreenDevice object.
       
 15034 //!                         3. Create a CFbsBitGc object.
       
 15035 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 15036 //!                         5. Set the pen color to TRgb(255, 0, 0).
       
 15037 //!                         6. Set the brush style to ESolidBrush.
       
 15038 //!                         7. Set the brush color to TRgb(255, 0, 0).
       
 15039 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 15040 //!                         9. Set the drawing mode to EDrawModeXOR.
       
 15041 //!                         10.Set the pen color to TRgb(255, 255, 255).
       
 15042 //!                         11.Set the brush color to TRgb(255, 255, 255).
       
 15043 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 15044 //!                         13.Update the device.
       
 15045 //!                         14.Check whether rectangle color is expected.
       
 15046 //!                         15.Delay half a second.
       
 15047 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 15048 //!                         17.Disconnect RFbsSession.
       
 15049 //! @SYMTestStatus          Implemented
       
 15050 //! @SYMTestPriority        High
       
 15051 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(0, 255, 255) will be drawn.
       
 15052 //! @SYMTestType            CIT
       
 15053 
       
 15054     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15055         CREATE_OBJECT       RFbsSession          fbsSession
       
 15056         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15057         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15058         COMMAND             fbsSession           Connect
       
 15059         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-NewL_command02
       
 15060         COMMAND             fbsBitGc             NewL
       
 15061         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-Activate_command04
       
 15062         COMMAND             fbsBitGc             Clear
       
 15063         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-SetPenColor_command06
       
 15064         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-SetBrushStyle_command07
       
 15065         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-SetBrushColor_command08
       
 15066         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-DrawRect_command09
       
 15067         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-SetDrawMode_command10
       
 15068         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-SetPenColor_command11
       
 15069         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-SetBrushColor_command12
       
 15070         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-DrawRect_command13
       
 15071         COMMAND             fbsScrDev            Update       
       
 15072         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167-checkRectColor_command15        
       
 15073         DELAY               500000
       
 15074         COMMAND             fbsBitGc             ~
       
 15075         COMMAND             fbsScrDev            ~
       
 15076         COMMAND             fbsSession           Disconnect
       
 15077      END_TEST_BLOCK
       
 15078 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1167
       
 15079 
       
 15080 
       
 15081 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168
       
 15082 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168
       
 15083 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 15084 //! @SYMAuthor              Forbes Fu
       
 15085 //! @SYMCreationDate        13/01/2009
       
 15086 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeOR and draw a rectangle.
       
 15087 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15088 //!                         2. Create a CFbsScreenDevice object.
       
 15089 //!                         3. Create a CFbsBitGc object.
       
 15090 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 15091 //!                         5. Set the pen color to TRgb(255, 0, 0).
       
 15092 //!                         6. Set the brush style to ESolidBrush.
       
 15093 //!                         7. Set the brush color to TRgb(255, 0, 0).
       
 15094 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 15095 //!                         9. Set the drawing mode to EDrawModeOR.
       
 15096 //!                         10.Set the pen color to TRgb(0, 0, 0).
       
 15097 //!                         11.Set the brush color to TRgb(0, 0, 0).
       
 15098 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 15099 //!                         13.Update the device.
       
 15100 //!                         14.Check whether rectangle color is expected.
       
 15101 //!                         15.Delay half a second.
       
 15102 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 15103 //!                         17.Disconnect RFbsSession.
       
 15104 //! @SYMTestStatus          Implemented
       
 15105 //! @SYMTestPriority        High
       
 15106 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(255, 0, 0) will be drawn.
       
 15107 //! @SYMTestType            CIT
       
 15108 
       
 15109     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15110         CREATE_OBJECT       RFbsSession          fbsSession
       
 15111         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15112         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15113         COMMAND             fbsSession           Connect
       
 15114         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-NewL_command02
       
 15115         COMMAND             fbsBitGc             NewL
       
 15116         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-Activate_command04
       
 15117         COMMAND             fbsBitGc             Clear
       
 15118         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-SetPenColor_command06
       
 15119         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-SetBrushStyle_command07
       
 15120         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-SetBrushColor_command08
       
 15121         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-DrawRect_command09
       
 15122         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-SetDrawMode_command10
       
 15123         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-SetPenColor_command11
       
 15124         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-SetBrushColor_command12
       
 15125         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-DrawRect_command13
       
 15126         COMMAND             fbsScrDev            Update       
       
 15127         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168-checkRectColor_command15        
       
 15128         DELAY               500000
       
 15129         COMMAND             fbsBitGc             ~
       
 15130         COMMAND             fbsScrDev            ~
       
 15131         COMMAND             fbsSession           Disconnect
       
 15132      END_TEST_BLOCK
       
 15133 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1168
       
 15134 
       
 15135 
       
 15136 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169
       
 15137 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169
       
 15138 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 15139 //! @SYMAuthor              Forbes Fu
       
 15140 //! @SYMCreationDate        13/01/2009
       
 15141 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeNOTANDNOT and draw a rectangle.
       
 15142 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15143 //!                         2. Create a CFbsScreenDevice object.
       
 15144 //!                         3. Create a CFbsBitGc object.
       
 15145 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 15146 //!                         5. Set the pen color to TRgb(255, 0, 0).
       
 15147 //!                         6. Set the brush style to ESolidBrush.
       
 15148 //!                         7. Set the brush color to TRgb(255, 0, 0).
       
 15149 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 15150 //!                         9. Set the drawing mode to EDrawModeNOTANDNOT.
       
 15151 //!                         10.Set the pen color to TRgb(0, 0, 0).
       
 15152 //!                         11.Set the brush color to TRgb(0, 0, 0).
       
 15153 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 15154 //!                         13.Update the device.
       
 15155 //!                         14.Check whether rectangle color is expected.
       
 15156 //!                         15.Delay half a second.
       
 15157 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 15158 //!                         17.Disconnect RFbsSession.
       
 15159 //! @SYMTestStatus          Implemented
       
 15160 //! @SYMTestPriority        High
       
 15161 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(0, 255, 255) will be drawn.
       
 15162 //! @SYMTestType            CIT
       
 15163 
       
 15164     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15165         CREATE_OBJECT       RFbsSession          fbsSession
       
 15166         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15167         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15168         COMMAND             fbsSession           Connect
       
 15169         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-NewL_command02
       
 15170         COMMAND             fbsBitGc             NewL
       
 15171         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-Activate_command04
       
 15172         COMMAND             fbsBitGc             Clear
       
 15173         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-SetPenColor_command06
       
 15174         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-SetBrushStyle_command07
       
 15175         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-SetBrushColor_command08
       
 15176         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-DrawRect_command09
       
 15177         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-SetDrawMode_command10
       
 15178         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-SetPenColor_command11
       
 15179         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-SetBrushColor_command12
       
 15180         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-DrawRect_command13
       
 15181         COMMAND             fbsScrDev            Update       
       
 15182         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169-checkRectColor_command15        
       
 15183         DELAY               500000
       
 15184         COMMAND             fbsBitGc             ~
       
 15185         COMMAND             fbsScrDev            ~
       
 15186         COMMAND             fbsSession           Disconnect
       
 15187      END_TEST_BLOCK
       
 15188 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1169
       
 15189 
       
 15190 
       
 15191 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170
       
 15192 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170
       
 15193 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 15194 //! @SYMAuthor              Forbes Fu
       
 15195 //! @SYMCreationDate        13/01/2009
       
 15196 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeNOTXOR and draw a rectangle.
       
 15197 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15198 //!                         2. Create a CFbsScreenDevice object.
       
 15199 //!                         3. Create a CFbsBitGc object.
       
 15200 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 15201 //!                         5. Set the pen color to TRgb(255, 0, 0).
       
 15202 //!                         6. Set the brush style to ESolidBrush.
       
 15203 //!                         7. Set the brush color to TRgb(255, 0, 0).
       
 15204 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 15205 //!                         9. Set the drawing mode to EDrawModeNOTXOR.
       
 15206 //!                         10.Set the pen color to TRgb(0, 0, 0).
       
 15207 //!                         11.Set the brush color to TRgb(0, 0, 0).
       
 15208 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 15209 //!                         13.Update the device.
       
 15210 //!                         14.Check whether rectangle color is expected.
       
 15211 //!                         15.Delay half a second.
       
 15212 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 15213 //!                         17.Disconnect RFbsSession.
       
 15214 //! @SYMTestStatus          Implemented
       
 15215 //! @SYMTestPriority        High
       
 15216 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(0, 255, 255) will be drawn.
       
 15217 //! @SYMTestType            CIT
       
 15218 
       
 15219     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15220         CREATE_OBJECT       RFbsSession          fbsSession
       
 15221         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15222         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15223         COMMAND             fbsSession           Connect
       
 15224         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-NewL_command02
       
 15225         COMMAND             fbsBitGc             NewL
       
 15226         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-Activate_command04
       
 15227         COMMAND             fbsBitGc             Clear
       
 15228         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-SetPenColor_command06
       
 15229         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-SetBrushStyle_command07
       
 15230         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-SetBrushColor_command08
       
 15231         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-DrawRect_command09
       
 15232         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-SetDrawMode_command10
       
 15233         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-SetPenColor_command11
       
 15234         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-SetBrushColor_command12
       
 15235         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-DrawRect_command13
       
 15236         COMMAND             fbsScrDev            Update       
       
 15237         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170-checkRectColor_command15        
       
 15238         DELAY               500000
       
 15239         COMMAND             fbsBitGc             ~
       
 15240         COMMAND             fbsScrDev            ~
       
 15241         COMMAND             fbsSession           Disconnect
       
 15242      END_TEST_BLOCK
       
 15243 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1170
       
 15244 
       
 15245 
       
 15246 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171
       
 15247 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171
       
 15248 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 15249 //! @SYMAuthor              Forbes Fu
       
 15250 //! @SYMCreationDate        13/01/2009
       
 15251 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeNOTSCREEN and draw a rectangle.
       
 15252 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15253 //!                         2. Create a CFbsScreenDevice object.
       
 15254 //!                         3. Create a CFbsBitGc object.
       
 15255 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 15256 //!                         5. Set the pen color to TRgb(0, 0, 255).
       
 15257 //!                         6. Set the brush style to ESolidBrush.
       
 15258 //!                         7. Set the brush color to TRgb(0, 0, 255).
       
 15259 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 15260 //!                         9. Set the drawing mode to EDrawModeNOTSCREEN.
       
 15261 //!                         10.Set the pen color to TRgb(1, 2, 3).
       
 15262 //!                         11.Set the brush color to TRgb(3, 2, 1).
       
 15263 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 15264 //!                         13.Update the device.
       
 15265 //!                         14.Check whether rectangle color is expected.
       
 15266 //!                         15.Delay half a second.
       
 15267 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 15268 //!                         17.Disconnect RFbsSession.
       
 15269 //! @SYMTestStatus          Implemented
       
 15270 //! @SYMTestPriority        High
       
 15271 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(255, 255, 0) will be drawn.
       
 15272 //! @SYMTestType            CIT
       
 15273 
       
 15274     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15275         CREATE_OBJECT       RFbsSession          fbsSession
       
 15276         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15277         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15278         COMMAND             fbsSession           Connect
       
 15279         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-NewL_command02
       
 15280         COMMAND             fbsBitGc             NewL
       
 15281         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-Activate_command04
       
 15282         COMMAND             fbsBitGc             Clear
       
 15283         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-SetPenColor_command06
       
 15284         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-SetBrushStyle_command07
       
 15285         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-SetBrushColor_command08
       
 15286         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-DrawRect_command09
       
 15287         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-SetDrawMode_command10
       
 15288         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-SetPenColor_command11
       
 15289         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-SetBrushColor_command12
       
 15290         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-DrawRect_command13
       
 15291         COMMAND             fbsScrDev            Update       
       
 15292         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171-checkRectColor_command15        
       
 15293         DELAY               500000
       
 15294         COMMAND             fbsBitGc             ~
       
 15295         COMMAND             fbsScrDev            ~
       
 15296         COMMAND             fbsSession           Disconnect
       
 15297      END_TEST_BLOCK
       
 15298 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1171
       
 15299 
       
 15300 
       
 15301 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172
       
 15302 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172
       
 15303 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 15304 //! @SYMAuthor              Forbes Fu
       
 15305 //! @SYMCreationDate        13/01/2009
       
 15306 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeNOTOR and draw a rectangle.
       
 15307 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15308 //!                         2. Create a CFbsScreenDevice object.
       
 15309 //!                         3. Create a CFbsBitGc object.
       
 15310 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 15311 //!                         5. Set the pen color to TRgb(0, 0, 255).
       
 15312 //!                         6. Set the brush style to ESolidBrush.
       
 15313 //!                         7. Set the brush color to TRgb(0, 0, 255).
       
 15314 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 15315 //!                         9. Set the drawing mode to EDrawModeNOTOR.
       
 15316 //!                         10.Set the pen color to TRgb(0, 0, 0).
       
 15317 //!                         11.Set the brush color to TRgb(0, 0, 0).
       
 15318 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 15319 //!                         13.Update the device.
       
 15320 //!                         14.Check whether rectangle color is expected.
       
 15321 //!                         15.Delay half a second.
       
 15322 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 15323 //!                         17.Disconnect RFbsSession.
       
 15324 //! @SYMTestStatus          Implemented
       
 15325 //! @SYMTestPriority        High
       
 15326 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(255, 255, 0) will be drawn.
       
 15327 //! @SYMTestType            CIT
       
 15328 
       
 15329     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15330         CREATE_OBJECT       RFbsSession          fbsSession
       
 15331         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15332         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15333         COMMAND             fbsSession           Connect
       
 15334         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-NewL_command02
       
 15335         COMMAND             fbsBitGc             NewL
       
 15336         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-Activate_command04
       
 15337         COMMAND             fbsBitGc             Clear
       
 15338         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-SetPenColor_command06
       
 15339         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-SetBrushStyle_command07
       
 15340         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-SetBrushColor_command08
       
 15341         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-DrawRect_command09
       
 15342         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-SetDrawMode_command10
       
 15343         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-SetPenColor_command11
       
 15344         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-SetBrushColor_command12
       
 15345         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-DrawRect_command13
       
 15346         COMMAND             fbsScrDev            Update       
       
 15347         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172-checkRectColor_command15        
       
 15348         DELAY               500000
       
 15349         COMMAND             fbsBitGc             ~
       
 15350         COMMAND             fbsScrDev            ~
       
 15351         COMMAND             fbsSession           Disconnect
       
 15352      END_TEST_BLOCK
       
 15353 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1172
       
 15354 
       
 15355 
       
 15356 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173
       
 15357 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173
       
 15358 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 15359 //! @SYMAuthor              Forbes Fu
       
 15360 //! @SYMCreationDate        13/01/2009
       
 15361 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeNOTPEN and draw a rectangle.
       
 15362 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15363 //!                         2. Create a CFbsScreenDevice object.
       
 15364 //!                         3. Create a CFbsBitGc object.
       
 15365 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 15366 //!                         5. Set the pen color to TRgb(0, 0, 255).
       
 15367 //!                         6. Set the brush style to ESolidBrush.
       
 15368 //!                         7. Set the brush color to TRgb(0, 0, 255).
       
 15369 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 15370 //!                         9. Set the drawing mode to EDrawModeNOTPEN.
       
 15371 //!                         10.Set the pen color to TRgb(0, 255, 0).
       
 15372 //!                         11.Set the brush color to TRgb(0, 255, 0).
       
 15373 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 15374 //!                         13.Update the device.
       
 15375 //!                         14.Check whether rectangle color is expected.
       
 15376 //!                         15.Delay half a second.
       
 15377 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 15378 //!                         17.Disconnect RFbsSession.
       
 15379 //! @SYMTestStatus          Implemented
       
 15380 //! @SYMTestPriority        High
       
 15381 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(255, 0, 255) will be drawn.
       
 15382 //! @SYMTestType            CIT
       
 15383 
       
 15384     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15385         CREATE_OBJECT       RFbsSession          fbsSession
       
 15386         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15387         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15388         COMMAND             fbsSession           Connect
       
 15389         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-NewL_command02
       
 15390         COMMAND             fbsBitGc             NewL
       
 15391         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-Activate_command04
       
 15392         COMMAND             fbsBitGc             Clear
       
 15393         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-SetPenColor_command06
       
 15394         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-SetBrushStyle_command07
       
 15395         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-SetBrushColor_command08
       
 15396         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-DrawRect_command09
       
 15397         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-SetDrawMode_command10
       
 15398         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-SetPenColor_command11
       
 15399         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-SetBrushColor_command12
       
 15400         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-DrawRect_command13
       
 15401         COMMAND             fbsScrDev            Update       
       
 15402         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173-checkRectColor_command15        
       
 15403         DELAY               500000
       
 15404         COMMAND             fbsBitGc             ~
       
 15405         COMMAND             fbsScrDev            ~
       
 15406         COMMAND             fbsSession           Disconnect
       
 15407      END_TEST_BLOCK
       
 15408 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1173
       
 15409 
       
 15410 
       
 15411 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174
       
 15412 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174
       
 15413 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 15414 //! @SYMAuthor              Forbes Fu
       
 15415 //! @SYMCreationDate        13/01/2009
       
 15416 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeORNOT and draw a rectangle.
       
 15417 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15418 //!                         2. Create a CFbsScreenDevice object.
       
 15419 //!                         3. Create a CFbsBitGc object.
       
 15420 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 15421 //!                         5. Set the pen color to TRgb(0, 0, 0).
       
 15422 //!                         6. Set the brush style to ESolidBrush.
       
 15423 //!                         7. Set the brush color to TRgb(0, 0, 0).
       
 15424 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 15425 //!                         9. Set the drawing mode to EDrawModeORNOT.
       
 15426 //!                         10.Set the pen color to TRgb(255, 255, 255).
       
 15427 //!                         11.Set the brush color to TRgb(255, 255, 255).
       
 15428 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 15429 //!                         13.Update the device.
       
 15430 //!                         14.Check whether rectangle color is expected.
       
 15431 //!                         15.Delay half a second.
       
 15432 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 15433 //!                         17.Disconnect RFbsSession.
       
 15434 //! @SYMTestStatus          Implemented
       
 15435 //! @SYMTestPriority        High
       
 15436 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(0, 0, 0) will be drawn.
       
 15437 //! @SYMTestType            CIT
       
 15438 
       
 15439     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15440         CREATE_OBJECT       RFbsSession          fbsSession
       
 15441         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15442         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15443         COMMAND             fbsSession           Connect
       
 15444         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-NewL_command02
       
 15445         COMMAND             fbsBitGc             NewL
       
 15446         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-Activate_command04
       
 15447         COMMAND             fbsBitGc             Clear
       
 15448         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-SetPenColor_command06
       
 15449         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-SetBrushStyle_command07
       
 15450         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-SetBrushColor_command08
       
 15451         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-DrawRect_command09
       
 15452         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-SetDrawMode_command10
       
 15453         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-SetPenColor_command11
       
 15454         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-SetBrushColor_command12
       
 15455         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-DrawRect_command13
       
 15456         COMMAND             fbsScrDev            Update       
       
 15457         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174-checkRectColor_command15        
       
 15458         DELAY               500000
       
 15459         COMMAND             fbsBitGc             ~
       
 15460         COMMAND             fbsScrDev            ~
       
 15461         COMMAND             fbsSession           Disconnect
       
 15462      END_TEST_BLOCK
       
 15463 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1174
       
 15464 
       
 15465 
       
 15466 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175
       
 15467 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175
       
 15468 //! @SYMAPI                 CFbsBitGc::SetDrawMode(TDrawMode);
       
 15469 //! @SYMAuthor              Forbes Fu
       
 15470 //! @SYMCreationDate        13/01/2009
       
 15471 //! @SYMTestCaseDesc        Set the drawing mode to EDrawModeNOTORNOT and draw a rectangle.
       
 15472 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15473 //!                         2. Create a CFbsScreenDevice object.
       
 15474 //!                         3. Create a CFbsBitGc object.
       
 15475 //!                         4. Activate the CFbsBitGc object and clear the screen.
       
 15476 //!                         5. Set the pen color to TRgb(255, 255, 255).
       
 15477 //!                         6. Set the brush style to ESolidBrush.
       
 15478 //!                         7. Set the brush color to TRgb(255, 255, 255).
       
 15479 //!                         8. Draw a rectangle TRect(0, 0, 100, 100).
       
 15480 //!                         9. Set the drawing mode to EDrawModeNOTORNOT.
       
 15481 //!                         10.Set the pen color to TRgb(0, 255, 0).
       
 15482 //!                         11.Set the brush color to TRgb(0, 255, 0).
       
 15483 //!                         12.Draw a rectangle TRect(30, 30, 60, 60).
       
 15484 //!                         13.Update the device.
       
 15485 //!                         14.Check whether rectangle color is expected.
       
 15486 //!                         15.Delay half a second.
       
 15487 //!                         16.Destroy CFbsBitGc object and CFbsScreenDevice object.
       
 15488 //!                         17.Disconnect RFbsSession.
       
 15489 //! @SYMTestStatus          Implemented
       
 15490 //! @SYMTestPriority        High
       
 15491 //! @SYMTestExpectedResults The rectangle TRect(30, 30, 60, 60) with color TRgb(255, 0, 255) will be drawn.
       
 15492 //! @SYMTestType            CIT
       
 15493 
       
 15494     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15495         CREATE_OBJECT       RFbsSession          fbsSession
       
 15496         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15497         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15498         COMMAND             fbsSession           Connect
       
 15499         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-NewL_command02
       
 15500         COMMAND             fbsBitGc             NewL
       
 15501         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-Activate_command04
       
 15502         COMMAND             fbsBitGc             Clear
       
 15503         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-SetPenColor_command06
       
 15504         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-SetBrushStyle_command07
       
 15505         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-SetBrushColor_command08
       
 15506         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-DrawRect_command09
       
 15507         COMMAND             fbsBitGc             SetDrawMode                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-SetDrawMode_command10
       
 15508         COMMAND             fbsBitGc             SetPenColor                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-SetPenColor_command11
       
 15509         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-SetBrushColor_command12
       
 15510         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-DrawRect_command13
       
 15511         COMMAND             fbsScrDev            Update       
       
 15512         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175-checkRectColor_command15        
       
 15513         DELAY               500000
       
 15514         COMMAND             fbsBitGc             ~
       
 15515         COMMAND             fbsScrDev            ~
       
 15516         COMMAND             fbsSession           Disconnect
       
 15517      END_TEST_BLOCK
       
 15518 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-1175
       
 15519 
       
 15520 
       
 15521 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2321
       
 15522 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2321
       
 15523 //! @SYMAPI                 CFbsBitGc::ShadowArea(const TRegion{ptr})
       
 15524 //! @SYMAuthor              Felix Rao
       
 15525 //! @SYMCreationDate        09/01/2009
       
 15526 //! @SYMTestCaseDesc        Set the shadow area.
       
 15527 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15528 //!                         2. Create a CFbsBitGc object.
       
 15529 //!                         3. Create a CFbsScreenDevice object.
       
 15530 //!                         4. Activate the CFbsBitGc object to draw to CFbsScreenDevice object.
       
 15531 //!                         5. Set brush style to ESolidBrush and brush color to TRgb(0, 0, 255) and clear the device.
       
 15532 //!                         6. Sets the shadow area to rectangle area TRect(0, 0, 50, 50) and update the device.
       
 15533 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 15534 //! @SYMTestStatus          Implemented
       
 15535 //! @SYMTestPriority        High
       
 15536 //! @SYMTestExpectedResults ShadowArea() is called without error.
       
 15537 //! @SYMTestType            CIT
       
 15538 
       
 15539     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15540         CREATE_OBJECT       RFbsSession          fbsSession
       
 15541         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15542         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15543         COMMAND             fbsSession           Connect
       
 15544         COMMAND             fbsBitGc             NewL
       
 15545         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2321-NewL_command03
       
 15546         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-2321-Activate_command04
       
 15547         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2321-SetBrushStyle_command05
       
 15548         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2321-SetBrushColor_command06
       
 15549         COMMAND             fbsBitGc             Clear
       
 15550         COMMAND             fbsBitGc             ShadowArea                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-2321-ShadowArea_command08
       
 15551         COMMAND             fbsScrDev            Update
       
 15552         DELAY               500000
       
 15553         COMMAND             fbsBitGc             ~
       
 15554         COMMAND             fbsScrDev            ~
       
 15555         COMMAND             fbsSession           Disconnect
       
 15556      END_TEST_BLOCK
       
 15557 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2321
       
 15558 
       
 15559 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2322
       
 15560 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2322
       
 15561 //! @SYMAPI                 CFbsBitGc::ShadowArea(const TRegion{ptr})
       
 15562 //! @SYMAuthor              Felix Rao
       
 15563 //! @SYMCreationDate        09/01/2009
       
 15564 //! @SYMTestCaseDesc        Negative case. Set the shadow area to empty rectangle.
       
 15565 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15566 //!                         2. Create a CFbsBitGc object.
       
 15567 //!                         3. Create a CFbsScreenDevice object.
       
 15568 //!                         4. Activate the CFbsBitGc object to draw to CFbsScreenDevice object.
       
 15569 //!                         5. Set brush style to ESolidBrush and brush color to TRgb(0, 0, 255) and clear the device.
       
 15570 //!                         6. Sets the shadow area to rectangle area TRect(0, 0, 0, 0).
       
 15571 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 15572 //! @SYMTestStatus          Implemented
       
 15573 //! @SYMTestPriority        High
       
 15574 //! @SYMTestExpectedResults ShadowArea() is called without error.
       
 15575 //! @SYMTestType            CIT
       
 15576 
       
 15577     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15578         CREATE_OBJECT       RFbsSession          fbsSession
       
 15579         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15580         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15581         COMMAND             fbsSession           Connect
       
 15582         COMMAND             fbsBitGc             NewL
       
 15583         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2322-NewL_command03
       
 15584         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-2322-Activate_command04
       
 15585         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2322-SetBrushStyle_command05
       
 15586         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2322-SetBrushColor_command06
       
 15587         COMMAND             fbsBitGc             Clear
       
 15588         COMMAND             fbsBitGc             ShadowArea                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-2322-ShadowArea_command08
       
 15589         COMMAND             fbsBitGc             ~
       
 15590         COMMAND             fbsScrDev            ~
       
 15591         COMMAND             fbsSession           Disconnect
       
 15592      END_TEST_BLOCK
       
 15593 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2322
       
 15594 
       
 15595 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2323
       
 15596 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2323
       
 15597 //! @SYMAPI                 CFbsBitGc::ShadowArea(const TRegion{ptr})
       
 15598 //! @SYMAuthor              Felix Rao
       
 15599 //! @SYMCreationDate        09/01/2009
       
 15600 //! @SYMTestCaseDesc        Negative case. Set the shadow area with null region.
       
 15601 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15602 //!                         2. Create a CFbsBitGc object.
       
 15603 //!                         3. Create a CFbsScreenDevice object.
       
 15604 //!                         4. Activate the CFbsBitGc object to draw to CFbsScreenDevice object.
       
 15605 //!                         5. Set brush style to ESolidBrush and brush color to TRgb(0, 0, 255) and clear the device.
       
 15606 //!                         6. Sets the shadow area with null region.
       
 15607 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 15608 //! @SYMTestStatus          Implemented
       
 15609 //! @SYMTestPriority        High
       
 15610 //! @SYMTestExpectedResults ShadowArea() is called without error.
       
 15611 //! @SYMTestType            CIT
       
 15612 
       
 15613     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15614         CREATE_OBJECT       RFbsSession          fbsSession
       
 15615         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15616         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15617         COMMAND             fbsSession           Connect
       
 15618         COMMAND             fbsBitGc             NewL
       
 15619         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2323-NewL_command03
       
 15620         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-2323-Activate_command04
       
 15621         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2323-SetBrushStyle_command05
       
 15622         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2323-SetBrushColor_command06
       
 15623         COMMAND             fbsBitGc             Clear
       
 15624         COMMAND             fbsBitGc             ShadowArea
       
 15625         COMMAND             fbsBitGc             ~
       
 15626         COMMAND             fbsScrDev            ~
       
 15627         COMMAND             fbsSession           Disconnect
       
 15628      END_TEST_BLOCK
       
 15629 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2323
       
 15630 
       
 15631 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331
       
 15632 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331
       
 15633 //! @SYMAPI                 CFbsBitGc::FadeArea(const TRegion{ptr})
       
 15634 //! @SYMAuthor              Felix Rao
       
 15635 //! @SYMCreationDate        09/01/2009
       
 15636 //! @SYMTestCaseDesc        Set the fade area.
       
 15637 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15638 //!                         2. Create a CFbsBitGc object.
       
 15639 //!                         3. Create a CFbsScreenDevice object.
       
 15640 //!                         4. Activate the CFbsBitGc object to draw to CFbsScreenDevice object.
       
 15641 //!                         5. Set brush style to ESolidBrush and brush color to TRgb(0, 0, 255) and clear the device.
       
 15642 //!                         6. Set fading parameters to 63 and 130.
       
 15643 //!                         7. Draw a rectangle area (0, 0, 50, 50).
       
 15644 //!                         8. Sets the fade area to rectangle area TRect(0, 0, 50, 50).
       
 15645 //!                         9. Check the drawn rectangle.
       
 15646 //!                         10. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 15647 //! @SYMTestStatus          Implemented
       
 15648 //! @SYMTestPriority        High
       
 15649 //! @SYMTestExpectedResults 1. FadeArea() is called without error.
       
 15650 //!                         2. The rectangle drawn in color TRgb(63, 63, 130).
       
 15651 //! @SYMTestType            CIT
       
 15652 
       
 15653     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15654         CREATE_OBJECT       RFbsSession          fbsSession
       
 15655         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15656         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15657         COMMAND             fbsSession           Connect
       
 15658         COMMAND             fbsBitGc             NewL
       
 15659         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331-NewL_command03
       
 15660         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331-Activate_command04
       
 15661         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331-SetBrushStyle_command05
       
 15662         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331-SetBrushColor_command06
       
 15663         COMMAND             fbsBitGc             Clear
       
 15664         COMMAND             fbsBitGc             SetFadingParameters                    GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331-SetFadingParameters_command08
       
 15665         COMMAND             fbsBitGc             DrawRect                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331-DrawRect_command09
       
 15666         COMMAND             fbsBitGc             FadeArea                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331-FadeArea_command10
       
 15667         COMMAND             fbsScrDev            Update
       
 15668         COMMAND             fbsScrDev            checkRectColor                         GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331-checkRectColor_command12
       
 15669         DELAY               500000
       
 15670         COMMAND             fbsBitGc             ~
       
 15671         COMMAND             fbsScrDev            ~
       
 15672         COMMAND             fbsSession           Disconnect
       
 15673      END_TEST_BLOCK
       
 15674 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2331
       
 15675 
       
 15676 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2332
       
 15677 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2332
       
 15678 //! @SYMAPI                 CFbsBitGc::FadeArea(const TRegion{ptr})
       
 15679 //! @SYMAuthor              Felix Rao
       
 15680 //! @SYMCreationDate        09/01/2009
       
 15681 //! @SYMTestCaseDesc        Negative case. Set the fade area to empty rectangle.
       
 15682 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15683 //!                         2. Create a CFbsBitGc object.
       
 15684 //!                         3. Create a CFbsScreenDevice object.
       
 15685 //!                         4. Activate the CFbsBitGc object to draw to CFbsScreenDevice object.
       
 15686 //!                         5. Set brush style to ESolidBrush and brush color to TRgb(0, 0, 255) and clear the device.
       
 15687 //!                         6. Sets the fade area to rectangle area TRect(0, 0, 0, 0).
       
 15688 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 15689 //! @SYMTestStatus          Implemented
       
 15690 //! @SYMTestPriority        High
       
 15691 //! @SYMTestExpectedResults FadeArea() is called without error.
       
 15692 //! @SYMTestType            CIT
       
 15693 
       
 15694     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15695         CREATE_OBJECT       RFbsSession          fbsSession
       
 15696         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15697         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15698         COMMAND             fbsSession           Connect
       
 15699         COMMAND             fbsBitGc             NewL
       
 15700         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2332-NewL_command03
       
 15701         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-2332-Activate_command04
       
 15702         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2332-SetBrushStyle_command05
       
 15703         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2332-SetBrushColor_command06
       
 15704         COMMAND             fbsBitGc             Clear
       
 15705         COMMAND             fbsBitGc             FadeArea                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-2332-FadeArea_command08
       
 15706         COMMAND             fbsBitGc             ~
       
 15707         COMMAND             fbsScrDev            ~
       
 15708         COMMAND             fbsSession           Disconnect
       
 15709      END_TEST_BLOCK
       
 15710 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2332
       
 15711 
       
 15712 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2333
       
 15713 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2333
       
 15714 //! @SYMAPI                 CFbsBitGc::FadeArea(const TRegion{ptr})
       
 15715 //! @SYMAuthor              Felix Rao
       
 15716 //! @SYMCreationDate        09/01/2009
       
 15717 //! @SYMTestCaseDesc        Negative case. Set the fade area with null region.
       
 15718 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15719 //!                         2. Create a CFbsBitGc object.
       
 15720 //!                         3. Create a CFbsScreenDevice object.
       
 15721 //!                         4. Activate the CFbsBitGc object to draw to CFbsScreenDevice object.
       
 15722 //!                         5. Set brush style to ESolidBrush and brush color to TRgb(0, 0, 255) and clear the device.
       
 15723 //!                         6. Sets the fade area with null region.
       
 15724 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object.
       
 15725 //! @SYMTestStatus          Implemented
       
 15726 //! @SYMTestPriority        High
       
 15727 //! @SYMTestExpectedResults FadeArea() is called without error.
       
 15728 //! @SYMTestType            CIT
       
 15729 
       
 15730     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15731         CREATE_OBJECT       RFbsSession          fbsSession
       
 15732         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15733         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 15734         COMMAND             fbsSession           Connect
       
 15735         COMMAND             fbsBitGc             NewL
       
 15736         COMMAND             fbsScrDev            NewL                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2333-NewL_command03
       
 15737         COMMAND             fbsBitGc             Activate                               GRAPHICS-BITGDI-FbsBitGc-PublicApi-2333-Activate_command04
       
 15738         COMMAND             fbsBitGc             SetBrushStyle                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2333-SetBrushStyle_command05
       
 15739         COMMAND             fbsBitGc             SetBrushColor                          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2333-SetBrushColor_command06
       
 15740         COMMAND             fbsBitGc             Clear
       
 15741         COMMAND             fbsBitGc             FadeArea
       
 15742         COMMAND             fbsBitGc             ~
       
 15743         COMMAND             fbsScrDev            ~
       
 15744         COMMAND             fbsSession           Disconnect
       
 15745      END_TEST_BLOCK
       
 15746 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2333
       
 15747 
       
 15748 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2701
       
 15749 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2701
       
 15750 //! @SYMAPI                 CFbsBitGc::UseBrushPattern(const CFbsBitmap{ptr})
       
 15751 //! @SYMAuthor              Felix Rao
       
 15752 //! @SYMCreationDate        08/01/2009
       
 15753 //! @SYMTestCaseDesc        Set the CFbsBitGc object to use a specified bitmap as brush pattern.
       
 15754 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15755 //!                         2. Create a CFbsBitGc object.
       
 15756 //!                         3. Create a CFbsBitmap object.
       
 15757 //!                         4. Sets the brush pattern to the CFbsBitmap object.
       
 15758 //!                         5. Test if brush pattern is used.
       
 15759 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsBitmap object.
       
 15760 //! @SYMTestStatus          Implemented
       
 15761 //! @SYMTestPriority        High
       
 15762 //! @SYMTestExpectedResults UseBrushPattern() is called without error. After this call, IsBrushPatternUsed() returns true.
       
 15763 //! @SYMTestType            CIT
       
 15764 
       
 15765     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15766         CREATE_OBJECT       RFbsSession          fbsSession
       
 15767         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15768         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 15769         COMMAND             fbsSession           Connect
       
 15770         COMMAND             fbsBitGc             NewL
       
 15771         COMMAND             fbsBitmap            new
       
 15772         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2701-Load_command04
       
 15773         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-2701-UseBrushPattern_command05
       
 15774         COMMAND             fbsBitGc             IsBrushPatternUsed                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-2701-IsBrushPatternUsed_command06
       
 15775         COMMAND             fbsBitGc             ~
       
 15776         COMMAND             fbsBitmap            ~
       
 15777         COMMAND             fbsSession           Disconnect
       
 15778      END_TEST_BLOCK
       
 15779 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2701
       
 15780 
       
 15781 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2702
       
 15782 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2702
       
 15783 //! @SYMAPI                 CFbsBitGc::UseBrushPattern(const CFbsBitmap{ptr})
       
 15784 //! @SYMAuthor              Felix Rao
       
 15785 //! @SYMCreationDate        08/01/2009
       
 15786 //! @SYMTestCaseDesc        Negative case. Set the CFbsBitGc object to use a not loaded bitmap as brush pattern.
       
 15787 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15788 //!                         2. Create a CFbsBitGc object and a CFbsBitmap object.
       
 15789 //!                         3. Sets the brush pattern to the CFbsBitmap object.
       
 15790 //! @SYMTestStatus          Implemented
       
 15791 //! @SYMTestPriority        High
       
 15792 //! @SYMTestExpectedResults Get Panic code 13 and PanicString BITGDI.
       
 15793 //! @SYMTestType            CIT
       
 15794 
       
 15795     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15796         CREATE_OBJECT       RFbsSession          fbsSession
       
 15797         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15798         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 15799         COMMAND             fbsSession           Connect
       
 15800         COMMAND             fbsBitGc             NewL
       
 15801         COMMAND             fbsBitmap            new
       
 15802         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-2702-UseBrushPattern_command04
       
 15803      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=13
       
 15804      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 15805 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2702
       
 15806 
       
 15807 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2703
       
 15808 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2703
       
 15809 //! @SYMAPI                 CFbsBitGc::UseBrushPattern(const CFbsBitmap{ptr})
       
 15810 //! @SYMAuthor              Felix Rao
       
 15811 //! @SYMCreationDate        08/01/2009
       
 15812 //! @SYMTestCaseDesc        Negative case. Set the CFbsBitGc object to use a null bitmap as brush pattern.
       
 15813 //! @SYMTestActions         1. Create a CFbsBitGc object and a CFbsBitmap object..
       
 15814 //!                         2. Sets the brush pattern to the CFbsBitmap object.
       
 15815 //! @SYMTestStatus          Implemented
       
 15816 //! @SYMTestPriority        High
       
 15817 //! @SYMTestExpectedResults Get Panic code 13 and PanicString BITGDI.
       
 15818 //! @SYMTestType            CIT
       
 15819 
       
 15820     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15821         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15822         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 15823         COMMAND             fbsBitGc             NewL
       
 15824         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-2703-UseBrushPattern_command03
       
 15825      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=13
       
 15826      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 15827 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2703
       
 15828 
       
 15829 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2711
       
 15830 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2711
       
 15831 //! @SYMAPI                 CFbsBitGc::UseBrushPattern(TInt)
       
 15832 //! @SYMAuthor              Felix Rao
       
 15833 //! @SYMCreationDate        12/01/2009
       
 15834 //! @SYMTestCaseDesc        Set the CFbsBitGc object to use a specified bitmap as brush pattern through handle.
       
 15835 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15836 //!                         2. Create a CFbsBitGc object.
       
 15837 //!                         3. Create a CFbsBitmap object.
       
 15838 //!                         4. Sets the brush pattern to the handle of CFbsBitmap object.
       
 15839 //!                         5. Test if brush pattern is used.
       
 15840 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsBitmap object.
       
 15841 //! @SYMTestStatus          Implemented
       
 15842 //! @SYMTestPriority        High
       
 15843 //! @SYMTestExpectedResults UseBrushPattern() is called without error. After this call, IsBrushPatternUsed() returns true.
       
 15844 //! @SYMTestType            CIT
       
 15845 
       
 15846     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15847         CREATE_OBJECT       RFbsSession          fbsSession
       
 15848         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15849         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 15850         COMMAND             fbsSession           Connect
       
 15851         COMMAND             fbsBitGc             NewL
       
 15852         COMMAND             fbsBitmap            new
       
 15853         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2711-Load_command04
       
 15854         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-2711-UseBrushPattern_command05
       
 15855         COMMAND             fbsBitGc             IsBrushPatternUsed                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-2711-IsBrushPatternUsed_command06
       
 15856         COMMAND             fbsBitGc             ~
       
 15857         COMMAND             fbsBitmap            ~
       
 15858         COMMAND             fbsSession           Disconnect
       
 15859      END_TEST_BLOCK
       
 15860 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2711
       
 15861 
       
 15862 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2712
       
 15863 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2712
       
 15864 //! @SYMAPI                 CFbsBitGc::UseBrushPattern(TInt)
       
 15865 //! @SYMAuthor              Felix Rao
       
 15866 //! @SYMCreationDate        12/01/2009
       
 15867 //! @SYMTestCaseDesc        Negative case. Set the CFbsBitGc object to use a specified bitmap as brush pattern twice through handle.
       
 15868 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15869 //!                         2. Create a CFbsBitGc object.
       
 15870 //!                         3. Create a CFbsBitmap object.
       
 15871 //!                         4. Sets the brush pattern to the handle of CFbsBitmap object.
       
 15872 //!                         5. Test if brush pattern is used.
       
 15873 //!                         6. Sets the brush pattern to the handle of CFbsBitmap object.
       
 15874 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsBitmap object.
       
 15875 //! @SYMTestStatus          Implemented
       
 15876 //! @SYMTestPriority        High
       
 15877 //! @SYMTestExpectedResults UseBrushPattern() is called without error.
       
 15878 //! @SYMTestType            CIT
       
 15879 
       
 15880     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15881         CREATE_OBJECT       RFbsSession          fbsSession
       
 15882         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15883         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 15884         COMMAND             fbsSession           Connect
       
 15885         COMMAND             fbsBitGc             NewL
       
 15886         COMMAND             fbsBitmap            new
       
 15887         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2712-Load_command04
       
 15888         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-2712-UseBrushPattern_command05
       
 15889         COMMAND             fbsBitGc             IsBrushPatternUsed                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-2712-IsBrushPatternUsed_command06
       
 15890         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-2712-UseBrushPattern_command07
       
 15891         COMMAND             fbsBitGc             ~
       
 15892         COMMAND             fbsBitmap            ~
       
 15893         COMMAND             fbsSession           Disconnect
       
 15894      END_TEST_BLOCK
       
 15895 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2712
       
 15896 
       
 15897 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2713
       
 15898 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2713
       
 15899 //! @SYMAPI                 CFbsBitGc::UseBrushPattern(TInt)
       
 15900 //! @SYMAuthor              Felix Rao
       
 15901 //! @SYMCreationDate        12/01/2009
       
 15902 //! @SYMTestCaseDesc        Negative case. Set the CFbsBitGc object to use an invalid bitmap handle as brush pattern.
       
 15903 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15904 //!                         2. Create a CFbsBitGc object.
       
 15905 //!                         3. Sets the brush pattern to the handle of CFbsBitmap object.
       
 15906 //! @SYMTestStatus          Implemented
       
 15907 //! @SYMTestPriority        High
       
 15908 //! @SYMTestExpectedResults Get panic code 13 of BITGDI.
       
 15909 //! @SYMTestType            CIT
       
 15910 
       
 15911     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15912         CREATE_OBJECT       RFbsSession          fbsSession
       
 15913         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15914         COMMAND             fbsSession           Connect
       
 15915         COMMAND             fbsBitGc             NewL
       
 15916         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-2713-UseBrushPattern_command05
       
 15917      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=13
       
 15918      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 15919 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2713
       
 15920 
       
 15921 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2721
       
 15922 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2721
       
 15923 //! @SYMAPI                 CFbsBitGc::UseFont(TInt)
       
 15924 //! @SYMAuthor              Felix Rao
       
 15925 //! @SYMCreationDate        12/01/2009
       
 15926 //! @SYMTestCaseDesc        Set the CFbsBitGc object to use a specified font through handle.
       
 15927 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15928 //!                         2. Create a CFbsBitGc object.
       
 15929 //!                         3. Create a CFbsFont object and a CFbsTypefaceStore object.
       
 15930 //!                         4. Get font and select the device font using CFbsBitGc object.
       
 15931 //!                         5. Test if font is used.
       
 15932 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object, release CFbsFont object and CFbsTypefaceStore object.
       
 15933 //! @SYMTestStatus          Implemented
       
 15934 //! @SYMTestPriority        High
       
 15935 //! @SYMTestExpectedResults UseFont() is called without error. After this call, IsFontUsed() returns true.
       
 15936 //! @SYMTestType            CIT
       
 15937 
       
 15938     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15939         CREATE_OBJECT       RFbsSession          fbsSession
       
 15940         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15941        	CREATE_OBJECT       CFbsTypefaceStore    fbsTypefaceStore
       
 15942         CREATE_OBJECT       CFbsFont             fbsFont
       
 15943         COMMAND             fbsSession           Connect
       
 15944         COMMAND             fbsBitGc             NewL
       
 15945        	COMMAND             fbsTypefaceStore     NewL
       
 15946         COMMAND             fbsTypefaceStore     GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2721-GetNearestFontToDesignHeightInPixels_command04
       
 15947         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-2721-UseFont_command05
       
 15948         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-2721-IsFontUsed_command06
       
 15949        	COMMAND             fbsTypefaceStore     ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-2721-ReleaseFont_command07
       
 15950        	COMMAND             fbsTypefaceStore     ~
       
 15951         COMMAND             fbsBitGc             ~
       
 15952         COMMAND             fbsSession           Disconnect
       
 15953      END_TEST_BLOCK
       
 15954 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2721
       
 15955 
       
 15956 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2722
       
 15957 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2722
       
 15958 //! @SYMAPI                 CFbsBitGc::UseFont(TInt)
       
 15959 //! @SYMAuthor              Felix Rao
       
 15960 //! @SYMCreationDate        12/01/2009
       
 15961 //! @SYMTestCaseDesc        Negative case. Set the CFbsBitGc object to use a specified font through handle twice.
       
 15962 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15963 //!                         2. Create a CFbsBitGc object.
       
 15964 //!                         3. Create a CFbsFont object and a CFbsTypefaceStore object.
       
 15965 //!                         4. Get font and select the device font using CFbsBitGc object.
       
 15966 //!                         5. Test if font is used.
       
 15967 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object, release CFbsFont object and CFbsTypefaceStore object.
       
 15968 //! @SYMTestStatus          Implemented
       
 15969 //! @SYMTestPriority        High
       
 15970 //! @SYMTestExpectedResults UseFont() is called without error.
       
 15971 //! @SYMTestType            CIT
       
 15972 
       
 15973     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 15974         CREATE_OBJECT       RFbsSession          fbsSession
       
 15975         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 15976        	CREATE_OBJECT       CFbsTypefaceStore    fbsTypefaceStore
       
 15977         CREATE_OBJECT       CFbsFont             fbsFont
       
 15978         COMMAND             fbsSession           Connect
       
 15979         COMMAND             fbsBitGc             NewL
       
 15980        	COMMAND             fbsTypefaceStore     NewL
       
 15981         COMMAND             fbsTypefaceStore     GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2722-GetNearestFontToDesignHeightInPixels_command04
       
 15982         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-2722-UseFont_command05
       
 15983         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-2722-IsFontUsed_command06
       
 15984         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-2722-UseFont_command07
       
 15985        	COMMAND             fbsTypefaceStore     ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-2722-ReleaseFont_command08
       
 15986        	COMMAND             fbsTypefaceStore     ~
       
 15987         COMMAND             fbsBitGc             ~
       
 15988         COMMAND             fbsSession           Disconnect
       
 15989      END_TEST_BLOCK
       
 15990 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2722
       
 15991 
       
 15992 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2723
       
 15993 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2723
       
 15994 //! @SYMAPI                 CFbsBitGc::UseFont(TInt)
       
 15995 //! @SYMAuthor              Felix Rao
       
 15996 //! @SYMCreationDate        12/01/2009
       
 15997 //! @SYMTestCaseDesc        Negative case. Set the CFbsBitGc object to use a font through an invalid handle.
       
 15998 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 15999 //!                         2. Create a CFbsBitGc object.
       
 16000 //!                         3. Create a CFbsFont object and a CFbsTypefaceStore object.
       
 16001 //!                         4. Get font and select the device font using CFbsBitGc object.
       
 16002 //! @SYMTestStatus          Implemented
       
 16003 //! @SYMTestPriority        High
       
 16004 //! @SYMTestExpectedResults Get panic code 12 of BITGDI.
       
 16005 //! @SYMTestType            CIT
       
 16006 
       
 16007     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16008         CREATE_OBJECT       RFbsSession          fbsSession
       
 16009         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16010         COMMAND             fbsSession           Connect
       
 16011         COMMAND             fbsBitGc             NewL
       
 16012         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-2723-UseFont_command02
       
 16013      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=12
       
 16014      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 16015 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2723
       
 16016 
       
 16017 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2731
       
 16018 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2731
       
 16019 //! @SYMAPI                 CFbsBitGc::UseFontNoDuplicate(const CFont{ptr})
       
 16020 //! @SYMAuthor              Felix Rao
       
 16021 //! @SYMCreationDate        08/01/2009
       
 16022 //! @SYMTestCaseDesc        Select the device font.
       
 16023 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16024 //!                         2. Create a CFbsBitGc object.
       
 16025 //!                         3. Create a CFbsFont object and a CFbsTypefaceStore object.
       
 16026 //!                         4. Get font and select the device font using CFbsBitGc object.
       
 16027 //!                         5. Test if font is used.
       
 16028 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object, release CFbsFont object and CFbsTypefaceStore object.
       
 16029 //! @SYMTestStatus          Implemented
       
 16030 //! @SYMTestPriority        High
       
 16031 //! @SYMTestExpectedResults UseFont() is called without error.
       
 16032 //! @SYMTestType            CIT
       
 16033 
       
 16034     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16035         CREATE_OBJECT       RFbsSession          fbsSession
       
 16036         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16037        	CREATE_OBJECT       CFbsTypefaceStore    fbsTypefaceStore
       
 16038         CREATE_OBJECT       CFbsFont             fbsFont
       
 16039         COMMAND             fbsSession           Connect
       
 16040         COMMAND             fbsBitGc             NewL
       
 16041        	COMMAND             fbsTypefaceStore     NewL
       
 16042         COMMAND             fbsTypefaceStore     GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2731-GetNearestFontToDesignHeightInPixels_command04
       
 16043         COMMAND             fbsBitGc             UseFontNoDuplicate                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-2731-UseFontNoDuplicate_command05
       
 16044         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-2731-IsFontUsed_command06
       
 16045        	COMMAND             fbsTypefaceStore     ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-2731-ReleaseFont_command07
       
 16046        	COMMAND             fbsTypefaceStore     ~
       
 16047         COMMAND             fbsBitGc             ~
       
 16048         COMMAND             fbsSession           Disconnect
       
 16049      END_TEST_BLOCK
       
 16050 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2731
       
 16051 
       
 16052 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2732
       
 16053 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2732
       
 16054 //! @SYMAPI                 CFbsBitGc::UseFontNoDuplicate(const CFont{ptr})
       
 16055 //! @SYMAuthor              Felix Rao
       
 16056 //! @SYMCreationDate        08/01/2009
       
 16057 //! @SYMTestCaseDesc        Negative case. Select the same device font twice.
       
 16058 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16059 //!                         2. Create a CFbsBitGc object.
       
 16060 //!                         3. Create a CFbsFont object and a CFbsTypefaceStore object.
       
 16061 //!                         4. Get font and select the device font using CFbsBitGc object.
       
 16062 //!                         5. Test if font is used.
       
 16063 //!                         6. Select the device font using CFbsBitGc object
       
 16064 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object, release CFbsFont object and CFbsTypefaceStore object.
       
 16065 //! @SYMTestStatus          Implemented
       
 16066 //! @SYMTestPriority        High
       
 16067 //! @SYMTestExpectedResults UseFont() is called without error.
       
 16068 //! @SYMTestType            CIT
       
 16069 
       
 16070     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16071         CREATE_OBJECT       RFbsSession          fbsSession
       
 16072         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16073        	CREATE_OBJECT       CFbsTypefaceStore    fbsTypefaceStore
       
 16074         CREATE_OBJECT       CFbsFont             fbsFont
       
 16075         COMMAND             fbsSession           Connect
       
 16076         COMMAND             fbsBitGc             NewL
       
 16077        	COMMAND             fbsTypefaceStore     NewL
       
 16078         COMMAND             fbsTypefaceStore     GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2732-GetNearestFontToDesignHeightInPixels_command04
       
 16079         COMMAND             fbsBitGc             UseFontNoDuplicate                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-2732-UseFontNoDuplicate_command05
       
 16080         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-2732-IsFontUsed_command06
       
 16081         COMMAND             fbsBitGc             UseFontNoDuplicate                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-2732-UseFontNoDuplicate_command07
       
 16082        	COMMAND             fbsTypefaceStore     ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-2732-ReleaseFont_command08
       
 16083        	COMMAND             fbsTypefaceStore     ~
       
 16084         COMMAND             fbsBitGc             ~
       
 16085         COMMAND             fbsSession           Disconnect
       
 16086      END_TEST_BLOCK
       
 16087 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2732
       
 16088 
       
 16089 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2801
       
 16090 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2801
       
 16091 //! @SYMAPI                 CFbsBitGc::UseFont(const CFont{ptr})
       
 16092 //! @SYMAuthor              Felix Rao
       
 16093 //! @SYMCreationDate        08/01/2009
       
 16094 //! @SYMTestCaseDesc        Select the device font.
       
 16095 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16096 //!                         2. Create a CFbsBitGc object.
       
 16097 //!                         3. Create a CFbsFont object and a CFbsTypefaceStore object.
       
 16098 //!                         4. Get font and select the device font using CFbsBitGc object.
       
 16099 //!                         5. Test if font is used.
       
 16100 //!                         6. Disconnect RFbsSession and destruct CFbsBitGc object, release CFbsFont object and CFbsTypefaceStore object.
       
 16101 //! @SYMTestStatus          Implemented
       
 16102 //! @SYMTestPriority        High
       
 16103 //! @SYMTestExpectedResults UseFont() is called without error.
       
 16104 //! @SYMTestType            CIT
       
 16105 
       
 16106     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16107         CREATE_OBJECT       RFbsSession          fbsSession
       
 16108         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16109        	CREATE_OBJECT       CFbsTypefaceStore    fbsTypefaceStore
       
 16110         CREATE_OBJECT       CFbsFont             fbsFont
       
 16111         COMMAND             fbsSession           Connect
       
 16112         COMMAND             fbsBitGc             NewL
       
 16113        	COMMAND             fbsTypefaceStore     NewL
       
 16114         COMMAND             fbsTypefaceStore     GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2801-GetNearestFontToDesignHeightInPixels_command04
       
 16115         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-2801-UseFont_command05
       
 16116         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-2801-IsFontUsed_command06
       
 16117        	COMMAND             fbsTypefaceStore     ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-2801-ReleaseFont_command07
       
 16118        	COMMAND             fbsTypefaceStore     ~
       
 16119         COMMAND             fbsBitGc             ~
       
 16120         COMMAND             fbsSession           Disconnect
       
 16121      END_TEST_BLOCK
       
 16122 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2801
       
 16123 
       
 16124 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2802
       
 16125 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2802
       
 16126 //! @SYMAPI                 CFbsBitGc::UseFont(const CFont{ptr})
       
 16127 //! @SYMAuthor              Felix Rao
       
 16128 //! @SYMCreationDate        08/01/2009
       
 16129 //! @SYMTestCaseDesc        Negative case. Select a null font to CFbsBitGc object.
       
 16130 //! @SYMTestActions         1. Create a CFbsBitGc object and a CFbsFont object.
       
 16131 //!                         2. Select the null font using CFbsBitGc object.
       
 16132 //! @SYMTestStatus          Implemented
       
 16133 //! @SYMTestPriority        High
       
 16134 //! @SYMTestExpectedResults Get Panic code 12 and PanicString BITGDI.
       
 16135 //! @SYMTestType            CIT
       
 16136 
       
 16137     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16138         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16139         CREATE_OBJECT       CFbsFont             fbsFont
       
 16140         COMMAND             fbsBitGc             NewL
       
 16141         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-2802-UseFont_command02
       
 16142      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=12
       
 16143      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 16144 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2802
       
 16145 
       
 16146 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2901
       
 16147 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2901
       
 16148 //! @SYMAPI                 CFbsBitGc::IsBrushPatternUsed()
       
 16149 //! @SYMAuthor              Felix Rao
       
 16150 //! @SYMCreationDate        09/01/2009
       
 16151 //! @SYMTestCaseDesc        Tests whether a brush pattern is being used.
       
 16152 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16153 //!                         2. Create a CFbsBitGc object.
       
 16154 //!                         3. Create a CFbsBitmap object.
       
 16155 //!                         4. Test if brush pattern is used.
       
 16156 //!                         5. Sets the brush pattern to the CFbsBitmap object.
       
 16157 //!                         6. Test if brush pattern is used.
       
 16158 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsBitmap object.
       
 16159 //! @SYMTestStatus          Implemented
       
 16160 //! @SYMTestPriority        High
       
 16161 //! @SYMTestExpectedResults IsBrushPattern() is called without error. Before UseBrushPattern() called, IsBrushPatternUsed() return false. After that call, it returns true.
       
 16162 //! @SYMTestType            CIT
       
 16163 
       
 16164     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16165         CREATE_OBJECT       RFbsSession          fbsSession
       
 16166         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16167         CREATE_OBJECT       CFbsBitmap           fbsBitmap
       
 16168         COMMAND             fbsSession           Connect
       
 16169         COMMAND             fbsBitGc             NewL
       
 16170         COMMAND             fbsBitmap            new
       
 16171         COMMAND             fbsBitmap            Load                                   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2901-Load_command04
       
 16172         COMMAND             fbsBitGc             IsBrushPatternUsed                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-2901-IsBrushPatternUsed_command05
       
 16173         COMMAND             fbsBitGc             UseBrushPattern                        GRAPHICS-BITGDI-FbsBitGc-PublicApi-2901-UseBrushPattern_command06
       
 16174         COMMAND             fbsBitGc             IsBrushPatternUsed                     GRAPHICS-BITGDI-FbsBitGc-PublicApi-2901-IsBrushPatternUsed_command07
       
 16175         COMMAND             fbsBitmap            ~
       
 16176         COMMAND             fbsBitGc             ~
       
 16177         COMMAND             fbsSession           Disconnect
       
 16178      END_TEST_BLOCK
       
 16179 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2901
       
 16180 
       
 16181 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2951
       
 16182 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-2951
       
 16183 //! @SYMAPI                 CFbsBitGc::IsFontUsed()
       
 16184 //! @SYMAuthor              Felix Rao
       
 16185 //! @SYMCreationDate        09/01/2009
       
 16186 //! @SYMTestCaseDesc        Tests whether a font is being used.
       
 16187 //! @SYMTestCaseDesc        Select the device font.
       
 16188 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16189 //!                         2. Create a CFbsBitGc object.
       
 16190 //!                         3. Create a CFbsFont object and a CFbsTypefaceStore object.
       
 16191 //!                         4. Test if font is used.
       
 16192 //!                         5. Get font and select the device font using CFbsBitGc object.
       
 16193 //!                         6. Test if font is used.
       
 16194 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object, release CFbsFont object and CFbsTypefaceStore object.
       
 16195 //! @SYMTestStatus          Implemented
       
 16196 //! @SYMTestPriority        High
       
 16197 //! @SYMTestExpectedResults IsFontUsed() is called without error. Before UseFont() called, IsFontUsed() return false. After that call, it returns true.
       
 16198 //! @SYMTestType            CIT
       
 16199 
       
 16200     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16201         CREATE_OBJECT       RFbsSession          fbsSession
       
 16202         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16203        	CREATE_OBJECT       CFbsTypefaceStore    fbsTypefaceStore
       
 16204         CREATE_OBJECT       CFbsFont             fbsFont
       
 16205         COMMAND             fbsSession           Connect
       
 16206         COMMAND             fbsBitGc             NewL
       
 16207        	COMMAND             fbsTypefaceStore     NewL
       
 16208         COMMAND             fbsTypefaceStore     GetNearestFontToDesignHeightInPixels   GRAPHICS-BITGDI-FbsBitGc-PublicApi-2951-GetNearestFontToDesignHeightInPixels_command04
       
 16209         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-2951-IsFontUsed_command05
       
 16210         COMMAND             fbsBitGc             UseFont                                GRAPHICS-BITGDI-FbsBitGc-PublicApi-2951-UseFont_command06
       
 16211         COMMAND             fbsBitGc             IsFontUsed                             GRAPHICS-BITGDI-FbsBitGc-PublicApi-2951-IsFontUsed_command07
       
 16212        	COMMAND             fbsTypefaceStore     ReleaseFont                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-2951-ReleaseFont_command08
       
 16213        	COMMAND             fbsTypefaceStore     ~
       
 16214         COMMAND             fbsBitGc             ~
       
 16215         COMMAND             fbsSession           Disconnect
       
 16216      END_TEST_BLOCK
       
 16217 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-2951
       
 16218 
       
 16219 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3001
       
 16220 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3001
       
 16221 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16222 //! @SYMAuthor              Felix Rao
       
 16223 //! @SYMCreationDate        25/12/2008
       
 16224 //! @SYMTestCaseDesc        Perform an alpha blending of the source bitmap.
       
 16225 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16226 //!                         2. Create a CFbsBitGc object.
       
 16227 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16228 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16229 //!                         5. Load 3 bitmaps.
       
 16230 //!                         6. Perform alpha blending.
       
 16231 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16232 //! @SYMTestStatus          Implemented
       
 16233 //! @SYMTestPriority        High
       
 16234 //! @SYMTestExpectedResults The action is performed successfully.
       
 16235 //! @SYMTestType            CIT
       
 16236 
       
 16237     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16238         CREATE_OBJECT       RFbsSession          fbsSession
       
 16239         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16240         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16241         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16242         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16243         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16244         COMMAND             fbsSession           Connect
       
 16245         COMMAND             fbsBitGc             NewL
       
 16246         COMMAND             fbsSrcBitmap1        new
       
 16247         COMMAND             fbsSrcBitmap2        new
       
 16248         COMMAND             alphaBitmap          new
       
 16249         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3001-NewL_command06
       
 16250         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3001-Activate_command07
       
 16251         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3001-Load_command08
       
 16252         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3001-Load_command09
       
 16253         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3001-Load_command10
       
 16254         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3001-AlphaBlendBitmaps_command11
       
 16255         COMMAND             fbsScrDev            Update
       
 16256         DELAY               500000
       
 16257         COMMAND             fbsSrcBitmap1        ~
       
 16258         COMMAND             fbsSrcBitmap2        ~
       
 16259         COMMAND             alphaBitmap          ~
       
 16260         COMMAND             fbsSession           Disconnect
       
 16261         COMMAND             fbsBitGc             ~
       
 16262         COMMAND             fbsScrDev            ~
       
 16263      END_TEST_BLOCK
       
 16264 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3001
       
 16265 
       
 16266 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3002
       
 16267 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3002
       
 16268 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16269 //! @SYMAuthor              Felix Rao
       
 16270 //! @SYMCreationDate        26/12/2008
       
 16271 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap using a non-activated CFbsBitGc object.
       
 16272 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16273 //!                         2. Create a CFbsBitGc object.
       
 16274 //!                         3. Create 3 CFbsBitmap objects.
       
 16275 //!                         4. Load 3 bitmaps.
       
 16276 //!                         5. Perform alpha blending.
       
 16277 //! @SYMTestStatus          Implemented
       
 16278 //! @SYMTestPriority        High
       
 16279 //! @SYMTestExpectedResults Get Panic code 1 and PanicString BITGDI.
       
 16280 //! @SYMTestType            CIT
       
 16281 
       
 16282     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16283         CREATE_OBJECT       RFbsSession          fbsSession
       
 16284         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16285         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16286         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16287         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16288         COMMAND             fbsSession           Connect
       
 16289         COMMAND             fbsBitGc             NewL
       
 16290         COMMAND             fbsSrcBitmap1        new
       
 16291         COMMAND             fbsSrcBitmap2        new
       
 16292         COMMAND             alphaBitmap          new
       
 16293         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3002-Load_command06
       
 16294         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3002-Load_command07
       
 16295         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3002-Load_command08
       
 16296         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3002-AlphaBlendBitmaps_command09
       
 16297      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
 16298      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 16299 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3002
       
 16300 
       
 16301 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3003
       
 16302 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3003
       
 16303 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16304 //! @SYMAuthor              Felix Rao
       
 16305 //! @SYMCreationDate        26/12/2008
       
 16306 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap with error point arguments.
       
 16307 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16308 //!                         2. Create a CFbsBitGc object.
       
 16309 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16310 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16311 //!                         5. Load 3 bitmaps.
       
 16312 //!                         6. Perform alpha blending.
       
 16313 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16314 //! @SYMTestStatus          Implemented
       
 16315 //! @SYMTestPriority        High
       
 16316 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16317 //! @SYMTestType            CIT
       
 16318 
       
 16319     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16320         CREATE_OBJECT       RFbsSession          fbsSession
       
 16321         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16322         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16323         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16324         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16325         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16326         COMMAND             fbsSession           Connect
       
 16327         COMMAND             fbsBitGc             NewL
       
 16328         COMMAND             fbsSrcBitmap1        new
       
 16329         COMMAND             fbsSrcBitmap2        new
       
 16330         COMMAND             alphaBitmap          new
       
 16331         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3003-NewL_command06
       
 16332         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3003-Activate_command07
       
 16333         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3003-Load_command08
       
 16334         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3003-Load_command09
       
 16335         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3003-Load_command10
       
 16336         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3003-AlphaBlendBitmaps_command11
       
 16337         COMMAND             fbsScrDev            Update
       
 16338         COMMAND             fbsSrcBitmap1        ~
       
 16339         COMMAND             fbsSrcBitmap2        ~
       
 16340         COMMAND             alphaBitmap          ~
       
 16341         COMMAND             fbsSession           Disconnect
       
 16342         COMMAND             fbsBitGc             ~
       
 16343         COMMAND             fbsScrDev            ~
       
 16344      END_TEST_BLOCK
       
 16345 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3003
       
 16346 
       
 16347 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3004
       
 16348 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3004
       
 16349 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16350 //! @SYMAuthor              Felix Rao
       
 16351 //! @SYMCreationDate        26/12/2008
       
 16352 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap with 1st src bitmap null.
       
 16353 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16354 //!                         2. Create a CFbsBitGc object.
       
 16355 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16356 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16357 //!                         5. Load 2 bitmaps.
       
 16358 //!                         6. Perform alpha blending.
       
 16359 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16360 //! @SYMTestStatus          Implemented
       
 16361 //! @SYMTestPriority        High
       
 16362 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16363 //! @SYMTestType            CIT
       
 16364 
       
 16365     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16366         CREATE_OBJECT       RFbsSession          fbsSession
       
 16367         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16368         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16369         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16370         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16371         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16372         COMMAND             fbsSession           Connect
       
 16373         COMMAND             fbsBitGc             NewL
       
 16374         COMMAND             fbsSrcBitmap2        new
       
 16375         COMMAND             alphaBitmap          new
       
 16376         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3004-NewL_command05
       
 16377         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3004-Activate_command06
       
 16378         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3004-Load_command07
       
 16379         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3004-Load_command08
       
 16380         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3004-AlphaBlendBitmaps_command09
       
 16381         COMMAND             fbsScrDev            Update
       
 16382         COMMAND             fbsSrcBitmap2        ~
       
 16383         COMMAND             alphaBitmap          ~
       
 16384         COMMAND             fbsSession           Disconnect
       
 16385         COMMAND             fbsBitGc             ~
       
 16386         COMMAND             fbsScrDev            ~
       
 16387      END_TEST_BLOCK
       
 16388 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3004
       
 16389 
       
 16390 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3005
       
 16391 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3005
       
 16392 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16393 //! @SYMAuthor              Felix Rao
       
 16394 //! @SYMCreationDate        26/12/2008
       
 16395 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap with 2nd src bitmap null.
       
 16396 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16397 //!                         2. Create a CFbsBitGc object.
       
 16398 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16399 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16400 //!                         5. Load 2 bitmaps.
       
 16401 //!                         6. Perform alpha blending.
       
 16402 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16403 //! @SYMTestStatus          Implemented
       
 16404 //! @SYMTestPriority        High
       
 16405 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16406 //! @SYMTestType            CIT
       
 16407 
       
 16408     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16409         CREATE_OBJECT       RFbsSession          fbsSession
       
 16410         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16411         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16412         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16413         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16414         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16415         COMMAND             fbsSession           Connect
       
 16416         COMMAND             fbsBitGc             NewL
       
 16417         COMMAND             fbsSrcBitmap1        new
       
 16418         COMMAND             alphaBitmap          new
       
 16419         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3005-NewL_command05
       
 16420         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3005-Activate_command06
       
 16421         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3005-Load_command07
       
 16422         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3005-Load_command08
       
 16423         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3005-AlphaBlendBitmaps_command09
       
 16424         COMMAND             fbsScrDev            Update
       
 16425         COMMAND             fbsSrcBitmap1        ~
       
 16426         COMMAND             alphaBitmap          ~
       
 16427         COMMAND             fbsSession           Disconnect
       
 16428         COMMAND             fbsBitGc             ~
       
 16429         COMMAND             fbsScrDev            ~
       
 16430      END_TEST_BLOCK
       
 16431 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3005
       
 16432 
       
 16433 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3006
       
 16434 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3006
       
 16435 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16436 //! @SYMAuthor              Felix Rao
       
 16437 //! @SYMCreationDate        26/12/2008
       
 16438 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap with null alpha bitmap.
       
 16439 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16440 //!                         2. Create a CFbsBitGc object.
       
 16441 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16442 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16443 //!                         5. Load 3 bitmaps.
       
 16444 //!                         6. Perform alpha blending.
       
 16445 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16446 //! @SYMTestStatus          Implemented
       
 16447 //! @SYMTestPriority        High
       
 16448 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16449 //! @SYMTestType            CIT
       
 16450 
       
 16451     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16452         CREATE_OBJECT       RFbsSession          fbsSession
       
 16453         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16454         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16455         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16456         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16457         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16458         COMMAND             fbsSession           Connect
       
 16459         COMMAND             fbsBitGc             NewL
       
 16460         COMMAND             fbsSrcBitmap1        new
       
 16461         COMMAND             fbsSrcBitmap2        new
       
 16462         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3006-NewL_command05
       
 16463         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3006-Activate_command06
       
 16464         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3006-Load_command07
       
 16465         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3006-Load_command08
       
 16466         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3006-AlphaBlendBitmaps_command09
       
 16467         COMMAND             fbsScrDev            Update
       
 16468         COMMAND             fbsSrcBitmap1        ~
       
 16469         COMMAND             fbsSrcBitmap2        ~
       
 16470         COMMAND             fbsSession           Disconnect
       
 16471         COMMAND             fbsBitGc             ~
       
 16472         COMMAND             fbsScrDev            ~
       
 16473      END_TEST_BLOCK
       
 16474 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3006
       
 16475 
       
 16476 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3007
       
 16477 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3007
       
 16478 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16479 //! @SYMAuthor              Felix Rao
       
 16480 //! @SYMCreationDate        26/12/2008
       
 16481 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of an empty rectangle area of the source bitmap.
       
 16482 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16483 //!                         2. Create a CFbsBitGc object.
       
 16484 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16485 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16486 //!                         5. Load 3 bitmaps.
       
 16487 //!                         6. Perform alpha blending.
       
 16488 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16489 //! @SYMTestStatus          Implemented
       
 16490 //! @SYMTestPriority        High
       
 16491 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16492 //! @SYMTestType            CIT
       
 16493 
       
 16494     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16495         CREATE_OBJECT       RFbsSession          fbsSession
       
 16496         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16497         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16498         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16499         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16500         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16501         COMMAND             fbsSession           Connect
       
 16502         COMMAND             fbsBitGc             NewL
       
 16503         COMMAND             fbsSrcBitmap1        new
       
 16504         COMMAND             fbsSrcBitmap2        new
       
 16505         COMMAND             alphaBitmap          new
       
 16506         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3007-NewL_command06
       
 16507         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3007-Activate_command07
       
 16508         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3007-Load_command08
       
 16509         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3007-Load_command09
       
 16510         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3007-Load_command10
       
 16511         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3007-AlphaBlendBitmaps_command11
       
 16512         COMMAND             fbsScrDev            Update
       
 16513         COMMAND             fbsSrcBitmap1        ~
       
 16514         COMMAND             fbsSrcBitmap2        ~
       
 16515         COMMAND             alphaBitmap          ~
       
 16516         COMMAND             fbsSession           Disconnect
       
 16517         COMMAND             fbsBitGc             ~
       
 16518         COMMAND             fbsScrDev            ~
       
 16519      END_TEST_BLOCK
       
 16520 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3007
       
 16521 
       
 16522 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3008
       
 16523 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3008
       
 16524 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16525 //! @SYMAuthor              Felix Rao
       
 16526 //! @SYMCreationDate        26/12/2008
       
 16527 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap with 1st src bitmap not loaded.
       
 16528 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16529 //!                         2. Create a CFbsBitGc object.
       
 16530 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16531 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16532 //!                         5. Load 3 bitmaps.
       
 16533 //!                         6. Perform alpha blending.
       
 16534 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16535 //! @SYMTestStatus          Implemented
       
 16536 //! @SYMTestPriority        High
       
 16537 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16538 //! @SYMTestType            CIT
       
 16539 
       
 16540     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16541         CREATE_OBJECT       RFbsSession          fbsSession
       
 16542         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16543         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16544         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16545         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16546         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16547         COMMAND             fbsSession           Connect
       
 16548         COMMAND             fbsBitGc             NewL
       
 16549         COMMAND             fbsSrcBitmap1        new
       
 16550         COMMAND             fbsSrcBitmap2        new
       
 16551         COMMAND             alphaBitmap          new
       
 16552         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3008-NewL_command06
       
 16553         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3008-Activate_command07
       
 16554         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3008-Load_command08
       
 16555         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3008-Load_command09
       
 16556         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3008-AlphaBlendBitmaps_command10
       
 16557         COMMAND             fbsScrDev            Update
       
 16558         COMMAND             fbsSrcBitmap1        ~
       
 16559         COMMAND             fbsSrcBitmap2        ~
       
 16560         COMMAND             alphaBitmap          ~
       
 16561         COMMAND             fbsSession           Disconnect
       
 16562         COMMAND             fbsBitGc             ~
       
 16563         COMMAND             fbsScrDev            ~
       
 16564      END_TEST_BLOCK
       
 16565 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3008
       
 16566 
       
 16567 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3009
       
 16568 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3009
       
 16569 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16570 //! @SYMAuthor              Felix Rao
       
 16571 //! @SYMCreationDate        26/12/2008
       
 16572 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap with 2nd src bitmap not loaded.
       
 16573 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16574 //!                         2. Create a CFbsBitGc object.
       
 16575 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16576 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16577 //!                         5. Load 3 bitmaps.
       
 16578 //!                         6. Perform alpha blending.
       
 16579 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16580 //! @SYMTestStatus          Implemented
       
 16581 //! @SYMTestPriority        High
       
 16582 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16583 //! @SYMTestType            CIT
       
 16584 
       
 16585     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16586         CREATE_OBJECT       RFbsSession          fbsSession
       
 16587         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16588         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16589         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16590         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16591         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16592         COMMAND             fbsSession           Connect
       
 16593         COMMAND             fbsBitGc             NewL
       
 16594         COMMAND             fbsSrcBitmap1        new
       
 16595         COMMAND             fbsSrcBitmap2        new
       
 16596         COMMAND             alphaBitmap          new
       
 16597         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3009-NewL_command06
       
 16598         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3009-Activate_command07
       
 16599         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3009-Load_command08
       
 16600         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3009-Load_command09
       
 16601         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3009-AlphaBlendBitmaps_command10
       
 16602         COMMAND             fbsScrDev            Update
       
 16603         COMMAND             fbsSrcBitmap1        ~
       
 16604         COMMAND             fbsSrcBitmap2        ~
       
 16605         COMMAND             alphaBitmap          ~
       
 16606         COMMAND             fbsSession           Disconnect
       
 16607         COMMAND             fbsBitGc             ~
       
 16608         COMMAND             fbsScrDev            ~
       
 16609      END_TEST_BLOCK
       
 16610 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3009
       
 16611 
       
 16612 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3010
       
 16613 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3010
       
 16614 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16615 //! @SYMAuthor              Felix Rao
       
 16616 //! @SYMCreationDate        26/12/2008
       
 16617 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap with alpha bitmap not loaded.
       
 16618 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16619 //!                         2. Create a CFbsBitGc object.
       
 16620 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16621 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16622 //!                         5. Load 3 bitmaps.
       
 16623 //!                         6. Perform alpha blending.
       
 16624 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16625 //! @SYMTestStatus          Implemented
       
 16626 //! @SYMTestPriority        High
       
 16627 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16628 //! @SYMTestType            CIT
       
 16629 
       
 16630     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16631         CREATE_OBJECT       RFbsSession          fbsSession
       
 16632         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16633         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16634         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16635         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16636         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16637         COMMAND             fbsSession           Connect
       
 16638         COMMAND             fbsBitGc             NewL
       
 16639         COMMAND             fbsSrcBitmap1        new
       
 16640         COMMAND             fbsSrcBitmap2        new
       
 16641         COMMAND             alphaBitmap          new
       
 16642         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3010-NewL_command06
       
 16643         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3010-Activate_command07
       
 16644         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3010-Load_command08
       
 16645         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3010-Load_command09
       
 16646         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3010-AlphaBlendBitmaps_command10
       
 16647         COMMAND             fbsScrDev            Update
       
 16648         COMMAND             fbsSrcBitmap1        ~
       
 16649         COMMAND             fbsSrcBitmap2        ~
       
 16650         COMMAND             alphaBitmap          ~
       
 16651         COMMAND             fbsSession           Disconnect
       
 16652         COMMAND             fbsBitGc             ~
       
 16653         COMMAND             fbsScrDev            ~
       
 16654      END_TEST_BLOCK
       
 16655 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3010
       
 16656 
       
 16657 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3011
       
 16658 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3011
       
 16659 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16660 //! @SYMAuthor              Felix Rao
       
 16661 //! @SYMCreationDate        29/12/2008
       
 16662 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of rectangle area (0, 0, 500, 500) of the source bitmap.
       
 16663 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16664 //!                         2. Create a CFbsBitGc object.
       
 16665 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16666 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16667 //!                         5. Load 3 bitmaps.
       
 16668 //!                         6. Perform alpha blending.
       
 16669 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16670 //! @SYMTestStatus          Implemented
       
 16671 //! @SYMTestPriority        High
       
 16672 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16673 //! @SYMTestType            CIT
       
 16674 
       
 16675     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16676         CREATE_OBJECT       RFbsSession          fbsSession
       
 16677         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16678         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16679         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16680         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16681         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16682         COMMAND             fbsSession           Connect
       
 16683         COMMAND             fbsBitGc             NewL
       
 16684         COMMAND             fbsSrcBitmap1        new
       
 16685         COMMAND             fbsSrcBitmap2        new
       
 16686         COMMAND             alphaBitmap          new
       
 16687         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3011-NewL_command06
       
 16688         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3011-Activate_command07
       
 16689         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3011-Load_command08
       
 16690         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3011-Load_command09
       
 16691         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3011-Load_command10
       
 16692         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3011-AlphaBlendBitmaps_command11
       
 16693         COMMAND             fbsScrDev            Update
       
 16694         COMMAND             fbsSrcBitmap1        ~
       
 16695         COMMAND             fbsSrcBitmap2        ~
       
 16696         COMMAND             alphaBitmap          ~
       
 16697         COMMAND             fbsSession           Disconnect
       
 16698         COMMAND             fbsBitGc             ~
       
 16699         COMMAND             fbsScrDev            ~
       
 16700      END_TEST_BLOCK
       
 16701 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3011
       
 16702 
       
 16703 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3012
       
 16704 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3012
       
 16705 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16706 //! @SYMAuthor              Felix Rao
       
 16707 //! @SYMCreationDate        29/12/2008
       
 16708 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap to point (-9000, -9000).
       
 16709 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16710 //!                         2. Create a CFbsBitGc object.
       
 16711 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16712 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16713 //!                         5. Load 3 bitmaps.
       
 16714 //!                         6. Perform alpha blending.
       
 16715 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16716 //! @SYMTestStatus          Implemented
       
 16717 //! @SYMTestPriority        High
       
 16718 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16719 //! @SYMTestType            CIT
       
 16720 
       
 16721     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16722         CREATE_OBJECT       RFbsSession          fbsSession
       
 16723         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16724         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16725         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16726         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16727         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16728         COMMAND             fbsSession           Connect
       
 16729         COMMAND             fbsBitGc             NewL
       
 16730         COMMAND             fbsSrcBitmap1        new
       
 16731         COMMAND             fbsSrcBitmap2        new
       
 16732         COMMAND             alphaBitmap          new
       
 16733         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3012-NewL_command06
       
 16734         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3012-Activate_command07
       
 16735         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3012-Load_command08
       
 16736         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3012-Load_command09
       
 16737         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3012-Load_command10
       
 16738         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3012-AlphaBlendBitmaps_command11
       
 16739         COMMAND             fbsScrDev            Update
       
 16740         COMMAND             fbsSrcBitmap1        ~
       
 16741         COMMAND             fbsSrcBitmap2        ~
       
 16742         COMMAND             alphaBitmap          ~
       
 16743         COMMAND             fbsSession           Disconnect
       
 16744         COMMAND             fbsBitGc             ~
       
 16745         COMMAND             fbsScrDev            ~
       
 16746      END_TEST_BLOCK
       
 16747 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3012
       
 16748 
       
 16749 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3013
       
 16750 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3013
       
 16751 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16752 //! @SYMAuthor              Felix Rao
       
 16753 //! @SYMCreationDate        29/12/2008
       
 16754 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap with alpha point set to (-10, 0).
       
 16755 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16756 //!                         2. Create a CFbsBitGc object.
       
 16757 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16758 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16759 //!                         5. Load 3 bitmaps.
       
 16760 //!                         6. Perform alpha blending.
       
 16761 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16762 //! @SYMTestStatus          Implemented
       
 16763 //! @SYMTestPriority        High
       
 16764 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16765 //! @SYMTestType            CIT
       
 16766 
       
 16767     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16768         CREATE_OBJECT       RFbsSession          fbsSession
       
 16769         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16770         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16771         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16772         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16773         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16774         COMMAND             fbsSession           Connect
       
 16775         COMMAND             fbsBitGc             NewL
       
 16776         COMMAND             fbsSrcBitmap1        new
       
 16777         COMMAND             fbsSrcBitmap2        new
       
 16778         COMMAND             alphaBitmap          new
       
 16779         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3013-NewL_command06
       
 16780         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3013-Activate_command07
       
 16781         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3013-Load_command08
       
 16782         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3013-Load_command09
       
 16783         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3013-Load_command10
       
 16784         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3013-AlphaBlendBitmaps_command11
       
 16785         COMMAND             fbsScrDev            Update
       
 16786         COMMAND             fbsSrcBitmap1        ~
       
 16787         COMMAND             fbsSrcBitmap2        ~
       
 16788         COMMAND             alphaBitmap          ~
       
 16789         COMMAND             fbsSession           Disconnect
       
 16790         COMMAND             fbsBitGc             ~
       
 16791         COMMAND             fbsScrDev            ~
       
 16792      END_TEST_BLOCK
       
 16793 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3013
       
 16794 
       
 16795 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3014
       
 16796 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3014
       
 16797 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const CFbsBitmap{ptr},const TRect{ref},const TPoint{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16798 //! @SYMAuthor              Felix Rao
       
 16799 //! @SYMCreationDate        29/12/2008
       
 16800 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap with alpha point set to (10, -10).
       
 16801 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16802 //!                         2. Create a CFbsBitGc object.
       
 16803 //!                         3. Create a CFbsScreenDevice object and 3 CFbsBitmap objects.
       
 16804 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16805 //!                         5. Load 3 bitmaps.
       
 16806 //!                         6. Perform alpha blending.
       
 16807 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16808 //! @SYMTestStatus          Implemented
       
 16809 //! @SYMTestPriority        High
       
 16810 //! @SYMTestExpectedResults Error code -6 is returned.
       
 16811 //! @SYMTestType            CIT
       
 16812 
       
 16813     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16814         CREATE_OBJECT       RFbsSession          fbsSession
       
 16815         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16816         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16817         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16818         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap2
       
 16819         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16820         COMMAND             fbsSession           Connect
       
 16821         COMMAND             fbsBitGc             NewL
       
 16822         COMMAND             fbsSrcBitmap1        new
       
 16823         COMMAND             fbsSrcBitmap2        new
       
 16824         COMMAND             alphaBitmap          new
       
 16825         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3014-NewL_command06
       
 16826         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3014-Activate_command07
       
 16827         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3014-Load_command08
       
 16828         COMMAND             fbsSrcBitmap2        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3014-Load_command09
       
 16829         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3014-Load_command10
       
 16830         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3014-AlphaBlendBitmaps_command11
       
 16831         COMMAND             fbsScrDev            Update
       
 16832         COMMAND             fbsSrcBitmap1        ~
       
 16833         COMMAND             fbsSrcBitmap2        ~
       
 16834         COMMAND             alphaBitmap          ~
       
 16835         COMMAND             fbsSession           Disconnect
       
 16836         COMMAND             fbsBitGc             ~
       
 16837         COMMAND             fbsScrDev            ~
       
 16838      END_TEST_BLOCK
       
 16839 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3014
       
 16840 
       
 16841 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3037
       
 16842 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3037
       
 16843 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16844 //! @SYMAuthor              Felix Rao
       
 16845 //! @SYMCreationDate        26/12/2008
       
 16846 //! @SYMTestCaseDesc        Perform an alpha blending of the source bitmap.
       
 16847 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16848 //!                         2. Create a CFbsBitGc object.
       
 16849 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 16850 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16851 //!                         5. Load 2 bitmaps.
       
 16852 //!                         6. Perform alpha blending.
       
 16853 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16854 //! @SYMTestStatus          Implemented
       
 16855 //! @SYMTestPriority        High
       
 16856 //! @SYMTestExpectedResults The action is performed successfully.
       
 16857 //! @SYMTestType            CIT
       
 16858 
       
 16859     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16860         CREATE_OBJECT       RFbsSession          fbsSession
       
 16861         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16862         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16863         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16864         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16865         COMMAND             fbsSession           Connect
       
 16866         COMMAND             fbsBitGc             NewL
       
 16867         COMMAND             fbsSrcBitmap1        new
       
 16868         COMMAND             alphaBitmap          new
       
 16869         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3037-NewL_command05
       
 16870         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3037-Activate_command06
       
 16871         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3037-Load_command07
       
 16872         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3037-Load_command08
       
 16873         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3037-AlphaBlendBitmaps_command09
       
 16874         COMMAND             fbsScrDev            Update
       
 16875         DELAY               500000
       
 16876         COMMAND             fbsSrcBitmap1        ~
       
 16877         COMMAND             alphaBitmap          ~
       
 16878         COMMAND             fbsSession           Disconnect
       
 16879         COMMAND             fbsBitGc             ~
       
 16880         COMMAND             fbsScrDev            ~
       
 16881      END_TEST_BLOCK
       
 16882 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3037
       
 16883 
       
 16884 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3038
       
 16885 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3038
       
 16886 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref}const CFbsBitmap{ptr},const TPoint{ref})
       
 16887 //! @SYMAuthor              Felix Rao
       
 16888 //! @SYMCreationDate        26/12/2008
       
 16889 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap using a non-activated CFbsBitGc object.
       
 16890 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16891 //!                         2. Create a CFbsBitGc object.
       
 16892 //!                         3. Create 2 CFbsBitmap objects.
       
 16893 //!                         4. Load 2 bitmaps.
       
 16894 //!                         5. Perform alpha blending.
       
 16895 //! @SYMTestStatus          Implemented
       
 16896 //! @SYMTestPriority        High
       
 16897 //! @SYMTestExpectedResults Get Panic code 1 and PanicString BITGDI.
       
 16898 //! @SYMTestType            CIT
       
 16899 
       
 16900     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16901         CREATE_OBJECT       RFbsSession          fbsSession
       
 16902         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16903         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16904         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16905         COMMAND             fbsSession           Connect
       
 16906         COMMAND             fbsBitGc             NewL
       
 16907         COMMAND             fbsSrcBitmap1        new
       
 16908         COMMAND             alphaBitmap          new
       
 16909         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3038-Load_command05
       
 16910         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3038-Load_command06
       
 16911         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3038-AlphaBlendBitmaps_command07
       
 16912      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
 16913      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 16914 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3038
       
 16915 
       
 16916 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3039
       
 16917 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3039
       
 16918 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16919 //! @SYMAuthor              Felix Rao
       
 16920 //! @SYMCreationDate        26/12/2008
       
 16921 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of a null source bitmap.
       
 16922 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16923 //!                         2. Create a CFbsBitGc object.
       
 16924 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 16925 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16926 //!                         5. Load mask bitmap.
       
 16927 //!                         6. Perform alpha blending.
       
 16928 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16929 //! @SYMTestStatus          Implemented
       
 16930 //! @SYMTestPriority        High
       
 16931 //! @SYMTestExpectedResults Error -6 is returned.
       
 16932 //! @SYMTestType            CIT
       
 16933 
       
 16934     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16935         CREATE_OBJECT       RFbsSession          fbsSession
       
 16936         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16937         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16938         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16939         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16940         COMMAND             fbsSession           Connect
       
 16941         COMMAND             fbsBitGc             NewL
       
 16942         COMMAND             alphaBitmap          new
       
 16943         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3039-NewL_command04
       
 16944         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3039-Activate_command05
       
 16945         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3039-Load_command06
       
 16946         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3039-AlphaBlendBitmaps_command07
       
 16947         COMMAND             fbsScrDev            Update
       
 16948         COMMAND             alphaBitmap          ~
       
 16949         COMMAND             fbsSession           Disconnect
       
 16950         COMMAND             fbsBitGc             ~
       
 16951         COMMAND             fbsScrDev            ~
       
 16952      END_TEST_BLOCK
       
 16953 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3039
       
 16954 
       
 16955 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3040
       
 16956 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3040
       
 16957 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16958 //! @SYMAuthor              Felix Rao
       
 16959 //! @SYMCreationDate        26/12/2008
       
 16960 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of a not loaded source bitmap.
       
 16961 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 16962 //!                         2. Create a CFbsBitGc object.
       
 16963 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 16964 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 16965 //!                         5. Load mask bitmap.
       
 16966 //!                         6. Perform alpha blending.
       
 16967 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 16968 //! @SYMTestStatus          Implemented
       
 16969 //! @SYMTestPriority        High
       
 16970 //! @SYMTestExpectedResults Error -6 is returned.
       
 16971 //! @SYMTestType            CIT
       
 16972 
       
 16973     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 16974         CREATE_OBJECT       RFbsSession          fbsSession
       
 16975         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 16976         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 16977         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 16978         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 16979         COMMAND             fbsSession           Connect
       
 16980         COMMAND             fbsBitGc             NewL
       
 16981         COMMAND             fbsSrcBitmap1        new
       
 16982         COMMAND             alphaBitmap          new
       
 16983         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3040-NewL_command05
       
 16984         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3040-Activate_command06
       
 16985         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3040-Load_command07
       
 16986         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3040-AlphaBlendBitmaps_command08
       
 16987         COMMAND             fbsScrDev            Update
       
 16988         COMMAND             fbsSrcBitmap1        ~
       
 16989         COMMAND             alphaBitmap          ~
       
 16990         COMMAND             fbsSession           Disconnect
       
 16991         COMMAND             fbsBitGc             ~
       
 16992         COMMAND             fbsScrDev            ~
       
 16993      END_TEST_BLOCK
       
 16994 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3040
       
 16995 
       
 16996 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3041
       
 16997 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3041
       
 16998 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 16999 //! @SYMAuthor              Felix Rao
       
 17000 //! @SYMCreationDate        26/12/2008
       
 17001 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of a null mask bitmap.
       
 17002 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 17003 //!                         2. Create a CFbsBitGc object.
       
 17004 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 17005 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 17006 //!                         5. Load src bitmap.
       
 17007 //!                         6. Perform alpha blending.
       
 17008 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 17009 //! @SYMTestStatus          Implemented
       
 17010 //! @SYMTestPriority        High
       
 17011 //! @SYMTestExpectedResults Error -6 is returned.
       
 17012 //! @SYMTestType            CIT
       
 17013 
       
 17014     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17015         CREATE_OBJECT       RFbsSession          fbsSession
       
 17016         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17017         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 17018         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 17019         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 17020         COMMAND             fbsSession           Connect
       
 17021         COMMAND             fbsBitGc             NewL
       
 17022         COMMAND             fbsSrcBitmap1        new
       
 17023         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3041-NewL_command04
       
 17024         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3041-Activate_command05
       
 17025         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3041-Load_command06
       
 17026         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3041-AlphaBlendBitmaps_command07
       
 17027         COMMAND             fbsScrDev            Update
       
 17028         COMMAND             fbsSrcBitmap1        ~
       
 17029         COMMAND             fbsSession           Disconnect
       
 17030         COMMAND             fbsBitGc             ~
       
 17031         COMMAND             fbsScrDev            ~
       
 17032      END_TEST_BLOCK
       
 17033 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3041
       
 17034 
       
 17035 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3042
       
 17036 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3042
       
 17037 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 17038 //! @SYMAuthor              Felix Rao
       
 17039 //! @SYMCreationDate        26/12/2008
       
 17040 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of a not loaded mask bitmap.
       
 17041 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 17042 //!                         2. Create a CFbsBitGc object.
       
 17043 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 17044 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 17045 //!                         5. Load src bitmap.
       
 17046 //!                         6. Perform alpha blending.
       
 17047 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 17048 //! @SYMTestStatus          Implemented
       
 17049 //! @SYMTestPriority        High
       
 17050 //! @SYMTestExpectedResults Error -6 is returned.
       
 17051 //! @SYMTestType            CIT
       
 17052 
       
 17053     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17054         CREATE_OBJECT       RFbsSession          fbsSession
       
 17055         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17056         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 17057         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 17058         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 17059         COMMAND             fbsSession           Connect
       
 17060         COMMAND             fbsBitGc             NewL
       
 17061         COMMAND             fbsSrcBitmap1        new
       
 17062         COMMAND             alphaBitmap          new
       
 17063         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3042-NewL_command05
       
 17064         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3042-Activate_command06
       
 17065         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3042-Load_command07
       
 17066         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3042-AlphaBlendBitmaps_command08
       
 17067         COMMAND             fbsScrDev            Update
       
 17068         COMMAND             fbsSrcBitmap1        ~
       
 17069         COMMAND             alphaBitmap          ~
       
 17070         COMMAND             fbsSession           Disconnect
       
 17071         COMMAND             fbsBitGc             ~
       
 17072         COMMAND             fbsScrDev            ~
       
 17073      END_TEST_BLOCK
       
 17074 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3042
       
 17075 
       
 17076 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3043
       
 17077 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3043
       
 17078 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 17079 //! @SYMAuthor              Felix Rao
       
 17080 //! @SYMCreationDate        26/12/2008
       
 17081 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of an empty rectangle area of the source bitmap.
       
 17082 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 17083 //!                         2. Create a CFbsBitGc object.
       
 17084 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 17085 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 17086 //!                         5. Load 2 bitmaps.
       
 17087 //!                         6. Perform alpha blending.
       
 17088 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 17089 //! @SYMTestStatus          Implemented
       
 17090 //! @SYMTestPriority        High
       
 17091 //! @SYMTestExpectedResults Error -6 is returned.
       
 17092 //! @SYMTestType            CIT
       
 17093 
       
 17094     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17095         CREATE_OBJECT       RFbsSession          fbsSession
       
 17096         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17097         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 17098         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 17099         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 17100         COMMAND             fbsSession           Connect
       
 17101         COMMAND             fbsBitGc             NewL
       
 17102         COMMAND             fbsSrcBitmap1        new
       
 17103         COMMAND             alphaBitmap          new
       
 17104         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3043-NewL_command05
       
 17105         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3043-Activate_command06
       
 17106         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3043-Load_command07
       
 17107         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3043-Load_command08
       
 17108         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3043-AlphaBlendBitmaps_command09
       
 17109         COMMAND             fbsScrDev            Update
       
 17110         COMMAND             fbsSrcBitmap1        ~
       
 17111         COMMAND             alphaBitmap          ~
       
 17112         COMMAND             fbsSession           Disconnect
       
 17113         COMMAND             fbsBitGc             ~
       
 17114         COMMAND             fbsScrDev            ~
       
 17115      END_TEST_BLOCK
       
 17116 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3043
       
 17117 
       
 17118 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3044
       
 17119 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3044
       
 17120 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 17121 //! @SYMAuthor              Felix Rao
       
 17122 //! @SYMCreationDate        26/12/2008
       
 17123 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of an out of bound rectangle area of the source bitmap.
       
 17124 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 17125 //!                         2. Create a CFbsBitGc object.
       
 17126 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 17127 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 17128 //!                         5. Load 2 bitmaps.
       
 17129 //!                         6. Perform alpha blending.
       
 17130 //!                         7. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 17131 //! @SYMTestStatus          Implemented
       
 17132 //! @SYMTestPriority        High
       
 17133 //! @SYMTestExpectedResults Error -6 is returned.
       
 17134 //! @SYMTestType            CIT
       
 17135 
       
 17136     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17137         CREATE_OBJECT       RFbsSession          fbsSession
       
 17138         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17139         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 17140         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 17141         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 17142         COMMAND             fbsSession           Connect
       
 17143         COMMAND             fbsBitGc             NewL
       
 17144         COMMAND             fbsSrcBitmap1        new
       
 17145         COMMAND             alphaBitmap          new
       
 17146         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3044-NewL_command05
       
 17147         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3044-Activate_command06
       
 17148         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3044-Load_command07
       
 17149         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3044-Load_command08
       
 17150         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3044-AlphaBlendBitmaps_command09
       
 17151         COMMAND             fbsScrDev            Update
       
 17152         COMMAND             fbsSrcBitmap1        ~
       
 17153         COMMAND             alphaBitmap          ~
       
 17154         COMMAND             fbsSession           Disconnect
       
 17155         COMMAND             fbsBitGc             ~
       
 17156         COMMAND             fbsScrDev            ~
       
 17157      END_TEST_BLOCK
       
 17158 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3044
       
 17159 
       
 17160 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3045
       
 17161 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3045
       
 17162 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 17163 //! @SYMAuthor              Felix Rao
       
 17164 //! @SYMCreationDate        26/12/2008
       
 17165 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of a source bitmap with clipping rectangle set to (-100, -100, -90, -90).
       
 17166 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 17167 //!                         2. Create a CFbsBitGc object.
       
 17168 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 17169 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 17170 //!                         5. Load 2 bitmaps.
       
 17171 //!                         6. Load 2 bitmaps.
       
 17172 //!                         7. Perform alpha blending.
       
 17173 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 17174 //! @SYMTestStatus          Implemented
       
 17175 //! @SYMTestPriority        High
       
 17176 //! @SYMTestExpectedResults Error -6 is returned.
       
 17177 //! @SYMTestType            CIT
       
 17178 
       
 17179     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17180         CREATE_OBJECT       RFbsSession          fbsSession
       
 17181         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17182         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 17183         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 17184         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 17185         COMMAND             fbsSession           Connect
       
 17186         COMMAND             fbsBitGc             NewL
       
 17187         COMMAND             fbsSrcBitmap1        new
       
 17188         COMMAND             alphaBitmap          new
       
 17189         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3045-NewL_command05
       
 17190         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3045-Activate_command06
       
 17191         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3045-Load_command07
       
 17192         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3045-Load_command08
       
 17193         COMMAND             fbsBitGc             SetClippingRect                GRAPHICS-BITGDI-FbsBitGc-PublicApi-3045-SetClippingRect_command09
       
 17194         COMMAND !Error=-6   fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3045-AlphaBlendBitmaps_command10
       
 17195         COMMAND             fbsScrDev            Update
       
 17196         COMMAND             fbsSrcBitmap1        ~
       
 17197         COMMAND             alphaBitmap          ~
       
 17198         COMMAND             fbsSession           Disconnect
       
 17199         COMMAND             fbsBitGc             ~
       
 17200         COMMAND             fbsScrDev            ~
       
 17201      END_TEST_BLOCK
       
 17202 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3045
       
 17203 
       
 17204 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3046
       
 17205 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3046
       
 17206 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 17207 //! @SYMAuthor              Felix Rao
       
 17208 //! @SYMCreationDate        26/12/2008
       
 17209 //! @SYMTestCaseDesc        Perform an alpha blending of a source bitmap with alpha point (-10, 10).
       
 17210 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 17211 //!                         2. Create a CFbsBitGc object.
       
 17212 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 17213 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 17214 //!                         5. Load 2 bitmaps.
       
 17215 //!                         6. Load 2 bitmaps.
       
 17216 //!                         7. Perform alpha blending.
       
 17217 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 17218 //! @SYMTestStatus          Implemented
       
 17219 //! @SYMTestPriority        High
       
 17220 //! @SYMTestExpectedResults The bitmap will be drawn.
       
 17221 //! @SYMTestType            CIT
       
 17222 
       
 17223     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17224         CREATE_OBJECT       RFbsSession          fbsSession
       
 17225         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17226         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 17227         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 17228         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 17229         COMMAND             fbsSession           Connect
       
 17230         COMMAND             fbsBitGc             NewL
       
 17231         COMMAND             fbsSrcBitmap1        new
       
 17232         COMMAND             alphaBitmap          new
       
 17233         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3046-NewL_command05
       
 17234         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3046-Activate_command06
       
 17235         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3046-Load_command07
       
 17236         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3046-Load_command08
       
 17237         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3046-AlphaBlendBitmaps_command09
       
 17238         COMMAND             fbsScrDev            Update
       
 17239         DELAY               500000
       
 17240         COMMAND             fbsSrcBitmap1        ~
       
 17241         COMMAND             alphaBitmap          ~
       
 17242         COMMAND             fbsSession           Disconnect
       
 17243         COMMAND             fbsBitGc             ~
       
 17244         COMMAND             fbsScrDev            ~
       
 17245      END_TEST_BLOCK
       
 17246 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3046
       
 17247 
       
 17248 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3047
       
 17249 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3047
       
 17250 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 17251 //! @SYMAuthor              Felix Rao
       
 17252 //! @SYMCreationDate        26/12/2008
       
 17253 //! @SYMTestCaseDesc        Perform an alpha blending of a source bitmap with alpha point (10, -10).
       
 17254 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 17255 //!                         2. Create a CFbsBitGc object.
       
 17256 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 17257 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 17258 //!                         5. Load 2 bitmaps.
       
 17259 //!                         6. Load 2 bitmaps.
       
 17260 //!                         7. Perform alpha blending.
       
 17261 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 17262 //! @SYMTestStatus          Implemented
       
 17263 //! @SYMTestPriority        High
       
 17264 //! @SYMTestExpectedResults The bitmap will be drawn.
       
 17265 //! @SYMTestType            CIT
       
 17266 
       
 17267     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17268         CREATE_OBJECT       RFbsSession          fbsSession
       
 17269         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17270         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 17271         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 17272         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 17273         COMMAND             fbsSession           Connect
       
 17274         COMMAND             fbsBitGc             NewL
       
 17275         COMMAND             fbsSrcBitmap1        new
       
 17276         COMMAND             alphaBitmap          new
       
 17277         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3047-NewL_command05
       
 17278         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3047-Activate_command06
       
 17279         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3047-Load_command07
       
 17280         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3047-Load_command08
       
 17281         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3047-AlphaBlendBitmaps_command09
       
 17282         COMMAND             fbsScrDev            Update
       
 17283         DELAY               500000
       
 17284         COMMAND             fbsSrcBitmap1        ~
       
 17285         COMMAND             alphaBitmap          ~
       
 17286         COMMAND             fbsSession           Disconnect
       
 17287         COMMAND             fbsBitGc             ~
       
 17288         COMMAND             fbsScrDev            ~
       
 17289      END_TEST_BLOCK
       
 17290 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3047
       
 17291 
       
 17292 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3048
       
 17293 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3048
       
 17294 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 17295 //! @SYMAuthor              Felix Rao
       
 17296 //! @SYMCreationDate        26/12/2008
       
 17297 //! @SYMTestCaseDesc        Perform an alpha blending of a source bitmap with alpha point (0, 10).
       
 17298 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 17299 //!                         2. Create a CFbsBitGc object.
       
 17300 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 17301 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 17302 //!                         5. Load 2 bitmaps.
       
 17303 //!                         6. Load 2 bitmaps.
       
 17304 //!                         7. Perform alpha blending.
       
 17305 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 17306 //! @SYMTestStatus          Implemented
       
 17307 //! @SYMTestPriority        High
       
 17308 //! @SYMTestExpectedResults The bitmap will be drawn.
       
 17309 //! @SYMTestType            CIT
       
 17310 
       
 17311     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17312         CREATE_OBJECT       RFbsSession          fbsSession
       
 17313         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17314         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 17315         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 17316         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 17317         COMMAND             fbsSession           Connect
       
 17318         COMMAND             fbsBitGc             NewL
       
 17319         COMMAND             fbsSrcBitmap1        new
       
 17320         COMMAND             alphaBitmap          new
       
 17321         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3048-NewL_command05
       
 17322         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3048-Activate_command06
       
 17323         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3048-Load_command07
       
 17324         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3048-Load_command08
       
 17325         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3048-AlphaBlendBitmaps_command09
       
 17326         COMMAND             fbsScrDev            Update
       
 17327         DELAY               500000
       
 17328         COMMAND             fbsSrcBitmap1        ~
       
 17329         COMMAND             alphaBitmap          ~
       
 17330         COMMAND             fbsSession           Disconnect
       
 17331         COMMAND             fbsBitGc             ~
       
 17332         COMMAND             fbsScrDev            ~
       
 17333      END_TEST_BLOCK
       
 17334 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3048
       
 17335 
       
 17336 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3049
       
 17337 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3049
       
 17338 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CFbsBitmap{ptr},const TRect{ref},const CFbsBitmap{ptr},const TPoint{ref})
       
 17339 //! @SYMAuthor              Felix Rao
       
 17340 //! @SYMCreationDate        26/12/2008
       
 17341 //! @SYMTestCaseDesc        Perform an alpha blending of a source bitmap with alpha point (0, 10).
       
 17342 //! @SYMTestActions         1. Create and connect a RFbsSession object.
       
 17343 //!                         2. Create a CFbsBitGc object.
       
 17344 //!                         3. Create a CFbsScreenDevice object and 2 CFbsBitmap objects.
       
 17345 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 17346 //!                         5. Load 2 bitmaps.
       
 17347 //!                         6. Load 2 bitmaps.
       
 17348 //!                         7. Perform alpha blending.
       
 17349 //!                         8. Disconnect RFbsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CFbsBitmap objects.
       
 17350 //! @SYMTestStatus          Implemented
       
 17351 //! @SYMTestPriority        High
       
 17352 //! @SYMTestExpectedResults The bitmap will be drawn.
       
 17353 //! @SYMTestType            CIT
       
 17354 
       
 17355     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17356         CREATE_OBJECT       RFbsSession          fbsSession
       
 17357         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17358         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 17359         CREATE_OBJECT       CFbsBitmap           fbsSrcBitmap1
       
 17360         CREATE_OBJECT       CFbsBitmap           alphaBitmap
       
 17361         COMMAND             fbsSession           Connect
       
 17362         COMMAND             fbsBitGc             NewL
       
 17363         COMMAND             fbsSrcBitmap1        new
       
 17364         COMMAND             alphaBitmap          new
       
 17365         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3049-NewL_command05
       
 17366         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3049-Activate_command06
       
 17367         COMMAND             fbsSrcBitmap1        Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3049-Load_command07
       
 17368         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3049-Load_command08
       
 17369         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3049-AlphaBlendBitmaps_command09
       
 17370         COMMAND             fbsScrDev            Update
       
 17371         DELAY               500000
       
 17372         COMMAND             fbsSrcBitmap1        ~
       
 17373         COMMAND             alphaBitmap          ~
       
 17374         COMMAND             fbsSession           Disconnect
       
 17375         COMMAND             fbsBitGc             ~
       
 17376         COMMAND             fbsScrDev            ~
       
 17377      END_TEST_BLOCK
       
 17378 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3049
       
 17379 
       
 17380 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3071
       
 17381 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3071
       
 17382 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CWsBitmap{ptr},const TRect{ref},const CWsBitmap{ptr},const TPoint{ref})
       
 17383 //! @SYMAuthor              Felix Rao
       
 17384 //! @SYMCreationDate        26/12/2008
       
 17385 //! @SYMTestCaseDesc        Perform an alpha blending of the source bitmap.
       
 17386 //! @SYMTestActions         1. Create and connect a RFbsSession object and a RWsSession.
       
 17387 //!                         2. Create a CFbsBitGc object.
       
 17388 //!                         3. Create a CFbsScreenDevice object and 2 CWsBitmap objects.
       
 17389 //!                         4. Activate the CFbsBitGc object to draw to the CFbsScreenDevice object.
       
 17390 //!                         5. Load 2 bitmaps.
       
 17391 //!                         6. Perform alpha blending.
       
 17392 //!                         7. Disconnect RFbsSession, RWsSession and destruct CFbsBitGc object and CFbsScreenDevice object, CWsBitmap objects.
       
 17393 //! @SYMTestStatus          Implemented
       
 17394 //! @SYMTestPriority        High
       
 17395 //! @SYMTestExpectedResults The action is performed successfully.
       
 17396 //! @SYMTestType            CIT
       
 17397 
       
 17398     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17399         CREATE_OBJECT       RFbsSession          fbsSession
       
 17400         CREATE_OBJECT       RWsSession           wsSession
       
 17401         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17402         CREATE_OBJECT       CFbsScreenDevice     fbsScrDev
       
 17403         CREATE_OBJECT       CWsBitmap            wsBitmap
       
 17404         CREATE_OBJECT       CWsBitmap            alphaBitmap
       
 17405         COMMAND             wsSession            new
       
 17406         COMMAND             wsSession            Connect
       
 17407         COMMAND             fbsSession           Connect
       
 17408         COMMAND             fbsBitGc             NewL
       
 17409         COMMAND             wsBitmap             new                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-3071-new_command05
       
 17410         COMMAND             alphaBitmap          new                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-3071-new_command06
       
 17411         COMMAND             fbsScrDev            NewL                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3071-NewL_command07
       
 17412         COMMAND             fbsBitGc             Activate                       GRAPHICS-BITGDI-FbsBitGc-PublicApi-3071-Activate_command08
       
 17413         COMMAND             wsBitmap             Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3071-Load_command09
       
 17414         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3071-Load_command10
       
 17415         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3071-AlphaBlendBitmaps_command11
       
 17416         COMMAND             fbsScrDev            Update
       
 17417         DELAY               500000
       
 17418         COMMAND             wsBitmap             ~
       
 17419         COMMAND             alphaBitmap          ~
       
 17420         COMMAND             fbsSession           Disconnect
       
 17421         COMMAND             wsSession            Close
       
 17422         COMMAND             fbsBitGc             ~
       
 17423         COMMAND             fbsScrDev            ~
       
 17424      END_TEST_BLOCK
       
 17425 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3071
       
 17426 
       
 17427 START_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3072
       
 17428 //! @SYMTestCaseID          GRAPHICS-BITGDI-FbsBitGc-PublicApi-3072
       
 17429 //! @SYMAPI                 AlphaBlendBitmaps(const TPoint{ref},const CWsBitmap{ptr},const TRect{ref},const CWsBitmap{ptr},const TPoint{ref})
       
 17430 //! @SYMAuthor              Felix Rao
       
 17431 //! @SYMCreationDate        26/12/2008
       
 17432 //! @SYMTestCaseDesc        Negative case. Perform an alpha blending of the source bitmap using a non-activated CFbsBitGc object.
       
 17433 //! @SYMTestActions         1. Create a RWsSession object.
       
 17434 //!                         2. Create a CFbsBitGc object.
       
 17435 //!                         3. Create 2 CWsBitmap objects.
       
 17436 //!                         4. Load 2 bitmaps.
       
 17437 //!                         5. Perform alpha blending.
       
 17438 //! @SYMTestStatus          Implemented
       
 17439 //! @SYMTestPriority        High
       
 17440 //! @SYMTestExpectedResults Get Panic code 1 and PanicString BITGDI.
       
 17441 //! @SYMTestType            CIT
       
 17442 
       
 17443     START_TEST_BLOCK        10   T_GraphicsBitgdiApi         \graphics\GRAPHICS-BITGDI-FbsBitGc-PublicApi-3.ini
       
 17444         CREATE_OBJECT       RWsSession           wsSession
       
 17445         CREATE_OBJECT       CFbsBitGc            fbsBitGc
       
 17446         CREATE_OBJECT       CWsBitmap            wsBitmap
       
 17447         CREATE_OBJECT       CWsBitmap            alphaBitmap
       
 17448         COMMAND             wsSession            new
       
 17449         COMMAND             wsSession            Connect
       
 17450         COMMAND             fbsBitGc             NewL
       
 17451         COMMAND             wsBitmap             new                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-3072-new_command04
       
 17452         COMMAND             alphaBitmap          new                            GRAPHICS-BITGDI-FbsBitGc-PublicApi-3072-new_command05
       
 17453         COMMAND             wsBitmap             Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3072-Load_command06
       
 17454         COMMAND             alphaBitmap          Load                           GRAPHICS-BITGDI-FbsBitGc-PublicApi-3072-Load_command07
       
 17455         COMMAND             fbsBitGc             AlphaBlendBitmaps              GRAPHICS-BITGDI-FbsBitGc-PublicApi-3072-AlphaBlendBitmaps_command08
       
 17456      END_TEST_BLOCK     !PanicString=BITGDI     !PanicCode=1
       
 17457      RUN_TEST_STEP	100	T_GraphicsBitgdiApi	utilityClearPanicDlg
       
 17458 END_TESTCASE GRAPHICS-BITGDI-FbsBitGc-PublicApi-3072
       
 17459