xml/libxml2libs/test/tef/xml2/src/texml2server.h
changeset 0 e35f40988205
equal deleted inserted replaced
-1:000000000000 0:e35f40988205
       
     1 // Copyright (c) 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 texml2server.h
       
    18  @internalTechnology
       
    19 */
       
    20 
       
    21 #ifndef _TEF_XML2SERVER_H_
       
    22 #define _TEF_XML2SERVER_H_
       
    23 
       
    24 #include <test/testexecuteserverbase.h>
       
    25 #include <e32debug.h>
       
    26 
       
    27 //Server name - same as the executable name mentioned in mmp
       
    28 _LIT(KServerName, "texml2");
       
    29 
       
    30 /**
       
    31  * Server to test the APIs in xmlengineutils.
       
    32  * APIs tested are:
       
    33  * XmlEngLeaveOOML
       
    34  * XmlEngXmlCharFromDesL
       
    35  * XmlEngEscapeForXmlValueL
       
    36  * XmlEnginePushL
       
    37  * XmlEnginePopAndClose
       
    38  * CopyL
       
    39  * Free
       
    40  * Length
       
    41  * Set
       
    42  * HBufCFromXmlCharLC
       
    43  * HBufCFromXmlCharL
       
    44  * AllocL
       
    45  * AllocLC
       
    46  * SetL
       
    47  * SetL
       
    48  * AllocAndFreeL
       
    49  * AllocAndFreeLC
       
    50  * AppendL(TXmlEngString str)
       
    51  * AppendL(TXmlEngString str1, TXmlEngString str2)
       
    52  * 
       
    53  */
       
    54 class CXml2TestServer : public CTestServer
       
    55 	{
       
    56 public:
       
    57 	static CXml2TestServer* NewL();
       
    58 	void ConstructL(const TDesC& aName);
       
    59 	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
       
    60 	};
       
    61 
       
    62 #endif