resourcemgmt/hwrmtargetmodifierplugin/tsrc/hwrmtargetmodifierplugintest/src/hwrmtargetmodifierplugintest.cpp
changeset 78 3f0699f2e14c
parent 0 4e1aa6a622a0
equal deleted inserted replaced
77:8a984d260a2d 78:3f0699f2e14c
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  ?Description
    14 * Description:  ?Description
    15 *  %version:  bh1dsgas#3 %, % date_modified: % by %derived_by: ravindrr %
    15 *  %version:  bh1dsgas#4 %, % date_modified: % by %derived_by: sarakuma %
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 // INCLUDE FILES
    20 // INCLUDE FILES
    99 
    99 
   100     static TCaseInfoInternal const KCases[] =
   100     static TCaseInfoInternal const KCases[] =
   101         {
   101         {
   102 		// To add new test cases, add new items to this array
   102 		// To add new test cases, add new items to this array
   103 		{ (TText*) L"HWRM Target Modifier Plugin [CreateAndDestroy]",
   103 		{ (TText*) L"HWRM Target Modifier Plugin [CreateAndDestroy]",
   104 		        GETPTR CHwrmTargetModifierPluginTests::CreateAndDestroy },
   104 		        GETPTR &CHwrmTargetModifierPluginTests::CreateAndDestroy },
   105 		{ (TText*) L"HWRM Target Modifier Plugin [GetFullSystemTarget]",
   105 		{ (TText*) L"HWRM Target Modifier Plugin [GetFullSystemTarget]",
   106 		        GETPTR CHwrmTargetModifierPluginTests::GetFullSystemTarget },
   106 		        GETPTR &CHwrmTargetModifierPluginTests::GetFullSystemTarget },
   107 		{ (TText*) L"HWRM Target Modifier Plugin [ModifyTarget]",
   107 		{ (TText*) L"HWRM Target Modifier Plugin [ModifyTarget]",
   108 		        GETPTR CHwrmTargetModifierPluginTests::ModifyTarget }
   108 		        GETPTR &CHwrmTargetModifierPluginTests::ModifyTarget }
   109         };
   109         };
   110 
   110 
   111     // Verify that case number is valid
   111     // Verify that case number is valid
   112     if( (TUint) aCaseNumber >= sizeof( KCases ) /
   112     if( (TUint) aCaseNumber >= sizeof( KCases ) /
   113                                sizeof( TCaseInfoInternal ) )
   113                                sizeof( TCaseInfoInternal ) )