usbengines/usblocodplugin/tsrc/USBLocodPluginTest/src/USBLocodPluginTestBlocks.cpp
changeset 0 1e05558e2206
child 87 18fe5224f0dc
equal deleted inserted replaced
-1:000000000000 0:1e05558e2206
       
     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:   ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // [INCLUDE FILES] - do not remove
       
    22 #include <e32svr.h>
       
    23 #include <StifParser.h>
       
    24 #include <Stiftestinterface.h>
       
    25 #include "USBLocodPluginTest.h"
       
    26 
       
    27 // EXTERNAL DATA STRUCTURES
       
    28 //extern  ?external_data;
       
    29 
       
    30 // EXTERNAL FUNCTION PROTOTYPES  
       
    31 //extern ?external_function( ?arg_type,?arg_type );
       
    32 
       
    33 // CONSTANTS
       
    34 //const ?type ?constant_var = ?constant;
       
    35 
       
    36 // MACROS
       
    37 //#define ?macro ?macro_def
       
    38 
       
    39 // LOCAL CONSTANTS AND MACROS
       
    40 //const ?type ?constant_var = ?constant;
       
    41 //#define ?macro_name ?macro_def
       
    42 
       
    43 // MODULE DATA STRUCTURES
       
    44 //enum ?declaration
       
    45 //typedef ?declaration
       
    46 
       
    47 // LOCAL FUNCTION PROTOTYPES
       
    48 //?type ?function_name( ?arg_type, ?arg_type );
       
    49 
       
    50 // FORWARD DECLARATIONS
       
    51 //class ?FORWARD_CLASSNAME;
       
    52 
       
    53 // ============================= LOCAL FUNCTIONS ===============================
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // ?function_name ?description.
       
    57 // ?description
       
    58 // Returns: ?value_1: ?description
       
    59 //          ?value_n: ?description_line1
       
    60 //                    ?description_line2
       
    61 // -----------------------------------------------------------------------------
       
    62 //
       
    63 /*
       
    64 ?type ?function_name(
       
    65     ?arg_type arg,  // ?description
       
    66     ?arg_type arg)  // ?description
       
    67     {
       
    68 
       
    69     ?code  // ?comment
       
    70 
       
    71     // ?comment
       
    72     ?code
       
    73     }
       
    74 */
       
    75 
       
    76 // ============================ MEMBER FUNCTIONS ===============================
       
    77 
       
    78 // -----------------------------------------------------------------------------
       
    79 // CUSBLocodPluginTest::Delete
       
    80 // Delete here all resources allocated and opened from test methods. 
       
    81 // Called from destructor. 
       
    82 // -----------------------------------------------------------------------------
       
    83 //
       
    84 void CUSBLocodPluginTest::Delete() 
       
    85     {
       
    86     delete iLocodBearerPluginObs;
       
    87     iLocodBearerPluginObs = NULL;
       
    88     
       
    89     delete iLocodBearerPlugin;
       
    90     iLocodBearerPlugin = NULL;
       
    91     if ( iDeleteProperty )
       
    92         RProperty::Delete( KPSUidUsbWatcher, KUsbWatcherSelectedPersonality );
       
    93     
       
    94     iSelectedPersProperty -> Close();
       
    95     delete iSelectedPersProperty;
       
    96     iSelectedPersProperty = NULL;    
       
    97     REComSession::FinalClose();
       
    98     }
       
    99 
       
   100 // -----------------------------------------------------------------------------
       
   101 // CUSBLocodPluginTest::RunMethodL
       
   102 // Run specified method. Contains also table of test mothods and their names.
       
   103 // -----------------------------------------------------------------------------
       
   104 //
       
   105 TInt CUSBLocodPluginTest::RunMethodL( 
       
   106     CStifItemParser& aItem ) 
       
   107     {
       
   108 
       
   109     static TStifFunctionInfo const KFunctions[] =
       
   110         {  
       
   111         //ADD NEW ENTRY HERE
       
   112         // [test cases entries] - Do not remove
       
   113 		ENTRY( "ExecuteApiTest", CUSBLocodPluginTest::ExecuteApiTest ),
       
   114         ENTRY( "ExecuteModuleTest", CUSBLocodPluginTest::ExecuteModuleTest ),
       
   115         ENTRY( "ExecuteBranchTest", CUSBLocodPluginTest::ExecuteBranchTest ),
       
   116         };
       
   117 
       
   118     const TInt count = sizeof( KFunctions ) / 
       
   119                         sizeof( TStifFunctionInfo );
       
   120 
       
   121     return RunInternalL( KFunctions, count, aItem );
       
   122 
       
   123     }
       
   124 
       
   125 // -----------------------------------------------------------------------------
       
   126 // CUSBLocodPluginTest::ExecuteApiTest
       
   127 // -----------------------------------------------------------------------------
       
   128 
       
   129 TInt CUSBLocodPluginTest::ExecuteApiTest( CStifItemParser& aItem )
       
   130     {
       
   131 	STIF_LOG( "[STIF_LOG] >>>ExecuteApiTest" );
       
   132 	
       
   133 	TInt res;
       
   134     TUSBLocodPluginTestResult testResult;
       
   135     TPtrC apiTestName( KNullDesC );
       
   136 	
       
   137 	res = aItem.GetString( _L( "ExecuteApiTest" ), apiTestName );   
       
   138     if ( res != KErrNone )
       
   139         {
       
   140         iLog -> Log( _L( "GetString failed with value: %d" ), res );
       
   141         return res;
       
   142         }
       
   143 		
       
   144 	TRAP( res, DoExecuteApiTestL( apiTestName, testResult ) );
       
   145     if ( res != KErrNone )
       
   146         {
       
   147         iLog -> Log( _L( "DoExecuteApiTestL error: %d"), res );
       
   148         return res;
       
   149         }
       
   150     
       
   151     STIF_ASSERT_EQUALS( ETestCasePassed, testResult );
       
   152     STIF_LOG( "[STIF_LOG] Test case passed" );
       
   153 	STIF_LOG( "[STIF_LOG] <<<ExecuteApiTest" );
       
   154     return KErrNone;
       
   155     }
       
   156 	
       
   157 	
       
   158 void CUSBLocodPluginTest::DoExecuteApiTestL( TPtrC aApiTestName, TUSBLocodPluginTestResult& aTestResult )
       
   159     {
       
   160 	STIF_LOG( "[STIF_LOG] >>>DoExecuteApiTestL" );
       
   161     if ( !aApiTestName.Compare( _L( "InitializationTestL" ) ) )
       
   162         {
       
   163         STIF_LOG( "[STIF_LOG] Api test type: InitializationTestL" );
       
   164         InitializationTestL( aTestResult );
       
   165         }
       
   166     else if ( !aApiTestName.Compare( _L( "ImplementatiationIdTestL" ) ) )
       
   167         {
       
   168         STIF_LOG( "[STIF_LOG] Api test type: ImplementatiationIdTestL" );
       
   169         ImplementatiationIdTestL( aTestResult );
       
   170         }
       
   171     else if ( !aApiTestName.Compare( _L( "USBPCSuitePersonalityTestL" ) ) )
       
   172         {
       
   173         STIF_LOG( "[STIF_LOG] Api test type: USBPCSuitePersonalityTestL" );
       
   174         USBPCSuitePersonalityTestL( aTestResult );
       
   175         }
       
   176     else if ( !aApiTestName.Compare( _L( "USBDefaultPersonalityTestL" ) ) )
       
   177         {
       
   178         STIF_LOG( "[STIF_LOG] Api test type: USBDefaultPersonalityTestL" );
       
   179         USBDefaultPersonalityTestL( aTestResult );
       
   180         }
       
   181     else
       
   182         {
       
   183         STIF_LOG( "[STIF_LOG] Api test type: not found" );
       
   184         User::Leave( KErrNotFound );
       
   185         }
       
   186 	STIF_LOG( "[STIF_LOG] <<<DoExecuteApiTestL" );
       
   187     }
       
   188 
       
   189 	
       
   190 void CUSBLocodPluginTest::InitializationTestL( TUSBLocodPluginTestResult& aTestResult )
       
   191     {
       
   192 	STIF_LOG( "[STIF_LOG] >>>InitializationTestL" );
       
   193 	
       
   194 	if( !iLocodBearerPlugin )
       
   195 	    {
       
   196 	    aTestResult = ETestCaseFailed;
       
   197 	    return;
       
   198 	    }
       
   199 	
       
   200     aTestResult = ETestCasePassed;	
       
   201 	STIF_LOG( "[STIF_LOG] <<<InitializationTestL" );
       
   202     }
       
   203 
       
   204 
       
   205 void CUSBLocodPluginTest::ImplementatiationIdTestL( TUSBLocodPluginTestResult& aTestResult )
       
   206     {
       
   207     STIF_LOG( "[STIF_LOG] >>>ImplementatiationIdTestL" );
       
   208     
       
   209     User::LeaveIfNull( iLocodBearerPlugin );
       
   210     
       
   211     TUid implementationUid = TUid::Uid( KFeatureIdUsb );
       
   212     iLog -> Log( _L( "[STIF_LOG] Implementation Uid: %d, expected Uid: %d" ), implementationUid.iUid, iLocodBearerPlugin -> ImplementationUid().iUid );
       
   213     if ( iLocodBearerPlugin -> ImplementationUid() != implementationUid )
       
   214         {
       
   215         aTestResult = ETestCaseFailed;
       
   216         return;
       
   217         }
       
   218     
       
   219     aTestResult = ETestCasePassed;    
       
   220     STIF_LOG( "[STIF_LOG] <<<ImplementatiationIdTestL" );
       
   221     }
       
   222 
       
   223 
       
   224 void CUSBLocodPluginTest::USBPCSuitePersonalityTestL( TUSBLocodPluginTestResult& aTestResult )
       
   225     {
       
   226     STIF_LOG( "[STIF_LOG] >>>USBPCSuitePersonalityTestL" );
       
   227     
       
   228     User::LeaveIfNull( iLocodBearerPlugin );
       
   229     TBool expectedLocodBearerStatus = ETrue;
       
   230     TBool returnedLocodBearerStatus;
       
   231     TInt res = iSelectedPersProperty -> Set( KUsbPersonalityIdPCSuite );
       
   232     iLog -> Log( _L( "[STIF_LOG] Set selected personality property result: %d" ), res );
       
   233     if ( res != KErrNone )
       
   234         {
       
   235         aTestResult = ETestCaseFailed;
       
   236         return;
       
   237         }
       
   238     iLocodBearerPluginObs -> ActivateObserver( returnedLocodBearerStatus );
       
   239     
       
   240     iLog -> Log( _L( "[STIF_LOG] Expected locod bearer status: %d, returned status: %d" ), 
       
   241                                         expectedLocodBearerStatus, returnedLocodBearerStatus );
       
   242     if ( returnedLocodBearerStatus != expectedLocodBearerStatus )
       
   243         {
       
   244         aTestResult = ETestCaseFailed;
       
   245         return;
       
   246         }
       
   247     
       
   248     aTestResult = ETestCasePassed;    
       
   249     STIF_LOG( "[STIF_LOG] <<<USBPCSuitePersonalityTestL" );
       
   250     }
       
   251 
       
   252 
       
   253 void CUSBLocodPluginTest::USBDefaultPersonalityTestL( TUSBLocodPluginTestResult& aTestResult )
       
   254     {
       
   255     STIF_LOG( "[STIF_LOG] >>>USBDefaultPersonalityTestL" );
       
   256     
       
   257     User::LeaveIfNull( iLocodBearerPlugin );
       
   258     TBool expectedLocodBearerStatus = EFalse;
       
   259     TBool returnedLocodBearerStatus;
       
   260     TInt res = iSelectedPersProperty -> Set( KUsbDefaultPersonality );
       
   261     iLog -> Log( _L( "[STIF_LOG] Set selected personality property result: %d" ), res );
       
   262     if ( res != KErrNone )
       
   263         {
       
   264         aTestResult = ETestCaseFailed;
       
   265         return;
       
   266         }
       
   267     iLocodBearerPluginObs -> ActivateObserver( returnedLocodBearerStatus ); 
       
   268     
       
   269     iLog -> Log( _L( "[STIF_LOG] Expected locod bearer status: %d, returned status: %d" ), 
       
   270                                         expectedLocodBearerStatus, returnedLocodBearerStatus );
       
   271     if ( returnedLocodBearerStatus != expectedLocodBearerStatus )
       
   272         {
       
   273         aTestResult = ETestCaseFailed;
       
   274         return;
       
   275         }
       
   276     
       
   277     aTestResult = ETestCasePassed;    
       
   278     STIF_LOG( "[STIF_LOG] <<<USBDefaultPersonalityTestL" );
       
   279     }
       
   280 	
       
   281 // -----------------------------------------------------------------------------
       
   282 // CUSBLocodPluginTest::ExecuteModuleTest
       
   283 // -----------------------------------------------------------------------------	
       
   284 
       
   285 TInt CUSBLocodPluginTest::ExecuteModuleTest( CStifItemParser& aItem )
       
   286     {
       
   287 	STIF_LOG( "[STIF_LOG] >>>ExecuteModuleTest" );
       
   288 	
       
   289     TInt res;
       
   290     TUSBLocodPluginTestResult testResult;
       
   291     TPtrC moduleTestName( KNullDesC );
       
   292 
       
   293     res = aItem.GetString( _L( "ExecuteModuleTest" ), moduleTestName );   
       
   294     if ( res != KErrNone )
       
   295         {
       
   296         iLog -> Log( _L( "GetString failed with value: %d" ), res );
       
   297         return res;
       
   298         }
       
   299 
       
   300     TRAP( res, DoExecuteModuleTestL( moduleTestName, testResult ) );
       
   301     if ( res != KErrNone )
       
   302         {
       
   303         iLog -> Log( _L( "DoExecuteModuleTestL error: %d"), res );
       
   304         return res;
       
   305         }
       
   306     
       
   307     STIF_ASSERT_EQUALS( ETestCasePassed, testResult );
       
   308     STIF_LOG( "[STIF_LOG] Test case passed" );
       
   309 	STIF_LOG( "[STIF_LOG] <<<ExecuteModuleTest" );
       
   310     return KErrNone;
       
   311     }	
       
   312 	
       
   313 	
       
   314 void CUSBLocodPluginTest::DoExecuteModuleTestL( TPtrC aModuleTestName, TUSBLocodPluginTestResult& aTestResult )
       
   315     {
       
   316 	STIF_LOG( "[STIF_LOG] >>>DoExecuteModuleTestL" );
       
   317     if ( !aModuleTestName.Compare( _L( "USBMSPersonalityTestL" ) ) )
       
   318         {
       
   319         STIF_LOG( "[STIF_LOG] Module test type: USBMSPersonalityTestL" );
       
   320         USBMSPersonalityTestL( aTestResult );
       
   321         }
       
   322     else if ( !aModuleTestName.Compare( _L( "USBPTPPersonalityTestL" ) ) )
       
   323         {
       
   324         STIF_LOG( "[STIF_LOG] Module test type: USBPTPPersonalityTestL" );
       
   325         USBPTPPersonalityTestL( aTestResult );
       
   326         }
       
   327     else if ( !aModuleTestName.Compare( _L( "USBMTPPersonalityTestL" ) ) )
       
   328         {
       
   329         STIF_LOG( "[STIF_LOG] Module test type: USBMTPPersonalityTestL" );
       
   330         USBMTPPersonalityTestL( aTestResult );
       
   331         }
       
   332     else
       
   333         {
       
   334         STIF_LOG( "[STIF_LOG] Module test type: not found" );
       
   335         User::Leave( KErrNotFound );
       
   336         }
       
   337 	STIF_LOG( "[STIF_LOG] <<<DoExecuteModuleTestL" );
       
   338     }
       
   339 	
       
   340 
       
   341 void CUSBLocodPluginTest::USBMSPersonalityTestL( TUSBLocodPluginTestResult& aTestResult )
       
   342     {
       
   343     STIF_LOG( "[STIF_LOG] >>>USBMSPersonalityTestL" );
       
   344     
       
   345     User::LeaveIfNull( iLocodBearerPlugin );
       
   346     TBool expectedLocodBearerStatus = EFalse;
       
   347     TBool returnedLocodBearerStatus;
       
   348     TInt res = iSelectedPersProperty -> Set( KUsbPersonalityIdMS );
       
   349     iLog -> Log( _L( "[STIF_LOG] Set selected personality property result: %d" ), res );
       
   350     if ( res != KErrNone )
       
   351         {
       
   352         aTestResult = ETestCaseFailed;
       
   353         return;
       
   354         }
       
   355     iLocodBearerPluginObs -> ActivateObserver( returnedLocodBearerStatus ); 
       
   356     
       
   357     iLog -> Log( _L( "[STIF_LOG] Expected locod bearer status: %d, returned status: %d" ), 
       
   358                                         expectedLocodBearerStatus, returnedLocodBearerStatus );
       
   359     if ( returnedLocodBearerStatus != expectedLocodBearerStatus )
       
   360         {
       
   361         aTestResult = ETestCaseFailed;
       
   362         return;
       
   363         }
       
   364     
       
   365     aTestResult = ETestCasePassed;    
       
   366     STIF_LOG( "[STIF_LOG] <<<USBMSPersonalityTestL" );
       
   367     }
       
   368 
       
   369 
       
   370 void CUSBLocodPluginTest::USBPTPPersonalityTestL( TUSBLocodPluginTestResult& aTestResult )
       
   371     {
       
   372     STIF_LOG( "[STIF_LOG] >>>USBPTPPersonalityTestL" );
       
   373     
       
   374     User::LeaveIfNull( iLocodBearerPlugin );
       
   375     TBool expectedLocodBearerStatus = EFalse;
       
   376     TBool returnedLocodBearerStatus;
       
   377     TInt res = iSelectedPersProperty -> Set( KUsbPersonalityIdPTP );
       
   378     iLog -> Log( _L( "[STIF_LOG] Set selected personality property result: %d" ), res );
       
   379     if ( res != KErrNone )
       
   380         {
       
   381         aTestResult = ETestCaseFailed;
       
   382         return;
       
   383         }
       
   384     iLocodBearerPluginObs -> ActivateObserver( returnedLocodBearerStatus ); 
       
   385     
       
   386     iLog -> Log( _L( "[STIF_LOG] Expected locod bearer status: %d, returned status: %d" ), 
       
   387                                         expectedLocodBearerStatus, returnedLocodBearerStatus );
       
   388     if ( returnedLocodBearerStatus != expectedLocodBearerStatus )
       
   389         {
       
   390         aTestResult = ETestCaseFailed;
       
   391         return;
       
   392         }
       
   393     
       
   394     aTestResult = ETestCasePassed;   
       
   395     STIF_LOG( "[STIF_LOG] <<<USBPTPPersonalityTestL" );
       
   396     }
       
   397 
       
   398 
       
   399 void CUSBLocodPluginTest::USBMTPPersonalityTestL( TUSBLocodPluginTestResult& aTestResult )
       
   400     {
       
   401     STIF_LOG( "[STIF_LOG] >>>USBMTPPersonalityTestL" );
       
   402     
       
   403     User::LeaveIfNull( iLocodBearerPlugin );
       
   404     TBool expectedLocodBearerStatus = EFalse;
       
   405     TBool returnedLocodBearerStatus;
       
   406     TInt res = iSelectedPersProperty -> Set( KUsbPersonalityIdMTP );
       
   407     iLog -> Log( _L( "[STIF_LOG] Set selected personality property result: %d" ), res );
       
   408     if ( res != KErrNone )
       
   409         {
       
   410         aTestResult = ETestCaseFailed;
       
   411         return;
       
   412         }
       
   413     iLocodBearerPluginObs -> ActivateObserver( returnedLocodBearerStatus ); 
       
   414     
       
   415     iLog -> Log( _L( "[STIF_LOG] Expected locod bearer status: %d, returned status: %d" ), 
       
   416                                         expectedLocodBearerStatus, returnedLocodBearerStatus );
       
   417     if ( returnedLocodBearerStatus != expectedLocodBearerStatus )
       
   418         {
       
   419         aTestResult = ETestCaseFailed;
       
   420         return;
       
   421         }
       
   422     
       
   423     aTestResult = ETestCasePassed;  
       
   424     STIF_LOG( "[STIF_LOG] <<<USBMTPPersonalityTestL" );
       
   425     }
       
   426 	
       
   427 
       
   428 // -----------------------------------------------------------------------------
       
   429 // CUSBLocodPluginTest::ExecuteBranchTest
       
   430 // -----------------------------------------------------------------------------
       
   431 	
       
   432 TInt CUSBLocodPluginTest::ExecuteBranchTest( CStifItemParser& aItem )
       
   433     {
       
   434 	STIF_LOG( "[STIF_LOG] >>>ExecuteBranchTest" );
       
   435 	
       
   436     TInt res;
       
   437     TUSBLocodPluginTestResult testResult;
       
   438     TPtrC branchTestName( KNullDesC );
       
   439 
       
   440     res = aItem.GetString( _L( "ExecuteBranchTest" ), branchTestName );   
       
   441     if ( res != KErrNone )
       
   442         {
       
   443         iLog -> Log( _L( "GetString failed with value: %d" ), res );
       
   444         return res;
       
   445         }
       
   446 
       
   447     TRAP( res, DoExecuteBranchTestL( branchTestName, testResult ) );
       
   448     if ( res != KErrNone )
       
   449         {
       
   450         iLog -> Log( _L( "DoExecuteBranchTestL error: %d"), res );
       
   451         return res;
       
   452         }
       
   453     
       
   454     STIF_ASSERT_EQUALS( ETestCasePassed, testResult );
       
   455     STIF_LOG( "[STIF_LOG] Test case passed" );
       
   456 	STIF_LOG( "[STIF_LOG] <<<ExecuteBranchTest" );
       
   457     return KErrNone;
       
   458     }
       
   459 
       
   460 	
       
   461 void CUSBLocodPluginTest::DoExecuteBranchTestL( TPtrC aBranchTestName, TUSBLocodPluginTestResult& aTestResult )
       
   462     {
       
   463 	STIF_LOG( "[STIF_LOG] >>>DoExecuteBranchTestL" );
       
   464     if ( !aBranchTestName.Compare( _L( "USBPCSuiteMTPPersonalityTestL" ) ) )
       
   465         {
       
   466         STIF_LOG( "[STIF_LOG] Branch test type: USBPCSuiteMTPPersonalityTestL" );
       
   467         USBPCSuiteMTPPersonalityTestL( aTestResult );
       
   468         }
       
   469     else
       
   470         {
       
   471         STIF_LOG( "[STIF_LOG] Branch test type: not found" );
       
   472         User::Leave( KErrNotFound );
       
   473         }
       
   474 	STIF_LOG( "[STIF_LOG] <<<DoExecuteBranchTestL" );
       
   475     }
       
   476 	
       
   477 	
       
   478 void CUSBLocodPluginTest::USBPCSuiteMTPPersonalityTestL( TUSBLocodPluginTestResult& aTestResult )
       
   479     {
       
   480     STIF_LOG( "[STIF_LOG] >>>USBPCSuiteMTPPersonalityTestL" );
       
   481     
       
   482     User::LeaveIfNull( iLocodBearerPlugin );
       
   483     TBool expectedLocodBearerStatus = ETrue;
       
   484     TBool returnedLocodBearerStatus;
       
   485     TInt res = iSelectedPersProperty -> Set( KUsbPersonalityIdPCSuiteMTP );
       
   486     iLog -> Log( _L( "[STIF_LOG] Set selected personality property result: %d" ), res );
       
   487     if ( res != KErrNone )
       
   488         {
       
   489         aTestResult = ETestCaseFailed;
       
   490         return;
       
   491         }
       
   492     iLocodBearerPluginObs -> ActivateObserver( returnedLocodBearerStatus ); 
       
   493     
       
   494     iLog -> Log( _L( "[STIF_LOG] Expected locod bearer status: %d, returned status: %d" ), 
       
   495                                         expectedLocodBearerStatus, returnedLocodBearerStatus );
       
   496     if ( returnedLocodBearerStatus != expectedLocodBearerStatus )
       
   497         {
       
   498         aTestResult = ETestCaseFailed;
       
   499         return;
       
   500         }
       
   501 
       
   502     aTestResult = ETestCasePassed;    
       
   503     STIF_LOG( "[STIF_LOG] <<<USBPCSuiteMTPPersonalityTestL" );
       
   504     }
       
   505 	
       
   506 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
   507 // None
       
   508 
       
   509 //  [End of File] - Do not remove