os/graphics/graphicscomposition/openwfcompositionengine/test/tscreeninterface/tscreeninterfaceserver.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     2 //
     3 // Permission is hereby granted, free of charge, to any person obtaining a
     4 // copy of this software and/or associated documentation files (the
     5 // "Materials"), to deal in the Materials without restriction, including
     6 // without limitation the rights to use, copy, modify, merge, publish,
     7 // distribute, sublicense, and/or sell copies of the Materials, and to
     8 // permit persons to whom the Materials are furnished to do so, subject to
     9 // the following conditions:
    10 //
    11 // The above copyright notice and this permission notice shall be included
    12 // in all copies or substantial portions of the Materials.
    13 //
    14 // THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    15 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    16 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    17 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    18 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    19 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    20 // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
    21 //
    22 // Description:
    23 //
    24 
    25 #include <test/ctefunitserver.h>
    26 #include "tscreeninterface.h"
    27 
    28 _LIT( KServerName, "openwfcscreeninterfacetestserver" );
    29 
    30 GLDEF_C const TTestName ServerName()
    31 /**
    32  * ServerName
    33  *
    34  * @return - The TEF server name
    35  */
    36 	{
    37 	TTestName serverName(KServerName);
    38 	return serverName;
    39 	}
    40 
    41 GLDEF_C CTestSuite* CreateTestSuiteL()
    42 /**
    43  * Create the overall test suite.
    44  *
    45  * @return - The top level suite
    46  */
    47 	{
    48 	START_SUITE;
    49 
    50 	ADD_TEST_SUITE( CTestScreenInterface );
    51 
    52 	END_SUITE;
    53 	}
    54 
    55 GLDEF_C CTestStep* CreateTEFTestStep(const TDesC& , CTEFUnitServer& /* aServer */)
    56 /**
    57  * Create individual test steps, outside the suite.
    58  */
    59 	{
    60 	// Initialise test step object to NULL if no TEF step is found
    61 	CTestStep* testStep = NULL;
    62 
    63 	return testStep;
    64 	}