equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-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 // |
|
15 |
|
16 |
|
17 #ifndef __T_CNTTEST_H__ |
|
18 #define __T_CNTTEST_H__ |
|
19 |
|
20 |
|
21 #include "T_CntTestImplementor.h" |
|
22 |
|
23 |
|
24 // CCntTest - the base class defining for the Contact Test abstraction. |
|
25 // This class is the base implementation of the left hand side of the |
|
26 // the bridge pattern. It aggregates the test implementation and |
|
27 // defines (test procedures) virtual methods. |
|
28 |
|
29 class CCntTest : public CBase |
|
30 { |
|
31 public: |
|
32 |
|
33 ~CCntTest () |
|
34 { |
|
35 iCntTestImpl.CloseDatabase(); |
|
36 }; |
|
37 |
|
38 protected: |
|
39 |
|
40 inline CCntTest (CCntTestImplementor& aCntTestImpl); |
|
41 //Virtual methods - Test procedures |
|
42 |
|
43 |
|
44 protected: |
|
45 CCntTestImplementor& iCntTestImpl; |
|
46 }; |
|
47 |
|
48 inline CCntTest::CCntTest(CCntTestImplementor& aCntTestImpl):iCntTestImpl(aCntTestImpl){}; |
|
49 |
|
50 |
|
51 |
|
52 #endif //__T_CNTTEST_H__ |