telephonyserverplugins/multimodetsy/test/Te_PhBk/Te_PhBk.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2001-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 // Header file: Basic  tests.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent 
       
    21 */
       
    22 
       
    23 #ifndef TE_PhBk_H__
       
    24 #define TE_PhBk_H__
       
    25 
       
    26 #include "Te_PhBkTestStepBase.h"
       
    27 
       
    28 //------------------------------------------------------------------ 
       
    29 
       
    30 //Test Checking Macros
       
    31 
       
    32 #define CHECKPOINT(code,expected,msg){\
       
    33 	TEST((code)==(expected));\
       
    34 	if (code != expected ) INFO_PRINTF1(msg);\
       
    35 	}
       
    36 
       
    37 #define CHECKPOINT_EXPR(boolexpr,msg) {\
       
    38 	TEST((boolexpr));\
       
    39 	if (EFalse == (boolexpr)) INFO_PRINTF1(msg);\
       
    40 	}
       
    41 
       
    42 //------------------------------------------------------------------ 
       
    43 
       
    44 /**
       
    45  * This class substitutes function TestPhoneInfoL() from T_PhBk
       
    46  * 
       
    47 */
       
    48 class CTestPhoneInfo : public CPhBkTestStep
       
    49 	{
       
    50 public:
       
    51 	CTestPhoneInfo() ;
       
    52 	virtual TVerdict doTestStepL( void );
       
    53 	} ;
       
    54 
       
    55 //------------------------------------------------------------------ 
       
    56 
       
    57 /**
       
    58  * This class substitutes function TestGetCapsAndInfoL() from T_PhBk
       
    59  * 
       
    60 */
       
    61 class CTestGetCapsAndInfo : public CPhBkTestStep
       
    62 	{
       
    63 public:
       
    64 	CTestGetCapsAndInfo() ;
       
    65 	virtual TVerdict doTestStepL( void );
       
    66 	} ;
       
    67 
       
    68 //------------------------------------------------------------------ 
       
    69 
       
    70 /**
       
    71  * This class substitutes function TestReadAndWriteL() from T_PhBk
       
    72  * 
       
    73 */
       
    74 class CTestReadAndWrite : public CPhBkTestStep
       
    75 	{
       
    76 public:
       
    77 	CTestReadAndWrite() ;
       
    78 	virtual TVerdict doTestStepL( void );
       
    79 private:
       
    80 	void WriteToMEPhBkL() ;
       
    81 	} ;
       
    82 
       
    83 //------------------------------------------------------------------ 
       
    84 
       
    85 /**
       
    86  * This class substitutes function TestDeleteL() from T_PhBk
       
    87  * 
       
    88 */
       
    89 class CTestDelete : public CPhBkTestStep
       
    90 	{
       
    91 public:
       
    92 	CTestDelete() ;
       
    93 	virtual TVerdict doTestStepL( void );
       
    94 	} ;
       
    95 
       
    96 //------------------------------------------------------------------ 
       
    97 
       
    98 /**
       
    99  * This class substitutes function TestNotificationsL() from T_PhBk
       
   100  * 
       
   101 */
       
   102 class CTestNotifications : public CPhBkTestStep
       
   103 	{
       
   104 public:
       
   105 	CTestNotifications() ;
       
   106 	virtual TVerdict doTestStepL( void );
       
   107 	} ;
       
   108 
       
   109 //------------------------------------------------------------------ 
       
   110 
       
   111 /**
       
   112  * This class substitutes function TestInvalidOpsL() from T_PhBk
       
   113  * 
       
   114 */
       
   115 class CTestInvalidOps : public CPhBkTestStep
       
   116 	{
       
   117 public:
       
   118 	CTestInvalidOps() ;
       
   119 	virtual TVerdict doTestStepL( void );
       
   120 	} ;
       
   121 
       
   122 //------------------------------------------------------------------ 
       
   123 
       
   124 /**
       
   125  * This class substitutes function TestAdvancedPhBkL() from T_PhBk
       
   126  * 
       
   127 */
       
   128 class CTestAdvancedPhBk : public CPhBkTestStep
       
   129 	{
       
   130 public:
       
   131 	CTestAdvancedPhBk() ;
       
   132 	virtual TVerdict doTestStepL( void );
       
   133 	} ;
       
   134 
       
   135 //------------------------------------------------------------------ 
       
   136 
       
   137 /**
       
   138  * This class substitutes function RetrievalOfWholePhoneBookL() from T_PhBk
       
   139  * 
       
   140 */
       
   141 class CRetrievalOfWholePhoneBook : public CPhBkTestStep
       
   142 	{
       
   143 public:
       
   144 	CRetrievalOfWholePhoneBook() ;
       
   145 	virtual TVerdict doTestStepL( void );
       
   146 	} ;
       
   147 
       
   148 //------------------------------------------------------------------ 
       
   149 
       
   150 /**
       
   151  * This class substitutes function RetrievalOfBatchOfPhoneBookEntriesL() from T_PhBk
       
   152  * 
       
   153 */
       
   154 class CRetrievalOfBatchOfPhoneBookEntries : public CPhBkTestStep
       
   155 	{
       
   156 public:
       
   157 	CRetrievalOfBatchOfPhoneBookEntries() ;
       
   158 	virtual TVerdict doTestStepL( void );
       
   159 	} ;
       
   160 
       
   161 //------------------------------------------------------------------ 
       
   162 
       
   163 /**
       
   164  * This class substitutes function RetrievalOfHalfOfPhoneBookEntriesL() from T_PhBk
       
   165  * 
       
   166 */
       
   167 class CRetrievalOfHalfOfPhoneBookEntries : public CPhBkTestStep
       
   168 	{
       
   169 public:
       
   170 	CRetrievalOfHalfOfPhoneBookEntries() ;
       
   171 	virtual TVerdict doTestStepL( void );
       
   172 	} ;
       
   173 
       
   174 #endif // TE_PhBk_H__
       
   175