websrv_pub/xml_extensions_api/tsrc/senxml/inc/senxmlbctest.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:        SenXml test module.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 #ifndef __SENXML_H__
       
    26 #define __SENXML_H__
       
    27 
       
    28 //  EXTERNAL INCLUDES
       
    29 #include "StifTestModule.h"
       
    30 #include <StifLogger.h>
       
    31 
       
    32 #include <SenBaseAttribute.h>
       
    33 #include <SenBaseElement.h>
       
    34 #include <SenBaseFragment.h>
       
    35 #include <SenDomFragment.h>
       
    36 #include <SenElement.h>
       
    37 #include <SenNamespace.h>
       
    38 #include <SenXmlElement.h>
       
    39 #include <SenXmlReader.h>
       
    40 #include <SenXmlUtils.h>
       
    41 #include <f32file.h>
       
    42 #include <e32debug.h>
       
    43 #include <e32std.h>
       
    44 #include <e32def.h>
       
    45 
       
    46 
       
    47 
       
    48 //  FORWARD DECLARATIONS
       
    49 
       
    50 class CSenBaseAttribute;
       
    51 class CSenElement;
       
    52 class CSenBaseFragment;
       
    53 class CSenNamespace;
       
    54 class SenXmlUtils;
       
    55 class CSenDomFragment;
       
    56 class CSenBaseElement;
       
    57 class CSenXmlReader;
       
    58 class CSenXmlElement;
       
    59 
       
    60 //#include <e32def.h>
       
    61 //#ifndef NONSHARABLE_CLASS
       
    62 //    #define NONSHARABLE_CLASS(x) class x
       
    63 //#endif
       
    64 
       
    65 // Logging path
       
    66 _LIT( KSenXmlLogPath, "\\logs\\testframework\\SenXmlBCTest\\" ); 
       
    67 // Log file
       
    68 _LIT( KSenXmlLogFile, "SenXmlBCTest.txt" );
       
    69 
       
    70 // Function pointer related internal definitions
       
    71 // Visual studio 6.0 (__VC32__) needs different type of handling 
       
    72 #ifdef __VC32__
       
    73 #define GETPTR
       
    74 #else
       
    75 #define GETPTR &
       
    76 #endif  
       
    77 #define ENTRY(str,func) {_S(str), GETPTR func,0,0,0}
       
    78 #define FUNCENTRY(func) {_S(#func), GETPTR func,0,0,0}
       
    79 #define OOM_ENTRY(str,func,a,b,c) {_S(str), GETPTR func,a,b,c}
       
    80 #define OOM_FUNCENTRY(func,a,b,c) {_S(#func), GETPTR func,a,b,c}
       
    81 
       
    82 // FUNCTION PROTOTYPES
       
    83 //?type ?function_name(?arg_list);
       
    84 
       
    85 // FORWARD DECLARATIONS
       
    86 //class ?FORWARD_CLASSNAME;
       
    87 class CSenXmlBCTest;
       
    88 
       
    89 // DATA TYPES
       
    90 //enum ?declaration
       
    91 //typedef ?declaration
       
    92 //extern ?data_type;
       
    93 // A typedef for function that does the actual testing,
       
    94 // function is a type 
       
    95 // TInt CSenXmlBCTest::<NameOfFunction> ( TTestResult& aResult )
       
    96 typedef TInt (CSenXmlBCTest::* TestFunction)(TTestResult&);
       
    97 
       
    98 // CLASS DECLARATION
       
    99 
       
   100 /**
       
   101 *  An internal structure containing a test case name and
       
   102 *  the pointer to function doing the test
       
   103 *
       
   104 *  @lib ?library
       
   105 *  @since ?Series60_version
       
   106 */
       
   107 class TCaseInfoInternal
       
   108     {
       
   109     public:
       
   110         const TText*    iCaseName;
       
   111         TestFunction    iMethod;
       
   112         TBool           iIsOOMTest;
       
   113         TInt            iFirstMemoryAllocation;
       
   114         TInt            iLastMemoryAllocation;
       
   115     };
       
   116 
       
   117 // CLASS DECLARATION
       
   118 
       
   119 /**
       
   120 *  A structure containing a test case name and
       
   121 *  the pointer to function doing the test
       
   122 *
       
   123 *  @lib ?library
       
   124 *  @since ?Series60_version
       
   125 */
       
   126 class TCaseInfo
       
   127     {
       
   128     public:
       
   129         TPtrC iCaseName;
       
   130         TestFunction iMethod;
       
   131         TBool           iIsOOMTest;
       
   132         TInt            iFirstMemoryAllocation;
       
   133         TInt            iLastMemoryAllocation;
       
   134 
       
   135     TCaseInfo( const TText* a ) : iCaseName( (TText*) a )
       
   136         {
       
   137         };
       
   138 
       
   139     };
       
   140 
       
   141 
       
   142 // CLASS DECLARATION
       
   143 
       
   144 /**
       
   145 *  This a NewSoapClasses class.
       
   146 *  ?other_description_lines
       
   147 *
       
   148 *  @lib ?library
       
   149 *  @since ?Series60_version
       
   150 */
       
   151 NONSHARABLE_CLASS(CSenXmlBCTest) : public CTestModuleBase
       
   152     {
       
   153     public:  // Constructors and destructor
       
   154 
       
   155 
       
   156         /**
       
   157         * Two-phased constructor.
       
   158         */
       
   159         static CSenXmlBCTest* NewL();
       
   160 
       
   161         /**
       
   162         * Destructor.
       
   163         */
       
   164         virtual ~CSenXmlBCTest();
       
   165 
       
   166     public: // New functions
       
   167 
       
   168         /**
       
   169         * ?member_description.
       
   170         * @since ?Series60_version
       
   171         * @param ?arg1 ?description
       
   172         * @return ?description
       
   173         */
       
   174         //?type ?member_function( ?type ?arg1 );
       
   175 
       
   176     public: // Functions from base classes
       
   177 
       
   178         /**
       
   179         * From CTestModuleBase InitL is used to initialize the 
       
   180         *       NewSoapClasses. It is called once for every instance of 
       
   181         *       TestModuleNewSoapClasses after its creation.
       
   182         * @since ?Series60_version
       
   183         * @param aIniFile Initialization file for the test module (optional)
       
   184         * @param aFirstTime Flag is true when InitL is executed for first 
       
   185         *               created instance of NewSoapClasses.
       
   186         * @return Symbian OS error code
       
   187         */
       
   188         TInt InitL( TFileName& aIniFile, TBool aFirstTime );
       
   189 
       
   190         /**
       
   191         * From CTestModuleBase GetTestCasesL is used to inquiry test cases 
       
   192         *   from NewSoapClasses. 
       
   193         * @since ?Series60_version
       
   194         * @param aTestCaseFile Test case file (optional)
       
   195         * @param aTestCases  Array of TestCases returned to test framework
       
   196         * @return Symbian OS error code
       
   197         */
       
   198         TInt GetTestCasesL( const TFileName& aTestCaseFile, 
       
   199                             RPointerArray<TTestCaseInfo>& aTestCases );
       
   200 
       
   201         /**
       
   202         * From CTestModuleBase RunTestCaseL is used to run an individual 
       
   203         *   test case. 
       
   204         * @since ?Series60_version
       
   205         * @param aCaseNumber Test case number
       
   206         * @param aTestCaseFile Test case file (optional)
       
   207         * @param aResult Test case result returned to test framework (PASS/FAIL)
       
   208         * @return Symbian OS error code (test case execution error, which is 
       
   209         *           not reported in aResult parameter as test case failure).
       
   210         */   
       
   211         TInt RunTestCaseL( const TInt aCaseNumber, 
       
   212                            const TFileName& aTestCaseFile,
       
   213                            TTestResult& aResult );
       
   214 
       
   215         /**
       
   216         * From CTestModuleBase; OOMTestQueryL is used to specify is particular
       
   217         * test case going to be executed using OOM conditions
       
   218         * @param aTestCaseFile Test case file (optional)
       
   219         * @param aCaseNumber Test case number (optional)
       
   220         * @param aFailureType OOM failure type (optional)
       
   221         * @param aFirstMemFailure The first heap memory allocation failure value (optional)
       
   222         * @param aLastMemFailure The last heap memory allocation failure value (optional)
       
   223         * @return TBool
       
   224         */
       
   225         virtual TBool OOMTestQueryL( const TFileName& /* aTestCaseFile */, 
       
   226                                      const TInt /* aCaseNumber */, 
       
   227                                      TOOMFailureType& aFailureType, 
       
   228                                      TInt& /* aFirstMemFailure */, 
       
   229                                      TInt& /* aLastMemFailure */ );
       
   230 
       
   231         /**
       
   232         * From CTestModuleBase; OOMTestInitializeL may be used to initialize OOM
       
   233         * test environment
       
   234         * @param aTestCaseFile Test case file (optional)
       
   235         * @param aCaseNumber Test case number (optional)
       
   236         * @return None
       
   237         */
       
   238         virtual void OOMTestInitializeL( const TFileName& /* aTestCaseFile */, 
       
   239                                     const TInt /* aCaseNumber */ ); 
       
   240 
       
   241         /**
       
   242         * From CTestModuleBase; OOMHandleWarningL
       
   243         * @param aTestCaseFile Test case file (optional)
       
   244         * @param aCaseNumber Test case number (optional)
       
   245         * @param aFailNextValue FailNextValue for OOM test execution (optional)
       
   246         * @return None
       
   247         *
       
   248         * User may add implementation for OOM test warning handling. Usually no
       
   249         * implementation is required.           
       
   250         */
       
   251         virtual void OOMHandleWarningL( const TFileName& /* aTestCaseFile */,
       
   252                                         const TInt /* aCaseNumber */, 
       
   253                                         TInt& /* aFailNextValue */); 
       
   254 
       
   255         /**
       
   256         * From CTestModuleBase; OOMTestFinalizeL may be used to finalize OOM
       
   257         * test environment
       
   258         * @param aTestCaseFile Test case file (optional)
       
   259         * @param aCaseNumber Test case number (optional)
       
   260         * @return None
       
   261         *
       
   262         */
       
   263         virtual void OOMTestFinalizeL( const TFileName& /* aTestCaseFile */, 
       
   264                                        const TInt /* aCaseNumber */ );
       
   265 
       
   266     private:
       
   267 
       
   268         /**
       
   269         * C++ default constructor.
       
   270         */
       
   271         CSenXmlBCTest();
       
   272 
       
   273         /**
       
   274         * By default Symbian 2nd phase constructor is private.
       
   275         */
       
   276         void ConstructL();
       
   277 
       
   278         // Prohibit copy constructor if not deriving from CBase.
       
   279         // ?classname( const ?classname& );
       
   280         // Prohibit assigment operator if not deriving from CBase.
       
   281         // ?classname& operator=( const ?classname& );
       
   282 
       
   283         /**
       
   284         * Function returning test case name and pointer to test case function.
       
   285         * @since ?Series60_version
       
   286         * @param aCaseNumber test case number
       
   287         * @return TCaseInfo 
       
   288         */
       
   289         const TCaseInfo Case ( const TInt aCaseNumber ) const;
       
   290         
       
   291         void SetupL();
       
   292         void Teardown();
       
   293 
       
   294 
       
   295         /**
       
   296         * Actual Hardcoded test case functions are listed below.
       
   297         */         TInt CSenBaseAttribute_NewLL( TTestResult& aResult );
       
   298         
       
   299         
       
   300          TInt CSenBaseAttribute_NewL_1L( TTestResult& aResult );
       
   301         
       
   302         
       
   303          TInt CSenBaseElement_NewLL( TTestResult& aResult );
       
   304         
       
   305         
       
   306          TInt CSenBaseElement_NewL_1L( TTestResult& aResult );
       
   307         
       
   308         
       
   309          TInt CSenBaseElement_NewL_2L( TTestResult& aResult );
       
   310          
       
   311          
       
   312          TInt CSenBaseElement_NewL_3L( TTestResult& aResult );
       
   313          
       
   314          
       
   315          TInt CSenBaseElement_NewL_4L( TTestResult& aResult );
       
   316         
       
   317         
       
   318          TInt CSenBaseElement_SetAttributesLL( TTestResult& aResult );
       
   319         
       
   320         
       
   321          TInt CSenBaseElement_LocalNameL( TTestResult& aResult );
       
   322         
       
   323         
       
   324          TInt CSenBaseElement_NamespaceURIL( TTestResult& aResult );
       
   325         
       
   326         
       
   327          TInt CSenBaseElement_NsPrefixL( TTestResult& aResult );
       
   328         
       
   329         
       
   330          TInt CSenBaseElement_SetPrefixLL( TTestResult& aResult );
       
   331         
       
   332         
       
   333          TInt CSenBaseElement_HasContentTL( TTestResult& aResult );
       
   334          
       
   335          TInt CSenBaseElement_HasContentFL( TTestResult& aResult );        
       
   336         
       
   337          TInt CSenBaseElement_ContentL( TTestResult& aResult );
       
   338          
       
   339          TInt CSenBaseElement_Content_NullL( TTestResult& aResult );        
       
   340         
       
   341          TInt CSenBaseElement_ContentUnicodeLL( TTestResult& aResult );
       
   342         
       
   343         
       
   344          TInt CSenBaseElement_SetContentLL( TTestResult& aResult );
       
   345          
       
   346          TInt CSenBaseElement_SetContentL_NullL( TTestResult& aResult );        
       
   347          
       
   348          TInt CSenBaseElement_SetContentL_OverRightL( TTestResult& aResult );
       
   349          
       
   350          TInt CSenBaseElement_SetContentL_WithEscCharsL( TTestResult& aResult );
       
   351         
       
   352          TInt CSenBaseElement_ConsistsOfLL( TTestResult& aResult );
       
   353         
       
   354         
       
   355          TInt CSenBaseElement_SetNamespaceLL( TTestResult& aResult );
       
   356          
       
   357          TInt CSenBaseElement_SetNamespaceL_NullL( TTestResult& aResult );        
       
   358         
       
   359          TInt CSenBaseElement_SetNamespaceL_1L( TTestResult& aResult );
       
   360         
       
   361          TInt CSenBaseElement_SetNamespaceL_2same1L( TTestResult& aResult );
       
   362          
       
   363          TInt CSenBaseElement_SetNamespaceL_2Diff1L( TTestResult& aResult );
       
   364        
       
   365          TInt CSenBaseElement_SetNamespaceL_DPSU1L( TTestResult& aResult );
       
   366         
       
   367          TInt CSenBaseElement_SetNamespaceL_SNsPC1L( TTestResult& aResult );
       
   368         
       
   369          TInt CSenBaseElement_AddNamespaceL_FL( TTestResult& aResult );        
       
   370          
       
   371          TInt CSenBaseElement_AddNamespaceL_TL( TTestResult& aResult );
       
   372          
       
   373          TInt CSenBaseElement_AddNamespaceL_TSPL( TTestResult& aResult ); 
       
   374          
       
   375          TInt CSenBaseElement_AddNamespaceL_TDPL( TTestResult& aResult );        
       
   376         
       
   377          TInt CSenBaseElement_AddNamespaceL_1L( TTestResult& aResult );
       
   378          
       
   379          TInt CSenBaseElement_AddNamespaceL_2same1L( TTestResult& aResult );
       
   380          
       
   381          TInt CSenBaseElement_AddNamespaceL_2Diff1L( TTestResult& aResult );        
       
   382         
       
   383          TInt CSenBaseElement_NamespaceL( TTestResult& aResult );        
       
   384         
       
   385          TInt CSenBaseElement_Namespace_1L( TTestResult& aResult );
       
   386          
       
   387          TInt CSenBaseElement_Namespace_WP1L( TTestResult& aResult );        
       
   388         
       
   389          TInt CSenBaseElement_Namespace_2L( TTestResult& aResult );
       
   390         
       
   391 		 	        
       
   392         
       
   393          TInt CSenBaseElement_Namespace_3L( TTestResult& aResult );
       
   394         
       
   395         
       
   396          TInt CSenBaseElement_ElementsLL( TTestResult& aResult );
       
   397         
       
   398         
       
   399          
       
   400         
       
   401          TInt CSenBaseElement_AttributesLL( TTestResult& aResult );
       
   402         
       
   403         
       
   404          TInt CSenBaseElement_NamespacesLL( TTestResult& aResult );
       
   405         
       
   406         
       
   407          TInt CSenBaseElement_AttrValueL( TTestResult& aResult );
       
   408         
       
   409         
       
   410          TInt CSenBaseElement_AddAttrLL( TTestResult& aResult );
       
   411          TInt CSenBaseElement_AddAttributeLL( TTestResult& aResult );
       
   412         
       
   413         
       
   414          TInt CSenBaseElement_ParentL( TTestResult& aResult );
       
   415          
       
   416          TInt CSenBaseElement_SetParentL( TTestResult& aResult );
       
   417         
       
   418          TInt CSenBaseElement_RootL( TTestResult& aResult );
       
   419         
       
   420          TInt CSenBaseElement_ElementL( TTestResult& aResult );
       
   421 		TInt CSenBaseElement_ElementsL1( TTestResult& aResult );
       
   422          TInt CSenBaseElement_ElementsL2( TTestResult& aResult );
       
   423          
       
   424          TInt CSenBaseElement_CreateElementLL( TTestResult& aResult );
       
   425      
       
   426          TInt CSenBaseElement_InsertElementLL( TTestResult& aResult );
       
   427          
       
   428 		 TInt CSenBaseElement_InsertElementL_NoBeforeL( TTestResult& aResult );                 
       
   429         
       
   430          TInt CSenBaseElement_AddElementLL( TTestResult& aResult );
       
   431         
       
   432         
       
   433          TInt CSenBaseElement_AddElementL_1L( TTestResult& aResult );
       
   434         
       
   435         
       
   436          TInt CSenBaseElement_AddElementL_2L( TTestResult& aResult );
       
   437         
       
   438         
       
   439          TInt CSenBaseElement_AddElementL_3L( TTestResult& aResult );
       
   440         
       
   441         
       
   442          TInt CSenBaseElement_RemoveElementL( TTestResult& aResult );
       
   443         
       
   444         
       
   445          TInt CSenBaseElement_RemoveElement_1L( TTestResult& aResult );
       
   446         
       
   447         
       
   448          TInt CSenBaseElement_RemoveElement_2L( TTestResult& aResult );
       
   449         
       
   450         
       
   451          TInt CSenBaseElement_ReplaceElementLL( TTestResult& aResult );
       
   452         
       
   453         
       
   454          TInt CSenBaseElement_AsXmlLL( TTestResult& aResult );
       
   455         
       
   456         
       
   457          TInt CSenBaseElement_AsXmlUnicodeLL( TTestResult& aResult );
       
   458         
       
   459          TInt CSenBaseElement_CopyFromLL( TTestResult& aResult );
       
   460         
       
   461          TInt CSenBaseElement_DetachLL( TTestResult& aResult );
       
   462         
       
   463          TInt CSenBaseElement_ChildL( TTestResult& aResult );
       
   464         
       
   465         
       
   466          TInt CSenBaseElement_SetL( TTestResult& aResult );
       
   467          
       
   468          
       
   469          TInt CSenBaseElement_AddAttributesLL( TTestResult& aResult );
       
   470          
       
   471          TInt CSenBaseElement_AsElementL( TTestResult& aResult );
       
   472          TInt CSenBaseElement_ContentWriteStreamLL( TTestResult& aResult );
       
   473 		 TInt CSenBaseElement_RemoveAttributeLL( TTestResult& aResult );
       
   474          TInt CSenXmlElement_NewLL( TTestResult& aResult );
       
   475         
       
   476         
       
   477          TInt CSenXmlElement_NewL_1L( TTestResult& aResult );
       
   478         
       
   479         
       
   480          TInt CSenXmlElement_NewL_2L( TTestResult& aResult );
       
   481         
       
   482         
       
   483          TInt CSenXmlElement_SetAttributesLL( TTestResult& aResult );
       
   484         
       
   485         
       
   486          TInt CSenXmlElement_LocalNameL( TTestResult& aResult );
       
   487         
       
   488         
       
   489          TInt CSenXmlElement_NamespaceURIL( TTestResult& aResult );
       
   490         
       
   491         
       
   492          TInt CSenXmlElement_NsPrefixL( TTestResult& aResult );
       
   493         
       
   494         
       
   495          TInt CSenXmlElement_SetPrefixLL( TTestResult& aResult );
       
   496         
       
   497         
       
   498          TInt CSenXmlElement_HasContentL( TTestResult& aResult );
       
   499         
       
   500         
       
   501          TInt CSenXmlElement_ContentL( TTestResult& aResult );
       
   502          
       
   503          TInt CSenXmlElement_ContentWriteStreamLL( TTestResult& aResult );
       
   504          
       
   505         
       
   506          TInt CSenXmlElement_ContentUnicodeLL( TTestResult& aResult );
       
   507                 
       
   508          TInt CSenXmlElement_SetContentLL( TTestResult& aResult );        
       
   509         
       
   510          TInt CSenXmlElement_ConsistsOfLL( TTestResult& aResult );
       
   511          
       
   512          TInt CSenXmlElement_ConsistsOfL1L( TTestResult& aResult );
       
   513          
       
   514          TInt CSenXmlElement_ConsistsOfL2L( TTestResult& aResult );        
       
   515         
       
   516          TInt CSenXmlElement_SetNamespaceLL( TTestResult& aResult );
       
   517          
       
   518          TInt CSenXmlElement_SetNamespaceL_1L( TTestResult& aResult );
       
   519          
       
   520          TInt CSenXmlElement_SetNamespaceL_2same1L( TTestResult& aResult );
       
   521          
       
   522          TInt CSenXmlElement_SetNamespaceL_2Diff1L( TTestResult& aResult ) ;      
       
   523         
       
   524          TInt CSenXmlElement_AddNamespaceLL( TTestResult& aResult );
       
   525          
       
   526          TInt CSenXmlElement_AddNamespaceLFL( TTestResult& aResult );
       
   527         
       
   528          TInt CSenXmlElement_AddNamespaceL_1L( TTestResult& aResult );
       
   529       
       
   530         
       
   531          TInt CSenXmlElement_NamespaceL( TTestResult& aResult );
       
   532         
       
   533         
       
   534          TInt CSenXmlElement_Namespace_1L( TTestResult& aResult );
       
   535         
       
   536         
       
   537          TInt CSenXmlElement_Namespace_2L( TTestResult& aResult );
       
   538         
       
   539         
       
   540          TInt CSenXmlElement_Namespace_3L( TTestResult& aResult );
       
   541         
       
   542         
       
   543          TInt CSenXmlElement_ElementsLL( TTestResult& aResult );
       
   544                 
       
   545          TInt CSenXmlElement_AttributesLL( TTestResult& aResult );
       
   546         
       
   547         
       
   548          TInt CSenXmlElement_NamespacesLL( TTestResult& aResult );
       
   549         
       
   550         
       
   551          TInt CSenXmlElement_AttrValueL( TTestResult& aResult );
       
   552         
       
   553         
       
   554          TInt CSenXmlElement_AddAttrLL( TTestResult& aResult );
       
   555         
       
   556         
       
   557          TInt CSenXmlElement_ParentL( TTestResult& aResult );
       
   558         
       
   559         
       
   560          TInt CSenXmlElement_SetParentL( TTestResult& aResult );
       
   561         
       
   562         
       
   563          TInt CSenXmlElement_RootL( TTestResult& aResult );
       
   564         
       
   565         
       
   566          TInt CSenXmlElement_ElementL( TTestResult& aResult );
       
   567         
       
   568          TInt CSenXmlElement_CreateElementLL( TTestResult& aResult );
       
   569         
       
   570         
       
   571          TInt CSenXmlElement_InsertElementLL( TTestResult& aResult );
       
   572         
       
   573         
       
   574          TInt CSenXmlElement_AddElementLL( TTestResult& aResult );
       
   575         
       
   576         
       
   577          TInt CSenXmlElement_AddElementL_1L( TTestResult& aResult );
       
   578         
       
   579         
       
   580          TInt CSenXmlElement_AddElementL_2L( TTestResult& aResult );
       
   581         
       
   582         
       
   583          TInt CSenXmlElement_AddElementL_3L( TTestResult& aResult );
       
   584         
       
   585         
       
   586          TInt CSenXmlElement_RemoveElementL( TTestResult& aResult );
       
   587         
       
   588         
       
   589          TInt CSenXmlElement_RemoveElement_1L( TTestResult& aResult );
       
   590         
       
   591         
       
   592          TInt CSenXmlElement_RemoveElement_2L( TTestResult& aResult );
       
   593         
       
   594         
       
   595          TInt CSenXmlElement_ReplaceElementLL( TTestResult& aResult );
       
   596         
       
   597         
       
   598          TInt CSenXmlElement_AsXmlLL( TTestResult& aResult );
       
   599         
       
   600         
       
   601          TInt CSenXmlElement_AsXmlUnicodeLL( TTestResult& aResult );
       
   602         
       
   603          TInt CSenXmlElement_CopyFromLL( TTestResult& aResult );
       
   604         
       
   605         
       
   606          TInt CSenXmlElement_DetachLL( TTestResult& aResult );
       
   607         
       
   608         
       
   609          TInt CSenXmlElement_ChildL( TTestResult& aResult );
       
   610         
       
   611         
       
   612          TInt CSenXmlElement_SetL( TTestResult& aResult );
       
   613         
       
   614         
       
   615          TInt CSenXmlElement_AddAttributesLL( TTestResult& aResult );
       
   616          TInt CSenXmlElement_AddAttributeLL( TTestResult& aResult );
       
   617          TInt CSenXmlElement_RemoveAttributeLL( TTestResult& aResult );
       
   618          TInt CSenXmlElement_AsElementL( TTestResult& aResult );
       
   619          TInt CSenBaseFragment_AsXmlUnicodeLL( TTestResult& aResult );
       
   620          
       
   621          TInt CSenBaseFragment_NewL_L( TTestResult& aResult );
       
   622          TInt CSenBaseFragment_NewL_1L( TTestResult& aResult );
       
   623          TInt CSenBaseFragment_NewL_2L( TTestResult& aResult );
       
   624          TInt CSenBaseFragment_NewL_3L( TTestResult& aResult );
       
   625          TInt CSenBaseFragment_NewL_4L( TTestResult& aResult );
       
   626          TInt CSenBaseFragment_NewL_5L( TTestResult& aResult );
       
   627          TInt CSenBaseFragment_WriteAsXMLToLL( TTestResult& aResult );
       
   628          TInt CSenBaseFragment_ContentL( TTestResult& aResult );
       
   629          TInt CSenBaseFragment_NamespaceL( TTestResult& aResult );
       
   630          TInt CSenBaseFragment_EnsureNamespaceL( TTestResult& aResult );
       
   631          TInt CSenBaseFragment_DetachLL( TTestResult& aResult );
       
   632          TInt CSenBaseFragment_SaveNamespacesLL( TTestResult& aResult );
       
   633          TInt CSenBaseFragment_ResetContentLL( TTestResult& aResult );
       
   634          TInt CSenBaseFragment_LocalNameL( TTestResult& aResult );
       
   635          TInt CSenBaseFragment_NsUriL( TTestResult& aResult );
       
   636          TInt CSenBaseFragment_NsPrefixL( TTestResult& aResult );
       
   637          TInt CSenBaseFragment_ExtractElementL( TTestResult& aResult );
       
   638          TInt CSenBaseFragment_SetAttributesLL( TTestResult& aResult );
       
   639          TInt CSenBaseFragment_ConsistsOfLL( TTestResult& aResult );
       
   640          TInt CSenBaseFragment_AllocContentSaverLL( TTestResult& aResult );
       
   641          TInt CSenBaseFragment_ParseLL( TTestResult& aResult );
       
   642          TInt CSenBaseFragment_ParseL1L( TTestResult& aResult );
       
   643          TInt CSenBaseFragment_SetContentOfLL( TTestResult& aResult );
       
   644          TInt CSenBaseFragment_ContentOfL( TTestResult& aResult );
       
   645          TInt CSenXMLReader_ParserFeatureL( TTestResult& aResult );
       
   646 		 TInt CSenXMLReader_ParseLL( TTestResult& aResult );
       
   647          TInt CSenDomFragment_ConsistsOfLL( TTestResult& aResult );
       
   648          
       
   649          TInt CSenDomFragment_NewL_L( TTestResult& aResult );
       
   650          TInt CSenDomFragment_NewL_1L( TTestResult& aResult );
       
   651          TInt CSenDomFragment_NewL_2L( TTestResult& aResult );
       
   652          TInt CSenDomFragment_NewL_3L( TTestResult& aResult );
       
   653          TInt CSenDomFragment_NewL_4L( TTestResult& aResult );
       
   654          TInt CSenDomFragment_NewL_5L( TTestResult& aResult );
       
   655          TInt CSenDomFragment_NewL_6L( TTestResult& aResult );
       
   656          
       
   657          //TInt CSenDomFragment_ExpandLL( TTestResult& aResult );
       
   658          //TInt CSenDomFragment_ResumeParsingFromLL( TTestResult& aResult );
       
   659          TInt CSenDomFragment_ParseWithLL( TTestResult& aResult );
       
   660          TInt CSenDomFragment_SetAttributesLL( TTestResult& aResult );
       
   661          TInt CSenDomFragment_ParseL1L( TTestResult& aResult );
       
   662          
       
   663          TInt CSenNamespace_NewL_L( TTestResult& aResult );
       
   664          TInt CSenNamespace_NewLC_L( TTestResult& aResult );
       
   665          TInt CSenNamespace_NewL_1L( TTestResult& aResult );
       
   666          TInt CSenNamespace_NewLC_1L( TTestResult& aResult );
       
   667          TInt CSenNamespace_MatchesL_L( TTestResult& aResult );
       
   668          TInt CSenNamespace_InsertLL( TTestResult& aResult );
       
   669          TInt CSenXmlReader_NewL_L( TTestResult& aResult );
       
   670          TInt CSenXmlReader_NewLC_L( TTestResult& aResult );
       
   671          TInt CSenXmlReader_NewL_1L( TTestResult& aResult );
       
   672          TInt CSenXmlReader_NewLC_1L( TTestResult& aResult );
       
   673          TInt CSenXmlReader_NewL_2L( TTestResult& aResult );
       
   674          TInt CSenXmlReader_NewLC_2L( TTestResult& aResult );
       
   675          TInt CSenXmlReader_NewL_3L( TTestResult& aResult );
       
   676          TInt CSenXmlReader_NewLC_3L( TTestResult& aResult );
       
   677 
       
   678          TInt CSenXmlReader_EnabledParserFeature_L( TTestResult& aResult );        
       
   679          
       
   680          TInt CSenXmlUtils_ToUtf8LCL( TTestResult& aResult );        
       
   681          TInt CSenXmlUtils_StartsWithL( TTestResult& aResult );        
       
   682          TInt CSenXmlUtils_EndsWithL( TTestResult& aResult );        
       
   683          TInt CSenXmlUtils_AttrValueL( TTestResult& aResult );        
       
   684          TInt CSenXmlUtils_AllocAttrValueLL( TTestResult& aResult );        
       
   685          TInt CSenXmlUtils_DecodeHttpCharactersLL( TTestResult& aResult );        
       
   686          TInt CSenXmlUtils_DecodeHttpCharactersLCL( TTestResult& aResult );        
       
   687          TInt CSenXmlUtils_NsPrefixL( TTestResult& aResult );        
       
   688          TInt CSenXmlUtils_LocalNameL( TTestResult& aResult );        
       
   689          TInt CSenXmlUtils_RemoveAttributeLL( TTestResult& aResult );        
       
   690          TInt CSenXmlUtils_RemoveAttributeL1L( TTestResult& aResult );        
       
   691          TInt CSenXmlUtils_AddAttributeLL( TTestResult& aResult );        
       
   692          TInt CSenXmlUtils_AddAttributeL1L( TTestResult& aResult );        
       
   693          TInt CSenXmlUtils_AddAttributeL2L( TTestResult& aResult );        
       
   694          TInt CSenXmlUtils_EncodeHttpCharactersLCL( TTestResult& aResult ); 
       
   695          TInt CSenDomFragment_BaseConstructL( TTestResult& aResult );
       
   696          TInt CSenBaseFragment_BaseConstructL( TTestResult& aResult );
       
   697 
       
   698 
       
   699 
       
   700      public:     // Data
       
   701         // ?one_line_short_description_of_data
       
   702         //?data_declaration;
       
   703 
       
   704     protected:  // Data
       
   705         // ?one_line_short_description_of_data
       
   706         //?data_declaration;
       
   707 
       
   708     private:    // Data
       
   709         // Pointer to test (function) to be executed
       
   710         TestFunction iMethod;
       
   711 
       
   712         // Pointer to logger
       
   713         CStifLogger * iLog; 
       
   714 
       
   715 		CSenXmlReader* iXmlReader;
       
   716         // ?one_line_short_description_of_data
       
   717         //?data_declaration;
       
   718 
       
   719         // Reserved pointer for future extension
       
   720         //TAny* iReserved;
       
   721 
       
   722     public:     // Friend classes
       
   723         //?friend_class_declaration;
       
   724     protected:  // Friend classes
       
   725         //?friend_class_declaration;
       
   726     private:    // Friend classes
       
   727         //?friend_class_declaration;
       
   728 
       
   729     };
       
   730 
       
   731 #endif      // NewSoapClasses_H
       
   732 
       
   733 // End of File