os/boardsupport/haitest/bspsvs/suite/bsp/lcd/scripts/base-bsp-screen-driver-mode-automated.script
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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  BASE-BSP-SCREEN-DRIVER-MODE_AUTOMATED
    18 //! @SYMScriptTestEnvironment This test script requires a base rom image
    19 
    20 
    21 /////////////////////////////////////////////////////////////////////
    22 // BASE-BSP-SCREEN-DRIVER-MODE_AUTOMATED.script
    23 //
    24 // Tests public LCD attributes through HAL class
    25 // as a means of confidence that the HAI APIs work as expected.
    26 //
    27 // Tests are validated through HAL::Get value to check set values and some values are validated
    28 // against Env (t_screen.ini) file
    29 //
    30 // The purpose is to provide a regression test suite for TDisplayHalFunction.
    31 // Negative testing is performed to confirm that correct errors are returned when incorrect parameters are given.
    32 // The tests are fully automated.
    33 /////////////////////////////////////////////////////////////////////
    34 
    35 LOAD_SUITE	T_Screen
    36 
    37 START_TESTCASE 			BASE-BSP-SCREEN-DRIVER-AUTOMATED-0001
    38 //! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-AUTOMATED-0001
    39 //! @SYMAPI			Hal::Get(EDisplayMode)
    40 //! @SYMAuthor			John Bower
    41 //! @SYMCreationDate		16/06/2008
    42 //! @SYMTestCaseDesc		Verify Memory Address - Attain memory address of video and verify it is the same as 
    43 //!				specified value in configuration file
    44 //!				Uses API elements:
    45 //!				HAL::Get, EDisplayMode
    46 //!				HAL::Get, EDisplayHalSetMode, EDisplayXPixels, EDisplayYPixels
    47 //!					EDisplayMemoryAddress, EDisplayOffsetBetweenLines, EDisplayOffsetToFirstPixel
    48 //!					EDisplayBitsPerPixel, EDisplayIsPalettized
    49 //! @SYMTestActions    		1. Create Hal Handle object.
    50 //!				2. Get the display Mode
    51 //!				3. Get Screen horizontal dimension in pixels
    52 //!				4. Get Screen vertical dimension in pixels
    53 //!				5. Get Address of Display Memory
    54 //!				6. Get Offset between lines
    55 //!				7. Get Display offset to the first pixel
    56 //!				8. Get Display Bits per pixel
    57 //!				9. Get palettized flag
    58 //!				10.Destroy the object
    59 //! @SYMTestStatus		Implemented
    60 //! @SYMTestPriority		high
    61 //! @SYMTestExpectedResults  	Red colour on the screen.
    62 //! @SYMTestType		CIT
    63 	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODE.ini
    64 		CREATE_OBJECT	LCD	lcd1
    65 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-Test-EDisplayMode
    66 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-Test-EDisplayXPixels
    67 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-Test-EDisplayYPixels
    68 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-Test-EDisplayMemoryAddress
    69 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-Test-EDisplayOffsetBetweenLines
    70 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-Test-EDisplayOffsetToFirstPixel
    71 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-Test-EDisplayBitsPerPixel
    72 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-Test-EDisplayIsPalettized
    73 	END_TEST_BLOCK
    74 END_TESTCASE 			BASE-BSP-SCREEN-DRIVER-AUTOMATED-0001
    75 
    76 START_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_AUTOMATED-0001
    77 //! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-SCREEN0_AUTOMATED-0001
    78 //! @SYMAPI			Hal::Get(EDisplayMode)
    79 //! @SYMAuthor			John Bower
    80 //! @SYMCreationDate		19/11/2007
    81 //! @SYMTestCaseDesc		Verify Memory Address - Attain memory address of video and verify it is the same as 
    82 //!				specified value in configuration file
    83 //!				Uses API elements:
    84 //!				HAL::Get, EDisplayMode
    85 //!				HAL::Get, EDisplayHalSetMode, EDisplayXPixels, EDisplayYPixels
    86 //!					EDisplayMemoryAddress, EDisplayOffsetBetweenLines, EDisplayOffsetToFirstPixel
    87 //!					EDisplayBitsPerPixel, EDisplayIsPalettized
    88 //! @SYMTestActions    		1. Create Hal Handle object.
    89 //!				2. Get the display Mode
    90 //!				3. Get Screen horizontal dimension in pixels
    91 //!				4. Get Screen vertical dimension in pixels
    92 //!				5. Get Address of Display Memory
    93 //!				6. Get Offset between lines
    94 //!				7. Get Display offset to the first pixel
    95 //!				8. Get Display Bits per pixel
    96 //!				9. Get palettized flag
    97 //!				10.Destroy the object
    98 //! @SYMTestStatus		Implemented
    99 //! @SYMTestPriority		high
   100 //! @SYMTestExpectedResults  	Red colour on the screen.
   101 //! @SYMTestType		CIT
   102 	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODE.ini
   103 		CREATE_OBJECT	LCD	lcd1
   104 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayMode
   105 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayXPixels
   106 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayYPixels
   107 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayMemoryAddress
   108 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayOffsetBetweenLines
   109 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayOffsetToFirstPixel
   110 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayBitsPerPixel
   111 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayIsPalettized
   112 	END_TEST_BLOCK
   113 END_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_AUTOMATED-0001
   114 
   115 START_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0_AUTOMATED-0001
   116 //! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0_AUTOMATED-0001
   117 //! @SYMAPI			Hal::Set(EDisplayMode)
   118 //! @SYMAuthor			John Bower
   119 //! @SYMCreationDate		19/11/2007
   120 //! @SYMTestCaseDesc		Verify Memory Address - Attain memory address of video and verify it is the same as 
   121 //!				specified value in configuration file and set display mode0
   122 //!				HAL::Set, EDisplayMode
   123 //!				HAL::Get, EDisplayHalSetMode, EDisplayXPixels, EDisplayYPixels
   124 //!					EDisplayMemoryAddress, EDisplayOffsetBetweenLines, EDisplayOffsetToFirstPixel
   125 //!					EDisplayBitsPerPixel, EDisplayIsPalettized
   126 //! @SYMTestActions    		1. Create Hal Handle object.
   127 //!				2. Set the display Mode
   128 //!				3. Get Screen horizontal dimension in pixels
   129 //!				4. Get Screen vertical dimension in pixels
   130 //!				5. Get Address of Display Memory
   131 //!				6. Get Offset between lines
   132 //!				7. Get Display offset to the first pixel
   133 //!				8. Get Display Bits per pixel
   134 //!				9. Get palettized flag
   135 //!				10.Destroy the object
   136 //! @SYMTestStatus		Implemented
   137 //! @SYMTestPriority		high
   138 //! @SYMTestExpectedResults  	Red colour on the screen.
   139 //! @SYMTestType		CIT
   140 	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODE.ini
   141 		CREATE_OBJECT	LCD	lcd1
   142 		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0-Test-EDisplayMode
   143 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0-Test-EDisplayXPixels
   144 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0-Test-EDisplayYPixels
   145 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0-Test-EDisplayMemoryAddress
   146 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0-Test-EDisplayOffsetBetweenLines
   147 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0-Test-EDisplayOffsetToFirstPixel
   148 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0-Test-EDisplayBitsPerPixel
   149 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0-Test-EDisplayIsPalettized
   150 		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayMode
   151 	END_TEST_BLOCK
   152 END_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE0_AUTOMATED-0001
   153 
   154 START_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1_AUTOMATED-0001
   155 //! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1_AUTOMATED-0001
   156 //! @SYMAPI			Hal::Set(EDisplayMode)
   157 //! @SYMAuthor			John Bower
   158 //! @SYMCreationDate		19/11/2007
   159 //! @SYMTestCaseDesc		Verify Memory Address - Attain memory address of video and verify it is the same as 
   160 //!				specified value in configuration file and set display mode1
   161 //!				HAL::Set, EDisplayMode
   162 //!				HAL::Get, EDisplayHalSetMode, EDisplayXPixels, EDisplayYPixels
   163 //!					EDisplayMemoryAddress, EDisplayOffsetBetweenLines, EDisplayOffsetToFirstPixel
   164 //!					EDisplayBitsPerPixel, EDisplayIsPalettized
   165 //! @SYMTestActions    		1. Create Hal Handle object.
   166 //!				2. Set the display Mode
   167 //!				3. Get Screen horizontal dimension in pixels
   168 //!				4. Get Screen vertical dimension in pixels
   169 //!				5. Get Address of Display Memory
   170 //!				6. Get Offset between lines
   171 //!				7. Get Display offset to the first pixel
   172 //!				8. Get Display Bits per pixel
   173 //!				9. Get palettized flag
   174 //!				10.Destroy the object
   175 //! @SYMTestStatus		Implemented
   176 //! @SYMTestPriority		high
   177 //! @SYMTestExpectedResults  	Red colour on the screen.
   178 //! @SYMTestType		CIT
   179 	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODE.ini
   180 		CREATE_OBJECT	LCD	lcd1
   181 		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1-Test-EDisplayMode
   182 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1-Test-EDisplayXPixels
   183 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1-Test-EDisplayYPixels
   184 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1-Test-EDisplayMemoryAddress
   185 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1-Test-EDisplayOffsetBetweenLines
   186 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1-Test-EDisplayOffsetToFirstPixel
   187 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1-Test-EDisplayBitsPerPixel
   188 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1-Test-EDisplayIsPalettized
   189 		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayMode
   190 	END_TEST_BLOCK
   191 END_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE1_AUTOMATED-0001
   192 
   193 START_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2_AUTOMATED-0001
   194 //! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2_AUTOMATED-0001
   195 //! @SYMAPI			Hal::Set(EDisplayMode)
   196 //! @SYMAuthor			John Bower
   197 //! @SYMCreationDate		19/11/2007
   198 //! @SYMTestCaseDesc		Verify Memory Address - Attain memory address of video and verify it is the same as 
   199 //!				specified value in configuration file and set display mode2
   200 //!				HAL::Set, EDisplayMode
   201 //!				HAL::Get, EDisplayHalSetMode, EDisplayXPixels, EDisplayYPixels
   202 //!					EDisplayMemoryAddress, EDisplayOffsetBetweenLines, EDisplayOffsetToFirstPixel
   203 //!					EDisplayBitsPerPixel, EDisplayIsPalettized
   204 //! @SYMTestActions    		1. Create Hal Handle object.
   205 //!				2. Set the display Mode
   206 //!				3. Get Screen horizontal dimension in pixels
   207 //!				4. Get Screen vertical dimension in pixels
   208 //!				5. Get Address of Display Memory
   209 //!				6. Get Offset between lines
   210 //!				7. Get Display offset to the first pixel
   211 //!				8. Get Display Bits per pixel
   212 //!				9. Get palettized flag
   213 //!				10.Destroy the object
   214 //! @SYMTestStatus		Implemented
   215 //! @SYMTestPriority		high
   216 //! @SYMTestExpectedResults  	Red colour on the screen.
   217 //! @SYMTestType		CIT
   218 	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODE.ini
   219 		CREATE_OBJECT	LCD	lcd1
   220 		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2-Test-EDisplayMode
   221 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2-Test-EDisplayXPixels
   222 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2-Test-EDisplayYPixels
   223 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2-Test-EDisplayMemoryAddress
   224 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2-Test-EDisplayOffsetBetweenLines
   225 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2-Test-EDisplayOffsetToFirstPixel
   226 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2-Test-EDisplayBitsPerPixel
   227 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2-Test-EDisplayIsPalettized
   228 		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayMode
   229 	END_TEST_BLOCK
   230 END_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE2_AUTOMATED-0001
   231 
   232 
   233 START_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3_AUTOMATED-0001
   234 //! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3_AUTOMATED-0001
   235 //! @SYMAPI			Hal::Set(EDisplayMode)
   236 //! @SYMAuthor			John Bower
   237 //! @SYMCreationDate		19/11/2007
   238 //! @SYMTestCaseDesc		Verify Memory Address - Attain memory address of video and verify it is the same as 
   239 //!				specified value in configuration file and set display mode3
   240 //!				HAL::Set, EDisplayMode
   241 //!				HAL::Get, EDisplayHalSetMode, EDisplayXPixels, EDisplayYPixels
   242 //!					EDisplayMemoryAddress, EDisplayOffsetBetweenLines, EDisplayOffsetToFirstPixel
   243 //!					EDisplayBitsPerPixel, EDisplayIsPalettized
   244 //! @SYMTestActions    		1. Create Hal Handle object.
   245 //!				2. Set the display Mode
   246 //!				3. Get Screen horizontal dimension in pixels
   247 //!				4. Get Screen vertical dimension in pixels
   248 //!				5. Get Address of Display Memory
   249 //!				6. Get Offset between lines
   250 //!				7. Get Display offset to the first pixel
   251 //!				8. Get Display Bits per pixel
   252 //!				9. Get palettized flag
   253 //!				10.Destroy the object
   254 //! @SYMTestStatus		Implemented
   255 //! @SYMTestPriority		high
   256 //! @SYMTestExpectedResults  	Red colour on the screen.
   257 //! @SYMTestType		CIT
   258 	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODE.ini
   259 		CREATE_OBJECT	LCD	lcd1
   260 		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3-Test-EDisplayMode
   261 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3-Test-EDisplayXPixels
   262 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3-Test-EDisplayYPixels
   263 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3-Test-EDisplayMemoryAddress
   264 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3-Test-EDisplayOffsetBetweenLines
   265 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3-Test-EDisplayOffsetToFirstPixel
   266 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3-Test-EDisplayBitsPerPixel
   267 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3-Test-EDisplayIsPalettized
   268 		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayMode
   269 	END_TEST_BLOCK
   270 END_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE3_AUTOMATED-0001
   271 
   272 
   273 START_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4_AUTOMATED-0001
   274 //! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4_AUTOMATED-0001
   275 //! @SYMAPI			Hal::Set(EDisplayMode)
   276 //! @SYMAuthor			John Bower
   277 //! @SYMCreationDate		19/11/2007
   278 //! @SYMTestCaseDesc		Verify Memory Address - Attain memory address of video and verify it is the same as 
   279 //!				specified value in configuration file and set display mode4
   280 //!				HAL::Set, EDisplayMode
   281 //!				HAL::Get, EDisplayHalSetMode, EDisplayXPixels, EDisplayYPixels
   282 //!					EDisplayMemoryAddress, EDisplayOffsetBetweenLines, EDisplayOffsetToFirstPixel
   283 //!					EDisplayBitsPerPixel, EDisplayIsPalettized
   284 //! @SYMTestActions    		1. Create Hal Handle object.
   285 //!				2. Set the display Mode
   286 //!				3. Get Screen horizontal dimension in pixels
   287 //!				4. Get Screen vertical dimension in pixels
   288 //!				5. Get Address of Display Memory
   289 //!				6. Get Offset between lines
   290 //!				7. Get Display offset to the first pixel
   291 //!				8. Get Display Bits per pixel
   292 //!				9. Get palettized flag
   293 //!				10.Destroy the object
   294 //! @SYMTestStatus		Implemented
   295 //! @SYMTestPriority		high
   296 //! @SYMTestExpectedResults  	Red colour on the screen.
   297 //! @SYMTestType		CIT
   298 	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODE.ini
   299 		CREATE_OBJECT	LCD	lcd1
   300 		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4-Test-EDisplayMode
   301 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4-Test-EDisplayXPixels
   302 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4-Test-EDisplayYPixels
   303 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4-Test-EDisplayMemoryAddress
   304 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4-Test-EDisplayOffsetBetweenLines
   305 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4-Test-EDisplayOffsetToFirstPixel
   306 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4-Test-EDisplayBitsPerPixel
   307 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4-Test-EDisplayIsPalettized
   308 		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-SCREEN0-Test-EDisplayMode
   309 	END_TEST_BLOCK
   310 END_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN0_MODE4_AUTOMATED-0001
   311 
   312 
   313 START_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN1_AUTOMATED-0001
   314 //! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-SCREEN1_AUTOMATED-0001
   315 //! @SYMAPI			Hal::Get(EDisplayMode)
   316 //! @SYMAuthor			John Bower			
   317 //! @SYMCreationDate		16/06/2008
   318 //! @SYMTestCaseDesc		Verify Memory Address - Attain memory address of video and verify it is the same as 
   319 //!				specified value in configuration file
   320 //!				Uses API elements:
   321 //!				HAL::Get, EDisplayMode
   322 //!				HAL::Get, EDisplayHalSetMode, EDisplayXPixels, EDisplayYPixels
   323 //!					EDisplayMemoryAddress, EDisplayOffsetBetweenLines, EDisplayOffsetToFirstPixel
   324 //!					EDisplayBitsPerPixel, EDisplayIsPalettized
   325 //! @SYMTestActions    		1. Create Hal Handle object.
   326 //!				2. Get the display Mode
   327 //!				3. Get Screen horizontal dimension in pixels
   328 //!				4. Get Screen vertical dimension in pixels
   329 //!				5. Get Address of Display Memory
   330 //!				6. Get Offset between lines
   331 //!				7. Get Display offset to the first pixel
   332 //!				8. Get Display Bits per pixel
   333 //!				9. Get palettized flag
   334 //!				10.Destroy the object
   335 //! @SYMTestStatus		Implemented
   336 //! @SYMTestPriority		high
   337 //! @SYMTestExpectedResults  	Memory address from configuration file matches the one attained through HAL::GET
   338 //! @SYMTestType		CIT
   339 	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODE.ini
   340 		CREATE_OBJECT	LCD	lcd1
   341 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN1-Test-EDisplayMode
   342 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN1-Test-EDisplayXPixels
   343 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN1-Test-EDisplayYPixels
   344 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN1-Test-EDisplayMemoryAddress
   345 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN1-Test-EDisplayOffsetBetweenLines
   346 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN1-Test-EDisplayOffsetToFirstPixel
   347 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN1-Test-EDisplayBitsPerPixel
   348 		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-SCREEN1-Test-EDisplayIsPalettized
   349 	END_TEST_BLOCK
   350 END_TESTCASE 			BASE-BSP-SCREEN-DRIVER-SCREEN1_AUTOMATED-0001
   351 
   352