author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 18 Aug 2010 09:48:26 +0300 | |
changeset 56 | 5bcb308bd24d |
parent 46 | bc5a64e5bc3c |
child 60 | 1eef62f5c541 |
permissions | -rw-r--r-- |
37 | 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: Project file for building unit test component |
|
15 |
# |
|
16 |
||
17 |
||
18 |
||
19 |
||
20 |
||
21 |
CONFIG += qtestlib hb |
|
22 |
TEMPLATE = app |
|
23 |
TARGET = |
|
24 |
DEPENDPATH += . ../../src/ |
|
25 |
INCLUDEPATH += . |
|
26 |
INCLUDEPATH += ../../../inc |
|
27 |
INCLUDEPATH += ../../../cptelephonyutils/inc |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
46
diff
changeset
|
28 |
DEFINES += BUILD_NETWORKPLUGIN BUILD_PSETWRAPPER \ |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
46
diff
changeset
|
29 |
BUILD_CPTELEPHONYUTILS BUILD_PSUINOTES |
37 | 30 |
|
31 |
QT -= gui |
|
32 |
QT += testlib |
|
33 |
||
34 |
symbian: { |
|
35 |
#CONFIG += no_icon |
|
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
36 |
INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
37 | 37 |
LIBS += -lmocklib \ |
38 |
-lsymbianmock \ |
|
39 |
-lcpframework |
|
40 |
} |
|
41 |
||
42 |
# test code |
|
43 |
HEADERS += ut_networkpluginform.h |
|
44 |
SOURCES += ut_networkpluginform.cpp |
|
45 |
||
46 |
# code to be tested |
|
47 |
HEADERS += ../../src/cpnetworkplugin.h \ |
|
48 |
../../src/cpnetworkpluginform.h \ |
|
49 |
../../src/cellulardatasettings.h \ |
|
50 |
../../../cptelephonyutils/inc/cpplugincommon.h \ |
|
51 |
../../../cptelephonyutils/inc/cpphonelocalisation.h \ |
|
52 |
/epoc32/include/platform/mw/psetwrapper.h \ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
46
diff
changeset
|
53 |
/epoc32/include/platform/mw/psuinotes.h \ |
37 | 54 |
/epoc32/include/platform/mw/psetcliwrapper.h \ |
55 |
/epoc32/include/platform/mw/psetcallwaitingwrapper.h \ |
|
56 |
/epoc32/include/platform/mw/psetcalldivertingwrapper.h \ |
|
57 |
/epoc32/include/platform/mw/psetnetworkwrapper.h |
|
58 |
||
59 |
# mocks needed for testing |
|
60 |
SOURCES += ../../../tsrc/mocks/mock_cpnetworkplugin.cpp \ |
|
61 |
../../../tsrc/mocks/mock_psetwrapper.cpp \ |
|
62 |
../../../tsrc/mocks/mock_psetnetworkwrapper.cpp \ |
|
63 |
../../../tsrc/mocks/mock_cpplugincommon.cpp \ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
46
diff
changeset
|
64 |
../../../tsrc/mocks/mock_psuinotes.cpp \ |
37 | 65 |
../../../tsrc/mocks/mock_cpphonelocalisation.cpp \ |
66 |
../../../tsrc/mocks/mock_hbdialog.cpp \ |
|
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
67 |
../../../tsrc/mocks/mock_hbwidget.cpp \ |
37 | 68 |
../../../tsrc/mocks/mock_cellulardatasettings.cpp |
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
69 |
|
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
70 |
SOURCES += ../../src/cpnetworkpluginform.cpp |
37 | 71 |