uiacceltk/hitchcock/CommonInc/alfmoduletest.h
changeset 27 70e659bb284f
parent 19 f5bac0badc7e
equal deleted inserted replaced
26:8eb818df3c66 27:70e659bb284f
     1 /*
       
     2 * Copyright (c) 2009 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: 
       
    15 *
       
    16 */
       
    17 #ifndef ALFMODULETEST_H
     1 #ifndef ALFMODULETEST_H
    18 #define ALFMODULETEST_H
     2 #define ALFMODULETEST_H
    19 
     3 
    20 
     4 
    21 #include <e32base.h>
     5 #include <e32base.h>
    39 
    23 
    40 // *** Global object names
    24 // *** Global object names
    41 _LIT(KAlfModuleTestChunkName, "ALF_MODULE_TEST_CHUNK");
    25 _LIT(KAlfModuleTestChunkName, "ALF_MODULE_TEST_CHUNK");
    42 _LIT(KAlfModuleTestMutexName, "ALF_MODULE_TEST_MUTEX");
    26 _LIT(KAlfModuleTestMutexName, "ALF_MODULE_TEST_MUTEX");
    43 
    27 
    44 
    28 const TInt KMaxSimultMeasurementCount = 10;
    45 /*
    29 /*
    46  *  Class CAlfModuleTestData
    30  *  Class CAlfModuleTestData
    47  */
    31  */
    48 
    32 
    49 NONSHARABLE_CLASS(CAlfModuleTestData) : public CBase
    33 NONSHARABLE_CLASS(CAlfModuleTestData) : public CBase
   238     TInt iASE_Temp1;
   222     TInt iASE_Temp1;
   239     TInt iASE_Temp2;
   223     TInt iASE_Temp2;
   240     TInt iASE_Temp3;
   224     TInt iASE_Temp3;
   241     TInt iASE_Temp4;
   225     TInt iASE_Temp4;
   242 
   226 
       
   227     class TSpeedTest
       
   228     {
       
   229     public:
       
   230         TInt64 iHandle;
       
   231         TInt iCounter;
       
   232         TBool iEffects;
       
   233         TInt64 iTimeStamp[5];
       
   234     };
       
   235     
       
   236     TSpeedTest iTimeMap[10];
       
   237     TInt iNextFreeMap;
       
   238         
   243     // Map that contains boolean items for certain test cases.
   239     // Map that contains boolean items for certain test cases.
   244     TAlfModuleTestMap< TBool > iBoolMap;        
   240     TAlfModuleTestMap< TBool > iBoolMap;        
   245     // Map that contains integer items for certain test cases.
   241     // Map that contains integer items for certain test cases.
   246     TAlfModuleTestMap< TInt > iIntMap;    
   242     TAlfModuleTestMap< TInt > iIntMap;    
   247     // Map that contains size items for certain test cases.
   243     // Map that contains size items for certain test cases.