os/graphics/graphicsutils/commongraphicsheaders/test/src/tdisplayconfiguration.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
// Test class for TDisplayConfiguration
sl@0
    15
// 
sl@0
    16
//
sl@0
    17
sl@0
    18
#include "tdisplayconfiguration.h"
sl@0
    19
#include <test/extendtef.h>
sl@0
    20
sl@0
    21
#include "../inc/displayconfiguration.h"
sl@0
    22
sl@0
    23
// This handles any non-member uses of the extended ASSERT_XXX macros
sl@0
    24
void TefUnitFailLeaveL()
sl@0
    25
	{
sl@0
    26
	
sl@0
    27
	User::Leave(KErrTEFUnitFail);
sl@0
    28
	}
sl@0
    29
sl@0
    30
// Create a suite of all the tests
sl@0
    31
CTestSuite* CTestDisplayConfiguration::CreateSuiteL(const TDesC& aName)
sl@0
    32
	{
sl@0
    33
	SUB_SUITE_OPT(CTestDisplayConfiguration,NULL);
sl@0
    34
sl@0
    35
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0001L);
sl@0
    36
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0002L);
sl@0
    37
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0003L);
sl@0
    38
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0004L);
sl@0
    39
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0005L);
sl@0
    40
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0006L);
sl@0
    41
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0007L);
sl@0
    42
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0008L);
sl@0
    43
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0009L);
sl@0
    44
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0010L);
sl@0
    45
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0011L);
sl@0
    46
		ADD_THIS_TEST_STEP(GRAPHICS_COMMONHEADER_0012L);
sl@0
    47
	
sl@0
    48
	END_SUITE;	
sl@0
    49
	}
sl@0
    50
sl@0
    51
// Published Tests
sl@0
    52
sl@0
    53
/**
sl@0
    54
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0001L
sl@0
    55
@SYMTestCaseDesc		TDisplayConfiguration field validation
sl@0
    56
@SYMREQ					REQ10325
sl@0
    57
@SYMPREQ				PREQ2102
sl@0
    58
@SYMTestType			CT
sl@0
    59
@SYMTestPurpose			Check default configuration is empty
sl@0
    60
@SYMTestActions			
sl@0
    61
	Create an instance of TDisplayConfiguration
sl@0
    62
	Check default version is size of TDisplayConfiguration
sl@0
    63
	Check each member is not defined and does not change a passed in field
sl@0
    64
@SYMTestExpectedResults	
sl@0
    65
	Holds correct size and fields are empty
sl@0
    66
**/
sl@0
    67
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0001L()
sl@0
    68
	{
sl@0
    69
	TDisplayConfiguration testConfig;
sl@0
    70
	
sl@0
    71
	ASSERT_EQUALS	(testConfig.Version(),(TInt)sizeof(testConfig));
sl@0
    72
	
sl@0
    73
	ASSERT_FALSE	(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
    74
	
sl@0
    75
	TSize size(10,11);
sl@0
    76
	ASSERT_FALSE	(testConfig.GetResolution(size));
sl@0
    77
	ASSERT_EQUALS	(size,TSize(10,11));
sl@0
    78
	}
sl@0
    79
sl@0
    80
/**
sl@0
    81
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0002L
sl@0
    82
@SYMTestCaseDesc		Setting TDisplayConfiguration variables
sl@0
    83
@SYMREQ					REQ10325
sl@0
    84
@SYMPREQ				PREQ2102
sl@0
    85
@SYMTestType			CT
sl@0
    86
@SYMTestPurpose			Check setting variables works correctly
sl@0
    87
@SYMTestActions			
sl@0
    88
	Set resolution 1
sl@0
    89
	Check resolution 1 set
sl@0
    90
	Set resolution 2
sl@0
    91
	Check resolution 2 set
sl@0
    92
	Set twips resolution 1
sl@0
    93
	Check twips resolution 1 set
sl@0
    94
	Set twips resolution 2
sl@0
    95
	Check twips resolution 2 set
sl@0
    96
@SYMTestExpectedResults	
sl@0
    97
	All 'gets' return as expected
sl@0
    98
**/
sl@0
    99
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0002L()
sl@0
   100
	{
sl@0
   101
	TDisplayConfiguration testConfig;
sl@0
   102
	
sl@0
   103
	TSize sizeSet1(10,11);
sl@0
   104
	TSize sizeSet2(12,13);
sl@0
   105
	TSize sizeCheck1(14,15);
sl@0
   106
	TSize sizeCheck2(16,17);
sl@0
   107
	TSize twipsSizeSet1(7620,2858);
sl@0
   108
	TSize twipsSizeSet2(7630,2868);	
sl@0
   109
	TSize twipsSizeCheck1(7640,2878);
sl@0
   110
	TSize twipsSizeCheck2(7650,2888);
sl@0
   111
	
sl@0
   112
	ASSERT_FALSE	(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   113
	//Set size check
sl@0
   114
	testConfig.SetResolution(sizeSet1);
sl@0
   115
	ASSERT_TRUE		(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   116
	ASSERT_TRUE		(testConfig.GetResolution(sizeCheck1));
sl@0
   117
	ASSERT_EQUALS	(sizeSet1,sizeCheck1);
sl@0
   118
	//Set size check 2
sl@0
   119
	testConfig.SetResolution(sizeSet2);
sl@0
   120
	ASSERT_TRUE		(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   121
	ASSERT_TRUE		(testConfig.GetResolution(sizeCheck2));
sl@0
   122
	ASSERT_EQUALS	(sizeSet2,sizeCheck2);
sl@0
   123
	//Set twips check
sl@0
   124
	testConfig.SetResolutionTwips(twipsSizeSet1);
sl@0
   125
	ASSERT_TRUE		(testConfig.IsDefined(TDisplayConfiguration::EResolutionTwips));
sl@0
   126
	ASSERT_TRUE		(testConfig.GetResolutionTwips(twipsSizeCheck1));
sl@0
   127
	ASSERT_EQUALS	(twipsSizeSet1,twipsSizeCheck1);
sl@0
   128
	//Set twips check 2
sl@0
   129
	testConfig.SetResolutionTwips(twipsSizeSet2);
sl@0
   130
	ASSERT_TRUE		(testConfig.IsDefined(TDisplayConfiguration::EResolutionTwips));
sl@0
   131
	ASSERT_TRUE		(testConfig.GetResolutionTwips(twipsSizeCheck2));
sl@0
   132
	ASSERT_EQUALS	(twipsSizeSet2,twipsSizeCheck2);
sl@0
   133
	}
sl@0
   134
sl@0
   135
/**
sl@0
   136
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0003L
sl@0
   137
@SYMTestCaseDesc		Clearing TDisplayConfiguration variables
sl@0
   138
@SYMREQ					REQ10325
sl@0
   139
@SYMPREQ				PREQ2102
sl@0
   140
@SYMTestType			CT
sl@0
   141
@SYMTestPurpose			Checking Clear works as expected
sl@0
   142
@SYMTestActions			
sl@0
   143
	Set resolution
sl@0
   144
	Clear resolution
sl@0
   145
	Get resolution *should do nothing*
sl@0
   146
@SYMTestExpectedResults	
sl@0
   147
	Clears variables as expected
sl@0
   148
**/
sl@0
   149
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0003L()
sl@0
   150
	{
sl@0
   151
	TDisplayConfiguration testConfig;
sl@0
   152
	
sl@0
   153
	TSize size1(10,11);
sl@0
   154
	TSize size2(12,13);
sl@0
   155
	TSize size2copy(size2);
sl@0
   156
	
sl@0
   157
	ASSERT_FALSE	(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   158
	testConfig.SetResolution(size1);
sl@0
   159
	ASSERT_TRUE		(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   160
	testConfig.Clear(TDisplayConfiguration::EResolution);
sl@0
   161
	ASSERT_FALSE	(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   162
	ASSERT_FALSE	(testConfig.GetResolution(size2));
sl@0
   163
	//check size2 has not been changed
sl@0
   164
	ASSERT_EQUALS	(size2,size2copy);
sl@0
   165
	}
sl@0
   166
sl@0
   167
/**
sl@0
   168
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0004L
sl@0
   169
@SYMTestCaseDesc		Clear all TDisplayConfiguration variables
sl@0
   170
@SYMREQ					REQ10325
sl@0
   171
@SYMPREQ				PREQ2102
sl@0
   172
@SYMTestType			CT
sl@0
   173
@SYMTestPurpose			Check ClearAll performs correctly
sl@0
   174
@SYMTestActions			
sl@0
   175
	Set resolution
sl@0
   176
	Set color
sl@0
   177
	ClearAll()
sl@0
   178
	Get resolution *should do nothing*
sl@0
   179
@SYMTestExpectedResults	
sl@0
   180
	ClearAll should clear all!
sl@0
   181
**/
sl@0
   182
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0004L()
sl@0
   183
	{
sl@0
   184
	TDisplayConfiguration testConfig;
sl@0
   185
	
sl@0
   186
	TSize size1(10,11);
sl@0
   187
	TSize size2(12,13);
sl@0
   188
	TSize size2copy(size2);
sl@0
   189
	
sl@0
   190
	TRgb color1(50,255);
sl@0
   191
	TRgb color2(52,255);
sl@0
   192
	TRgb color2copy(color2);
sl@0
   193
	
sl@0
   194
	//set values
sl@0
   195
	ASSERT_FALSE	(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   196
	testConfig.SetResolution(size1);
sl@0
   197
	ASSERT_TRUE		(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   198
	
sl@0
   199
	testConfig.ClearAll();
sl@0
   200
	
sl@0
   201
	//check cleared variables
sl@0
   202
	ASSERT_FALSE	(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   203
	ASSERT_FALSE	(testConfig.GetResolution(size2));
sl@0
   204
	//check size2 has not been changed
sl@0
   205
	ASSERT_EQUALS(size2,size2copy);
sl@0
   206
	}
sl@0
   207
sl@0
   208
/**
sl@0
   209
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0005L
sl@0
   210
@SYMTestCaseDesc		TDisplayConfiguration copy operator
sl@0
   211
@SYMREQ					REQ10325
sl@0
   212
@SYMPREQ				PREQ2102
sl@0
   213
@SYMTestType			CT
sl@0
   214
@SYMTestPurpose			Checking copy works correctly
sl@0
   215
@SYMTestActions			
sl@0
   216
	Set values
sl@0
   217
	Make a copy
sl@0
   218
	Check copy has copied values
sl@0
   219
	Make slight changes to copy, check operator== works (thorough test fo coverage)
sl@0
   220
@SYMTestExpectedResults	
sl@0
   221
	Should copy variables to new config
sl@0
   222
	Should perform operator== correctly
sl@0
   223
**/
sl@0
   224
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0005L()
sl@0
   225
	{
sl@0
   226
	TDisplayConfiguration testConfig1;
sl@0
   227
	
sl@0
   228
	TSize size1(10,11);
sl@0
   229
	TSize size2(12,13);
sl@0
   230
	TSize sizeTemp(0,1);
sl@0
   231
	TDisplayConfiguration1::TRotation rotTemp = TDisplayConfiguration1::ERotationIllegal;
sl@0
   232
	
sl@0
   233
	testConfig1.SetResolution(size1);
sl@0
   234
	testConfig1.SetResolutionTwips(size2);
sl@0
   235
	testConfig1.SetRotation(TDisplayConfiguration1::ERotationNormal);
sl@0
   236
	
sl@0
   237
	TDisplayConfiguration testConfig2(testConfig1);
sl@0
   238
	
sl@0
   239
	ASSERT_TRUE		(testConfig2.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   240
	ASSERT_TRUE		(testConfig2.GetResolution(sizeTemp));
sl@0
   241
	ASSERT_EQUALS	(size1,sizeTemp);
sl@0
   242
	
sl@0
   243
	ASSERT_TRUE		(testConfig2.IsDefined(TDisplayConfiguration::EResolutionTwips));
sl@0
   244
	ASSERT_TRUE		(testConfig2.GetResolutionTwips(sizeTemp));
sl@0
   245
	ASSERT_EQUALS	(size2,sizeTemp);
sl@0
   246
	
sl@0
   247
	ASSERT_TRUE		(testConfig2.IsDefined(TDisplayConfiguration::ERotation));
sl@0
   248
	ASSERT_TRUE		(testConfig2.GetRotation(rotTemp));
sl@0
   249
	ASSERT_EQUALS	(rotTemp,TDisplayConfiguration1::ERotationNormal);
sl@0
   250
	
sl@0
   251
	ASSERT_TRUE		(testConfig1==testConfig2);
sl@0
   252
	
sl@0
   253
	testConfig1.Clear(TDisplayConfiguration::EResolution);
sl@0
   254
	testConfig2.Clear(TDisplayConfiguration::EResolution);
sl@0
   255
	testConfig1.Clear(TDisplayConfiguration::EResolutionTwips);
sl@0
   256
	testConfig2.Clear(TDisplayConfiguration::EResolutionTwips);
sl@0
   257
	testConfig1.Clear(TDisplayConfiguration::ERotation);
sl@0
   258
	testConfig2.Clear(TDisplayConfiguration::ERotation);
sl@0
   259
sl@0
   260
	ASSERT_TRUE		(testConfig1==testConfig2);
sl@0
   261
	
sl@0
   262
	TDisplayConfiguration largeConfig(200);
sl@0
   263
	TDisplayConfiguration emptyConfig;
sl@0
   264
	ASSERT_FALSE	(largeConfig==emptyConfig);
sl@0
   265
	ASSERT_FALSE	(emptyConfig==largeConfig);
sl@0
   266
	}
sl@0
   267
sl@0
   268
/**
sl@0
   269
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0006L
sl@0
   270
@SYMTestCaseDesc		Small configs do nothing
sl@0
   271
@SYMREQ					REQ10325
sl@0
   272
@SYMPREQ				PREQ2102
sl@0
   273
@SYMTestType			CT
sl@0
   274
@SYMTestPurpose			Older config versions should not try to access newer variables
sl@0
   275
@SYMTestActions			
sl@0
   276
	Create very small config
sl@0
   277
	Set resolution
sl@0
   278
	Get resolution *should not have set it*
sl@0
   279
@SYMTestExpectedResults	
sl@0
   280
	Setting when version is too old should fail silently.  No returned error, no panic
sl@0
   281
**/
sl@0
   282
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0006L()
sl@0
   283
	{
sl@0
   284
	TDisplayConfiguration testConfig(sizeof(TDisplayConfigurationBase));
sl@0
   285
	
sl@0
   286
	TSize size1(10,11);
sl@0
   287
	TSize size2(12,13);
sl@0
   288
	
sl@0
   289
	testConfig.SetResolution(size1);
sl@0
   290
	ASSERT_FALSE	(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   291
	ASSERT_FALSE	(testConfig.GetResolution(size2));
sl@0
   292
	ASSERT_NOT_EQUALS	(size1,size2);
sl@0
   293
	}
sl@0
   294
sl@0
   295
/**
sl@0
   296
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0007L
sl@0
   297
@SYMTestCaseDesc		Negative resolution panics client
sl@0
   298
@SYMREQ					REQ10325
sl@0
   299
@SYMPREQ				PREQ2102
sl@0
   300
@SYMTestType			CT
sl@0
   301
@SYMTestPurpose			Negative resolutions are not allowed and should panic the client
sl@0
   302
@SYMTestActions			
sl@0
   303
	Set negative X resolution
sl@0
   304
@SYMTestExpectedResults	
sl@0
   305
	Should panic with DISPCONF 1
sl@0
   306
**/
sl@0
   307
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0007L()
sl@0
   308
	{
sl@0
   309
	TDisplayConfiguration testConfig;
sl@0
   310
	
sl@0
   311
	TSize size(-10,10);
sl@0
   312
	testConfig.SetResolution(size);
sl@0
   313
	
sl@0
   314
	//Should not get here
sl@0
   315
	ASSERT_TRUE(0);
sl@0
   316
	}
sl@0
   317
sl@0
   318
/**
sl@0
   319
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0008L
sl@0
   320
@SYMTestCaseDesc		Negative resolution panics client
sl@0
   321
@SYMREQ					REQ10325
sl@0
   322
@SYMPREQ				PREQ2102
sl@0
   323
@SYMTestType			CT
sl@0
   324
@SYMTestPurpose			Negative resolutions are not allowed and should panic the client
sl@0
   325
@SYMTestActions			
sl@0
   326
	Set negative Y resolution
sl@0
   327
@SYMTestExpectedResults	
sl@0
   328
	Should panic with DISPCONF 1
sl@0
   329
**/
sl@0
   330
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0008L()
sl@0
   331
	{
sl@0
   332
	TDisplayConfiguration testConfig;
sl@0
   333
	
sl@0
   334
	TSize size(10,-10);
sl@0
   335
	testConfig.SetResolution(size);
sl@0
   336
	
sl@0
   337
	//Should not get here
sl@0
   338
	ASSERT_TRUE(0);
sl@0
   339
	}
sl@0
   340
sl@0
   341
/**
sl@0
   342
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0009L
sl@0
   343
@SYMTestCaseDesc		One resolution axis 0 panics client
sl@0
   344
@SYMREQ					REQ10325
sl@0
   345
@SYMPREQ				PREQ2102
sl@0
   346
@SYMTestType			CT
sl@0
   347
@SYMTestPurpose			A resolution with only 1 axis at 0 is invalid
sl@0
   348
@SYMTestActions			
sl@0
   349
	Set 0 on X axis only for resolution
sl@0
   350
@SYMTestExpectedResults	
sl@0
   351
	Should panic with DISPCONF 2
sl@0
   352
	
sl@0
   353
**/
sl@0
   354
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0009L()
sl@0
   355
	{
sl@0
   356
	TDisplayConfiguration testConfig;
sl@0
   357
	
sl@0
   358
	TSize size(0,10);
sl@0
   359
	testConfig.SetResolution(size);
sl@0
   360
	
sl@0
   361
	//Should not get here
sl@0
   362
	ASSERT_TRUE(0);
sl@0
   363
	}
sl@0
   364
sl@0
   365
/**
sl@0
   366
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0010L
sl@0
   367
@SYMTestCaseDesc		One resolution axis 0 panics client
sl@0
   368
@SYMREQ					REQ10325
sl@0
   369
@SYMPREQ				PREQ2102
sl@0
   370
@SYMTestType			CT
sl@0
   371
@SYMTestPurpose			A resolution with only 1 axis at 0 is invalid
sl@0
   372
@SYMTestActions			
sl@0
   373
	Set 0 on Y axis only for resolution
sl@0
   374
@SYMTestExpectedResults	
sl@0
   375
	Should panic with DISPCONF 2
sl@0
   376
**/
sl@0
   377
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0010L()
sl@0
   378
	{
sl@0
   379
	TDisplayConfiguration testConfig;
sl@0
   380
	
sl@0
   381
	TSize size(10,0);
sl@0
   382
	testConfig.SetResolution(size);
sl@0
   383
	
sl@0
   384
	//Should not get here
sl@0
   385
	ASSERT_TRUE(0);
sl@0
   386
	}
sl@0
   387
sl@0
   388
/**
sl@0
   389
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0011L
sl@0
   390
@SYMTestCaseDesc		Both resolution axis 0 valid
sl@0
   391
@SYMREQ					REQ10325
sl@0
   392
@SYMPREQ				PREQ2102
sl@0
   393
@SYMTestType			CT
sl@0
   394
@SYMTestPurpose			A resolution with only both axis at 0 is valid
sl@0
   395
@SYMTestActions			
sl@0
   396
	Set 0 on both axes for resolution
sl@0
   397
@SYMTestExpectedResults	
sl@0
   398
	Should complete and be able to return the same size
sl@0
   399
**/
sl@0
   400
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0011L()
sl@0
   401
	{
sl@0
   402
	TDisplayConfiguration testConfig;
sl@0
   403
	
sl@0
   404
	TSize size1(0,0);
sl@0
   405
	TSize size2(1,2);
sl@0
   406
	testConfig.SetResolution(size1);
sl@0
   407
	ASSERT_TRUE		(testConfig.IsDefined(TDisplayConfiguration::EResolution));
sl@0
   408
	ASSERT_TRUE		(testConfig.GetResolution(size2));
sl@0
   409
	ASSERT_EQUALS	(size1,size2);
sl@0
   410
	}
sl@0
   411
sl@0
   412
/**
sl@0
   413
@SYMTestCaseID			GRAPHICS_COMMONHEADER_0012L
sl@0
   414
@SYMTestCaseDesc		Invalid preferred version causes panic
sl@0
   415
@SYMREQ					REQ10325
sl@0
   416
@SYMPREQ				PREQ2102
sl@0
   417
@SYMTestType			CT
sl@0
   418
@SYMTestPurpose			An invalid version will cause a panic
sl@0
   419
@SYMTestActions			
sl@0
   420
	Set version to be 1
sl@0
   421
	Should panic
sl@0
   422
@SYMTestExpectedResults	
sl@0
   423
	Should panic with DISPCONF 7
sl@0
   424
**/
sl@0
   425
void CTestDisplayConfiguration::GRAPHICS_COMMONHEADER_0012L()
sl@0
   426
	{
sl@0
   427
	TDisplayConfiguration testConfig (1);
sl@0
   428
sl@0
   429
	//Should not get here
sl@0
   430
	ASSERT_TRUE(0);
sl@0
   431
	}