phoneplugins/infowidgetprovider/tsrc/ut_infowidgetlayoutmanager/src/ut_infowidgetlayoutmanager.cpp
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 "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 #include "ut_infowidgetlayoutmanager.h" |
|
18 #include "infowidgetlayoutmanager.h" |
|
19 #include "qtestmains60.h" |
|
20 |
|
21 /*! |
|
22 UT_InfoWidgetLayoutManager::UT_InfoWidgetLayoutManager |
|
23 */ |
|
24 UT_InfoWidgetLayoutManager::UT_InfoWidgetLayoutManager() |
|
25 : |
|
26 m_layoutManager(0) |
|
27 { |
|
28 |
|
29 } |
|
30 |
|
31 |
|
32 /*! |
|
33 UT_InfoWidgetLayoutManager::~UT_InfoWidgetLayoutManager |
|
34 */ |
|
35 UT_InfoWidgetLayoutManager::~UT_InfoWidgetLayoutManager() |
|
36 { |
|
37 delete m_layoutManager; |
|
38 } |
|
39 |
|
40 |
|
41 /*! |
|
42 UT_InfoWidgetLayoutManager::init |
|
43 */ |
|
44 void UT_InfoWidgetLayoutManager::init() |
|
45 { |
|
46 initialize(); |
|
47 |
|
48 m_layoutManager = new InfoWidgetLayoutManager(); |
|
49 |
|
50 QVERIFY(verify()); |
|
51 } |
|
52 |
|
53 |
|
54 /*! |
|
55 UT_InfoWidgetLayoutManager::cleanup |
|
56 */ |
|
57 void UT_InfoWidgetLayoutManager::cleanup() |
|
58 { |
|
59 reset(); |
|
60 |
|
61 delete m_layoutManager; |
|
62 m_layoutManager = 0; |
|
63 } |
|
64 |
|
65 QTEST_MAIN_S60(UT_InfoWidgetLayoutManager) |
|