graphicsutils/commongraphicsheaders/test/src/tcommonheader.cpp
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18 */
       
    19 
       
    20 #include "tdisplayconfiguration.h"
       
    21 #include <test/ctefunitserver.h>
       
    22 
       
    23 //these includes are here just to get the files listed in the carbide symbian project view
       
    24 #include "../inc/displayconfiguration.h"
       
    25 #include "../inc/displaycontrolbase.h"
       
    26 
       
    27 _LIT( KServerName, "commonheadertestserver" );
       
    28 
       
    29 GLDEF_C const TTestName ServerName()
       
    30 /**
       
    31  * ServerName
       
    32  *
       
    33  * @return - The TEF server name
       
    34  */
       
    35 	{
       
    36 	TTestName serverName(KServerName);
       
    37 	return serverName;
       
    38 	}
       
    39 
       
    40 GLDEF_C CTestSuite* CreateTestSuiteL()
       
    41 /**
       
    42  * Create the overall test suite.
       
    43  *
       
    44  * @return - The top level suite
       
    45  */
       
    46 	{
       
    47 	START_SUITE;
       
    48 
       
    49 	ADD_TEST_SUITE( CTestDisplayConfiguration );
       
    50 
       
    51 	END_SUITE;
       
    52 	}
       
    53 
       
    54 GLDEF_C CTestStep* CreateTEFTestStep(const TDesC& , CTEFUnitServer& /* aServer */)
       
    55 /**
       
    56  * Create individual test steps, outside the suite.
       
    57  */
       
    58 	{
       
    59 	// Initialise test step object to NULL if no TEF step is found
       
    60 	CTestStep* testStep = NULL;
       
    61 
       
    62 	return testStep;
       
    63 	}