phonesettings/cpphonesettingsplugins/telephonyplugin/tsrc/ut_cptelephonypluginview/ut_cptelephonypluginview.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: |
|
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 |
|
48 HEADERS += /epoc32/include/platform/mw/cpitemdatahelper.h |
|
49 HEADERS += /epoc32/include/platform/mw/cpsettingformitemdata.h |
|
50 HEADERS += cpbasesettingview.h |
|
51 |
|
52 SOURCES += ../../../tsrc/mocks/mock_cppluginloader.cpp |
|
53 SOURCES += ../../../tsrc/mocks/mock_cpbasesettingview.cpp |
|
54 SOURCES += ../../../tsrc/mocks/mock_cpitemdatahelper.cpp |
|
55 SOURCES += ../../../tsrc/mocks/mock_cpsettingformitemdata.cpp |