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 78 | baacf668fe89 |
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: |
|
15 |
# |
|
16 |
# |
|
17 |
||
18 |
CONFIG += qtestlib hb |
|
19 |
TEMPLATE = app |
|
20 |
TARGET = |
|
21 |
DEPENDPATH += . ../../src/ |
|
22 |
INCLUDEPATH += . |
|
23 |
INCLUDEPATH +=../../../cptelephonyutils/inc |
|
24 |
DEFINES += BUILD_CP_FRAMEWORK |
|
25 |
||
26 |
QT -= gui |
|
27 |
QT += testlib |
|
28 |
||
29 |
symbian: { |
|
30 |
#CONFIG += no_icon |
|
31 |
INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
32 |
||
33 |
LIBS += -lmocklib \ |
|
34 |
-lsymbianmock \ |
|
35 |
-lcpframework |
|
36 |
} |
|
37 |
||
38 |
# test code |
|
39 |
HEADERS += ut_cptelephonypluginview.h |
|
40 |
SOURCES += ut_cptelephonypluginview.cpp |
|
41 |
||
42 |
# code to be tested |
|
43 |
HEADERS += ../../src/cptelephonypluginview.h |
|
44 |
||
45 |
SOURCES += ../../src/cptelephonypluginview.cpp |
|
46 |
||
47 |
# mocks needed for testing |
|
64
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
48 |
HEADERS += /epoc32/include/platform/mw/cpitemdatahelper.h |
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
49 |
HEADERS += /epoc32/include/platform/mw/cpsettingformitemdata.h |
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
50 |
HEADERS += cpbasesettingview.h |
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
51 |
|
37 | 52 |
SOURCES += ../../../tsrc/mocks/mock_cppluginloader.cpp |
64
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
53 |
SOURCES += ../../../tsrc/mocks/mock_cpbasesettingview.cpp |
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
54 |
SOURCES += ../../../tsrc/mocks/mock_cpitemdatahelper.cpp |
6aaf0276100e
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
55 |
SOURCES += ../../../tsrc/mocks/mock_cpsettingformitemdata.cpp |
77
2be0b271d017
Revision: 201037
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
64
diff
changeset
|
56 |
|
2be0b271d017
Revision: 201037
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
64
diff
changeset
|
57 |
symbian:MMP_RULES += SMPSAFE |