os/boardsupport/haitest/bspsvs/suite/bsp/lcd/scripts/base-bsp-screen-driver-modeless-automated.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/boardsupport/haitest/bspsvs/suite/bsp/lcd/scripts/base-bsp-screen-driver-modeless-automated.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,545 @@
     1.4 +//
     1.5 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +//
    1.19 +
    1.20 +LOAD_SUITE	T_Screen
    1.21 +
    1.22 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0001
    1.23 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0001
    1.24 +//! @SYMAPI			Hal::Set(EDisplayState)
    1.25 +//! @SYMAuthor			Saravanakumar
    1.26 +//! @SYMCreationDate		19/11/2007
    1.27 +//! @SYMTestCaseDesc		Display State Test - Set the Display State OFF on the Screen.
    1.28 +//!				Uses API elements: HAL::Set, EDisplayHalSetState
    1.29 +//! @SYMTestActions		1. Create Hal Handle object. 2. Set the display state OFF 3.Get the display state and check it is off
    1.30 +//!				4.Destroy the object
    1.31 +//! @SYMTestStatus		Implemented
    1.32 +//! @SYMTestPriority		high
    1.33 +//! @SYMTestExpectedResults  	display state OFF
    1.34 +//! @SYMTestType		CIT
    1.35 +	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
    1.36 +		CREATE_OBJECT	LCD	lcd1
    1.37 +		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-MODELESS-0001-DisplayState
    1.38 +		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-MODELESS-0001-DisplayState
    1.39 +	END_TEST_BLOCK
    1.40 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0001
    1.41 +
    1.42 +
    1.43 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0002
    1.44 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0002
    1.45 +//! @SYMAPI			Hal::Set(EDisplayState)
    1.46 +//! @SYMAuthor			Saravanakumar
    1.47 +//! @SYMCreationDate		19/11/2007
    1.48 +//! @SYMTestCaseDesc		Display State Test - Set the Display State ON on the Screen.
    1.49 +//!				Uses API elements: HAL::Set, EDisplayHalSetState
    1.50 +//! @SYMTestActions		1. Create Hal Handle object. 2. Set the display state ON 3.Get the display state and check it is on
    1.51 +//!				4.Destroy the object
    1.52 +//! @SYMTestStatus		Implemented
    1.53 +//! @SYMTestPriority		high
    1.54 +//! @SYMTestExpectedResults	display state ON
    1.55 +//! @SYMTestType		CIT
    1.56 +	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
    1.57 +		CREATE_OBJECT	LCD	lcd1
    1.58 +		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-MODELESS-0002-DisplayState
    1.59 +		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-MODELESS-0002-DisplayState
    1.60 +	END_TEST_BLOCK
    1.61 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0002
    1.62 +
    1.63 +
    1.64 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0003
    1.65 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0003
    1.66 +//! @SYMAPI			Hal::Set(EBacklightState)
    1.67 +//! @SYMAuthor			Saravanakumar
    1.68 +//! @SYMCreationDate		19/11/2007
    1.69 +//! @SYMTestCaseDesc		Backlight Test - Set Backlight state to OFF
    1.70 +//!				Uses API elements: HAL::Set, EBacklightState
    1.71 +//! @SYMTestActions		1. Create Hal Handle object. 2. Set the Backlight state OFF 3.Get the backlight state and check it is off
    1.72 +//!				4.Destroy the object
    1.73 +//! @SYMTestStatus		Implemented
    1.74 +//! @SYMTestPriority		high
    1.75 +//! @SYMTestExpectedResults	Backlight state OFF
    1.76 +//! @SYMTestType		CIT
    1.77 +	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
    1.78 +		CREATE_OBJECT	LCD	lcd1
    1.79 +		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-MODELESS-0003-BacklightState
    1.80 +		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-MODELESS-0003-BacklightState
    1.81 +	END_TEST_BLOCK
    1.82 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0003
    1.83 +
    1.84 +
    1.85 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0004
    1.86 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0004
    1.87 +//! @SYMAPI			Hal::Set(EBacklightState)
    1.88 +//! @SYMAuthor			Saravanakumar
    1.89 +//! @SYMCreationDate		19/11/2007
    1.90 +//! @SYMTestCaseDesc		Backlight Test - Set Backlight state to ON
    1.91 +//!				Uses API elements: HAL::Set, EBacklightState
    1.92 +//! @SYMTestActions		1. Create Hal Handle object. 2. Set the Backlight state ON 3.Get the backlight state and check it is off
    1.93 +//!				4.Destroy the object
    1.94 +//! @SYMTestStatus		Implemented
    1.95 +//! @SYMTestPriority		high
    1.96 +//! @SYMTestExpectedResults	Backlight state ON
    1.97 +//! @SYMTestType		CIT
    1.98 +	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
    1.99 +		CREATE_OBJECT	LCD	lcd1
   1.100 +		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-MODELESS-0004-BacklightState
   1.101 +		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-MODELESS-0004-BacklightState
   1.102 +	END_TEST_BLOCK
   1.103 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0004
   1.104 +
   1.105 +
   1.106 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0005
   1.107 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0005
   1.108 +//! @SYMAPI			Hal::Get(EDisplayBrightnessMax)
   1.109 +//! @SYMAuthor			Saravanakumar
   1.110 +//! @SYMCreationDate		19/11/2007
   1.111 +//! @SYMTestCaseDesc		Display Max Brightness Test - Read Max Display Brightness
   1.112 +//!				Uses API elements: HAL::Get, EDisplayBrightness, EDisplayBrightnessMax
   1.113 +//! @SYMTestActions		1.Create Hal Handle object 2.Get the Max Display Brightness and check it with Env file
   1.114 +//!				3.Destroy the object
   1.115 +//! @SYMTestStatus		Implemented
   1.116 +//! @SYMTestPriority		high
   1.117 +//! @SYMTestExpectedResults	Display the Max Brightness Value
   1.118 +//! @SYMTestType		CIT
   1.119 +	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.120 +		CREATE_OBJECT	LCD	lcd1
   1.121 +		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-MODELESS-0005-DisplayBrightness
   1.122 +	END_TEST_BLOCK
   1.123 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0005
   1.124 +
   1.125 +
   1.126 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0006
   1.127 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0006
   1.128 +//! @SYMAPI			Hal::Set(EDisplayBrightness)
   1.129 +//! @SYMAuthor			Saravanakumar
   1.130 +//! @SYMCreationDate		19/11/2007
   1.131 +//! @SYMTestCaseDesc		Display Brightness Negative Test - Set Display Brightness less than Minimun.
   1.132 +//!				Uses API elements: HAL::Set, EDisplayHalSetDisplayBrightness
   1.133 +//! @SYMTestActions		1.Create Hal Handle object.3.Set the Display Brightness -1.
   1.134 +//!				4.Destroy the object
   1.135 +//! @SYMTestStatus		Implemented
   1.136 +//! @SYMTestPriority		high
   1.137 +//! @SYMTestExpectedResults	KErrArgument
   1.138 +//! @SYMTestType		CIT
   1.139 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.140 +		CREATE_OBJECT		LCD	lcd1
   1.141 +		COMMAND	!Error=-6	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0006-DisplayBrightness
   1.142 +	END_TEST_BLOCK
   1.143 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0006
   1.144 +
   1.145 +
   1.146 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0007
   1.147 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0007
   1.148 +//! @SYMAPI			Hal::Set(EDisplayBrightness)
   1.149 +//! @SYMAuthor			Saravanakumar
   1.150 +//! @SYMCreationDate		19/11/2007
   1.151 +//! @SYMTestCaseDesc		Display Brightness Negative Test - Set Display Brightness more than Max.
   1.152 +//!				Uses API elements: HAL::Set, EDisplayHalSetDisplayBrightness
   1.153 +//! @SYMTestActions		1.Create Hal Handle object.2. Get the Max Brightness value
   1.154 +//!				3.Set the Display Brightness more than Max 4.Destroy the object
   1.155 +//! @SYMTestStatus		Implemented
   1.156 +//! @SYMTestPriority		high
   1.157 +//! @SYMTestExpectedResults	KErrArgument
   1.158 +//! @SYMTestType		CIT
   1.159 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.160 +		CREATE_OBJECT		LCD	lcd1
   1.161 +		COMMAND	!Error=-6	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0007-DisplayBrightness
   1.162 +	END_TEST_BLOCK
   1.163 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0007
   1.164 +
   1.165 +
   1.166 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0008
   1.167 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0008
   1.168 +//! @SYMAPI			Hal::Set(EDisplayBrightnessMax)
   1.169 +//! @SYMAuthor			Saravanakumar
   1.170 +//! @SYMCreationDate		19/11/2007
   1.171 +//! @SYMTestCaseDesc		Display Max Brightness Negative Test - Set Max Display Brightness
   1.172 +//!				Uses API elements: HAL::Set, EDisplayBrightness, EDisplayBrightnessMax
   1.173 +//! @SYMTestActions		1.Create Hal Handle object.3.Set the Max Display Brightness.
   1.174 +//!				3.Destroy the object
   1.175 +//! @SYMTestStatus		Implemented
   1.176 +//! @SYMTestPriority		high
   1.177 +//! @SYMTestExpectedResults	KErrNotSupported - Hal Set unsupported for Max Display Brightness
   1.178 +//! @SYMTestType		CIT
   1.179 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.180 +		CREATE_OBJECT		LCD	lcd1
   1.181 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0008-DisplayBrightness
   1.182 +	END_TEST_BLOCK
   1.183 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0008
   1.184 +
   1.185 +
   1.186 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0009
   1.187 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0009
   1.188 +//! @SYMAPI			Hal::Set(EDisplayContrastMax)
   1.189 +//! @SYMAuthor			Saravanakumar
   1.190 +//! @SYMCreationDate		19/11/2007
   1.191 +//! @SYMTestCaseDesc		Display Max Contrast Test - Read Max Display Contrast
   1.192 +//!				Uses API elements: HAL::Get, EDisplayContrast, EDisplayContrastMax
   1.193 +//! @SYMTestActions		1.Create Hal Handle object.3.Get the Max Display Contrast.
   1.194 +//!				3.Destroy the object
   1.195 +//! @SYMTestStatus		Implemented
   1.196 +//! @SYMTestPriority		high
   1.197 +//! @SYMTestExpectedResults	Display the Max Contrast Value
   1.198 +//! @SYMTestType		CIT
   1.199 +	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.200 +		CREATE_OBJECT	LCD	lcd1
   1.201 +		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-MODELESS-0009-DisplayContrast
   1.202 +	END_TEST_BLOCK
   1.203 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0009
   1.204 +
   1.205 +
   1.206 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0010
   1.207 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0010
   1.208 +//! @SYMAPI			Hal::Set(EDisplayContrast)
   1.209 +//! @SYMAuthor			Saravanakumar
   1.210 +//! @SYMCreationDate		19/11/2007
   1.211 +//! @SYMTestCaseDesc		Display Contrast Test - Set Display Contrast as 0.
   1.212 +//!				Uses API elements: HAL::Set, EDisplayContrast, EDisplayContrastMax
   1.213 +//! @SYMTestActions		1.Create Hal Handle object.2.Set the Display Contrast 0.
   1.214 +//!				3.Get the value and check it 4.Destroy the object
   1.215 +//! @SYMTestStatus		Implemented
   1.216 +//! @SYMTestPriority		high
   1.217 +//! @SYMTestExpectedResults	display Contrast 0.
   1.218 +//! @SYMTestType		CIT
   1.219 +	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.220 +		CREATE_OBJECT	LCD	lcd1
   1.221 +		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-MODELESS-0010-DisplayContrast
   1.222 +		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-MODELESS-0010-DisplayContrast
   1.223 +	END_TEST_BLOCK
   1.224 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0010
   1.225 +
   1.226 +
   1.227 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0011
   1.228 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0011
   1.229 +//! @SYMAPI			Hal::Set(EDisplayContrast)
   1.230 +//! @SYMAuthor			Saravanakumar
   1.231 +//! @SYMCreationDate		19/11/2007
   1.232 +//! @SYMTestCaseDesc		Display Contrast Test - Set Display Contrast as 8.
   1.233 +//!				Uses API elements: HAL::Set, EDisplayContrast, EDisplayContrastMax
   1.234 +//! @SYMTestActions		1.Create Hal Handle object 2.Set the Display Contrast 8.
   1.235 +//!				3.Get the value and check it 4.Destroy the object
   1.236 +//! @SYMTestStatus		Implemented
   1.237 +//! @SYMTestPriority		high
   1.238 +//! @SYMTestExpectedResults	display Contrast 8.
   1.239 +//! @SYMTestType		CIT
   1.240 +	START_TEST_BLOCK	100	T_Screen		\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.241 +		CREATE_OBJECT	LCD	lcd1
   1.242 +		COMMAND		lcd1	Set			BASE-BSP-SCREEN-DRIVER-MODELESS-0011-DisplayContrast
   1.243 +		COMMAND		lcd1	Get			BASE-BSP-SCREEN-DRIVER-MODELESS-0011-DisplayContrast
   1.244 +	END_TEST_BLOCK
   1.245 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0011
   1.246 +
   1.247 +
   1.248 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0012
   1.249 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0012
   1.250 +//! @SYMAPI			Hal::Set(EDisplayContrast)
   1.251 +//! @SYMAuthor			Saravanakumar
   1.252 +//! @SYMCreationDate		19/11/2007
   1.253 +//! @SYMTestCaseDesc		Display Contrast Negative Test - Set Display Contrast less than Minimun.
   1.254 +//!				Uses API elements: HAL::Set, EDisplayHalSetDisplayContrast
   1.255 +//! @SYMTestActions		1.Create Hal Handle object.3.Set the Display Contrast -1.
   1.256 +//!				4.Destroy the object
   1.257 +//! @SYMTestStatus		Implemented
   1.258 +//! @SYMTestPriority		high
   1.259 +//! @SYMTestExpectedResults	KErrArgument.
   1.260 +//! @SYMTestType		CIT
   1.261 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.262 +		CREATE_OBJECT		LCD	lcd1
   1.263 +		COMMAND	!Error=-6	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0012-DisplayContrast
   1.264 +	END_TEST_BLOCK
   1.265 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0012
   1.266 +
   1.267 +
   1.268 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0013
   1.269 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0013
   1.270 +//! @SYMAPI			Hal::Set(EDisplayContrast)
   1.271 +//! @SYMAuthor			Saravanakumar
   1.272 +//! @SYMCreationDate		19/11/2007
   1.273 +//! @SYMTestCaseDesc		Display Contrast Negative Test - Set Display Contrast more than Max.
   1.274 +//!				Uses API elements: HAL::Set, EDisplayHalSetDisplayContrast
   1.275 +//! @SYMTestActions		1.Create Hal Handle object.2. Get the Max Contrast value
   1.276 +//!				3.Set the Display Contrast more than Max 4.Destroy the object
   1.277 +//! @SYMTestStatus		Implemented
   1.278 +//! @SYMTestPriority		high
   1.279 +//! @SYMTestExpectedResults	KErrArgument
   1.280 +//! @SYMTestType		CIT
   1.281 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.282 +		CREATE_OBJECT		LCD	lcd1
   1.283 +		COMMAND	!Error=-6	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0013-DisplayContrast
   1.284 +	END_TEST_BLOCK
   1.285 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0013
   1.286 +
   1.287 +
   1.288 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0014
   1.289 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0014
   1.290 +//! @SYMAPI			Hal::Set(EDisplayContrastMax)
   1.291 +//! @SYMAuthor			Saravanakumar
   1.292 +//! @SYMCreationDate		19/11/2007
   1.293 +//! @SYMTestCaseDesc		Display Max Contrast Negative Test - Set Max Display Contrast
   1.294 +//!				Uses API elements: HAL::Set, EDisplayContrast, EDisplayContrastMax
   1.295 +//! @SYMTestActions		1.Create Hal Handle object.3.Set the Max Display Contrast.
   1.296 +//!				3.Destroy the object
   1.297 +//! @SYMTestStatus		Implemented
   1.298 +//! @SYMTestPriority		high
   1.299 +//! @SYMTestExpectedResults	KErrNotSupported - Hal Set unsupported for Max Display Contrast
   1.300 +//! @SYMTestType		CIT
   1.301 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.302 +		CREATE_OBJECT		LCD	lcd1
   1.303 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0014-DisplayContrast
   1.304 +	END_TEST_BLOCK
   1.305 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0014
   1.306 +
   1.307 +
   1.308 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0015
   1.309 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0015
   1.310 +//! @SYMAPI			Hal::Get(EDisplayIsPixelOrderRGB)
   1.311 +//! @SYMAuthor			Saravanakumar
   1.312 +//! @SYMCreationDate		19/11/2007
   1.313 +//! @SYMTestCaseDesc		Pixel order Test - Verify the order of pixels in display
   1.314 +//!				Uses API elements: HAL::Get, EDisplayIsPixelOrderRGB
   1.315 +//! @SYMTestActions		1.Create Hal Handle object 2.Get the order of pixels and check it with env file
   1.316 +//!				3.Destroy the object
   1.317 +//! @SYMTestStatus		Implemented
   1.318 +//! @SYMTestPriority		high
   1.319 +//! @SYMTestExpectedResults	1 - order of pixels is in RGB
   1.320 +//! @SYMTestType		CIT
   1.321 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.322 +		CREATE_OBJECT		LCD	lcd1
   1.323 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0015-DisplayIsPixelOrderRGB
   1.324 +		COMMAND			lcd1	Get		BASE-BSP-SCREEN-DRIVER-MODELESS-0015-DisplayIsPixelOrderRGB
   1.325 +	END_TEST_BLOCK
   1.326 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0015
   1.327 +
   1.328 +
   1.329 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0016
   1.330 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0016
   1.331 +//! @SYMAPI			Hal::Get(EDisplayIsPixelOrderLandscape)
   1.332 +//! @SYMAuthor			Saravanakumar
   1.333 +//! @SYMCreationDate		19/11/2007
   1.334 +//! @SYMTestCaseDesc		PixelOrderLandscape Test - Verify the Pixel Order is landscape
   1.335 +//!				Uses API elements: HAL::Get, EDisplayIsPixelOrderLandscape
   1.336 +//! @SYMTestActions		1.Create Hal Handle object 2.Get the order of pixels and check it with env file
   1.337 +//!				3.Destroy the object
   1.338 +//! @SYMTestStatus		Implemented
   1.339 +//! @SYMTestPriority		high
   1.340 +//! @SYMTestExpectedResults	1 - landscape
   1.341 +//! @SYMTestType		CIT
   1.342 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.343 +		CREATE_OBJECT		LCD	lcd1
   1.344 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0016-DisplayIsPixelOrderLandscape
   1.345 +		COMMAND			lcd1	Get		BASE-BSP-SCREEN-DRIVER-MODELESS-0016-DisplayIsPixelOrderLandscape
   1.346 +	END_TEST_BLOCK
   1.347 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0016
   1.348 +
   1.349 +
   1.350 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0017
   1.351 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0017
   1.352 +//! @SYMAPI			Hal::Get(EDisplayNumModes)
   1.353 +//! @SYMAuthor			Saravanakumar
   1.354 +//! @SYMCreationDate		19/11/2007
   1.355 +//! @SYMTestCaseDesc		Display Mode Test - Get Number of Display Mode supported.
   1.356 +//!				Uses API elements: HAL::Get, EDisplayNumModes
   1.357 +//! @SYMTestActions		1.Create Hal Handle object 2.Get the Number of Display Modes
   1.358 +//!				3.Destroy the object
   1.359 +//! @SYMTestStatus		Implemented
   1.360 +//! @SYMTestPriority		high
   1.361 +//! @SYMTestExpectedResults	Number of dispaly mode supported check it with Env file.
   1.362 +//! @SYMTestType		CIT
   1.363 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.364 +		CREATE_OBJECT		LCD	lcd1
   1.365 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0017-DisplayNumModes
   1.366 +		COMMAND			lcd1	Get		BASE-BSP-SCREEN-DRIVER-MODELESS-0017-DisplayNumModes
   1.367 +	END_TEST_BLOCK
   1.368 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0017
   1.369 +
   1.370 +
   1.371 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0018
   1.372 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0018
   1.373 +//! @SYMAPI			Hal::Set(EDisplayMode)
   1.374 +//! @SYMAuthor			Saravanakumar
   1.375 +//! @SYMCreationDate		19/11/2007
   1.376 +//! @SYMTestCaseDesc		Display Mode Negative Test - Set Display Mode as 5.
   1.377 +//!				Uses API elements: HAL::Set, EDisplayMode
   1.378 +//! @SYMTestActions		1.Create Hal Handle object 2.Set the Display Mode 5
   1.379 +//!				3.Destroy the object
   1.380 +//! @SYMTestStatus		Implemented
   1.381 +//! @SYMTestPriority		high
   1.382 +//! @SYMTestExpectedResults	KErrArgument
   1.383 +//! @SYMTestType		CIT
   1.384 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.385 +		CREATE_OBJECT		LCD	lcd1
   1.386 +		COMMAND	!Error=-6	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0018-DisplayMode
   1.387 +	END_TEST_BLOCK
   1.388 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0018
   1.389 +
   1.390 +
   1.391 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0019
   1.392 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0019
   1.393 +//! @SYMAPI			Hal::Set(EDisplayMode)
   1.394 +//! @SYMAuthor			Saravanakumar
   1.395 +//! @SYMCreationDate		19/11/2007
   1.396 +//! @SYMTestCaseDesc		Display Mode Negative Test - Set Display Mode as -1.
   1.397 +//!				Uses API elements: HAL::Set, EDisplayMode
   1.398 +//! @SYMTestActions		1.Create Hal Handle object 2.Set the Display Mode -1.
   1.399 +//!				3.Destroy the object
   1.400 +//! @SYMTestStatus		Implemented
   1.401 +//! @SYMTestPriority		high
   1.402 +//! @SYMTestExpectedResults	KErrArgument
   1.403 +//! @SYMTestType		CIT
   1.404 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.405 +		CREATE_OBJECT		LCD	lcd1
   1.406 +		COMMAND	!Error=-6	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0019-DisplayMode
   1.407 +	END_TEST_BLOCK
   1.408 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0019
   1.409 +
   1.410 +
   1.411 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0020
   1.412 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0020
   1.413 +//! @SYMAPI			Hal::Set(EDisplayMemoryAddress)
   1.414 +//! @SYMAuthor			Saravanakumar
   1.415 +//! @SYMCreationDate		19/11/2007
   1.416 +//! @SYMTestCaseDesc		Try to set Display Memory address
   1.417 +//!				Uses API elements: HAL::Get, EDisplayMemoryAddress,
   1.418 +//! @SYMTestActions		1. Create Hal Handle object. 2.Get the Screen Address.
   1.419 +//!				3. check the address in environment file 4.Destroy the object
   1.420 +//! @SYMTestStatus		Implemented
   1.421 +//! @SYMTestPriority		high
   1.422 +//! @SYMTestExpectedResults	KErrNotSupported - Hal Set unsupported for Set display screen linear address
   1.423 +//! @SYMTestType		CIT
   1.424 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.425 +		CREATE_OBJECT		LCD	lcd1
   1.426 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0020-DisplayMemoryAddress
   1.427 + 	END_TEST_BLOCK
   1.428 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0020
   1.429 +
   1.430 +
   1.431 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0021
   1.432 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0021
   1.433 +//! @SYMAPI			Hal::Set(EDisplayXPixels)
   1.434 +//! @SYMAuthor			Saravanakumar
   1.435 +//! @SYMCreationDate		19/11/2007
   1.436 +//! @SYMTestCaseDesc		Try to set Screen Width
   1.437 +//!				Uses API elements: EDisplayXPixels
   1.438 +//! @SYMTestActions		1. Create Hal handle object 2.Get the screen width
   1.439 +//!				3. Verify the screen width env file 4.Destroy the object
   1.440 +//! @SYMTestStatus		Implemented
   1.441 +//! @SYMTestPriority		high
   1.442 +//! @SYMTestExpectedResults	KErrNotSupported - Hal Set unsupported for Set display Screen Width
   1.443 +//! @SYMTestType		CIT
   1.444 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.445 +		CREATE_OBJECT		LCD	lcd1
   1.446 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0021-DisplayXPixels
   1.447 +	END_TEST_BLOCK
   1.448 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0021
   1.449 +
   1.450 +
   1.451 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0022
   1.452 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0022
   1.453 +//! @SYMAPI			Hal::Set(EDisplayYPixels)
   1.454 +//! @SYMAuthor			Saravanakumar
   1.455 +//! @SYMCreationDate		19/11/2007
   1.456 +//! @SYMTestCaseDesc		Try to set Screen Height
   1.457 +//!				Uses API elements: EDisplayYPixels
   1.458 +//! @SYMTestActions		1. Create Hal handle object 2.Get the screen Height
   1.459 +//!				3. Verify the screen Height env file 4.Destroy the object
   1.460 +//! @SYMTestStatus		Implemented
   1.461 +//! @SYMTestPriority		high
   1.462 +//! @SYMTestExpectedResults	KErrNotSupported - Hal Set unsupported for Set display screen Height
   1.463 +//! @SYMTestType		CIT
   1.464 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.465 +		CREATE_OBJECT		LCD	lcd1
   1.466 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0022-DisplayYPixels
   1.467 +	END_TEST_BLOCK
   1.468 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0022
   1.469 +
   1.470 +
   1.471 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0023
   1.472 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0023
   1.473 +//! @SYMAPI			Hal::Get(EDisplayNumModes)
   1.474 +//! @SYMAuthor			Saravanakumar
   1.475 +//! @SYMCreationDate		19/11/2007
   1.476 +//! @SYMTestCaseDesc		Try to Set Number of Display Modes
   1.477 +//!				Uses API elements: HAL::Get, EDisplayNumModes
   1.478 +//! @SYMTestActions		1.Create Hal Handle object 2.Get the Number of Display Modes
   1.479 +//!				3.Destroy the object
   1.480 +//! @SYMTestStatus		Implemented
   1.481 +//! @SYMTestPriority		high
   1.482 +//! @SYMTestExpectedResults	KErrNotSupported - Hal Set unsupported for Set display Number of Display Mode
   1.483 +//! @SYMTestType		CIT
   1.484 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.485 +		CREATE_OBJECT		LCD	lcd1
   1.486 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0023-DisplayNumModes
   1.487 +	END_TEST_BLOCK
   1.488 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0023
   1.489 +
   1.490 +
   1.491 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0024
   1.492 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0024
   1.493 +//! @SYMAPI			Hal::Set(EDisplayBitsPerPixel)
   1.494 +//! @SYMAuthor			Saravanakumar
   1.495 +//! @SYMCreationDate		19/11/2007
   1.496 +//! @SYMTestCaseDesc		Try to Set DisplayBitsPerPixel
   1.497 +//!				Uses API elements: HAL::Set, EDisplayMode
   1.498 +//! @SYMTestActions		1.Create Hal Handle object 2.Set DisplayBitsPerPixel 0
   1.499 +//!				3.Destroy the object
   1.500 +//! @SYMTestStatus		Implemented
   1.501 +//! @SYMTestPriority		high
   1.502 +//! @SYMTestExpectedResults	KErrNotSupported
   1.503 +//! @SYMTestType		CIT
   1.504 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.505 +		CREATE_OBJECT		LCD	lcd1
   1.506 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0024-DisplayBitsPerPixel
   1.507 +	END_TEST_BLOCK
   1.508 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0024
   1.509 +
   1.510 +
   1.511 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0025
   1.512 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0025
   1.513 +//! @SYMAPI			Hal::Set(EDisplayOffsetToFirstPixel)
   1.514 +//! @SYMAuthor			Saravanakumar
   1.515 +//! @SYMCreationDate		19/11/2007
   1.516 +//! @SYMTestCaseDesc		Try to Set DisplayOffsetToFirstPixel
   1.517 +//!				Uses API elements: HAL::Set, EDisplayMode
   1.518 +//! @SYMTestActions		1.Create Hal Handle object 2.Set EDisplayOffsetToFirstPixel 0
   1.519 +//!				3.Destroy the object
   1.520 +//! @SYMTestStatus		Implemented
   1.521 +//! @SYMTestPriority		high
   1.522 +//! @SYMTestExpectedResults	KErrNotSupported
   1.523 +//! @SYMTestType		CIT
   1.524 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.525 +		CREATE_OBJECT		LCD	lcd1
   1.526 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0025-DisplayOffsetToFirstPixel
   1.527 +	END_TEST_BLOCK
   1.528 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0025
   1.529 +
   1.530 +
   1.531 +START_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0026
   1.532 +//! @SYMTestCaseID		BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0026
   1.533 +//! @SYMAPI			Hal::Set(EDisplayOffsetBetweenLines)
   1.534 +//! @SYMAuthor			Saravanakumar
   1.535 +//! @SYMCreationDate		19/11/2007
   1.536 +//! @SYMTestCaseDesc		Try to Set DisplayOffsetBetweenLines
   1.537 +//!				Uses API elements: HAL::Set, EDisplayOffsetBetweenLines
   1.538 +//! @SYMTestActions		1.Create Hal Handle object 2.Set EDisplayOffsetBetweenLines 0
   1.539 +//!				3.Destroy the object
   1.540 +//! @SYMTestStatus		Implemented
   1.541 +//! @SYMTestPriority		high
   1.542 +//! @SYMTestExpectedResults	KErrNotSupported
   1.543 +//! @SYMTestType		CIT
   1.544 +	START_TEST_BLOCK		100	T_Screen	\base\screen\BASE-BSP-SCREEN-DRIVER-MODELESS.ini
   1.545 +		CREATE_OBJECT		LCD	lcd1
   1.546 +		COMMAND	!Error=-5	lcd1	Set		BASE-BSP-SCREEN-DRIVER-MODELESS-0026-DisplayOffsetBetweenLines
   1.547 +	END_TEST_BLOCK
   1.548 +END_TESTCASE			BASE-BSP-SCREEN-DRIVER-MODELESS_AUTOMATED-0026