websrv_pub/xml_extensions_api/tsrc/senxmlTester/inc/senxmlTester.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Header declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 #ifndef SENXMLTESTER_H
       
    27 #define SENXMLTESTER_H
       
    28 
       
    29 //  INCLUDES
       
    30 #include <StifLogger.h>
       
    31 #include <SenBaseAttribute.h>
       
    32 #include <SenBaseElement.h>
       
    33 #include <SenBaseFragment.h>
       
    34 #include <SenDomFragment.h>
       
    35 #include <SenElement.h>
       
    36 #include <SenNameSpace.h>
       
    37 #include <SenXmlElement.h>
       
    38 #include <SenXmlReader.h>
       
    39 #include <SenXmlUtils.h>
       
    40 #include <f32file.h>
       
    41 #include <e32debug.h>
       
    42 #include <e32std.h>
       
    43 #include <e32def.h>
       
    44 #include <TestScripterInternal.h>
       
    45 #include <StifTestModule.h>
       
    46 #include <TestclassAssert.h>
       
    47 
       
    48 // CONSTANTS
       
    49 //const ?type ?constant_var = ?constant;
       
    50 //  FORWARD DECLARATIONS
       
    51 class CSenBaseAttribute;
       
    52 class CSenElement;
       
    53 class CSenBaseFragment;
       
    54 class CSenNamespace;
       
    55 class SenXmlUtils;
       
    56 class CSenDomFragment;
       
    57 class CSenBaseElement;
       
    58 class CSenXmlReader;
       
    59 class CSenXmlElement;
       
    60 
       
    61 // MACROS
       
    62 //#define ?macro ?macro_def
       
    63 #define TEST_CLASS_VERSION_MAJOR 0
       
    64 #define TEST_CLASS_VERSION_MINOR 0
       
    65 #define TEST_CLASS_VERSION_BUILD 0
       
    66 
       
    67 // Logging path
       
    68 _LIT( KsenxmlTesterLogPath, "\\logs\\testframework\\senxmlTester\\" ); 
       
    69 // Log file
       
    70 _LIT( KsenxmlTesterLogFile, "senxmlTester.txt" ); 
       
    71 _LIT( KsenxmlTesterLogFileWithTitle, "senxmlTester_[%S].txt" );
       
    72 
       
    73 // FUNCTION PROTOTYPES
       
    74 //?type ?function_name(?arg_list);
       
    75 
       
    76 // FORWARD DECLARATIONS
       
    77 //class ?FORWARD_CLASSNAME;
       
    78 class CsenxmlTester;
       
    79 
       
    80 // DATA TYPES
       
    81 //enum ?declaration
       
    82 //typedef ?declaration
       
    83 //extern ?data_type;
       
    84 typedef TInt (CsenxmlTester::* TestFunction)(TTestResult&);
       
    85 
       
    86 // CLASS DECLARATION
       
    87 
       
    88 /**
       
    89 *  CsenxmlTester test class for STIF Test Framework TestScripter.
       
    90 *  ?other_description_lines
       
    91 *
       
    92 *  @lib ?library
       
    93 *  @since ?Series60_version
       
    94 */
       
    95 class TCaseInfoInternal
       
    96     {
       
    97     public:
       
    98         const TText*    iCaseName;
       
    99         TestFunction    iMethod;
       
   100         TBool           iIsOOMTest;
       
   101         TInt            iFirstMemoryAllocation;
       
   102         TInt            iLastMemoryAllocation;
       
   103     };
       
   104 
       
   105 // CLASS DECLARATION
       
   106 
       
   107 /**
       
   108 *  A structure containing a test case name and
       
   109 *  the pointer to function doing the test
       
   110 *
       
   111 *  @lib ?library
       
   112 *  @since ?Series60_version
       
   113 */
       
   114 class TCaseInfo
       
   115     {
       
   116     public:
       
   117         TPtrC iCaseName;
       
   118         TestFunction iMethod;
       
   119         TBool           iIsOOMTest;
       
   120         TInt            iFirstMemoryAllocation;
       
   121         TInt            iLastMemoryAllocation;
       
   122 
       
   123     TCaseInfo( const TText* a ) : iCaseName( (TText*) a )
       
   124         {
       
   125         };
       
   126 
       
   127     };
       
   128 
       
   129 NONSHARABLE_CLASS(CsenxmlTester) : public CScriptBase
       
   130     {
       
   131     public:  // Constructors and destructor
       
   132 
       
   133         /**
       
   134         * Two-phased constructor.
       
   135         */
       
   136         static CsenxmlTester* NewL( CTestModuleIf& aTestModuleIf );
       
   137 
       
   138         /**
       
   139         * Destructor.
       
   140         */
       
   141         virtual ~CsenxmlTester();
       
   142 
       
   143     public: // New functions
       
   144 
       
   145         /**
       
   146         * ?member_description.
       
   147         * @since ?Series60_version
       
   148         * @param ?arg1 ?description
       
   149         * @return ?description
       
   150         */
       
   151         //?type ?member_function( ?type ?arg1 );
       
   152 
       
   153     public: // Functions from base classes
       
   154 
       
   155         /**
       
   156         * From CScriptBase Runs a script line.
       
   157         * @since ?Series60_version
       
   158         * @param aItem Script line containing method name and parameters
       
   159         * @return Symbian OS error code
       
   160         */
       
   161         virtual TInt RunMethodL( CStifItemParser& aItem );
       
   162 
       
   163     protected:  // New functions
       
   164 
       
   165         /**
       
   166         * ?member_description.
       
   167         * @since ?Series60_version
       
   168         * @param ?arg1 ?description
       
   169         * @return ?description
       
   170         */
       
   171         //?type ?member_function( ?type ?arg1 );
       
   172 
       
   173     protected:  // Functions from base classes
       
   174 
       
   175         /**
       
   176         * From ?base_class ?member_description
       
   177         */
       
   178         //?type ?member_function();
       
   179 
       
   180     private:
       
   181 
       
   182         /**
       
   183         * C++ default constructor.
       
   184         */
       
   185         CsenxmlTester( CTestModuleIf& aTestModuleIf );
       
   186 
       
   187         /**
       
   188         * By default Symbian 2nd phase constructor is private.
       
   189         */
       
   190         void ConstructL();
       
   191 
       
   192         // Prohibit copy constructor if not deriving from CBase.
       
   193         // ?classname( const ?classname& );
       
   194         // Prohibit assigment operator if not deriving from CBase.
       
   195         // ?classname& operator=( const ?classname& );
       
   196 
       
   197         /**
       
   198         * Frees all resources allocated from test methods.
       
   199         * @since ?Series60_version
       
   200         */
       
   201         void Delete();
       
   202         const TCaseInfo Case ( const TInt aCaseNumber ) const;
       
   203         
       
   204         void SetupL();
       
   205         void Teardown();
       
   206 
       
   207         /**
       
   208         * Test methods are listed below. 
       
   209         */
       
   210 
       
   211         /**
       
   212         * Example test method.
       
   213         * @since ?Series60_version
       
   214         * @param aItem Script line containing parameters.
       
   215         * @return Symbian OS error code.
       
   216         */
       
   217          TInt CSenBaseAttribute_NewLL( CStifItemParser& aItem );
       
   218         
       
   219         
       
   220          TInt CSenBaseAttribute_NewL_1L( CStifItemParser& aItem );
       
   221         
       
   222         
       
   223          TInt CSenBaseElement_NewLL( CStifItemParser& aItem );
       
   224         
       
   225         
       
   226          TInt CSenBaseElement_NewL_1L( CStifItemParser& aItem );
       
   227         
       
   228         
       
   229          TInt CSenBaseElement_NewL_2L( CStifItemParser& aItem );
       
   230          
       
   231          
       
   232          TInt CSenBaseElement_NewL_3L( CStifItemParser& aItem );
       
   233          
       
   234          
       
   235          TInt CSenBaseElement_NewL_4L( CStifItemParser& aItem );
       
   236         
       
   237         
       
   238          TInt CSenBaseElement_SetAttributesLL( CStifItemParser& aItem );
       
   239         
       
   240         
       
   241          TInt CSenBaseElement_LocalNameL( CStifItemParser& aItem );
       
   242         
       
   243         
       
   244          TInt CSenBaseElement_NamespaceURIL( CStifItemParser& aItem );
       
   245         
       
   246         
       
   247          TInt CSenBaseElement_NsPrefixL( CStifItemParser& aItem );
       
   248         
       
   249         
       
   250          TInt CSenBaseElement_SetPrefixLL( CStifItemParser& aItem );
       
   251         
       
   252         
       
   253          TInt CSenBaseElement_HasContentTL( CStifItemParser& aItem );
       
   254          
       
   255          TInt CSenBaseElement_HasContentFL( CStifItemParser& aItem );        
       
   256         
       
   257          TInt CSenBaseElement_ContentL( CStifItemParser& aItem );
       
   258          
       
   259          TInt CSenBaseElement_Content_NullL( CStifItemParser& aItem );        
       
   260         
       
   261          TInt CSenBaseElement_ContentUnicodeLL( CStifItemParser& aItem );
       
   262         
       
   263         
       
   264          TInt CSenBaseElement_SetContentLL( CStifItemParser& aItem );
       
   265          
       
   266          TInt CSenBaseElement_SetContentL_NullL( CStifItemParser& aItem );        
       
   267          
       
   268          TInt CSenBaseElement_SetContentL_OverRightL( CStifItemParser& aItem );
       
   269          
       
   270          TInt CSenBaseElement_SetContentL_WithEscCharsL( CStifItemParser& aItem );
       
   271         
       
   272          TInt CSenBaseElement_ConsistsOfLL( CStifItemParser& aItem );
       
   273         
       
   274         
       
   275          TInt CSenBaseElement_SetNamespaceLL( CStifItemParser& aItem );
       
   276          
       
   277          TInt CSenBaseElement_SetNamespaceL_NullL( CStifItemParser& aItem );        
       
   278         
       
   279          TInt CSenBaseElement_SetNamespaceL_1L( CStifItemParser& aItem );
       
   280         
       
   281          TInt CSenBaseElement_SetNamespaceL_2same1L( CStifItemParser& aItem );
       
   282          
       
   283          TInt CSenBaseElement_SetNamespaceL_2Diff1L( CStifItemParser& aItem );
       
   284        
       
   285          TInt CSenBaseElement_SetNamespaceL_DPSU1L( CStifItemParser& aItem );
       
   286         
       
   287          TInt CSenBaseElement_SetNamespaceL_SNsPC1L( CStifItemParser& aItem );
       
   288         
       
   289          TInt CSenBaseElement_AddNamespaceL_FL( CStifItemParser& aItem );        
       
   290          
       
   291          TInt CSenBaseElement_AddNamespaceL_TL( CStifItemParser& aItem );
       
   292          
       
   293          TInt CSenBaseElement_AddNamespaceL_TSPL( CStifItemParser& aItem ); 
       
   294          
       
   295          TInt CSenBaseElement_AddNamespaceL_TDPL( CStifItemParser& aItem );        
       
   296         
       
   297          TInt CSenBaseElement_AddNamespaceL_1L( CStifItemParser& aItem );
       
   298          
       
   299          TInt CSenBaseElement_AddNamespaceL_2same1L( CStifItemParser& aItem );
       
   300          
       
   301          TInt CSenBaseElement_AddNamespaceL_2Diff1L( CStifItemParser& aItem );        
       
   302         
       
   303          TInt CSenBaseElement_NamespaceL( CStifItemParser& aItem );        
       
   304         
       
   305          TInt CSenBaseElement_Namespace_1L( CStifItemParser& aItem );
       
   306          
       
   307          TInt CSenBaseElement_Namespace_WP1L( CStifItemParser& aItem );        
       
   308         
       
   309          TInt CSenBaseElement_Namespace_2L( CStifItemParser& aItem );
       
   310         
       
   311 		 	        
       
   312         
       
   313          TInt CSenBaseElement_Namespace_3L( CStifItemParser& aItem );
       
   314         
       
   315         
       
   316          TInt CSenBaseElement_ElementsLL( CStifItemParser& aItem );
       
   317         
       
   318         
       
   319          
       
   320         
       
   321          TInt CSenBaseElement_AttributesLL( CStifItemParser& aItem );
       
   322         
       
   323         
       
   324          TInt CSenBaseElement_NamespacesLL( CStifItemParser& aItem );
       
   325         
       
   326         
       
   327          TInt CSenBaseElement_AttrValueL( CStifItemParser& aItem );
       
   328         
       
   329         
       
   330          TInt CSenBaseElement_AddAttrLL( CStifItemParser& aItem );
       
   331          TInt CSenBaseElement_AddAttributeLL( CStifItemParser& aItem );
       
   332         
       
   333         
       
   334          TInt CSenBaseElement_ParentL( CStifItemParser& aItem );
       
   335          
       
   336          TInt CSenBaseElement_SetParentL( CStifItemParser& aItem );
       
   337         
       
   338          TInt CSenBaseElement_RootL( CStifItemParser& aItem );
       
   339         
       
   340          TInt CSenBaseElement_ElementL( CStifItemParser& aItem );
       
   341 		TInt CSenBaseElement_ElementsL1( CStifItemParser& aItem );
       
   342          TInt CSenBaseElement_ElementsL2( CStifItemParser& aItem );
       
   343          
       
   344          TInt CSenBaseElement_CreateElementLL( CStifItemParser& aItem );
       
   345      
       
   346          TInt CSenBaseElement_InsertElementLL( CStifItemParser& aItem );
       
   347          
       
   348 		 TInt CSenBaseElement_InsertElementL_NoBeforeL( CStifItemParser& aItem );                 
       
   349         
       
   350          TInt CSenBaseElement_AddElementLL( CStifItemParser& aItem );
       
   351         
       
   352         
       
   353          TInt CSenBaseElement_AddElementL_1L( CStifItemParser& aItem );
       
   354         
       
   355         
       
   356          TInt CSenBaseElement_AddElementL_2L( CStifItemParser& aItem );
       
   357         
       
   358         
       
   359          TInt CSenBaseElement_AddElementL_3L( CStifItemParser& aItem );
       
   360         
       
   361         
       
   362          TInt CSenBaseElement_RemoveElementL( CStifItemParser& aItem );
       
   363         
       
   364         
       
   365          TInt CSenBaseElement_RemoveElement_1L( CStifItemParser& aItem );
       
   366         
       
   367         
       
   368          TInt CSenBaseElement_RemoveElement_2L( CStifItemParser& aItem );
       
   369         
       
   370         
       
   371          TInt CSenBaseElement_ReplaceElementLL( CStifItemParser& aItem );
       
   372         
       
   373         
       
   374          TInt CSenBaseElement_AsXmlLL( CStifItemParser& aItem );
       
   375         
       
   376         
       
   377          TInt CSenBaseElement_AsXmlUnicodeLL( CStifItemParser& aItem );
       
   378         
       
   379          TInt CSenBaseElement_CopyFromLL( CStifItemParser& aItem );
       
   380         
       
   381          TInt CSenBaseElement_DetachLL( CStifItemParser& aItem );
       
   382         
       
   383          TInt CSenBaseElement_ChildL( CStifItemParser& aItem );
       
   384         
       
   385         
       
   386          TInt CSenBaseElement_SetL( CStifItemParser& aItem );
       
   387          
       
   388          
       
   389          TInt CSenBaseElement_AddAttributesLL( CStifItemParser& aItem );
       
   390          
       
   391          TInt CSenBaseElement_AsElementL( CStifItemParser& aItem );
       
   392          TInt CSenBaseElement_ContentWriteStreamLL( CStifItemParser& aItem );
       
   393 		 TInt CSenBaseElement_RemoveAttributeLL( CStifItemParser& aItem );
       
   394          TInt CSenXmlElement_NewLL( CStifItemParser& aItem );
       
   395         
       
   396         
       
   397          TInt CSenXmlElement_NewL_1L( CStifItemParser& aItem );
       
   398         
       
   399         
       
   400          TInt CSenXmlElement_NewL_2L( CStifItemParser& aItem );
       
   401         
       
   402         
       
   403          TInt CSenXmlElement_SetAttributesLL( CStifItemParser& aItem );
       
   404         
       
   405         
       
   406          TInt CSenXmlElement_LocalNameL( CStifItemParser& aItem );
       
   407         
       
   408         
       
   409          TInt CSenXmlElement_NamespaceURIL( CStifItemParser& aItem );
       
   410         
       
   411         
       
   412          TInt CSenXmlElement_NsPrefixL( CStifItemParser& aItem );
       
   413         
       
   414         
       
   415          TInt CSenXmlElement_SetPrefixLL( CStifItemParser& aItem );
       
   416         
       
   417         
       
   418          TInt CSenXmlElement_HasContentL( CStifItemParser& aItem );
       
   419         
       
   420         
       
   421          TInt CSenXmlElement_ContentL( CStifItemParser& aItem );
       
   422          
       
   423          TInt CSenXmlElement_ContentWriteStreamLL( CStifItemParser& aItem );
       
   424          
       
   425         
       
   426          TInt CSenXmlElement_ContentUnicodeLL( CStifItemParser& aItem );
       
   427                 
       
   428          TInt CSenXmlElement_SetContentLL( CStifItemParser& aItem );        
       
   429         
       
   430          TInt CSenXmlElement_ConsistsOfLL( CStifItemParser& aItem );
       
   431          
       
   432          TInt CSenXmlElement_ConsistsOfL1L( CStifItemParser& aItem );
       
   433          
       
   434          TInt CSenXmlElement_ConsistsOfL2L( CStifItemParser& aItem );        
       
   435         
       
   436          TInt CSenXmlElement_SetNamespaceLL( CStifItemParser& aItem );
       
   437          
       
   438          TInt CSenXmlElement_SetNamespaceL_1L( CStifItemParser& aItem );
       
   439          
       
   440          TInt CSenXmlElement_SetNamespaceL_2same1L( CStifItemParser& aItem );
       
   441          
       
   442          TInt CSenXmlElement_SetNamespaceL_2Diff1L( CStifItemParser& aItem ) ;      
       
   443         
       
   444          TInt CSenXmlElement_AddNamespaceLL( CStifItemParser& aItem );
       
   445          
       
   446          TInt CSenXmlElement_AddNamespaceLFL( CStifItemParser& aItem );
       
   447         
       
   448          TInt CSenXmlElement_AddNamespaceL_1L( CStifItemParser& aItem );
       
   449       
       
   450         
       
   451          TInt CSenXmlElement_NamespaceL( CStifItemParser& aItem );
       
   452         
       
   453         
       
   454          TInt CSenXmlElement_Namespace_1L( CStifItemParser& aItem );
       
   455         
       
   456         
       
   457          TInt CSenXmlElement_Namespace_2L( CStifItemParser& aItem );
       
   458         
       
   459         
       
   460          TInt CSenXmlElement_Namespace_3L( CStifItemParser& aItem );
       
   461         
       
   462         
       
   463          TInt CSenXmlElement_ElementsLL( CStifItemParser& aItem );
       
   464                 
       
   465          TInt CSenXmlElement_AttributesLL( CStifItemParser& aItem );
       
   466         
       
   467         
       
   468          TInt CSenXmlElement_NamespacesLL( CStifItemParser& aItem );
       
   469         
       
   470         
       
   471          TInt CSenXmlElement_AttrValueL( CStifItemParser& aItem );
       
   472         
       
   473         
       
   474          TInt CSenXmlElement_AddAttrLL( CStifItemParser& aItem );
       
   475         
       
   476         
       
   477          TInt CSenXmlElement_ParentL( CStifItemParser& aItem );
       
   478         
       
   479         
       
   480          TInt CSenXmlElement_SetParentL( CStifItemParser& aItem );
       
   481         
       
   482         
       
   483          TInt CSenXmlElement_RootL( CStifItemParser& aItem );
       
   484         
       
   485         
       
   486          TInt CSenXmlElement_ElementL( CStifItemParser& aItem );
       
   487         
       
   488          TInt CSenXmlElement_CreateElementLL( CStifItemParser& aItem );
       
   489         
       
   490         
       
   491          TInt CSenXmlElement_InsertElementLL( CStifItemParser& aItem );
       
   492         
       
   493         
       
   494          TInt CSenXmlElement_AddElementLL( CStifItemParser& aItem );
       
   495         
       
   496         
       
   497          TInt CSenXmlElement_AddElementL_1L( CStifItemParser& aItem );
       
   498         
       
   499         
       
   500          TInt CSenXmlElement_AddElementL_2L( CStifItemParser& aItem );
       
   501         
       
   502         
       
   503          TInt CSenXmlElement_AddElementL_3L( CStifItemParser& aItem );
       
   504         
       
   505         
       
   506          TInt CSenXmlElement_RemoveElementL( CStifItemParser& aItem );
       
   507         
       
   508         
       
   509          TInt CSenXmlElement_RemoveElement_1L( CStifItemParser& aItem );
       
   510         
       
   511         
       
   512          TInt CSenXmlElement_RemoveElement_2L( CStifItemParser& aItem );
       
   513         
       
   514         
       
   515          TInt CSenXmlElement_ReplaceElementLL( CStifItemParser& aItem );
       
   516         
       
   517         
       
   518          TInt CSenXmlElement_AsXmlLL( CStifItemParser& aItem );
       
   519         
       
   520         
       
   521          TInt CSenXmlElement_AsXmlUnicodeLL( CStifItemParser& aItem );
       
   522         
       
   523          TInt CSenXmlElement_CopyFromLL( CStifItemParser& aItem );
       
   524         
       
   525         
       
   526          TInt CSenXmlElement_DetachLL( CStifItemParser& aItem );
       
   527         
       
   528         
       
   529          TInt CSenXmlElement_ChildL( CStifItemParser& aItem );
       
   530         
       
   531         
       
   532          TInt CSenXmlElement_SetL( CStifItemParser& aItem );
       
   533         
       
   534         
       
   535          TInt CSenXmlElement_AddAttributesLL( CStifItemParser& aItem );
       
   536          TInt CSenXmlElement_AddAttributeLL( CStifItemParser& aItem );
       
   537          TInt CSenXmlElement_RemoveAttributeLL( CStifItemParser& aItem );
       
   538          TInt CSenXmlElement_AsElementL( CStifItemParser& aItem );
       
   539          TInt CSenBaseFragment_AsXmlUnicodeLL( CStifItemParser& aItem );
       
   540          
       
   541          TInt CSenBaseFragment_NewL_L( CStifItemParser& aItem );
       
   542          TInt CSenBaseFragment_NewL_1L( CStifItemParser& aItem );
       
   543          TInt CSenBaseFragment_NewL_2L( CStifItemParser& aItem );
       
   544          TInt CSenBaseFragment_NewL_3L( CStifItemParser& aItem );
       
   545          TInt CSenBaseFragment_NewL_4L( CStifItemParser& aItem );
       
   546          TInt CSenBaseFragment_NewL_5L( CStifItemParser& aItem );
       
   547          TInt CSenBaseFragment_WriteAsXMLToLL( CStifItemParser& aItem );
       
   548          TInt CSenBaseFragment_ContentL( CStifItemParser& aItem );
       
   549          TInt CSenBaseFragment_NamespaceL( CStifItemParser& aItem );
       
   550          TInt CSenBaseFragment_EnsureNamespaceL( CStifItemParser& aItem );
       
   551          TInt CSenBaseFragment_DetachLL( CStifItemParser& aItem );
       
   552          TInt CSenBaseFragment_SaveNamespacesLL( CStifItemParser& aItem );
       
   553          TInt CSenBaseFragment_ResetContentLL( CStifItemParser& aItem );
       
   554          TInt CSenBaseFragment_LocalNameL( CStifItemParser& aItem );
       
   555          TInt CSenBaseFragment_NsUriL( CStifItemParser& aItem );
       
   556          TInt CSenBaseFragment_NsPrefixL( CStifItemParser& aItem );
       
   557          TInt CSenBaseFragment_ExtractElementL( CStifItemParser& aItem );
       
   558          TInt CSenBaseFragment_SetAttributesLL( CStifItemParser& aItem );
       
   559          TInt CSenBaseFragment_ConsistsOfLL( CStifItemParser& aItem );
       
   560          TInt CSenBaseFragment_AllocContentSaverLL( CStifItemParser& aItem );
       
   561          TInt CSenBaseFragment_ParseLL( CStifItemParser& aItem );
       
   562          TInt CSenBaseFragment_ParseL1L( CStifItemParser& aItem );
       
   563          TInt CSenBaseFragment_SetContentOfLL( CStifItemParser& aItem );
       
   564          TInt CSenBaseFragment_ContentOfL( CStifItemParser& aItem );
       
   565          TInt CSenXMLReader_ParserFeatureL( CStifItemParser& aItem );
       
   566 		 TInt CSenXMLReader_ParseLL( CStifItemParser& aItem );
       
   567          TInt CSenDomFragment_ConsistsOfLL( CStifItemParser& aItem );
       
   568          
       
   569          TInt CSenDomFragment_NewL_L( CStifItemParser& aItem );
       
   570          TInt CSenDomFragment_NewL_1L( CStifItemParser& aItem );
       
   571          TInt CSenDomFragment_NewL_2L( CStifItemParser& aItem );
       
   572          TInt CSenDomFragment_NewL_3L( CStifItemParser& aItem );
       
   573          TInt CSenDomFragment_NewL_4L( CStifItemParser& aItem );
       
   574          TInt CSenDomFragment_NewL_5L( CStifItemParser& aItem );
       
   575          TInt CSenDomFragment_NewL_6L( CStifItemParser& aItem );
       
   576          
       
   577          //TInt CSenDomFragment_ExpandLL( CStifItemParser& aItem );
       
   578          //TInt CSenDomFragment_ResumeParsingFromLL( CStifItemParser& aItem );
       
   579          TInt CSenDomFragment_ParseWithLL( CStifItemParser& aItem );
       
   580          TInt CSenDomFragment_SetAttributesLL( CStifItemParser& aItem );
       
   581          TInt CSenDomFragment_ParseL1L( CStifItemParser& aItem );
       
   582          
       
   583          TInt CSenNamespace_NewL_L( CStifItemParser& aItem );
       
   584          TInt CSenNamespace_NewLC_L( CStifItemParser& aItem );
       
   585          TInt CSenNamespace_NewL_1L( CStifItemParser& aItem );
       
   586          TInt CSenNamespace_NewLC_1L( CStifItemParser& aItem );
       
   587          TInt CSenNamespace_MatchesL_L( CStifItemParser& aItem );
       
   588          TInt CSenNamespace_InsertLL( CStifItemParser& aItem );
       
   589          TInt CSenXmlReader_NewL_L( CStifItemParser& aItem );
       
   590          TInt CSenXmlReader_NewLC_L( CStifItemParser& aItem );
       
   591          TInt CSenXmlReader_NewL_1L( CStifItemParser& aItem );
       
   592          TInt CSenXmlReader_NewLC_1L( CStifItemParser& aItem );
       
   593          TInt CSenXmlReader_NewL_2L( CStifItemParser& aItem );
       
   594          TInt CSenXmlReader_NewLC_2L( CStifItemParser& aItem );
       
   595          TInt CSenXmlReader_NewL_3L( CStifItemParser& aItem );
       
   596          TInt CSenXmlReader_NewLC_3L( CStifItemParser& aItem );
       
   597 
       
   598          TInt CSenXmlReader_EnabledParserFeature_L( CStifItemParser& aItem );        
       
   599          
       
   600          TInt CSenXmlUtils_ToUtf8LCL( CStifItemParser& aItem );        
       
   601          TInt CSenXmlUtils_StartsWithL( CStifItemParser& aItem );        
       
   602          TInt CSenXmlUtils_EndsWithL( CStifItemParser& aItem );        
       
   603          TInt CSenXmlUtils_AttrValueL( CStifItemParser& aItem );        
       
   604          TInt CSenXmlUtils_AllocAttrValueLL( CStifItemParser& aItem );        
       
   605          TInt CSenXmlUtils_DecodeHttpCharactersLL( CStifItemParser& aItem );        
       
   606          TInt CSenXmlUtils_DecodeHttpCharactersLCL( CStifItemParser& aItem );        
       
   607          TInt CSenXmlUtils_NsPrefixL( CStifItemParser& aItem );        
       
   608          TInt CSenXmlUtils_LocalNameL( CStifItemParser& aItem );        
       
   609          TInt CSenXmlUtils_RemoveAttributeLL( CStifItemParser& aItem );        
       
   610          TInt CSenXmlUtils_RemoveAttributeL1L( CStifItemParser& aItem );        
       
   611          TInt CSenXmlUtils_AddAttributeLL( CStifItemParser& aItem );        
       
   612          TInt CSenXmlUtils_AddAttributeL1L( CStifItemParser& aItem );        
       
   613          TInt CSenXmlUtils_AddAttributeL2L( CStifItemParser& aItem );        
       
   614          TInt CSenXmlUtils_EncodeHttpCharactersLCL( CStifItemParser& aItem ); 
       
   615          TInt CSenDomFragment_BaseConstructL( CStifItemParser& aItem );
       
   616          TInt CSenBaseFragment_BaseConstructL( CStifItemParser& aItem );
       
   617         
       
   618         /**
       
   619          * Method used to log version of test class
       
   620          */
       
   621         void SendTestClassVersion();
       
   622 
       
   623         //ADD NEW METHOD DEC HERE
       
   624         //[TestMethods] - Do not remove
       
   625 
       
   626     public:     // Data
       
   627         // ?one_line_short_description_of_data
       
   628         //?data_declaration;
       
   629 
       
   630     protected:  // Data
       
   631         // ?one_line_short_description_of_data
       
   632         //?data_declaration;
       
   633 
       
   634     private:    // Data
       
   635         // Pointer to test (function) to be executed
       
   636         TestFunction iMethod;
       
   637 
       
   638         // Pointer to logger
       
   639         CStifLogger * iLog; 
       
   640 
       
   641 		CSenXmlReader* iXmlReader;
       
   642         // ?one_line_short_description_of_data
       
   643         //?data_declaration;
       
   644 
       
   645         // Reserved pointer for future extension
       
   646         //TAny* iReserved;
       
   647 
       
   648     public:     // Friend classes
       
   649         //?friend_class_declaration;
       
   650     protected:  // Friend classes
       
   651         //?friend_class_declaration;
       
   652     private:    // Friend classes
       
   653         //?friend_class_declaration;
       
   654 
       
   655     };
       
   656 
       
   657 #endif      // SENXMLTESTER_H
       
   658 
       
   659 // End of File