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