phonebookengines_old/contactsmodel/tsrc/FuzzTest/inc/IpcFuzzTest.h
changeset 40 b46a585f6909
equal deleted inserted replaced
37:fd64c38c277d 40:b46a585f6909
       
     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 
       
    18 #ifndef IPCFUZZTEST_H
       
    19 #define IPCFUZZTEST_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32std.h>
       
    23 #include <e32base.h>
       
    24 #include <e32test.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  CIpcFuzzTest
       
    30 * 
       
    31 */
       
    32 class RIpcFuzzTest : public RSessionBase
       
    33 {
       
    34 public: // Constructors and destructor
       
    35 
       
    36 	/**
       
    37 		* Constructor for performing 1st stage construction
       
    38 		*/
       
    39 	RIpcFuzzTest(RTest& aTest);
       
    40 
       
    41 	/**
       
    42 		* Destructor.
       
    43 		*/
       
    44 	~RIpcFuzzTest();
       
    45 
       
    46 	/**
       
    47 		* Destructor.
       
    48 		*/
       
    49 	void RunTestL(const TDesC& aTargetSrvName, TInt aMinFuncRange, TInt aMaxFuncRange);
       
    50 	
       
    51 private:
       
    52 	TInt Fuzz(TInt aMsg, TInt);
       
    53 	TInt FuzzL(TInt aMsg, const TDesC&);
       
    54 
       
    55 private:
       
    56 	RTest& 		 iTest;
       
    57 };
       
    58 
       
    59 #endif // IPCFUZZTEST_H
       
    60