classicui_plat/extended_sounds_api/tsrc/src/testplatextsoundblocks.cpp
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     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: Test eikkeysound.h
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // [INCLUDE FILES]
       
    20 #include <e32svr.h>
       
    21 #include <stifparser.h>
       
    22 #include <stiftestinterface.h>
       
    23 
       
    24 #include "testplatextsound.h"
       
    25 
       
    26 // ============================ MEMBER FUNCTIONS ===============================
       
    27 
       
    28 // -----------------------------------------------------------------------------
       
    29 // CTestPlatExtSound::RunMethodL
       
    30 // Run specified method. Contains also table of test mothods and their names.
       
    31 // -----------------------------------------------------------------------------
       
    32 //
       
    33 TInt CTestPlatExtSound::RunMethodL( CStifItemParser& aItem ) 
       
    34     {
       
    35 
       
    36     static TStifFunctionInfo const KFunctions[] =
       
    37         {  
       
    38         // First string is the function name used in TestScripter script file.
       
    39         // Second is the actual implementation member function. 
       
    40 
       
    41         // [test cases entries]
       
    42         //ataudioeventapi.h
       
    43         ENTRY( "TestCATAudioEventAPINewL", CTestPlatExtSound::TestCATAudioEventAPINewL ), 
       
    44         ENTRY( "TestCATAudioEventAPINewLCL", CTestPlatExtSound::TestCATAudioEventAPINewLCL ), 
       
    45 
       
    46         };
       
    47 
       
    48     const TInt count = sizeof( KFunctions ) / sizeof( TStifFunctionInfo );
       
    49 
       
    50     return RunInternalL( KFunctions, count, aItem );
       
    51 
       
    52     }
       
    53