websrv_pub/web_service_connection_api/tsrc/bc/senutils/inc/senutilsbctest.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2002-2009 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:          SenUtils test module.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 #ifndef SENUTILS_H
       
    27 #define SENUTILS_H
       
    28 
       
    29 // INCLUDES
       
    30 #include <StifTestModule.h>
       
    31 #include <StifLogger.h>
       
    32 #include <SenParser.h>
       
    33 #include <SenBaseAttribute.h>
       
    34 #include <SenBaseElement.h>
       
    35 #include <SenBaseFragment.h>
       
    36 #include <SenDomFragment.h>
       
    37 #include <SenIdentityProvider.h>
       
    38 #include <SenNameSpace.h>
       
    39 #include <SenSoapEnvelope.h>
       
    40 #include <SenSoapFault.h>
       
    41 #include <SenSoapMessage.h>
       
    42 #include <SenWsSecurityHeader.h>
       
    43 #include <SenXmlReader.h>
       
    44 #include <SenXmlServiceDescription.h>
       
    45 #include <SenDateUtils.h>
       
    46 #include <SenXmlUtils.h>
       
    47 #include <SenXmlConstants.h>
       
    48 #include <SenTransportProperties.h>
       
    49 #include <SenHttpTransportProperties.h>
       
    50 //#include <SenVtcpTransportProperties.h>
       
    51 #include <f32file.h>
       
    52 //#include <S32FILE.H>
       
    53 //#include <e32std.h>
       
    54 
       
    55 //  FORWARD DECLARATIONS
       
    56 class CSenBaseAttribute;
       
    57 class CSenBaseFragment;
       
    58 class CSenSoapMessage;
       
    59 class CSenIdentityProvider;
       
    60 class CSenGuidGen;
       
    61 class CSenDomFragment;
       
    62 class CSenSoapFault;
       
    63 class CSenXmlServiceDescription;
       
    64 class CSenSoapEnvelope;
       
    65 class CSenWsSecurityHeader;
       
    66 class SenXmlUtils;
       
    67 class CSenBaseElement;
       
    68 class MSenElement;
       
    69 class CSenXmlReader;
       
    70 class SenDateUtils;
       
    71 class CSenNamespace;
       
    72 
       
    73 namespace{
       
    74     _LIT8(KText,"text");
       
    75     _LIT8(KText2,"text2");
       
    76     _LIT8(KXmlSpecific, "\"&<>");
       
    77     _LIT8(KFaultMessage, "<S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"><S:Body><S:Fault><faultcode>VersionMismatch</faultcode><faultstring>some string</faultstring><faultactor>some actor</faultactor><detail>bla bla</detail></S:Fault></S:Body></S:Envelope>");
       
    78     _LIT8(KSOAPMessageNS, "<tns:Envelope xmlns:tns=\"http://schemas.xmlsoap.org/soap/envelope/\"><tns:Header/><tns:Body><ab:QueryResponse xmlns:ab=\"urn:nokia:test:addrbook:2004-09\"><ab:Status code=\"OK\"/><ab:Data>Hard Coded response, alway the same</ab:Data></ab:QueryResponse></tns:Body></tns:Envelope>");
       
    79     _LIT8(KSOAPMessageNSInside, "<S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"><S:Header/><S:Body><ab:QueryResponse xmlns:ab=\"urn:nokia:test:addrbook:2004-09\"><ab:Status code=\"OK\"/><ab:Data>Hard Coded response, alway the same</ab:Data></ab:QueryResponse></S:Body></S:Envelope>");
       
    80     _LIT8(KSOAPMessage,  "<S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"><S:Header/><S:Body><QueryResponse><Data>Hard Coded response, alway the same</Data></QueryResponse></S:Body></S:Envelope>");
       
    81 
       
    82 }
       
    83 // MACROS
       
    84 //#define ?macro ?macro_def
       
    85 #define TEST_MODULE_VERSION_MAJOR 50
       
    86 #define TEST_MODULE_VERSION_MINOR 9
       
    87 #define TEST_MODULE_VERSION_BUILD 6
       
    88 // Logging path
       
    89 _LIT( KSenUtilsLogPath, "\\logs\\testframework\\SenUtilsBCTest\\" ); 
       
    90 // Log file
       
    91 _LIT( KSenUtilsLogFile, "SenUtilsBCTest.txt" ); 
       
    92 
       
    93 // Function pointer related internal definitions
       
    94 // Visual studio 6.0 (__VC32__) needs different type of handling 
       
    95 #ifdef __VC32__
       
    96 #define GETPTR
       
    97 #else
       
    98 #define GETPTR &
       
    99 #endif  
       
   100 #define ENTRY(str,func) {_S(str), GETPTR func,0,0,0}
       
   101 #define FUNCENTRY(func) {_S(#func), GETPTR func,0,0,0}
       
   102 #define OOM_ENTRY(str,func,a,b,c) {_S(str), GETPTR func,a,b,c}
       
   103 #define OOM_FUNCENTRY(func,a,b,c) {_S(#func), GETPTR func,a,b,c}
       
   104 
       
   105 // FUNCTION PROTOTYPES
       
   106 //?type ?function_name(?arg_list);
       
   107 
       
   108 // FORWARD DECLARATIONS
       
   109 //class ?FORWARD_CLASSNAME;
       
   110 class CSenUtilsBCTest;
       
   111 
       
   112 // DATA TYPES
       
   113 //enum ?declaration
       
   114 //typedef ?declaration
       
   115 //extern ?data_type;
       
   116 // A typedef for function that does the actual testing,
       
   117 // function is a type 
       
   118 // TInt CSenUtilsBCTest::<NameOfFunction> ( TTestResult& aResult )
       
   119 typedef TInt (CSenUtilsBCTest::* TestFunction)(TTestResult&);
       
   120 
       
   121 // CLASS DECLARATION
       
   122 
       
   123 /**
       
   124 *  An internal structure containing a test case name and
       
   125 *  the pointer to function doing the test
       
   126 *
       
   127 *  @lib ?library
       
   128 *  @since ?Series60_version
       
   129 */
       
   130 class TCaseInfoInternal
       
   131     {
       
   132     public:
       
   133         const TText*    iCaseName;
       
   134         TestFunction    iMethod;
       
   135         TBool           iIsOOMTest;
       
   136         TInt            iFirstMemoryAllocation;
       
   137         TInt            iLastMemoryAllocation;
       
   138     };
       
   139 
       
   140 // CLASS DECLARATION
       
   141 
       
   142 /**
       
   143 *  A structure containing a test case name and
       
   144 *  the pointer to function doing the test
       
   145 *
       
   146 *  @lib ?library
       
   147 *  @since ?Series60_version
       
   148 */
       
   149 class TCaseInfo
       
   150     {
       
   151     public:
       
   152         TPtrC iCaseName;
       
   153         TestFunction iMethod;
       
   154         TBool           iIsOOMTest;
       
   155         TInt            iFirstMemoryAllocation;
       
   156         TInt            iLastMemoryAllocation;
       
   157 
       
   158     TCaseInfo( const TText* a ) : iCaseName( (TText*) a )
       
   159         {
       
   160         };
       
   161 
       
   162     };
       
   163 
       
   164 
       
   165 // CLASS DECLARATION
       
   166 
       
   167 /**
       
   168 *  This a SenUtils class.
       
   169 *  ?other_description_lines
       
   170 *
       
   171 *  @lib ?library
       
   172 *  @since ?Series60_version
       
   173 */
       
   174 NONSHARABLE_CLASS(CSenUtilsBCTest) : public CTestModuleBase
       
   175     {
       
   176     public:  // Constructors and destructor
       
   177 
       
   178 
       
   179         /**
       
   180         * Two-phased constructor.
       
   181         */
       
   182         static CSenUtilsBCTest* NewL();
       
   183 
       
   184         /**
       
   185         * Destructor.
       
   186         */
       
   187         virtual ~CSenUtilsBCTest();
       
   188 
       
   189     public: // New functions
       
   190 
       
   191         /**
       
   192         * ?member_description.
       
   193         * @since ?Series60_version
       
   194         * @param ?arg1 ?description
       
   195         * @return ?description
       
   196         */
       
   197         //?type ?member_function( ?type ?arg1 );
       
   198 
       
   199     public: // Functions from base classes
       
   200 
       
   201         /**
       
   202         * From CTestModuleBase InitL is used to initialize the 
       
   203         *       SenUtils. It is called once for every instance of 
       
   204         *       TestModuleSenUtils after its creation.
       
   205         * @since ?Series60_version
       
   206         * @param aIniFile Initialization file for the test module (optional)
       
   207         * @param aFirstTime Flag is true when InitL is executed for first 
       
   208         *               created instance of SenUtils.
       
   209         * @return Symbian OS error code
       
   210         */
       
   211         TInt InitL( TFileName& aIniFile, TBool aFirstTime );
       
   212 
       
   213         /**
       
   214         * From CTestModuleBase GetTestCasesL is used to inquiry test cases 
       
   215         *   from SenUtils. 
       
   216         * @since ?Series60_version
       
   217         * @param aTestCaseFile Test case file (optional)
       
   218         * @param aTestCases  Array of TestCases returned to test framework
       
   219         * @return Symbian OS error code
       
   220         */
       
   221         TInt GetTestCasesL( const TFileName& aTestCaseFile, 
       
   222                             RPointerArray<TTestCaseInfo>& aTestCases );
       
   223 
       
   224         /**
       
   225         * From CTestModuleBase RunTestCaseL is used to run an individual 
       
   226         *   test case. 
       
   227         * @since ?Series60_version
       
   228         * @param aCaseNumber Test case number
       
   229         * @param aTestCaseFile Test case file (optional)
       
   230         * @param aResult Test case result returned to test framework (PASS/FAIL)
       
   231         * @return Symbian OS error code (test case execution error, which is 
       
   232         *           not reported in aResult parameter as test case failure).
       
   233         */   
       
   234         TInt RunTestCaseL( const TInt aCaseNumber, 
       
   235                            const TFileName& aTestCaseFile,
       
   236                            TTestResult& aResult );
       
   237 
       
   238         /**
       
   239         * From CTestModuleBase; OOMTestQueryL is used to specify is particular
       
   240         * test case going to be executed using OOM conditions
       
   241         * @param aTestCaseFile Test case file (optional)
       
   242         * @param aCaseNumber Test case number (optional)
       
   243         * @param aFailureType OOM failure type (optional)
       
   244         * @param aFirstMemFailure The first heap memory allocation failure value (optional)
       
   245         * @param aLastMemFailure The last heap memory allocation failure value (optional)
       
   246         * @return TBool
       
   247         */
       
   248         virtual TBool OOMTestQueryL( const TFileName& /* aTestCaseFile */, 
       
   249                                      const TInt /* aCaseNumber */, 
       
   250                                      TOOMFailureType& aFailureType, 
       
   251                                      TInt& /* aFirstMemFailure */, 
       
   252                                      TInt& /* aLastMemFailure */ );
       
   253 
       
   254         /**
       
   255         * From CTestModuleBase; OOMTestInitializeL may be used to initialize OOM
       
   256         * test environment
       
   257         * @param aTestCaseFile Test case file (optional)
       
   258         * @param aCaseNumber Test case number (optional)
       
   259         * @return None
       
   260         */
       
   261         virtual void OOMTestInitializeL( const TFileName& /* aTestCaseFile */, 
       
   262                                     const TInt /* aCaseNumber */ ); 
       
   263 
       
   264         /**
       
   265         * From CTestModuleBase; OOMHandleWarningL
       
   266         * @param aTestCaseFile Test case file (optional)
       
   267         * @param aCaseNumber Test case number (optional)
       
   268         * @param aFailNextValue FailNextValue for OOM test execution (optional)
       
   269         * @return None
       
   270         *
       
   271         * User may add implementation for OOM test warning handling. Usually no
       
   272         * implementation is required.           
       
   273         */
       
   274         virtual void OOMHandleWarningL( const TFileName& /* aTestCaseFile */,
       
   275                                         const TInt /* aCaseNumber */, 
       
   276                                         TInt& /* aFailNextValue */); 
       
   277 
       
   278         /**
       
   279         * From CTestModuleBase; OOMTestFinalizeL may be used to finalize OOM
       
   280         * test environment
       
   281         * @param aTestCaseFile Test case file (optional)
       
   282         * @param aCaseNumber Test case number (optional)
       
   283         * @return None
       
   284         *
       
   285         */
       
   286         virtual void OOMTestFinalizeL( const TFileName& /* aTestCaseFile */, 
       
   287                                        const TInt /* aCaseNumber */ );
       
   288 				/**
       
   289          * Method used to log version of test module
       
   290          */
       
   291         void SendTestModuleVersion();
       
   292     private:
       
   293 
       
   294         /**
       
   295         * C++ default constructor.
       
   296         */
       
   297         CSenUtilsBCTest();
       
   298 
       
   299         /**
       
   300         * By default Symbian 2nd phase constructor is private.
       
   301         */
       
   302         void ConstructL();
       
   303 
       
   304         // Prohibit copy constructor if not deriving from CBase.
       
   305         // ?classname( const ?classname& );
       
   306         // Prohibit assigment operator if not deriving from CBase.
       
   307         // ?classname& operator=( const ?classname& );
       
   308 
       
   309         /**
       
   310         * Function returning test case name and pointer to test case function.
       
   311         * @since ?Series60_version
       
   312         * @param aCaseNumber test case number
       
   313         * @return TCaseInfo 
       
   314         */
       
   315         const TCaseInfo Case ( const TInt aCaseNumber ) const;
       
   316         
       
   317         void SetupL();
       
   318         void Teardown();
       
   319 
       
   320         TPtr16 ConvertToPtr16LC(CSenBaseFragment &fragment);
       
   321         TPtr16 ConvertToPtr16LC(MSenElement &element);
       
   322 
       
   323         /**
       
   324         * Actual Hardcoded test case functions are listed below.
       
   325         */
       
   326 /*
       
   327  		TInt CSenSoapEnvelope_NewLL( TTestResult& aResult );
       
   328  		TInt CSenSoapEnvelope_AddHeaderLL( TTestResult& aResult );
       
   329  		TInt CSenSoapEnvelope_BodyLL( TTestResult& aResult );
       
   330  		TInt CSenSoapEnvelope_BodyAsStringLL( TTestResult& aResult );
       
   331  		TInt CSenSoapEnvelope_DetachFaultLL( TTestResult& aResult );
       
   332  		TInt CSenSoapEnvelope_HeaderLL( TTestResult& aResult );
       
   333 		TInt CSenSoapEnvelope_SetBodyLL( TTestResult& aResult );
       
   334 		TInt CSenSoapEnvelope_SoapActionL( TTestResult& aResult );
       
   335 		TInt CSenSoapEnvelope_FaultLL( TTestResult& aResult );
       
   336 		TInt CSenSoapFault_NewLL( TTestResult& aResult );
       
   337 		TInt CSenSoapFault_NewL_1L( TTestResult& aResult );
       
   338 		TInt CSenSoapFault_FaultCodeL( TTestResult& aResult );
       
   339 		TInt CSenSoapFault_FaultStringL( TTestResult& aResult );
       
   340 		TInt CSenSoapFault_FaultActorL( TTestResult& aResult );
       
   341 		TInt CSenSoapFault_DetailL( TTestResult& aResult );
       
   342 		TInt CSenSoapMessage_NewLL( TTestResult& aResult );
       
   343 		TInt CSenWsSecurityHeader_NewLL( TTestResult& aResult );
       
   344 		TInt CSenWsSecurityHeader_NewL_1L( TTestResult& aResult );
       
   345 		TInt CSenWsSecurityHeader_UsernameTokenLL( TTestResult& aResult );
       
   346 		TInt CSenWsSecurityHeader_UsernameTokenL_1L( TTestResult& aResult );
       
   347 		TInt CSenWsSecurityHeader_XmlNsL( TTestResult& aResult );
       
   348 		TInt CSenWsSecurityHeader_XmlNsPrefixL( TTestResult& aResult );
       
   349 		TInt SenDateUtils_FromXmlDateTimeLL( TTestResult& aResult );
       
   350 		TInt SenDateUtils_ToXmlDateTimeUtf8LL( TTestResult& aResult );
       
   351 		TInt CSenSoapMessage_SetSecurityHeaderLL( TTestResult& aResult );
       
   352 		TInt CSenSoapMessage_AddSecurityTokenLL( TTestResult& aResult );
       
   353 */
       
   354 
       
   355          TInt CSenSoapEnvelope_NewLL(TTestResult& aResult);
       
   356          TInt CSenSoapEnvelope_SetBodyLL(TTestResult& aResult);
       
   357          TInt CSenSoapEnvelope_BodyLL(TTestResult& aResult);
       
   358          TInt CSenSoapEnvelope_HeaderLL(TTestResult& aResult);
       
   359          TInt CSenSoapEnvelope_AddHeaderLL(TTestResult& aResult);
       
   360          TInt CSenSoapEnvelope_BodyAsStringLL(TTestResult& aResult);
       
   361          
       
   362          TInt CSenSoapEnvelope_DetachFaultLL(TTestResult& aResult);
       
   363          TInt CSenSoapEnvelope_FaultLL(TTestResult& aResult);
       
   364          TInt CSenSoapEnvelope_SetSoapActionLL(TTestResult& aResult);
       
   365          TInt CSenSoapEnvelope_SoapActionL(TTestResult& aResult);
       
   366          TInt CSenSoapEnvelope_SoapAction2L(TTestResult& aResult);
       
   367          TInt CSenSoapEnvelope_HasHeaderL(TTestResult& aResult);
       
   368          TInt CSenSoapEnvelope_SoapVersionL(TTestResult& aResult);
       
   369          TInt CSenSoapEnvelope_HasBodyL(TTestResult& aResult);
       
   370 		 TInt CSenSoapEnvelope_IsFaultL(TTestResult& aResult);
       
   371 		 TInt CSenSoapEnvelope_ParseLL(TTestResult& aResult);
       
   372         
       
   373          TInt CSenSoapFault_NewLL(TTestResult& aResult);
       
   374          TInt CSenSoapFault_NewL_1L(TTestResult& aResult);
       
   375          TInt CSenSoapFault_FaultCodeL(TTestResult& aResult);
       
   376          TInt CSenSoapFault_FaultSubcodeL(TTestResult& aResult);
       
   377          TInt CSenSoapFault_FaultStringL(TTestResult& aResult);
       
   378          TInt CSenSoapFault_FaultActorL(TTestResult& aResult);
       
   379          TInt CSenSoapFault_DetailL(TTestResult& aResult);
       
   380 
       
   381          TInt CSenSoapMessage_NewLL(TTestResult& aResult);
       
   382          TInt CSenSoapMessage_NewL_1L(TTestResult& aResult);
       
   383          TInt CSenSoapMessage_NewL_2L(TTestResult& aResult);
       
   384          TInt CSenSoapMessage_SetSecurityHeaderLL(TTestResult& aResult);
       
   385          TInt CSenSoapMessage_AddSecurityTokenLL(TTestResult& aResult);
       
   386 		 TInt CSenSoapMessage_ParseLL(TTestResult& aResult);
       
   387          
       
   388 
       
   389          TInt CSenWsSecurityHeader_NewLL(TTestResult& aResult);
       
   390          TInt CSenWsSecurityHeader_NewLCL(TTestResult& aResult);
       
   391          TInt CSenWsSecurityHeader_NewL_1L(TTestResult& aResult);
       
   392          TInt CSenWsSecurityHeader_NewLC_1L(TTestResult& aResult);
       
   393          TInt CSenWsSecurityHeader_NewL_2L(TTestResult& aResult);
       
   394          TInt CSenWsSecurityHeader_NewLC_2L(TTestResult& aResult);
       
   395          TInt CSenWsSecurityHeader_BinarySecurityTokenL_L(TTestResult& aResult);
       
   396          TInt CSenWsSecurityHeader_BinarySecurityTokenL_1L(TTestResult& aResult);
       
   397          TInt CSenWsSecurityHeader_TimestampL_L(TTestResult& aResult);
       
   398          TInt CSenWsSecurityHeader_TimestampL_1L(TTestResult& aResult);
       
   399          TInt CSenWsSecurityHeader_UsernameTokenLL(TTestResult& aResult);
       
   400          TInt CSenWsSecurityHeader_UsernameTokenL_1L(TTestResult& aResult);
       
   401          TInt CSenWsSecurityHeader_UsernameTokenL_2L(TTestResult& aResult);
       
   402          TInt CSenWsSecurityHeader_UsernameTokenL_3L(TTestResult& aResult);
       
   403          TInt CSenWsSecurityHeader_UsernameTokenL_4L(TTestResult& aResult);
       
   404          TInt CSenWsSecurityHeader_XmlNsL(TTestResult& aResult);
       
   405          TInt CSenWsSecurityHeader_XmlNsPrefixL(TTestResult& aResult);
       
   406         
       
   407          TInt SenDateUtils_FromXmlDateTimeLL(TTestResult& aResult);
       
   408          TInt SenDateUtils_ToXmlDateTimeUtf8LL(TTestResult& aResult);
       
   409          TInt SenDateUtils_ToXmlDateTimeUtf82LL(TTestResult& aResult);
       
   410         
       
   411          TInt SenTransportProperties_FileAttachmentLL(TTestResult& aResult);
       
   412          //TInt SenTransportProperties_SetFileAttachmentsLL(TTestResult& aResult);
       
   413          
       
   414          TInt SenXmlProperties_NewLL(TTestResult& aResult);
       
   415          TInt SenXmlProperties_NewLCL(TTestResult& aResult);
       
   416 		 TInt SenXmlProperties_NewL_1L(TTestResult& aResult);
       
   417 		 TInt SenXmlProperties_NewLC_1L(TTestResult& aResult);
       
   418          TInt SenXmlProperties_NewL_2L(TTestResult& aResult);
       
   419          TInt SenXmlProperties_NewLC_2L(TTestResult& aResult);
       
   420          
       
   421         TInt SenTransportProperties_NewLL(TTestResult& aResult);
       
   422         TInt SenTransportProperties_NewLCL(TTestResult& aResult);
       
   423         TInt SenTransportProperties_NewL_1L(TTestResult& aResult);
       
   424         TInt SenTransportProperties_NewLC_1L(TTestResult& aResult);
       
   425         TInt SenTransportProperties_NewL_2L(TTestResult& aResult);
       
   426         TInt SenTransportProperties_NewLC_2L(TTestResult& aResult);
       
   427 		TInt SenTransportProperties_SetReaderL(TTestResult& aResult);
       
   428         TInt SenTransportProperties_PropertiesClassTypeL(TTestResult& aResult);
       
   429         TInt SenTransportProperties_WriteToLL(TTestResult& aResult);
       
   430         TInt SenTransportProperties_ReadFromLL(TTestResult& aResult);
       
   431         TInt SenTransportProperties_AsUtf8LL(TTestResult& aResult);
       
   432         TInt SenTransportProperties_AsUtf8LCL(TTestResult& aResult);
       
   433         TInt SenTransportProperties_SetPropertyLL(TTestResult& aResult);
       
   434         TInt SenTransportProperties_PropertyLL(TTestResult& aResult);
       
   435         TInt SenTransportProperties_SetIntPropertyLL(TTestResult& aResult);
       
   436         TInt SenTransportProperties_IntPropertyLL(TTestResult& aResult);
       
   437         TInt SenTransportProperties_SetBoolPropertyLL(TTestResult& aResult);        
       
   438         TInt SenTransportProperties_BoolPropertyLL(TTestResult& aResult);
       
   439         TInt SenTransportProperties_SetOmittedLL(TTestResult& aResult);
       
   440         TInt SenTransportProperties_RemovePropertyLL(TTestResult& aResult);
       
   441         TInt SenTransportProperties_IsSafeToCastL(TTestResult& aResult);
       
   442 		TInt SenTransportProperties_CloneLL(TTestResult& aResult);
       
   443         TInt SenTransportProperties_CloneL(TTestResult& aResult);
       
   444         TInt SenTransportProperties_ApplyBindingLL(TTestResult& aResult);
       
   445         
       
   446         TInt SenTransportProperties_HeartbeatLL(TTestResult& aResult);
       
   447 
       
   448         TInt SenTransportProperties_SetHeartbeatLL(TTestResult& aResult);
       
   449         
       
   450         TInt SenTransportProperties_IapIdLL(TTestResult& aResult);
       
   451 
       
   452         TInt SenTransportProperties_SetIapIdLL(TTestResult& aResult);
       
   453 
       
   454         TInt SenTransportProperties_ProxyPortLL(TTestResult& aResult);
       
   455 
       
   456         TInt SenTransportProperties_SetProxyPortLL(TTestResult& aResult);
       
   457 
       
   458         TInt SenTransportProperties_ProxyHostLL(TTestResult& aResult);
       
   459 
       
   460         TInt SenTransportProperties_SetProxyHostLL(TTestResult& aResult);
       
   461         
       
   462         TInt SenTransportProperties_ProxyUsageLL(TTestResult& aResult);
       
   463 
       
   464         TInt SenTransportProperties_SetProxyUsageLL(TTestResult& aResult);
       
   465 
       
   466 				TInt SenTransportProperties_SecureDialogLL(TTestResult& aResult);
       
   467 
       
   468         TInt SenTransportProperties_SetSecureDialogLL(TTestResult& aResult);
       
   469         
       
   470         TInt SenTransportProperties_UserAgentLL(TTestResult& aResult);
       
   471         
       
   472         TInt SenTransportProperties_SetUserAgentLL(TTestResult& aResult);
       
   473         
       
   474         TInt SenTransportProperties_DeviceIDLL(TTestResult& aResult);
       
   475 
       
   476         TInt SenTransportProperties_SetDeviceIDLL(TTestResult& aResult);
       
   477         
       
   478         TInt SenTransportProperties_SoapActionLL(TTestResult& aResult);
       
   479         
       
   480         TInt SenTransportProperties_SetSoapActionLL(TTestResult& aResult);
       
   481         
       
   482         TInt SenTransportProperties_DownloadFolderLL(TTestResult& aResult);
       
   483         
       
   484         TInt SenTransportProperties_SetDownloadFolderLL(TTestResult& aResult );
       
   485                
       
   486         TInt SenTransportProperties_SetFileAttachmentLL( TTestResult& aResult);
       
   487 
       
   488         TInt SenTransportProperties_MwsNamespaceLL(TTestResult& aResult );
       
   489         
       
   490         TInt SenTransportProperties_SetMwsNamespaceLL(TTestResult& aResult );
       
   491 
       
   492         TInt SenTransportProperties_MessageIdLL(TTestResult& aResult );
       
   493 
       
   494         TInt SenTransportProperties_SetMessageIdLL( TTestResult& aResult);
       
   495 
       
   496         TInt SenTransportProperties_OnewayMessageOnOffLL( TTestResult& aResult);
       
   497 
       
   498         TInt SenTransportProperties_SetOnewayMessageOnOffLL(TTestResult& aResult );
       
   499         
       
   500         TInt SenTransportProperties_SetMaxTimeToLiveLL(TTestResult& aResult);
       
   501         
       
   502 		TInt SenTransportProperties_MaxTimeToLiveLL(TTestResult& aResult);
       
   503 		
       
   504 		TInt SenTransportProperties_SetMinTimeToLiveLL(TTestResult& aResult);
       
   505 		
       
   506 		TInt SenTransportProperties_MinTimeToLiveLL(TTestResult& aResult);
       
   507 
       
   508 		TInt SenHttpTransportProperties_NewLL(TTestResult& aResult);
       
   509 		
       
   510 		TInt SenHttpTransportProperties_NewLCL(TTestResult& aResult);
       
   511 
       
   512 		TInt SenHttpTransportProperties_NewL_1L(TTestResult& aResult);
       
   513 		
       
   514 		TInt SenHttpTransportProperties_NewLC_1L(TTestResult& aResult);
       
   515 
       
   516 		TInt SenHttpTransportProperties_NewL_2L(TTestResult& aResult);
       
   517 		
       
   518 		TInt SenHttpTransportProperties_NewLC_2L(TTestResult& aResult);
       
   519 		
       
   520 		TInt SenVtcpTransportProperties_NewLL(TTestResult& aResult);
       
   521 		
       
   522 		TInt SenVtcpTransportProperties_NewLCL(TTestResult& aResult);
       
   523 
       
   524 		TInt SenVtcpTransportProperties_NewL_1L(TTestResult& aResult);
       
   525 		
       
   526 		TInt SenVtcpTransportProperties_NewLC_1L(TTestResult& aResult);
       
   527 
       
   528 		TInt SenVtcpTransportProperties_NewL_2L(TTestResult& aResult);
       
   529 		
       
   530 		TInt SenVtcpTransportProperties_NewLC_2L(TTestResult& aResult);
       
   531 
       
   532         TInt SenVtcpTransportProperties_OnewayMessageOnOffLL( TTestResult& aResult);
       
   533 
       
   534         TInt SenVtcpTransportProperties_SetOnewayMessageOnOffLL(TTestResult& aResult );
       
   535         
       
   536         TInt SenVtcpTransportProperties_SetMaxTimeToLiveLL(TTestResult& aResult);
       
   537         
       
   538 		TInt SenVtcpTransportProperties_MaxTimeToLiveLL(TTestResult& aResult);
       
   539 		
       
   540 		TInt SenVtcpTransportProperties_SetMinTimeToLiveLL(TTestResult& aResult);
       
   541 		
       
   542 		TInt SenVtcpTransportProperties_MinTimeToLiveLL(TTestResult& aResult);
       
   543 
       
   544      public:     // Data
       
   545         // ?one_line_short_description_of_data
       
   546         //?data_declaration;
       
   547 
       
   548     protected:  // Data
       
   549         // ?one_line_short_description_of_data
       
   550         //?data_declaration;
       
   551 
       
   552     private:    // Data
       
   553         // Pointer to test (function) to be executed
       
   554         TestFunction iMethod;
       
   555 
       
   556         // Pointer to logger
       
   557         CStifLogger * iLog; 
       
   558 
       
   559 		CSenXmlReader* iXmlReader;
       
   560         // ?one_line_short_description_of_data
       
   561         //?data_declaration;
       
   562 
       
   563         // Reserved pointer for future extension
       
   564         //TAny* iReserved;
       
   565 
       
   566     public:     // Friend classes
       
   567         //?friend_class_declaration;
       
   568     protected:  // Friend classes
       
   569         //?friend_class_declaration;
       
   570     private:    // Friend classes
       
   571         //?friend_class_declaration;
       
   572 
       
   573     };
       
   574 
       
   575 #endif      // SENUTILS_H
       
   576 
       
   577 // End of File