telephonyserverplugins/ctsydispatchlayer/test/dispatchertests/dispatchinc/cctsyphonebookfunegative.h
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // functional unit of the Common TSY Dispatcher.
       
    15 //
       
    16 
       
    17 
       
    18 
       
    19 /**
       
    20  @file The TEFUnit header file which tests the PhonebookEn
       
    21 */
       
    22 
       
    23 /**
       
    24  @file
       
    25  @internalAll 
       
    26 */
       
    27 
       
    28 #ifndef CCTSYPHONEBOOKFUNEGATIVE_H
       
    29 #define CCTSYPHONEBOOKFUNEGATIVE_H
       
    30 
       
    31 #include <test/tefunit.h>
       
    32 
       
    33 #include <etelmm.h>
       
    34 #include <etelmmcs.h>
       
    35 
       
    36 #include <ctsy/ltsy/cctsydispatchercallback.h>
       
    37 #include <ctsy/ltsy/mltsydispatchphonebookinterface.h>
       
    38 
       
    39 #include <ctsy/rmmcustomapi.h>
       
    40 
       
    41 #include "cctsycomponenttestbase.h"
       
    42 
       
    43 #include <ctsy/ltsy/cphonebookentry.h>
       
    44 
       
    45 class CPhoneBookEntry;
       
    46 
       
    47 class CCTsyPhonebookFUNegative : public CCtsyComponentTestBase
       
    48 	{
       
    49 public:
       
    50 	// Create a suite of all the tests
       
    51 	static CTestSuite* CreateSuiteL(const TDesC& aName);
       
    52 
       
    53 public:
       
    54 	//'negative' unit tests
       
    55 	void TestUnit0001L();
       
    56 	void TestUnit0002L();
       
    57 	void TestUnit0003L();
       
    58 	void TestUnit0004L();
       
    59 	void TestUnit0005L();
       
    60 	void TestUnit0006L();
       
    61 	void TestUnit0007L();
       
    62 	void TestUnit0008L();
       
    63 	void TestUnit0009L();
       
    64 	void TestUnit0010L();
       
    65 	void TestUnit0011L();
       
    66 	void TestUnit0012L();
       
    67 	void TestUnit0013L();
       
    68 	void TestUnit0014L();
       
    69 	void TestUnit0015L();
       
    70 	
       
    71 private:
       
    72 	void OpenSmsStoreL(RMobileSmsMessaging& aSmsMessaging, RMobileSmsStore& aSmsStore, const TDesC& aSmsStoreName);
       
    73 	void CreatePhonebookStoreDataL();
       
    74 
       
    75 private:
       
    76 	DispatcherPhonebook::TPhonebookStoreInfoV1 iPhonebookStoreData;
       
    77 
       
    78 	}; // class CCTsyPhonebookFUNegative
       
    79 
       
    80 #endif // CCTSYPHONEBOOKFUNEGATIVE_H
       
    81