author | William Roberts <williamr@symbian.org> |
Thu, 22 Jul 2010 16:33:21 +0100 | |
branch | GCC_SURGE |
changeset 51 | f39ed5e045e0 |
parent 30 | ebdbd102c78a |
parent 46 | bc5a64e5bc3c |
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 |
||
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
18 |
CONFIG += qtestlib hb |
37 | 19 |
TEMPLATE = app |
20 |
TARGET = |
|
21 |
DEPENDPATH += . ../../src/ |
|
22 |
INCLUDEPATH += . |
|
23 |
INCLUDEPATH +=../../../inc |
|
24 |
INCLUDEPATH +=../../../cptelephonyutils/inc |
|
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
25 |
DEFINES += BUILD_CPTELEPHONYUTILS |
37 | 26 |
|
27 |
QT -= gui |
|
28 |
QT += testlib |
|
29 |
||
30 |
symbian: { |
|
31 |
CONFIG += no_icon |
|
32 |
INCLUDEPATH += /epoc32/include/mw/QtTest \ |
|
33 |
/epoc32/include/platform/mw \ |
|
34 |
/epoc32/include/mw/qt |
|
35 |
LIBS += -lmocklib \ |
|
36 |
-lsymbianmock \ |
|
37 |
-lcpframework |
|
38 |
} |
|
39 |
||
40 |
# test code |
|
41 |
HEADERS += ut_cpnetworkplugin.h |
|
42 |
SOURCES += ut_cpnetworkplugin.cpp |
|
43 |
||
44 |
# code to be tested |
|
45 |
HEADERS += ../../src/cpnetworkplugin.h \ |
|
46 |
../../src/cpnetworkpluginview.h \ |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
47 |
../../src/cpnetworkstatus.h \ |
37 | 48 |
../../../cptelephonyutils/inc/cpphonelocalisation.h |
49 |
||
50 |
SOURCES += ../../src/cpnetworkplugin.cpp |
|
51 |
||
52 |
# mocks needed for testing |
|
53 |
SOURCES += ../../../tsrc/mocks/mock_cpnetworkpluginview.cpp |
|
54 |
SOURCES += ../../../tsrc/mocks/mock_cpphonelocalisation.cpp |
|
55 |
SOURCES += ../../../tsrc/mocks/mock_hbicon.cpp |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
56 |
SOURCES += ../../../tsrc/mocks/mock_cpsettingformentryitemdata.cpp |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
57 |
SOURCES += ../../../tsrc/mocks/mock_cpbasesettingview.cpp |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
58 |
SOURCES += ../../../tsrc/mocks/mock_hbview.cpp |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
59 |
SOURCES += ../../../tsrc/mocks/mock_cpnetworkstatus.cpp |
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
60 |