author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Mon, 04 Oct 2010 00:16:48 +0300 | |
changeset 77 | 2be0b271d017 |
parent 64 | 6aaf0276100e |
child 76 | cfea66083b62 |
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 |
CONFIG += qtestlib hb |
|
18 |
TEMPLATE = app |
|
19 |
TARGET = |
|
20 |
DEPENDPATH += . ../../src/ |
|
21 |
INCLUDEPATH += . |
|
22 |
INCLUDEPATH += ../../../inc |
|
23 |
INCLUDEPATH += ../../../cptelephonyutils/inc |
|
64
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
24 |
INCLUDEPATH += ../../../tsrc/common |
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
25 |
|
37 | 26 |
DEFINES += BUILD_CPTELEPHONYUTILS BUILD_BARRINGPLUGIN \ |
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
27 |
BUILD_PSETWRAPPER BUILD_SSSETTINGSWRAPPER BUILD_PSUINOTES |
37 | 28 |
DEFINES += QT_NO_DEBUG_STREAM |
29 |
||
30 |
QT -= gui |
|
31 |
QT += testlib |
|
32 |
||
33 |
symbian: { |
|
34 |
CONFIG += no_icon |
|
35 |
||
36 |
INCLUDEPATH += /epoc32/include/mw/QtTest \ |
|
37 |
/epoc32/include/platform/mw \ |
|
38 |
/epoc32/include/mw/qt |
|
39 |
||
40 |
LIBS += -lmocklib \ |
|
41 |
-lsymbianmock \ |
|
42 |
-lcpframework |
|
43 |
} |
|
44 |
||
45 |
# test code |
|
46 |
HEADERS += ut_barringplugingroup.h |
|
47 |
SOURCES += ut_barringplugingroup.cpp |
|
48 |
||
49 |
# code to be tested |
|
50 |
HEADERS += ../../inc/cpbarringplugin.h \ |
|
51 |
../../inc/cpbarringplugingroup.h \ |
|
52 |
../../../cptelephonyutils/inc/cpplugincommon.h \ |
|
53 |
/epoc32/include/platform/mw/psetwrapper.h \ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
54 |
/epoc32/include/platform/mw/psuinotes.h \ |
64
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
55 |
/epoc32/include/platform/mw/psetcallbarringwrapper.h \ |
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
56 |
/epoc32/include/platform/mw/psetcalldivertingwrapper.h \ |
37 | 57 |
/epoc32/include/platform/mw/psetcallwaitingwrapper.h \ |
64
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
58 |
/epoc32/include/platform/mw/psetcliwrapper.h \ |
37 | 59 |
/epoc32/include/platform/mw/psetnetworkwrapper.h \ |
64
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
60 |
#/epoc32/include/platform/mw/sssettingswrapper.h \ |
37 | 61 |
|
62 |
SOURCES += ../../src/cpbarringplugingroup.cpp |
|
63 |
||
64 |
# mocks needed for testing |
|
65 |
SOURCES += ../../../tsrc/mocks/mock_cpbarringplugin.cpp |
|
66 |
SOURCES += ../../../tsrc/mocks/mock_psetcallbarringwrapper.cpp |
|
64
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
67 |
SOURCES += ../../../tsrc/mocks/mock_psetcalldivertingwrapper.cpp |
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
68 |
SOURCES += ../../../tsrc/mocks/mock_psetcallwaitingwrapper.cpp |
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
69 |
SOURCES += ../../../tsrc/mocks/mock_psetcliwrapper.cpp |
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
56
diff
changeset
|
70 |
SOURCES += ../../../tsrc/mocks/mock_psetnetworkwrapper.cpp |
37 | 71 |
SOURCES += ../../../tsrc/mocks/mock_psetwrapper.cpp |
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
72 |
SOURCES += ../../../tsrc/mocks/mock_psuinotes.cpp |
37 | 73 |
SOURCES += ../../../tsrc/mocks/mock_cpplugincommon.cpp |
74 |
SOURCES += ../../../tsrc/mocks/mock_cpitemdatahelper.cpp |
|
75 |
SOURCES += ../../../tsrc/mocks/mock_hbcheckbox.cpp |
|
76 |
SOURCES += ../../../tsrc/mocks/mock_qtranslator.cpp |
|
77
2be0b271d017
Revision: 201037
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
64
diff
changeset
|
77 |
|
2be0b271d017
Revision: 201037
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
64
diff
changeset
|
78 |
|
2be0b271d017
Revision: 201037
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
64
diff
changeset
|
79 |
symbian:MMP_RULES += SMPSAFE |