imstutils/imconversationview/tsrc/imcvuiengine_test/src/imcvuiengine_testBlocks.cpp
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * Copyright (c) 2002 - 2007 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: imcvuiengine_testBlocks.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // [INCLUDE FILES] - do not remove
       
    21 #include <e32svr.h>
       
    22 #include <StifParser.h>
       
    23 #include <StifTestInterface.h>
       
    24 #include "imcvuiengine_test.h"
       
    25 #include "imcvuiengine_testsendmessage.h"
       
    26 // EXTERNAL DATA STRUCTURES
       
    27 //extern  ?external_data;
       
    28 
       
    29 // EXTERNAL FUNCTION PROTOTYPES  
       
    30 //extern ?external_function( ?arg_type,?arg_type );
       
    31 
       
    32 // CONSTANTS
       
    33 //const ?type ?constant_var = ?constant;
       
    34 
       
    35 // MACROS
       
    36 //#define ?macro ?macro_def
       
    37 
       
    38 // LOCAL CONSTANTS AND MACROS
       
    39 //const ?type ?constant_var = ?constant;
       
    40 //#define ?macro_name ?macro_def
       
    41 
       
    42 // MODULE DATA STRUCTURES
       
    43 //enum ?declaration
       
    44 //typedef ?declaration
       
    45 
       
    46 // LOCAL FUNCTION PROTOTYPES
       
    47 //?type ?function_name( ?arg_type, ?arg_type );
       
    48 
       
    49 // FORWARD DECLARATIONS
       
    50 //class ?FORWARD_CLASSNAME;
       
    51 
       
    52 // ============================= LOCAL FUNCTIONS ===============================
       
    53 
       
    54 // -----------------------------------------------------------------------------
       
    55 // ?function_name ?description.
       
    56 // ?description
       
    57 // Returns: ?value_1: ?description
       
    58 //          ?value_n: ?description_line1
       
    59 //                    ?description_line2
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 /*
       
    63 ?type ?function_name(
       
    64     ?arg_type arg,  // ?description
       
    65     ?arg_type arg)  // ?description
       
    66     {
       
    67 
       
    68     ?code  // ?comment
       
    69 
       
    70     // ?comment
       
    71     ?code
       
    72     }
       
    73 */
       
    74 
       
    75 // ============================ MEMBER FUNCTIONS ===============================
       
    76 
       
    77 // -----------------------------------------------------------------------------
       
    78 // Cimcvuiengine_test::Delete
       
    79 // Delete here all resources allocated and opened from test methods. 
       
    80 // Called from destructor. 
       
    81 // -----------------------------------------------------------------------------
       
    82 //
       
    83 void Cimcvuiengine_test::Delete() 
       
    84     {
       
    85 
       
    86     }
       
    87 
       
    88 // -----------------------------------------------------------------------------
       
    89 // Cimcvuiengine_test::RunMethodL
       
    90 // Run specified method. Contains also table of test mothods and their names.
       
    91 // -----------------------------------------------------------------------------
       
    92 //
       
    93 TInt Cimcvuiengine_test::RunMethodL( 
       
    94     CStifItemParser& aItem ) 
       
    95     {
       
    96 
       
    97     static TStifFunctionInfo const KFunctions[] =
       
    98         {  
       
    99         // Copy this line for every implemented function.
       
   100         // First string is the function name used in TestScripter script file.
       
   101         // Second is the actual implementation member function. 
       
   102         ENTRY( "StartNewConvesationL", Cimcvuiengine_test::StartNewConvesationL ),
       
   103         ENTRY( "CloseConvesationL", Cimcvuiengine_test::CloseConvesationL ),
       
   104 		ENTRY( "SendNullMessageL", Cimcvuiengine_test::SendNullMessageL ),
       
   105         ENTRY( "SendTextMessageL", Cimcvuiengine_test::SendTextMessageL ),
       
   106         ENTRY( "SendSplCharMessageL", Cimcvuiengine_test::SendSplCharMessageL ),
       
   107         ENTRY( "SendCosMessageL", Cimcvuiengine_test::SendCosMessageL ),
       
   108         ENTRY( "DeactivateConvesationL", Cimcvuiengine_test::DeactivateConvesationL ),
       
   109         ENTRY( "TestMultipleSendMessageL", Cimcvuiengine_test::TestMultipleSendMessageL ),
       
   110         ENTRY( "TestSendRecieveMsgL", Cimcvuiengine_test::TestSendRecieveMsgL ),
       
   111         ENTRY( "TestSendFetchSendMsgL", Cimcvuiengine_test::TestSendFetchSendMsgL ),
       
   112         // newly added test cases
       
   113         ENTRY( "TestFailedMsgL", Cimcvuiengine_test::TestFailedMsgL ),
       
   114         ENTRY( "TestConnectionTerminationL", Cimcvuiengine_test::TestConnectionTerminationL ),
       
   115         ENTRY( "TestLoginStateL", Cimcvuiengine_test::TestLoginStateL ),
       
   116         ENTRY( "TestLoginUserIdL", Cimcvuiengine_test::TestLoginUserIdL ), 
       
   117         ENTRY( "TestChatInterfaceL", Cimcvuiengine_test::TestChatInterfaceL ), 
       
   118         
       
   119         ENTRY( "TestMessageCoundL", Cimcvuiengine_test::TestMessageCoundL ), 
       
   120         ENTRY( "TestMessageUnreadCoundL", Cimcvuiengine_test::TestMessageUnreadCoundL ), 
       
   121         
       
   122         ENTRY( "TestDeleteContextL", Cimcvuiengine_test::TestDeleteContextL ), 
       
   123         ENTRY( "TestCreateContextL", Cimcvuiengine_test::TestCreateContextL ), 
       
   124         
       
   125         ENTRY( "TestSubscribePresenceL", Cimcvuiengine_test::TestSubscribePresenceL ),     
       
   126         ENTRY( "TestAppendInfoMessageL", Cimcvuiengine_test::TestAppendInfoMessageL ), 
       
   127         ENTRY( "TestGetPresenceStatusL", Cimcvuiengine_test::TestGetPresenceStatusL ),         
       
   128         ENTRY( "TestGetBrandIdL", Cimcvuiengine_test::TestGetBrandIdL ), 
       
   129         ENTRY( "TestGetLanguageIdL", Cimcvuiengine_test::TestGetLanguageIdL ),  
       
   130         
       
   131         // =======================================================================
       
   132         ENTRY( "TestCCHHandlerL", Cimcvuiengine_test::TestCCHHandlerL ),        
       
   133        	ENTRY( "ReadyForShutdownTestL", Cimcvuiengine_test::ReadyForShutdownTestL ),     
       
   134         ENTRY( "ServiceNameTestL", Cimcvuiengine_test::ServiceNameTestL ), 
       
   135         ENTRY( "OpenChatsTestL", Cimcvuiengine_test::OpenChatsTestL ),         
       
   136         ENTRY( "GetServiceIdTestL", Cimcvuiengine_test::GetServiceIdTestL ), 
       
   137         ENTRY( "TestClosAllContainerL", Cimcvuiengine_test::TestClosAllContainerL ),         
       
   138         ENTRY( "TestDeleteChatL", Cimcvuiengine_test::TestDeleteChatL ), 
       
   139         ENTRY( "TestEditorMessageL", Cimcvuiengine_test::TestEditorMessageL ),
       
   140         ENTRY( "TestConvertPresCacheEnum", Cimcvuiengine_test::TestConvertPresCacheEnum ),
       
   141         
       
   142         //ADD NEW ENTRY HERE
       
   143         // [test cases entries] - Do not remove
       
   144 
       
   145         };
       
   146 
       
   147     const TInt count = sizeof( KFunctions ) / 
       
   148                         sizeof( TStifFunctionInfo );
       
   149 
       
   150     return RunInternalL( KFunctions, count, aItem );
       
   151 
       
   152     }
       
   153 
       
   154 // -----------------------------------------------------------------------------
       
   155 // Cimcvuiengine_test::StartNewConvesationL
       
   156 // Example test method function.
       
   157 // (other items were commented in a header).
       
   158 // -----------------------------------------------------------------------------
       
   159 //
       
   160 TInt Cimcvuiengine_test::StartNewConvesationL( CStifItemParser& /*aItem*/ )
       
   161     {
       
   162     iSender->CreateConnectionL();
       
   163   	TInt err = iSender->StartNewConvesationL();
       
   164   	iSender->ReleaseConnectionL();
       
   165 	return err;
       
   166 	}
       
   167 
       
   168 // -----------------------------------------------------------------------------
       
   169 // Cimcvuiengine_test::CloseConvesationL
       
   170 // Example test method function.
       
   171 // (other items were commented in a header).
       
   172 // -----------------------------------------------------------------------------
       
   173 //
       
   174 TInt Cimcvuiengine_test::CloseConvesationL( CStifItemParser& /*aItem*/ )
       
   175     {
       
   176     iSender->CreateConnectionL();
       
   177  	TInt err = iSender->CloseConvesationL();
       
   178  	iSender->ReleaseConnectionL();
       
   179     return err ;
       
   180     }
       
   181 
       
   182 
       
   183 // -----------------------------------------------------------------------------
       
   184 // Cimcvuiengine_test::SendTextMessageL
       
   185 // Example test method function.
       
   186 // (other items were commented in a header).
       
   187 // -----------------------------------------------------------------------------
       
   188 //
       
   189 TInt Cimcvuiengine_test::SendTextMessageL( CStifItemParser& /*aItem*/ )
       
   190     {
       
   191     iSender->CreateConnectionL();
       
   192 	TInt err = iSender->SendTextMessageL();
       
   193 	iSender->ReleaseConnectionL();
       
   194     return err;
       
   195     }
       
   196 
       
   197 // -----------------------------------------------------------------------------
       
   198 // Cimcvuiengine_test::SendNullMessageL
       
   199 // Example test method function.
       
   200 // (other items were commented in a header).
       
   201 // -----------------------------------------------------------------------------
       
   202 //
       
   203 TInt Cimcvuiengine_test::SendNullMessageL( CStifItemParser& /*aItem*/ )
       
   204     {
       
   205     iSender->CreateConnectionL();
       
   206  	TInt err = iSender->SendNullMessageL();
       
   207  	iSender->ReleaseConnectionL();
       
   208     return err ;
       
   209     }
       
   210 
       
   211 
       
   212 // -----------------------------------------------------------------------------
       
   213 // Cimcvuiengine_test::SendSplCharMessageL
       
   214 // Example test method function.
       
   215 // (other items were commented in a header).
       
   216 // -----------------------------------------------------------------------------
       
   217 //
       
   218 TInt Cimcvuiengine_test::SendSplCharMessageL( CStifItemParser& /*aItem*/ )
       
   219     {
       
   220     
       
   221     iSender->CreateConnectionL();
       
   222   	TInt err = iSender->SendSplCharMessageL();
       
   223   	iSender->ReleaseConnectionL();
       
   224     return err;
       
   225     }
       
   226 
       
   227 // -----------------------------------------------------------------------------
       
   228 // Cimcvuiengine_test::SendCosMessageL
       
   229 // Example test method function.
       
   230 // (other items were commented in a header).
       
   231 // -----------------------------------------------------------------------------
       
   232 //
       
   233 TInt Cimcvuiengine_test::SendCosMessageL( CStifItemParser& /*aItem*/ )
       
   234     {
       
   235     iSender->CreateConnectionL();
       
   236  	TInt err = iSender->SendCosMessageL();
       
   237  	iSender->ReleaseConnectionL();
       
   238     return err ;
       
   239     }
       
   240 
       
   241 
       
   242 // -----------------------------------------------------------------------------
       
   243 // Cimcvuiengine_test::DeactivateConvesationL
       
   244 // Example test method function.
       
   245 // (other items were commented in a header).
       
   246 // -----------------------------------------------------------------------------
       
   247 //
       
   248 TInt Cimcvuiengine_test::DeactivateConvesationL( CStifItemParser& /*aItem*/ )
       
   249     {
       
   250     iSender->CreateConnectionL();
       
   251   	TInt err = iSender->DeactivateConvesationL();
       
   252   	iSender->ReleaseConnectionL();
       
   253     return err;
       
   254     }
       
   255 
       
   256 
       
   257 
       
   258 // -----------------------------------------------------------------------------
       
   259 // Cimcvuiengine_test::TestMultipleSendMessageL
       
   260 // Example test method function.
       
   261 // (other items were commented in a header).
       
   262 // -----------------------------------------------------------------------------
       
   263 //
       
   264 TInt Cimcvuiengine_test::TestMultipleSendMessageL( CStifItemParser& /*aItem*/ )
       
   265     {
       
   266     iSender->CreateConnectionL();
       
   267   	TInt err = iSender->TestMultipleSendMessageL();
       
   268   	iSender->ReleaseConnectionL();
       
   269     return err;
       
   270     }
       
   271 
       
   272 // -----------------------------------------------------------------------------
       
   273 // Cimcvuiengine_test::TestSendRecieveMsgL
       
   274 // Example test method function.
       
   275 // (other items were commented in a header).
       
   276 // -----------------------------------------------------------------------------
       
   277 //
       
   278 TInt Cimcvuiengine_test::TestSendRecieveMsgL( CStifItemParser& /*aItem*/ )
       
   279     {
       
   280     iSender->CreateConnectionL();
       
   281  	TInt err = iSender->TestSendRecieveMsgL();
       
   282  	iSender->ReleaseConnectionL();
       
   283     return err ;
       
   284     }
       
   285 
       
   286 // -----------------------------------------------------------------------------
       
   287 // Cimcvuiengine_test::TestSendFetchSendMsgL
       
   288 // Example test method function.
       
   289 // (other items were commented in a header).
       
   290 // -----------------------------------------------------------------------------
       
   291 //
       
   292 TInt Cimcvuiengine_test::TestSendFetchSendMsgL( CStifItemParser& /*aItem*/ )
       
   293     {
       
   294     iSender->CreateConnectionL();
       
   295  	TInt err = iSender->TestSendFetchSendMsgL();
       
   296  	iSender->ReleaseConnectionL();
       
   297     return err ;
       
   298     }
       
   299  
       
   300  // -----------------------------------------------------------------------------
       
   301 // Cimcvuiengine_test::TestFailedMsgL
       
   302 // Example test method function.
       
   303 // (other items were commented in a header).
       
   304 // -----------------------------------------------------------------------------
       
   305 //
       
   306 TInt Cimcvuiengine_test::TestFailedMsgL( CStifItemParser& /*aItem*/ )
       
   307     {
       
   308     iSender->CreateConnectionL();
       
   309  	TInt err = iSender->SendToInvaliedRecipientL();
       
   310  	iSender->ReleaseConnectionL();
       
   311     return err ;
       
   312     }
       
   313  // -----------------------------------------------------------------------------
       
   314 // Cimcvuiengine_test::TestConnectionTerminationL
       
   315 // Example test method function.
       
   316 // (other items were commented in a header).
       
   317 // -----------------------------------------------------------------------------
       
   318 //
       
   319 TInt Cimcvuiengine_test::TestConnectionTerminationL( CStifItemParser& /*aItem*/ )
       
   320     {
       
   321     iSender->CreateConnectionL();
       
   322  	TInt err = iSender->TestConnectionTerminationL();
       
   323  	iSender->ReleaseConnectionL();
       
   324     return err ;
       
   325     }
       
   326  
       
   327 // -----------------------------------------------------------------------------
       
   328 // Cimcvuiengine_test::TestLoginStateL
       
   329 // Example test method function.TestLoginStateL
       
   330 // (other items were commented in a header).
       
   331 // -----------------------------------------------------------------------------
       
   332 //
       
   333 TInt Cimcvuiengine_test::TestLoginStateL( CStifItemParser& /*aItem*/ )
       
   334     {
       
   335     iSender->CreateConnectionL();
       
   336  	TInt err = iSender->TestLoginStateL();
       
   337  	iSender->ReleaseConnectionL();
       
   338     return err ;
       
   339     }
       
   340  
       
   341  // -----------------------------------------------------------------------------
       
   342 // Cimcvuiengine_test::TestLoginUserIdL
       
   343 // Example test method function.
       
   344 // (other items were commented in a header).
       
   345 // -----------------------------------------------------------------------------
       
   346 //
       
   347 TInt Cimcvuiengine_test::TestLoginUserIdL( CStifItemParser& /*aItem*/ )
       
   348     {
       
   349     iSender->CreateConnectionL();
       
   350  	TInt err = iSender->TestLoginUserIdL();
       
   351  	iSender->ReleaseConnectionL();
       
   352     return err ;
       
   353     }
       
   354 // -----------------------------------------------------------------------------
       
   355 // Cimcvuiengine_test::TestGetBrandIdL
       
   356 // Example test method function.
       
   357 // (other items were commented in a header).
       
   358 // -----------------------------------------------------------------------------
       
   359 //
       
   360 TInt Cimcvuiengine_test::TestGetBrandIdL( CStifItemParser& /*aItem*/ )
       
   361     {
       
   362     
       
   363     TInt err = iSender->TestGetBrandIdL();    
       
   364     return err ;
       
   365     }
       
   366 // -----------------------------------------------------------------------------
       
   367 // Cimcvuiengine_test::TestGetLanguageIdL
       
   368 // Example test method function.
       
   369 // (other items were commented in a header).
       
   370 // -----------------------------------------------------------------------------
       
   371 //
       
   372 TInt Cimcvuiengine_test::TestGetLanguageIdL( CStifItemParser& /*aItem*/ )
       
   373     {
       
   374     TInt err = iSender->TestGetLanguageIdL();    
       
   375     return err ;
       
   376     }
       
   377 
       
   378  // -----------------------------------------------------------------------------
       
   379 // Cimcvuiengine_test::TestChatInterfaceL
       
   380 // Example test method function.
       
   381 // (other items were commented in a header).
       
   382 // -----------------------------------------------------------------------------
       
   383 //
       
   384 TInt Cimcvuiengine_test::TestChatInterfaceL( CStifItemParser& /*aItem*/ )
       
   385     {
       
   386     iSender->CreateConnectionL();
       
   387  	TInt err = iSender->TestChatInterfaceL();
       
   388  	iSender->ReleaseConnectionL();
       
   389     return err ;
       
   390     } 
       
   391   // -----------------------------------------------------------------------------
       
   392 // Cimcvuiengine_test::TestLoginUserIdL
       
   393 // Example test method function.
       
   394 // (other items were commented in a header).
       
   395 // -----------------------------------------------------------------------------
       
   396 //
       
   397 TInt Cimcvuiengine_test::TestMessageCoundL( CStifItemParser& /*aItem*/ )
       
   398     {
       
   399     iSender->CreateConnectionL();
       
   400  	TInt err = iSender->TestMessageCoundL();
       
   401  	iSender->ReleaseConnectionL();
       
   402     return err ;
       
   403     }
       
   404  // -----------------------------------------------------------------------------
       
   405 // Cimcvuiengine_test::TestChatInterfaceL
       
   406 // Example test method function.
       
   407 // (other items were commented in a header).
       
   408 // -----------------------------------------------------------------------------
       
   409 //
       
   410 TInt Cimcvuiengine_test::TestMessageUnreadCoundL( CStifItemParser& /*aItem*/ )
       
   411     {
       
   412     iSender->CreateConnectionL();
       
   413  	TInt err = iSender->TestMessageUnreadCoundL();
       
   414  	iSender->ReleaseConnectionL();
       
   415     return err ;
       
   416     }  
       
   417   
       
   418  // -----------------------------------------------------------------------------
       
   419 // Cimcvuiengine_test::TestDeleteContextL
       
   420 // Example test method function.
       
   421 // (other items were commented in a header).
       
   422 // -----------------------------------------------------------------------------
       
   423 //
       
   424 TInt Cimcvuiengine_test::TestDeleteContextL( CStifItemParser& /*aItem*/ )
       
   425     {
       
   426    	TInt err = iSender->DeleteContextL();
       
   427  	iSender->ReleaseConnectionL();
       
   428     return err ;
       
   429     }
       
   430  // -----------------------------------------------------------------------------
       
   431 // Cimcvuiengine_test::TestCreateContextL
       
   432 // Example test method function.
       
   433 // (other items were commented in a header).
       
   434 // -----------------------------------------------------------------------------
       
   435 //
       
   436 TInt Cimcvuiengine_test::TestCreateContextL( CStifItemParser& /*aItem*/ )
       
   437     {
       
   438     TInt err = iSender->CreateContextL();
       
   439  	iSender->ReleaseConnectionL();
       
   440     return err ;
       
   441     }  
       
   442     
       
   443  // -----------------------------------------------------------------------------
       
   444 // Cimcvuiengine_test::TestSubscribePresenceL
       
   445 // Example test method function.
       
   446 // (other items were commented in a header).
       
   447 // -----------------------------------------------------------------------------
       
   448 //
       
   449 TInt Cimcvuiengine_test::TestSubscribePresenceL( CStifItemParser& /*aItem*/ )
       
   450     {
       
   451  	iSender->CreateConnectionL();
       
   452  	TInt err = iSender->TestSubscribePresenceL();
       
   453  	iSender->ReleaseConnectionL();
       
   454     return err ;
       
   455     } 
       
   456   // -----------------------------------------------------------------------------
       
   457 // Cimcvuiengine_test::TestAppendInfoMessageL
       
   458 // Example test method function.
       
   459 // (other items were commented in a header).
       
   460 // -----------------------------------------------------------------------------
       
   461 //
       
   462 TInt Cimcvuiengine_test::TestAppendInfoMessageL( CStifItemParser& /*aItem*/ )
       
   463     {
       
   464      iSender->CreateConnectionL();
       
   465  	TInt err = iSender->TestAppendInfoMessageL();
       
   466  	iSender->ReleaseConnectionL();
       
   467     return err ;
       
   468     }
       
   469  // -----------------------------------------------------------------------------
       
   470 // Cimcvuiengine_test::TestGetPresenceStatusL
       
   471 // Example test method function.
       
   472 // (other items were commented in a header).
       
   473 // -----------------------------------------------------------------------------
       
   474 //
       
   475 TInt Cimcvuiengine_test::TestGetPresenceStatusL( CStifItemParser& /*aItem*/ )
       
   476     {
       
   477     iSender->CreateConnectionL();
       
   478  	TInt err = iSender->TestGetPresenceStatusL();
       
   479  	iSender->ReleaseConnectionL();
       
   480     return err ;
       
   481     }  
       
   482     
       
   483 
       
   484 // -----------------------------------------------------------------------------
       
   485 // Cimcvuiengine_test::TestCCHHandlerL
       
   486 // Example test method function.
       
   487 // (other items were commented in a header).
       
   488 // -----------------------------------------------------------------------------
       
   489 //
       
   490 TInt Cimcvuiengine_test::TestCCHHandlerL( CStifItemParser& /*aItem*/ )
       
   491     {
       
   492     iSender->CreateConnectionL();
       
   493     TInt err = iSender->TestCCHHandlerL();
       
   494     iSender->ReleaseConnectionL();
       
   495     return err ;
       
   496     }    
       
   497   
       
   498   
       
   499 // -----------------------------------------------------------------------------
       
   500 // Cimcvuiengine_test::ReadyForShutdownTestL
       
   501 // Example test method function.
       
   502 // (other items were commented in a header).
       
   503 // -----------------------------------------------------------------------------
       
   504 //
       
   505 TInt Cimcvuiengine_test::ReadyForShutdownTestL( CStifItemParser& /*aItem*/ )
       
   506     {
       
   507     iSender->CreateConnectionL();
       
   508     TInt err = iSender->ReadyForShutdownTestL();
       
   509     iSender->ReleaseConnectionL();
       
   510     return err;
       
   511     }
       
   512 // -----------------------------------------------------------------------------
       
   513 // Cimcvuiengine_test::ServiceNameTestL
       
   514 // Example test method function.
       
   515 // (other items were commented in a header).
       
   516 // -----------------------------------------------------------------------------
       
   517 //
       
   518 TInt Cimcvuiengine_test::ServiceNameTestL( CStifItemParser& /*aItem*/ )
       
   519     {
       
   520     iSender->CreateConnectionL();
       
   521     TInt err = iSender->ServiceNameTestL();
       
   522     iSender->ReleaseConnectionL();
       
   523     return err ;
       
   524     } 
       
   525 
       
   526 // -----------------------------------------------------------------------------
       
   527 // Cimcvuiengine_test::OpenChatsTestL
       
   528 // Example test method function.
       
   529 // (other items were commented in a header).
       
   530 // -----------------------------------------------------------------------------
       
   531 //
       
   532 TInt Cimcvuiengine_test::OpenChatsTestL( CStifItemParser& /*aItem*/ )
       
   533     {
       
   534     iSender->CreateConnectionL();
       
   535     TInt err = iSender->OpenChatsTestL();
       
   536     iSender->ReleaseConnectionL();
       
   537     return err ;
       
   538     }    
       
   539  
       
   540 // -----------------------------------------------------------------------------
       
   541 // Cimcvuiengine_test::GetServiceIdTestL
       
   542 // Example test method function.
       
   543 // (other items were commented in a header).
       
   544 // -----------------------------------------------------------------------------
       
   545 //
       
   546 TInt Cimcvuiengine_test::GetServiceIdTestL( CStifItemParser& /*aItem*/ )
       
   547     {
       
   548     iSender->CreateConnectionL();
       
   549     TInt err = iSender->GetServiceIdTestL();
       
   550     iSender->ReleaseConnectionL();
       
   551     return err ;
       
   552     }         
       
   553  // -----------------------------------------------------------------------------
       
   554 // Cimcvuiengine_test::TestClosAllContainerL
       
   555 // Example test method function.
       
   556 // (other items were commented in a header).
       
   557 // -----------------------------------------------------------------------------
       
   558 //
       
   559 TInt Cimcvuiengine_test::TestClosAllContainerL( CStifItemParser& /*aItem*/ )
       
   560     {
       
   561     iSender->CreateConnectionL();
       
   562     TInt err = iSender->TestClosAllContainerL();
       
   563     iSender->ReleaseConnectionL();
       
   564     return err ;
       
   565     }    
       
   566  
       
   567 // -----------------------------------------------------------------------------
       
   568 // Cimcvuiengine_test::TestDeleteChatL
       
   569 // Example test method function.
       
   570 // (other items were commented in a header).
       
   571 // -----------------------------------------------------------------------------
       
   572 //
       
   573 TInt Cimcvuiengine_test::TestDeleteChatL( CStifItemParser& /*aItem*/ )
       
   574     {
       
   575     iSender->CreateConnectionL();
       
   576     TInt err = iSender->TestDeleteChatL();
       
   577     iSender->ReleaseConnectionL();
       
   578     return err ;
       
   579     }         
       
   580     
       
   581 // -----------------------------------------------------------------------------
       
   582 // Cimcvuiengine_test::TestEditorMessageL()
       
   583 // Example test method function.
       
   584 // (other items were commented in a header).
       
   585 // -----------------------------------------------------------------------------
       
   586 
       
   587 TInt Cimcvuiengine_test::TestEditorMessageL(CStifItemParser& /*aItem*/)
       
   588     {
       
   589     iSender->CreateConnectionL();
       
   590     TInt err = iSender->TestEditorMessageL();
       
   591     iSender->ReleaseConnectionL();
       
   592     return err ;
       
   593     }
       
   594     
       
   595 // -----------------------------------------------------------------------------
       
   596 // Cimcvuiengine_test::TestConvertPresCacheEnum()
       
   597 // Example test method function.
       
   598 // (other items were commented in a header).
       
   599 // -----------------------------------------------------------------------------
       
   600 
       
   601 TInt Cimcvuiengine_test::TestConvertPresCacheEnum(CStifItemParser& /*aItem*/)
       
   602     {
       
   603     TInt err = iSender->TestConvertPresCacheEnum();
       
   604     iSender->ReleaseConnectionL();
       
   605     return err ;
       
   606     }
       
   607 //  [End of File] - Do not remove