accessoryservices/headsetstatusapi/tsrc/public/basic/headsettestmodule/src/headsetTestModuleCases.cpp
branchRCL_3
changeset 22 8cb079868133
parent 21 ccb4f6b3db21
equal deleted inserted replaced
21:ccb4f6b3db21 22:8cb079868133
   129     */ 
   129     */ 
   130 
   130 
   131     static TCaseInfoInternal const KCases[] =
   131     static TCaseInfoInternal const KCases[] =
   132         {
   132         {
   133         // To add new test cases, add new items to this array
   133         // To add new test cases, add new items to this array
   134         ENTRY( "HeadsetStatus test", &CheadsetTestModule::HeadsetStatusTestL ),
   134         ENTRY( "HeadsetStatus test", HeadsetStatusTestL ),
   135         // Example how to use OOM functionality
   135         // Example how to use OOM functionality
   136         //OOM_ENTRY( "Loop test with OOM", LoopTest, ETrue, 2, 3),
   136         //OOM_ENTRY( "Loop test with OOM", LoopTest, ETrue, 2, 3),
   137         //OOM_FUNCENTRY( PrintTest, ETrue, 1, 3 ),
   137         //OOM_FUNCENTRY( PrintTest, ETrue, 1, 3 ),
   138         
   138         
   139         ENTRY( "SetObserver test",      &CheadsetTestModule::SetObserverL ),
   139         ENTRY( "SetObserver test",      SetObserverL ),
   140         ENTRY( "StartObserving test",   &CheadsetTestModule::StartObservingL ),
   140         ENTRY( "StartObserving test",   StartObservingL ),
   141         ENTRY( "StopObserving test",    &CheadsetTestModule::StopObservingL )
   141         ENTRY( "StopObserving test",    StopObservingL )
   142         };
   142         };
   143 
   143 
   144     // Verify that case number is valid
   144     // Verify that case number is valid
   145     if( (TUint) aCaseNumber >= sizeof( KCases ) / 
   145     if( (TUint) aCaseNumber >= sizeof( KCases ) / 
   146                                sizeof( TCaseInfoInternal ) )
   146                                sizeof( TCaseInfoInternal ) )