sbsv2/raptor/test/smoke_suite/test_resources/mmp/mmp4/device/t_newldd.h
changeset 13 c327db0664bb
equal deleted inserted replaced
12:5e7562f67577 13:c327db0664bb
       
     1 /*
       
     2 * Copyright (c) 2008-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 the License "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 
       
    18 
       
    19 #ifndef __T_NEWLDD_H
       
    20 #define __T_NEWLDD_H
       
    21 
       
    22 _LIT(KLddName,"OperatorNewTest");
       
    23 _LIT(KKInstallLddName,"d_newldd");
       
    24 
       
    25 
       
    26 const TInt KErrException = -99;
       
    27 const TInt KTestArrayLength = 100; ///< A sensible array length to test vector new with
       
    28 const TInt KOOMArraySize = 100000000; ///<An array size so big that array allocation should always fail
       
    29 
       
    30 class RNewLddTest : public RBusLogicalChannel
       
    31 {
       
    32 public:
       
    33 	enum TControl
       
    34          {
       
    35          ENew=0,
       
    36          EPlacementVectorNew=1,
       
    37          EVectorNew=2,
       
    38          EPlacementNew=3
       
    39          };
       
    40 	
       
    41 	TInt DoControl(TInt aFunction);
       
    42 	TInt Open();
       
    43 };
       
    44 
       
    45 #endif // __T_NEWLDD_H