graphicsapitest/graphicssvs/bitgdi/scripts/GRAPHICS-BITGDI-PolygonFiller-PublicApi.script
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 //
       
     2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 //! @file
       
    17 //! @SYMTestSuiteName		GRAPHICS-BITGDI-PolygonFiller-PublicApi
       
    18 //! @SYMScriptTestEnvironment	
       
    19 
       
    20 /////////////////////////////////////////////////////////////////////
       
    21 // GRAPHICS-BITGDI-PolygonFiller-PublicApi.script
       
    22 //
       
    23 // Tests all public elements of the CPolygonFiller
       
    24 // classes as a means of confidence that the APIs work as expected.
       
    25 //
       
    26 // The purpose is to provide a regression test suite of PublishedAll APIs for CPolygonFiller
       
    27 // The tests are fully automated.
       
    28 /////////////////////////////////////////////////////////////////////
       
    29 
       
    30 LOAD_SUITE      T_GraphicsBitgdiApi
       
    31 DELAY           1000
       
    32 
       
    33 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0001
       
    34 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0001
       
    35 //! @SYMAPI     				CPolygonFiller::Construct(const CArrayFix<TPoint>{ptr},CGraphicsContext::TFillRule,TUsage)               
       
    36 //! @SYMAuthor                  Dorothy Zhang
       
    37 //! @SYMCreationDate            04/12/2008
       
    38 //! @SYMTestCaseDesc            Create a CPolygonFiller object with the type: CArrayFix, EAlternate and EGetAllPixelRunsSequentially  
       
    39 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: CArrayFix, EAlternate and EGetAllPixelRunsSequentially
       
    40 //!                             2. Destroy the object.
       
    41 //! @SYMTestStatus              Implemented
       
    42 //! @SYMTestPriority            High
       
    43 //! @SYMTestExpectedResults     The CpolygonFiller object should be created without causing panic.
       
    44 //! @SYMTestType                CIT
       
    45     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
    46         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
    47         COMMAND                 polygonfiller                new     
       
    48         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0001-0001-Construct_Command02   
       
    49     	COMMAND					polygonfiller				 ~
       
    50     END_TEST_BLOCK    
       
    51 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0001
       
    52 
       
    53 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0002
       
    54 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0002
       
    55 //! @SYMAPI     				CPolygonFiller::Construct(const CArrayFix<TPoint>{ptr},CGraphicsContext::TFillRule,TUsage)               
       
    56 //! @SYMAuthor                  Dorothy Zhang
       
    57 //! @SYMCreationDate            04/12/2008
       
    58 //! @SYMTestCaseDesc            Create a CPolygonFiller object with the type: CArrayFix, EAlternate,EGetPixelRunsSequentiallyForSpecifiedScanLines 
       
    59 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: CArrayFix, EAlternate,EGetPixelRunsSequentiallyForSpecifiedScanLines
       
    60 //!                             2. Destroy the object.
       
    61 //! @SYMTestStatus              Implemented
       
    62 //! @SYMTestPriority            High
       
    63 //! @SYMTestExpectedResults     The CpolygonFiller object should be created without causing panic.
       
    64 //! @SYMTestType                CIT
       
    65     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
    66         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
    67         COMMAND                 polygonfiller                new     
       
    68         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0002-0001-Construct_Command02  
       
    69     	COMMAND					polygonfiller				 ~
       
    70     END_TEST_BLOCK    
       
    71 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0002
       
    72 
       
    73 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0003
       
    74 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0003
       
    75 //! @SYMAPI     				CPolygonFiller::Construct(const CArrayFix<TPoint>{ptr},CGraphicsContext::TFillRule,TUsage)               
       
    76 //! @SYMAuthor                  Dorothy Zhang
       
    77 //! @SYMCreationDate            04/12/2008
       
    78 //! @SYMTestCaseDesc            Create a CPolygonFiller object with the type: CArrayFix, EWinding,EGetAllPixelRunsSequentially 
       
    79 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: CArrayFix, EWinding,EGetAllPixelRunsSequentially
       
    80 //!                             2. Destroy the object.
       
    81 //! @SYMTestStatus              Implemented
       
    82 //! @SYMTestPriority            High
       
    83 //! @SYMTestExpectedResults     The CpolygonFiller object should be created without causing panic.
       
    84 //! @SYMTestType                CIT
       
    85     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
    86         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
    87         COMMAND                 polygonfiller                new     
       
    88         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0003-0001-Construct_Command02  
       
    89     	COMMAND					polygonfiller				 ~
       
    90     END_TEST_BLOCK    
       
    91 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0003
       
    92 
       
    93 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0004
       
    94 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0004
       
    95 //! @SYMAPI     				CPolygonFiller::Construct(const CArrayFix<TPoint>{ptr},CGraphicsContext::TFillRule,TUsage)               
       
    96 //! @SYMAuthor                  Dorothy Zhang
       
    97 //! @SYMCreationDate            04/12/2008
       
    98 //! @SYMTestCaseDesc            Create a CPolygonFiller object with the type: CArrayFix, EWinding,EGetPixelRunsSequentiallyForSpecifiedScanLines 
       
    99 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: CArrayFix, EWinding,EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   100 //!                             2. Destroy the object.
       
   101 //! @SYMTestStatus              Implemented
       
   102 //! @SYMTestPriority            High
       
   103 //! @SYMTestExpectedResults     The CpolygonFiller object should be created without causing panic.
       
   104 //! @SYMTestType                CIT
       
   105     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   106         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   107         COMMAND                 polygonfiller                new     
       
   108         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0004-0001-Construct_Command02   
       
   109     	COMMAND					polygonfiller				 ~
       
   110     END_TEST_BLOCK    
       
   111 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0004
       
   112 
       
   113 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0005
       
   114 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0005
       
   115 //! @SYMAPI     				CPolygonFiller::Construct(<TPoint>{ptr},TInt,CGraphicsContext::TFillRule,TUsage)               
       
   116 //! @SYMAuthor                  Dorothy Zhang
       
   117 //! @SYMCreationDate            04/12/2008
       
   118 //! @SYMTestCaseDesc            Create a CPolygonFiller object with the type: TPoint, EWinding, EGetAllPixelRunsSequentially  
       
   119 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: TPoint, EWinding, EGetAllPixelRunsSequentially 
       
   120 //!                             2. Destroy the object.
       
   121 //! @SYMTestStatus              Implemented
       
   122 //! @SYMTestPriority            High
       
   123 //! @SYMTestExpectedResults     The CpolygonFiller object should be created without causing panic.
       
   124 //! @SYMTestType                CIT
       
   125     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   126         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   127         COMMAND                 polygonfiller                new     
       
   128         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0005-0001-Construct_Command02   
       
   129     	COMMAND					polygonfiller				 ~
       
   130     END_TEST_BLOCK    
       
   131 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0005
       
   132 
       
   133 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0006
       
   134 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0006
       
   135 //! @SYMAPI     				CPolygonFiller::Construct(<TPoint>{ptr},TInt,CGraphicsContext::TFillRule,TUsage)               
       
   136 //! @SYMAuthor                  Dorothy Zhang
       
   137 //! @SYMCreationDate            04/12/2008
       
   138 //! @SYMTestCaseDesc            Create a CPolygonFiller object with the type: TPoint, EWinding,EGetPixelRunsSequentiallyForSpecifiedScanLines 
       
   139 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: TPoint, EWinding,EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   140 //!                             2. Destroy the object.
       
   141 //! @SYMTestStatus              Implemented
       
   142 //! @SYMTestPriority            High
       
   143 //! @SYMTestExpectedResults     The CpolygonFiller object should be created without causing panic.
       
   144 //! @SYMTestType                CIT
       
   145     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   146         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   147         COMMAND                 polygonfiller                new     
       
   148         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0006-0001-Construct_Command02   
       
   149     	COMMAND					polygonfiller				 ~
       
   150     END_TEST_BLOCK    
       
   151 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0006
       
   152 
       
   153 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0007
       
   154 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0007
       
   155 //! @SYMAPI     				CPolygonFiller::Construct(<TPoint>{ptr},TInt,CGraphicsContext::TFillRule,TUsage)              
       
   156 //! @SYMAuthor                  Dorothy Zhang
       
   157 //! @SYMCreationDate            04/12/2008
       
   158 //! @SYMTestCaseDesc            Create a CPolygonFiller object with the type: TPoint, EAlternate,EGetPixelRunsSequentiallyForSpecifiedScanLines 
       
   159 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: TPoint, EAlternate,EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   160 //!                             2. Destroy the object.
       
   161 //! @SYMTestStatus              Implemented
       
   162 //! @SYMTestPriority            High
       
   163 //! @SYMTestExpectedResults     The CpolygonFiller object should be created without causing panic.
       
   164 //! @SYMTestType                CIT
       
   165     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   166         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   167         COMMAND                 polygonfiller                new     
       
   168         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0007-0001-Construct_Command02   
       
   169     	COMMAND					polygonfiller				 ~
       
   170     END_TEST_BLOCK    
       
   171 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0007
       
   172 
       
   173 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0008
       
   174 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0008
       
   175 //! @SYMAPI     				CPolygonFiller::Construct(<TPoint>{ptr},TInt,CGraphicsContext::TFillRule,TUsage)              
       
   176 //! @SYMAuthor                  Dorothy Zhang
       
   177 //! @SYMCreationDate            04/12/2008
       
   178 //! @SYMTestCaseDesc            Create a CPolygonFiller object with the type: TPoint, EAlternate,EGetAllPixelRunsSequentially 
       
   179 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: TPoint, EAlternate,EGetAllPixelRunsSequentially
       
   180 //!                             2. Destroy the object.
       
   181 //! @SYMTestStatus              Implemented
       
   182 //! @SYMTestPriority            High
       
   183 //! @SYMTestExpectedResults     The CpolygonFiller object should be created without causing panic.
       
   184 //! @SYMTestType                CIT
       
   185     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   186         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   187         COMMAND                 polygonfiller                new     
       
   188         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0008-0001-Construct_Command02   
       
   189     	COMMAND					polygonfiller				 ~
       
   190     END_TEST_BLOCK    
       
   191 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0008
       
   192 
       
   193 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0009
       
   194 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0009
       
   195 //! @SYMAPI     				CPolygonFiller::GetNextPixelRun(TBool{ref},TInt{ref},TInt{ref},TInt{ref})               
       
   196 //! @SYMAuthor                  Dorothy Zhang
       
   197 //! @SYMCreationDate            04/12/2008
       
   198 //! @SYMTestCaseDesc            GetNextPixelRun of the object constructed successfully with the type: CArrayFix, EAlternate,EGetAllPixelRunsSequentially  
       
   199 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: CArrayFix, EAlternate,EGetAllPixelRunsSequentially
       
   200 //!                             2. GetNextPixelRun of the object.
       
   201 //!                             3. Destroy the object.
       
   202 //! @SYMTestStatus              Implemented
       
   203 //! @SYMTestPriority            High
       
   204 //! @SYMTestExpectedResults     The return values of GetNextPixelRun are as expected.
       
   205 //! @SYMTestType                CIT
       
   206     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   207         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   208         COMMAND                 polygonfiller                new     
       
   209         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0009-0001-Construct_Command02   
       
   210         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0009-0001-GetNextPixelRun_Command03
       
   211     	COMMAND					polygonfiller				 ~
       
   212     END_TEST_BLOCK    
       
   213 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0009
       
   214 
       
   215 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0010
       
   216 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0010
       
   217 //! @SYMAPI     				CPolygonFiller::GetNextPixelRun(TBool{ref},TInt{ref},TInt{ref},TInt{ref})               
       
   218 //! @SYMAuthor                  Dorothy Zhang
       
   219 //! @SYMCreationDate            04/12/2008
       
   220 //! @SYMTestCaseDesc            GetNextPixelRun of the object constructed successfully with the type: CArrayFix, EWinding,EGetAllPixelRunsSequentially 
       
   221 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: CArrayFix, EWinding,EGetAllPixelRunsSequentially
       
   222 //!                             2. GetNextPixelRun of the object.
       
   223 //!                             3. Destroy the object.
       
   224 //! @SYMTestStatus              Implemented
       
   225 //! @SYMTestPriority            High
       
   226 //! @SYMTestExpectedResults     The return values of GetNextPixelRun are as expected.
       
   227 //! @SYMTestType                CIT
       
   228     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   229         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   230         COMMAND                 polygonfiller                new     
       
   231         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0010-0001-Construct_Command02   
       
   232         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0010-0001-GetNextPixelRun_Command03
       
   233     	COMMAND					polygonfiller				 ~
       
   234     END_TEST_BLOCK    
       
   235 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0010
       
   236 
       
   237 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0011
       
   238 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0011
       
   239 //! @SYMAPI     				CPolygonFiller::GetNextPixelRun(TBool{ref},TInt{ref},TInt{ref},TInt{ref})               
       
   240 //! @SYMAuthor                  Dorothy Zhang
       
   241 //! @SYMCreationDate            04/12/2008
       
   242 //! @SYMTestCaseDesc            GetNextPixelRun of the object constructed successfully with the type: CArrayFix, EAlternate, EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   243 //! @SYMTestActions             1. Createa CPolygonFiller with the type: CArrayFix, EAlternate, EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   244 //!                             2. GetNextPixelRun of the object.
       
   245 //!                             3. Destroy the object.
       
   246 //! @SYMTestStatus              Implemented
       
   247 //! @SYMTestPriority            High
       
   248 //! @SYMTestExpectedResults     The return values of GetNextPixelRun are as expected.
       
   249 //! @SYMTestType                CIT
       
   250     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   251         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   252         COMMAND                 polygonfiller                new     
       
   253         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0011-0001-Construct_Command02  
       
   254         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0011-0001-GetNextPixelRun_Command03
       
   255     	COMMAND					polygonfiller				 ~
       
   256     END_TEST_BLOCK    
       
   257 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0011
       
   258 
       
   259 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0012
       
   260 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0012
       
   261 //! @SYMAPI     				CPolygonFiller::GetNextPixelRun(TBool{ref},TInt{ref},TInt{ref},TInt{ref})                
       
   262 //! @SYMAuthor                  DorothyZhang
       
   263 //! @SYMCreationDate            04/12/2008
       
   264 //! @SYMTestCaseDesc            GetNextPixelRun of the object constructed successfully with the type: CArrayFix, EWinding, EGetPixelRunsSequentiallyForSpecifiedScanLines 
       
   265 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: CArrayFix, EWinding,EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   266 //!                             2. GetNextPixelRun of the object.
       
   267 //!                             3. Destroy the object.
       
   268 //! @SYMTestStatus              Implemented
       
   269 //! @SYMTestPriority            High
       
   270 //! @SYMTestExpectedResults     The return values of GetNextPixelRun are as expected.
       
   271 //! @SYMTestType                CIT
       
   272     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   273         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   274         COMMAND                 polygonfiller                new     
       
   275         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0012-0001-Construct_Command02   
       
   276         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0012-0001-GetNextPixelRun_Command03
       
   277     	COMMAND					polygonfiller				 ~
       
   278     END_TEST_BLOCK    
       
   279 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0012
       
   280 
       
   281 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0013
       
   282 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0013
       
   283 //! @SYMAPI     				CPolygonFiller::GetNextPixelRun(TBool{ref},TInt{ref},TInt{ref},TInt{ref})              
       
   284 //! @SYMAuthor                  DorothyZhang
       
   285 //! @SYMCreationDate            04/12/2008
       
   286 //! @SYMTestCaseDesc            GetNextPixelRun of the CPolygonfiller object constructed with Horizontal line
       
   287 //! @SYMTestActions             1. Create a CPolygonFiller object by Construct(<TPoint>*, TInt,EAlternate,EGetAllPixelRunsSequentially)
       
   288 //!                              1.1 Set the list of the points for a Horizontal line: (50,100),(60,100),(70,100),(80,100).
       
   289 //!                              1.2 Set the fill rule type : EAlternate
       
   290 //!                              1.3 Set the Usage type: EGetAllPixelRunsSequentially
       
   291 //!                             2. GetNextPixelRun of the object.
       
   292 //!                             3. Destroy the object.
       
   293 //! @SYMTestStatus              Implemented
       
   294 //! @SYMTestPriority            High
       
   295 //! @SYMTestExpectedResults     The GetNextPixelRun call should return the initial scan line correctly as expected.
       
   296 //! @SYMTestType                CIT
       
   297     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   298         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   299         COMMAND                 polygonfiller                new     
       
   300         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0013-0001-Construct_Command02   
       
   301         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0013-0001-GetNextPixelRun_Command03
       
   302     	COMMAND					polygonfiller				 ~
       
   303     END_TEST_BLOCK    
       
   304 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0013
       
   305 
       
   306 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0014
       
   307 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0014
       
   308 //! @SYMAPI     				CPolygonFiller::GetNextPixelRun(TBool{ref},TInt{ref},TInt{ref},TInt{ref})               
       
   309 //! @SYMAuthor                  DorothyZhang
       
   310 //! @SYMCreationDate            04/12/2008
       
   311 //! @SYMTestCaseDesc            GetNextPixelRun of the CPolygonfiller object constructed with vertical line
       
   312 //! @SYMTestActions             1. Create a CPolygonFiller object by Construct(<TPoint>*, TInt, EAlternate,EGetAllPixelRunsSequentially)
       
   313 //!                              1.1 Set the list of points of the new polygon, a vertical line: (50,50),(50,60),(50,80),(50,120).
       
   314 //!                              1.2 Set the fill rule : EAlternate
       
   315 //!                              1.3 Set the polygon algorithm: EGetAllPixelRunsSequentially
       
   316 //!                             2. GetNextPixelRun of the object.
       
   317 //!                             3. Destoy the object.   
       
   318 //! @SYMTestStatus              Implemented
       
   319 //! @SYMTestPriority            High
       
   320 //! @SYMTestExpectedResults     The GetNextPixelRun call should return the initial scan line, the start and end position on the scan line correctly as expected.
       
   321 //! @SYMTestType                CIT
       
   322     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   323         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   324         COMMAND                 polygonfiller                new     
       
   325         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0014-0001-Construct_Command02   
       
   326         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0014-0001-GetNextPixelRun_Command03
       
   327     	COMMAND					polygonfiller				 ~
       
   328     END_TEST_BLOCK    
       
   329 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0014
       
   330 
       
   331 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0015
       
   332 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0015
       
   333 //! @SYMAPI     				CPolygonFiller::GetNextPixelRun(TBool{ref},TInt{ref},TInt{ref},TInt{ref})              
       
   334 //! @SYMAuthor                  DorothyZhang
       
   335 //! @SYMCreationDate            04/12/2008
       
   336 //! @SYMTestCaseDesc            GetNextPixelRun of the CPolygonFiller object constructed with a point
       
   337 //! @SYMTestActions             1. Create a CPolygonFiller object by Construct(<TPoint>*, TInt, EAlternate,EGetAllPixelRunsSequentially)
       
   338 //!                              1.1 Set the list of points of the new polygon:(0,0),(0,0),(0,0),(0,0).
       
   339 //!                              1.2 Set the fill rule: EAlternate
       
   340 //!                              1.3 Set the polygon algorithm: EGetAllPixelRunsSequentially
       
   341 //!                             2. GetNextPixelRun
       
   342 //!                             3. Destroy the object
       
   343 //! @SYMTestStatus              Implemented
       
   344 //! @SYMTestPriority            High
       
   345 //! @SYMTestExpectedResults     The GetNextPixelRun call should return the initial scan line correctly as expected.
       
   346 //! @SYMTestType                CIT
       
   347     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   348         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   349         COMMAND                 polygonfiller                new     
       
   350         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0015-0001-Construct_Command02   
       
   351         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0015-0001-GetNextPixelRun_Command03
       
   352     	COMMAND					polygonfiller				 ~
       
   353     END_TEST_BLOCK    
       
   354 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0015
       
   355 
       
   356 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0016
       
   357 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0016
       
   358 //! @SYMAPI     				CPolygonFiller::GetNextPixelRun(TBool{ref},TInt{ref},TInt{ref},TInt{ref})              
       
   359 //! @SYMAuthor                  DorothyZhang
       
   360 //! @SYMCreationDate            04/12/2008
       
   361 //! @SYMTestCaseDesc            GetNextPixelRun of the CPolygonFiller object constructed with polygon in negative area
       
   362 //! @SYMTestActions             1. Create a CPolygonFiller object by Construct(<TPoint>*, TInt, EAlternate, EGetAllPixelRunsSequentially)
       
   363 //!                              1.1 Set the lisf of points of the new polygon in negative area: (-10,-10),(-20,-20),(-10,-20),(0,0).
       
   364 //!                              1.2 Set the fill rule: EAlternate
       
   365 //!                              1.3 Set the polygon algorithm: EGetAllPixelRunsSequentially
       
   366 //!                             2. GetNextPixelRun of the object
       
   367 //!                             3. Destroy the object
       
   368 //! @SYMTestStatus              Implemented
       
   369 //! @SYMTestPriority            High
       
   370 //! @SYMTestExpectedResults     The GetNextPixelRun call should return the initial scan line, the start and end position on the scan line correctly as expected
       
   371 //! @SYMTestType                CIT
       
   372     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   373         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   374         COMMAND                 polygonfiller                new     
       
   375         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0016-0001-Construct_Command02   
       
   376         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0016-0001-GetNextPixelRun_Command03
       
   377     	COMMAND					polygonfiller				 ~
       
   378     END_TEST_BLOCK    
       
   379 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0016
       
   380 
       
   381 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0017
       
   382 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0017
       
   383 //! @SYMAPI     				CPolygonFiller::GetNextPixelRun(TBool{ref},TInt{ref},TInt{ref},TInt{ref})               
       
   384 //! @SYMAuthor                  DorothyZhang
       
   385 //! @SYMCreationDate            04/12/2008
       
   386 //! @SYMTestCaseDesc            GetNextPixelRun of the object constructed with 13 sides polygon
       
   387 //! @SYMTestActions             1. Create a CPolygonFiller object with the type: TPoint, EAlternate,EGetAllPixelRunsSequentially
       
   388 //!                              1.1 Set the lisf of points of the 13 sides polygon: (30,100),(30,60),(60,30),(90,60),(120,30),(150,60),(180,30),(210,60),(240,30),(270,60),(300,30),(330,60),(330,100)
       
   389 //!                              1.2 Set the fill rule: EAlternate
       
   390 //!                              1.3 Set the polygon algorithm: EGetAllPixelRunsSequentially
       
   391 //!                             2. GetNextPixelRun of the object.
       
   392 //!                             3. Destroy the object.
       
   393 //! @SYMTestStatus              Implemented
       
   394 //! @SYMTestPriority            High
       
   395 //! @SYMTestExpectedResults     The return values of GetNextPixelRun are as expected.
       
   396 //! @SYMTestType                CIT
       
   397     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   398         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   399         COMMAND                 polygonfiller                new     
       
   400         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0017-0001-Construct_Command02   
       
   401         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0017-0001-GetNextPixelRun_Command03
       
   402     	COMMAND					polygonfiller				 ~
       
   403     END_TEST_BLOCK    
       
   404 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0017
       
   405 
       
   406 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0020
       
   407 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0020
       
   408 //! @SYMAPI     				CPolygonFiller::GetNextPixelRunOnSpecifiedScanLine(TBool{ref},TInt,TInt{ref},TInt{ref})               
       
   409 //! @SYMAuthor                  DorothyZhang
       
   410 //! @SYMCreationDate            04/12/2008
       
   411 //! @SYMTestCaseDesc            GetNextPixelRunOnSpecifiedScanLine of the CPolygonFiller object constructed with polygon in square shape using EAlternate fill rule
       
   412 //! @SYMTestActions             1. Create a CPolygonFiller object by Construct(<TPoint>*, TInt, EAlternate,EGetAllPixelRunsSequentially)
       
   413 //!                              1.1 Set the list of points of the new polygon:(50,50),(100,50),(100,100),(50,100)
       
   414 //!                              1.2 Set the fill rule of the polygon: EAlternate
       
   415 //!                              1.3 Set the polygon algorithm: EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   416 //!                             2. GetNextPixelRunOnSpecifiedScanLine of the object.
       
   417 //!                              2.1 Specifiy the scan line: 60.
       
   418 //!                              2.2 GetNextPixelRunOnSpecifiedScanLine of the object.
       
   419 //!                             3. Destroy the object.
       
   420 //! @SYMTestStatus              Implemented
       
   421 //! @SYMTestPriority            High
       
   422 //! @SYMTestExpectedResults     The GetNextPixelRunOnSpecifiedScanLine call should return the start and end position on the scan line correctly as expected.
       
   423 //! @SYMTestType                CIT
       
   424     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   425         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   426         COMMAND                 polygonfiller                new     
       
   427         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0020-0001-Construct_Command02   
       
   428         COMMAND 				polygonfiller				 GetNextPixelRunOnSpecifiedScanLine GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0020-0001-GetNextPixelRunOnSpecifiedScanLine_Command03
       
   429     	COMMAND					polygonfiller				 ~
       
   430     END_TEST_BLOCK    
       
   431 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0020
       
   432 
       
   433 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0021
       
   434 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0021
       
   435 //! @SYMAPI     				CPolygonFiller::GetNextPixelRunOnSpecifiedScanLine(TBool{ref},TInt,TInt{ref},TInt{ref})               
       
   436 //! @SYMAuthor                  DorothyZhang
       
   437 //! @SYMCreationDate            04/12/2008
       
   438 //! @SYMTestCaseDesc            GetNextPixelRunOnSpecifiedScanLine of the CPolygonFiller object constructed with polygon in square shape using EWinding fill rule
       
   439 //! @SYMTestActions             1. Create a CPolygonFiller object by Construct(<TPoint>*,TInt,EAlternate,EGetAllPixelRunsSequentially)
       
   440 //!                              1.1 Set the list of points of the new polygon:(50,50),(100,50),(100,100),(50,100)
       
   441 //!                              1.2 Set the fill rule of the polygon: EWinding
       
   442 //!                              1.3 Set the polygon algorithm: EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   443 //!                             2. GetNextPixelRunOnSpecifiedScanLine of the object.
       
   444 //!                              2.1 Specifiy the scan line: 60.
       
   445 //!                              2.2 GetNextPixelRunOnSpecifiedScanLine of the object.
       
   446 //!                             3. Destroy the object.
       
   447 //! @SYMTestStatus              Implemented
       
   448 //! @SYMTestPriority            High
       
   449 //! @SYMTestExpectedResults     The GetNextPixelRunOnSpecifiedScanLine call should return the start and end position on the scan line correctly as expected.
       
   450 //! @SYMTestType                CIT
       
   451     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   452         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   453         COMMAND                 polygonfiller                new     
       
   454         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0021-0001-Construct_Command02   
       
   455         COMMAND 				polygonfiller				 GetNextPixelRunOnSpecifiedScanLine GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0021-0001-GetNextPixelRunOnSpecifiedScanLine_Command03
       
   456     	COMMAND					polygonfiller				 ~
       
   457     END_TEST_BLOCK    
       
   458 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0021
       
   459 
       
   460 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0022
       
   461 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0022
       
   462 //! @SYMAPI     				CPolygonFiller::GetNextPixelRunOnSpecifiedScanLine(TBool{ref},TInt,TInt{ref},TInt{ref})              
       
   463 //! @SYMAuthor                  Dorothy Zhang
       
   464 //! @SYMCreationDate            04/12/2008
       
   465 //! @SYMTestCaseDesc            GetNextPixelRunOnSpecifiedScanLine of the CPolygonFiller object constructed with polygon in Horizontal shape  
       
   466 //! @SYMTestActions             1. Create a CPolygonFiller object by Construct(<TPoint>*, TInt, EAlternate,EGetAllPixelRunsSequentially)
       
   467 //!                              1.1 Set the list of points of the new polygon, a horizontal line:{(50,100),(60,100),(70,100),(80,100)}
       
   468 //!                              1.2 Set the fill rule of the polygon: EAlternate
       
   469 //!                              1.3 Set the polygon algorithm: EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   470 //!                             2. GetNextPixelRunOnSpecifiedScanLine
       
   471 //!                              2.1 Specifiy the scan line: 100.
       
   472 //!                              2.2 GetNextPixelRunOnSpecifiedScanLine of the object.
       
   473 //!                             3. Destroy the object.
       
   474 //! @SYMTestStatus              Implemented
       
   475 //! @SYMTestPriority            High
       
   476 //! @SYMTestExpectedResults     The GetNextPixelRunOnSpecifiedScanLine call should return the start and end position on the specified scan line correctly as expected.
       
   477 //! @SYMTestType                CIT
       
   478     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   479         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   480         COMMAND                 polygonfiller                new     
       
   481         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0022-0001-Construct_Command02   
       
   482         COMMAND 				polygonfiller				 GetNextPixelRunOnSpecifiedScanLine GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0022-0001-GetNextPixelRunOnSpecifiedScanLine_Command03
       
   483     	COMMAND					polygonfiller				 ~
       
   484     END_TEST_BLOCK    
       
   485 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0022
       
   486 
       
   487 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0023
       
   488 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0023
       
   489 //! @SYMAPI     				CPolygonFiller::GetNextPixelRunOnSpecifiedScanLine(TBool{ref},TInt,TInt{ref},TInt{ref})               
       
   490 //! @SYMAuthor                  Dorothy Zhang
       
   491 //! @SYMCreationDate            04/12/2008
       
   492 //! @SYMTestCaseDesc            GetNextPixelRunOnSpecifiedScanLine of the CPolygonFiller constructed with polygon in Vertical shape
       
   493 //! @SYMTestActions             1. Create a CPolygonFiller with polygon a vertical line by Construct(<TPoint>*, TInt, EAlternate,EGetAllPixelRunsSequentially)
       
   494 //!                              1.1 Set the list of points of the new polygon, a vertical line: (50,50),(50,60),(50,80),(50,120).
       
   495 //!                              1.2 Set the fill rule of the polygon: EWinding
       
   496 //!                              1.3 Set the polygon algorithm: EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   497 //!                             2. GetNextPixelRunOnSpecifiedScanLine of the object.
       
   498 //!                              2.1 Specifiy the scan line: 60.
       
   499 //!                              2.2 GetNextPixelRunOnSpecifiedScanLine of the object.
       
   500 //!                             3. Destroy the object.
       
   501 //! @SYMTestStatus              Implemented
       
   502 //! @SYMTestPriority            High
       
   503 //! @SYMTestExpectedResults     The GetNextPixelRunOnSpecifiedScanLine call should return the start and end position on the specified scan line correctly as expected.
       
   504 //! @SYMTestType                CIT
       
   505     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   506         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   507         COMMAND                 polygonfiller                new     
       
   508         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0023-0001-Construct_Command02   
       
   509         COMMAND 				polygonfiller				 GetNextPixelRunOnSpecifiedScanLine GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0023-0001-GetNextPixelRunOnSpecifiedScanLine_Command03
       
   510     	COMMAND					polygonfiller				 ~
       
   511     END_TEST_BLOCK    
       
   512 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0023
       
   513 
       
   514 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0024
       
   515 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0024
       
   516 //! @SYMAPI     				CPolygonFiller::GetNextPixelRunOnSpecifiedScanLine(TBool{ref},TInt,TInt{ref},TInt{ref})                
       
   517 //! @SYMAuthor                  Dorothy Zhang
       
   518 //! @SYMCreationDate            04/12/2008
       
   519 //! @SYMTestCaseDesc            GetNextPixelRunOnSpecifiedScanLine of the CPolygonFiller object constructed with a single point
       
   520 //! @SYMTestActions             1. Create a CPolygonFiller with polygon by Construct(<TPoint>*, TInt, EWinding,EGetAllPixelRunsSequentially)
       
   521 //!                              1.1 Set the list of points of the new polygon: (0,0),(0,0),(0,0),(0,0).
       
   522 //!                              1.2 Set the fill rule of the polygon: EWinding
       
   523 //!                              1.3 Set the polygon algorithm: EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   524 //!                             2. GetNextPixelRunOnSpecifiedScanLine of the object.
       
   525 //!                              2.1 Specifiy the scan line: 0.
       
   526 //!                              2.2 GetNextPixelRunOnSpecifiedScanLine of the object.
       
   527 //!                             3. Destroy the object.
       
   528 //! @SYMTestStatus              Implemented
       
   529 //! @SYMTestPriority            High
       
   530 //! @SYMTestExpectedResults    The GetNextPixelRunOnSpecifiedScanLine call should return the start and end position on the specified scan line correctly as expected.
       
   531 //! @SYMTestType                CIT
       
   532     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   533         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   534         COMMAND                 polygonfiller                new     
       
   535         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0024-0001-Construct_Command02   
       
   536         COMMAND 				polygonfiller				 GetNextPixelRunOnSpecifiedScanLine GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0024-0001-GetNextPixelRunOnSpecifiedScanLine_Command03
       
   537     	COMMAND					polygonfiller				 ~
       
   538     END_TEST_BLOCK    
       
   539 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0024
       
   540 
       
   541 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0025
       
   542 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0025
       
   543 //! @SYMAPI     				CPolygonFiller::GetNextPixelRunOnSpecifiedScanLine(TBool{ref},TInt,TInt{ref},TInt{ref})                
       
   544 //! @SYMAuthor                  Dorothy Zhang
       
   545 //! @SYMCreationDate            04/12/2008
       
   546 //! @SYMTestCaseDesc            GetNextPixelRunOnSpecifiedScanLine of the CPolygonFiller object constructed with polygon in negative area
       
   547 //! @SYMTestActions             1. Create a CPolygonFiller with polygon by Construct(<TPoint>*, TInt, EWinding,EGetAllPixelRunsSequentially)
       
   548 //!                              1.1 Set the list of points of the new polygon: (-10,-10),(-20,-20),(-10,-20),(0,0).
       
   549 //!                              1.2 Set the fill rule of the polygon: EWinding
       
   550 //!                              1.3 Set the polygon algorithm: EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   551 //!                             2. GetNextPixelRunOnSpecifiedScanLine of the object.
       
   552 //!                              2.1 Specifiy the scan line: -15.
       
   553 //!                              2.2 GetNextPixelRunOnSpecifiedScanLine of the object.
       
   554 //!                             3. Destroy the object.
       
   555 //! @SYMTestStatus              Implemented
       
   556 //! @SYMTestPriority            High
       
   557 //! @SYMTestExpectedResults     The GetNextPixelRunOnSpecifiedScanLine call should return the start and end position on the specified scan line correctly as expected.
       
   558 //! @SYMTestType                CIT
       
   559     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   560         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   561         COMMAND                 polygonfiller                new     
       
   562         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0025-0001-Construct_Command02   
       
   563         COMMAND 				polygonfiller				 GetNextPixelRunOnSpecifiedScanLine GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0025-0001-GetNextPixelRunOnSpecifiedScanLine_Command03
       
   564     	COMMAND					polygonfiller				 ~
       
   565     END_TEST_BLOCK    
       
   566 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0025
       
   567 
       
   568 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0026
       
   569 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0026
       
   570 //! @SYMAPI     				CPolygonFiller::GetNextPixelRunOnSpecifiedScanLine(TBool{ref},TInt,TInt{ref},TInt{ref})                               
       
   571 //! @SYMAuthor                  Dorothy Zhang
       
   572 //! @SYMCreationDate            04/12/2008        
       
   573 //! @SYMTestCaseDesc            GetNextPixelRunOnSpecifiedScanLine of the CPolygonFiller object with the specified scan line out of the polygon range 
       
   574 //! @SYMTestActions             1. Create a CPolygonFiller with polygon by Construct(<TPoint>*, TInt, EWinding,EGetAllPixelRunsSequentially)
       
   575 //!                              1.1 Set the list of points of the new polygon in square shape: (50,50),(100,50),(100,100),(50,100)
       
   576 //!                              1.2 Set the fill rule of the polygon: EWinding
       
   577 //!                              1.3 Set the polygon algorithm: EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   578 //!                             2. GetNextPixelRunOnSpecifiedScanLine: scanline out of the range
       
   579 //!                              2.1 Specify the scan line out of the polygon range: 110
       
   580 //!                              2.2 GetNextPixelRunOnSpecifiedScanLine of the object.
       
   581 //!                             3. Destroy the object.
       
   582 //! @SYMTestStatus              Implemented
       
   583 //! @SYMTestPriority            High
       
   584 //! @SYMTestExpectedResults     The GetNextPixelRunOnSpecifiedScanLine call should return EFalse as expected.
       
   585 //! @SYMTestType                CIT
       
   586     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   587         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   588         COMMAND                 polygonfiller                new     
       
   589         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0026-0001-Construct_Command02   
       
   590         COMMAND 				polygonfiller				 GetNextPixelRunOnSpecifiedScanLine GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0026-0001-GetNextPixelRunOnSpecifiedScanLine_Command03
       
   591     	COMMAND					polygonfiller				 ~
       
   592     END_TEST_BLOCK    
       
   593 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0026
       
   594 
       
   595 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0027
       
   596 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0027
       
   597 //! @SYMAPI     				CPolygonFiller::GetNextPixelRunOnSpecifiedScanLine(TBool{ref},TInt,TInt{ref},TInt{ref})                
       
   598 //! @SYMAuthor                  Dorothy Zhang
       
   599 //! @SYMCreationDate            04/12/2008
       
   600 //! @SYMTestCaseDesc            GetNextPixelRunOnSpecifiedScanLine of the CPolygonFiller object constructed with 11 sides polygon
       
   601 //! @SYMTestActions             1. Create a CPolygonFiller with polygon by Construct(<TPoint>*, TInt, EWinding,EGetAllPixelRunsSequentially)
       
   602 //!                              1.1 Set the list of points for the new 11 sides polygon: (0,0),(60,60),(90,30),(120,60),(150,30),(180,60),(210,30),(240,60),(270,30),(300,60),(330,30)
       
   603 //!                              1.2 Set the fill rule of the polygon: EWinding
       
   604 //!                              1.3 Set the polygon algorithm: EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   605 //!                             2. GetNextPixelRunOnSpecifiedScanLine of the object.
       
   606 //!                              2.1 Specifiy the scan line: 40.
       
   607 //!                              2.2 GetNextPixelRunOnSpecifiedScanLine of the object.
       
   608 //!                             3. Destroy the object.
       
   609 //! @SYMTestStatus              Implemented
       
   610 //! @SYMTestPriority            High
       
   611 //! @SYMTestExpectedResults     The GetNextPixelRunOnSpecifiedScanLine call should return the start and end position on the specified scan line correctly.
       
   612 //! @SYMTestType                CIT
       
   613     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   614         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   615         COMMAND                 polygonfiller                new     
       
   616         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0027-0001-Construct_Command02   
       
   617         COMMAND 				polygonfiller				 GetNextPixelRunOnSpecifiedScanLine GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0027-0001-GetNextPixelRunOnSpecifiedScanLine_Command03
       
   618     	COMMAND					polygonfiller				 ~
       
   619     END_TEST_BLOCK    
       
   620 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0027
       
   621 
       
   622 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0028
       
   623 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0028
       
   624 //! @SYMAPI     				CPolygonFiller::Reset()
       
   625 //! @SYMAuthor                  Dorothy Zhang
       
   626 //! @SYMCreationDate            04/12/2008   
       
   627 //! @SYMTestCaseDesc            Rest the CPolygonFiller object constructed using EGetAllPixelRunsSequentially
       
   628 //! @SYMTestActions             1. Create a CPolygonFiller with polygon by Construct(<TPoint>*, TInt, EWinding,EGetAllPixelRunsSequentially)
       
   629 //!                              1.1 Set the list of points of the new polygon in square shape: (50,50),(100,50),(100,100),(50,100)
       
   630 //!                              1.2 Set the fill rule of the polygon: EWinding
       
   631 //!                              1.3 Set the polygon algorithm: EGetAllPixelRunsSequentially
       
   632 //!                             2. GetNextPixelRun of the object
       
   633 //!                             3. Reset 
       
   634 //!                             4. GetNextPixelRun of the object
       
   635 //!                             5. Destroy the object
       
   636 //! @SYMTestStatus              Implemented
       
   637 //! @SYMTestPriority            High
       
   638 //! @SYMTestExpectedResults     1. The Reset() call should not cause any panic.
       
   639 //!                             2. The second GetNextPixelRun call should return the initial scan line and the start and end position on the scan line as expected.
       
   640 //! @SYMTestType                CIT
       
   641     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   642         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   643         COMMAND                 polygonfiller                new     
       
   644         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0028-0001-Construct_Command02   
       
   645         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0028-0001-GetNextPixelRun_Command03
       
   646         COMMAND                 polygonfiller                Reset
       
   647         COMMAND 				polygonfiller				 GetNextPixelRun GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0028-0001-GetNextPixelRun_Command05
       
   648     	COMMAND					polygonfiller				 ~
       
   649     END_TEST_BLOCK    
       
   650 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0028
       
   651 
       
   652 START_TESTCASE                  GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0029
       
   653 //! @SYMTestCaseID              GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0029
       
   654 //! @SYMAPI     				CPolygonFiller::Reset()
       
   655 //! @SYMAuthor                  Dorothy Zhang
       
   656 //! @SYMCreationDate            04/12/2008   
       
   657 //! @SYMTestCaseDesc            Reset the CPolygonFiller object constructed using EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   658 //! @SYMTestActions             1. Create a CPolygonFiller object by Construct(<TPoint>*, TInt, EAlternate, EGetAllPixelRunsSequentially)
       
   659 //!                              1.1 Set the list of points of the new polygon in square shape: (50,50),(100,50),(100,100),(50,100)
       
   660 //!                              1.2 Set the fill rule of the polygon: EWinding
       
   661 //!                              1.3 Set the polygon algorithm: EGetPixelRunsSequentiallyForSpecifiedScanLines
       
   662 //!                             2. GetNextPixelRunOnSpecifiedScanLine of the object.
       
   663 //!                              2.1 Specify the scan line: 50
       
   664 //!                              2.2 GetNextPixelRunOnSpecifiedScanLine.
       
   665 //!                             3. Reset 
       
   666 //!                             4. GetNextPixelRunOnSpecifiedScanLine of the object.
       
   667 //!                              4.1 Specify the scan line: 50
       
   668 //!                              4.2 GetNextPixelRunOnSpecifiedScanLine
       
   669 //!                             5. Destory the object.
       
   670 //! @SYMTestStatus              Implemented
       
   671 //! @SYMTestPriority            High
       
   672 //! @SYMTestExpectedResults     1. The Reset() Call should not cause any panic.
       
   673 //!                             2. The second GetNextPixelRunOnSpecifiedScanLine() call should return EFalse as expected.
       
   674 //! @SYMTestType                CIT
       
   675     START_TEST_BLOCK            10    T_GraphicsBitgdiApi      c:\graphics\GRAPHICS-BITGDI-PolygonFiller-PublicAPI.ini
       
   676         CREATE_OBJECT           CPolygonFiller               polygonfiller
       
   677         COMMAND                 polygonfiller                new     
       
   678         COMMAND					polygonfiller				 Construct 		 GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0029-0001-Construct_Command02   
       
   679         COMMAND 				polygonfiller				 GetNextPixelRunOnSpecifiedScanLine GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0029-0001-GetNextPixelRunOnSpecifiedScanLine_Command03
       
   680         COMMAND                 polygonfiller                Reset
       
   681         COMMAND 				polygonfiller				 GetNextPixelRunOnSpecifiedScanLine GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0029-0001-GetNextPixelRunOnSpecifiedScanLine_Command05
       
   682     	COMMAND					polygonfiller				 ~
       
   683     END_TEST_BLOCK    
       
   684 END_TESTCASE                    GRAPHICS-BITGDI-PolygonFiller-PublicAPI-0029
       
   685 
       
   686