windowing/windowserver/test/TAutoServer/TAutoServer.cpp
branchRCL_3
changeset 164 25ffed67c7ef
parent 163 bbf46f59e123
equal deleted inserted replaced
163:bbf46f59e123 164:25ffed67c7ef
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2010 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"
       
    76 #ifdef TEST_GRAPHICS_WSERV_TAUTOSERVER_NONNGA
    75 #ifdef TEST_GRAPHICS_WSERV_TAUTOSERVER_NONNGA
    77 #include "TFADINGBITMAP.H"
    76 #include "TFADINGBITMAP.H"
    78 #endif
    77 #endif
    79 #include "tcrpanim.h"
    78 #include "tcrpanim.h"
    80 #include "TMemLeakMode.h"
    79 #include "TMemLeakMode.h"
    84 #include "tw32cmdbuf.h"
    83 #include "tw32cmdbuf.h"
    85 #include "tadvancedpointerevent.h"
    84 #include "tadvancedpointerevent.h"
    86 #include "tmultiptrevent.h"
    85 #include "tmultiptrevent.h"
    87 #include "tdrawresource.h"
    86 #include "tdrawresource.h"
    88 #include "twindowsizecache.h"
    87 #include "twindowsizecache.h"
    89 
    88 #include "tptroffset.h"
    90 
    89 
    91 /* Path to the script
    90 /* Path to the script
    92 z:\GraphicsTest\gditest.script
    91 z:\GraphicsTest\gditest.script
    93 */
    92 */
    94 
    93 
   309   		testStep = new CTMulScreensStep();
   308   		testStep = new CTMulScreensStep();
   310  	else if(aStepName == KTBufferSecurityStep)
   309  	else if(aStepName == KTBufferSecurityStep)
   311   		testStep = new CTBufferSecurityStep();
   310   		testStep = new CTBufferSecurityStep();
   312    	else if(aStepName == KTFlickerFreeStep)
   311    	else if(aStepName == KTFlickerFreeStep)
   313   		testStep = new CTFlickerFreeStep();
   312   		testStep = new CTFlickerFreeStep();
   314     else if(aStepName == KTDeviceRotationStep)
       
   315      testStep = new CTDeviceRotationStep();
       
   316 #ifdef TEST_GRAPHICS_WSERV_TAUTOSERVER_NONNGA
   313 #ifdef TEST_GRAPHICS_WSERV_TAUTOSERVER_NONNGA
   317 	else if(aStepName == KTFadingBitmapStep)
   314 	else if(aStepName == KTFadingBitmapStep)
   318   		testStep = new CTFadingBitmapStep();
   315   		testStep = new CTFadingBitmapStep();
   319 #endif
   316 #endif
   320 	else if(aStepName == KTCrpAnimStep)
   317 	else if(aStepName == KTCrpAnimStep)
   338  	 	testStep = new CTMultiPtrEventTestStep();
   335  	 	testStep = new CTMultiPtrEventTestStep();
   339 	else if(aStepName == KTDrawResourceStep)
   336 	else if(aStepName == KTDrawResourceStep)
   340 		testStep = new CTDrawResourceStep();
   337 		testStep = new CTDrawResourceStep();
   341     else if(aStepName == KTWindowSizeCacheTestStep)
   338     else if(aStepName == KTWindowSizeCacheTestStep)
   342         testStep = new CTWindowSizeCacheTestStep();
   339         testStep = new CTWindowSizeCacheTestStep();
       
   340     else if(aStepName == KTPointerOffsetTestStep)
       
   341         testStep = new CTPointerOffsetTestStep();
   343 #endif
   342 #endif
   344 	return testStep;
   343 	return testStep;
   345 	}
   344 	}