windowing/windowserver/test/TAutoServer/TAutoServer.cpp
branchRCL_3
changeset 19 bbf46f59e123
parent 17 e375a7921169
child 20 25ffed67c7ef
equal deleted inserted replaced
18:57c618273d5c 19:bbf46f59e123
     1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    70 #include "TOOM.H"
    70 #include "TOOM.H"
    71 #include "TCapKey.H"
    71 #include "TCapKey.H"
    72 #include "TMULSCREENS.h"
    72 #include "TMULSCREENS.h"
    73 #include "TBUFFERSECURITY.H"
    73 #include "TBUFFERSECURITY.H"
    74 #include "TFLICKERFREE.H"
    74 #include "TFLICKERFREE.H"
       
    75 #include "tdevicerotation.h"
    75 #ifdef TEST_GRAPHICS_WSERV_TAUTOSERVER_NONNGA
    76 #ifdef TEST_GRAPHICS_WSERV_TAUTOSERVER_NONNGA
    76 #include "TFADINGBITMAP.H"
    77 #include "TFADINGBITMAP.H"
    77 #endif
    78 #endif
    78 #include "tcrpanim.h"
    79 #include "tcrpanim.h"
    79 #include "TMemLeakMode.h"
    80 #include "TMemLeakMode.h"
    83 #include "tw32cmdbuf.h"
    84 #include "tw32cmdbuf.h"
    84 #include "tadvancedpointerevent.h"
    85 #include "tadvancedpointerevent.h"
    85 #include "tmultiptrevent.h"
    86 #include "tmultiptrevent.h"
    86 #include "tdrawresource.h"
    87 #include "tdrawresource.h"
    87 #include "twindowsizecache.h"
    88 #include "twindowsizecache.h"
    88 #include "tptroffset.h"
    89 
    89 
    90 
    90 /* Path to the script
    91 /* Path to the script
    91 z:\GraphicsTest\gditest.script
    92 z:\GraphicsTest\gditest.script
    92 */
    93 */
    93 
    94 
   308   		testStep = new CTMulScreensStep();
   309   		testStep = new CTMulScreensStep();
   309  	else if(aStepName == KTBufferSecurityStep)
   310  	else if(aStepName == KTBufferSecurityStep)
   310   		testStep = new CTBufferSecurityStep();
   311   		testStep = new CTBufferSecurityStep();
   311    	else if(aStepName == KTFlickerFreeStep)
   312    	else if(aStepName == KTFlickerFreeStep)
   312   		testStep = new CTFlickerFreeStep();
   313   		testStep = new CTFlickerFreeStep();
       
   314     else if(aStepName == KTDeviceRotationStep)
       
   315      testStep = new CTDeviceRotationStep();
   313 #ifdef TEST_GRAPHICS_WSERV_TAUTOSERVER_NONNGA
   316 #ifdef TEST_GRAPHICS_WSERV_TAUTOSERVER_NONNGA
   314 	else if(aStepName == KTFadingBitmapStep)
   317 	else if(aStepName == KTFadingBitmapStep)
   315   		testStep = new CTFadingBitmapStep();
   318   		testStep = new CTFadingBitmapStep();
   316 #endif
   319 #endif
   317 	else if(aStepName == KTCrpAnimStep)
   320 	else if(aStepName == KTCrpAnimStep)
   335  	 	testStep = new CTMultiPtrEventTestStep();
   338  	 	testStep = new CTMultiPtrEventTestStep();
   336 	else if(aStepName == KTDrawResourceStep)
   339 	else if(aStepName == KTDrawResourceStep)
   337 		testStep = new CTDrawResourceStep();
   340 		testStep = new CTDrawResourceStep();
   338     else if(aStepName == KTWindowSizeCacheTestStep)
   341     else if(aStepName == KTWindowSizeCacheTestStep)
   339         testStep = new CTWindowSizeCacheTestStep();
   342         testStep = new CTWindowSizeCacheTestStep();
   340     else if(aStepName == KTPointerOffsetTestStep)
       
   341         testStep = new CTPointerOffsetTestStep();
       
   342 #endif
   343 #endif
   343 	return testStep;
   344 	return testStep;
   344 	}
   345 	}