phoneplugins/infowidgetplugin/tsrc/ut_infowidgetsathandler/ut_infowidgetsathandler.pro
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: Project file for building unit test component |
|
15 # |
|
16 # |
|
17 |
|
18 CONFIG += qtestlib hb |
|
19 TEMPLATE = app |
|
20 TARGET = |
|
21 DEPENDPATH += . ../../infowidget/src |
|
22 INCLUDEPATH += . |
|
23 INCLUDEPATH += ../common |
|
24 INCLUDEPATH += ../../inc/ |
|
25 INCLUDEPATH += ../../infowidget/inc/ |
|
26 |
|
27 QT -= gui |
|
28 QT += testlib |
|
29 |
|
30 symbian: { |
|
31 CONFIG += no_icon |
|
32 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
33 LIBS += -lmocklib \ |
|
34 -lsymbianmock \ |
|
35 -lcpframework |
|
36 } |
|
37 |
|
38 # test code |
|
39 HEADERS += ./inc/ut_infowidgetsathandler.h |
|
40 SOURCES += ./src/ut_infowidgetsathandler.cpp |
|
41 |
|
42 # code to be tested |
|
43 HEADERS += ../../infowidget/inc/infowidgetsathandler.h |
|
44 SOURCES += ../../infowidget/src/infowidgetsathandler.cpp |
|
45 |
|
46 # mocks needed for testing |
|
47 SOURCES += ../mocks/mock_rsatservice.cpp \ |
|
48 ../mocks/mock_RSatSession.cpp \ |
|
49 ../mocks/mock_infowidgetsathandlerprivate.cpp |