testdev/ite/test/com.nokia.testfw.cmdtool.test/test.resource/unittest/standard/testThread/unittest/inc/ut_CChild.h
equal
deleted
inserted
replaced
|
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 the License "Symbian Foundation License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.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 UT_CCHILD_H |
|
19 #define UT_CCHILD_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <symbianunittest.h> |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 class CChild; |
|
26 |
|
27 // CLASS DECLARATION |
|
28 class UT_CChild: public CSymbianUnitTest |
|
29 { |
|
30 public: // Constructors and destructor |
|
31 |
|
32 static UT_CChild* NewL(); |
|
33 static UT_CChild* NewLC(); |
|
34 ~UT_CChild(); |
|
35 |
|
36 protected: // From CSymbianUnitTest |
|
37 |
|
38 void SetupL(); |
|
39 void Teardown(); |
|
40 |
|
41 protected: // Test functions |
|
42 |
|
43 void UT_Add(); |
|
44 void UT_Constructor_CChild(); |
|
45 void UT_Del(); |
|
46 void UT_Destructor_CChild(); |
|
47 |
|
48 private: // Constructors |
|
49 |
|
50 UT_CChild(); |
|
51 void ConstructL(); |
|
52 |
|
53 private: // Data |
|
54 |
|
55 // The object to be tested as a member variable: |
|
56 CChild *iCChild; |
|
57 }; |
|
58 |
|
59 #endif // UT_CCHILD_H |