|
1 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 # All rights reserved. |
|
3 # This component and the accompanying materials are made available |
|
4 # under the terms of "Eclipse Public License v1.0" |
|
5 # which accompanies this distribution, and is available |
|
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 # Initial Contributors: |
|
8 # Nokia Corporation - initial contribution. |
|
9 # Contributors: |
|
10 # Description: |
|
11 TEMPLATE = app |
|
12 include(../../../../common.pri) |
|
13 CONFIG(debug, debug|release):DESTDIR = debug |
|
14 else:DESTDIR = release |
|
15 CONFIG += debug_and_release \ |
|
16 console |
|
17 QT += testlib \ |
|
18 xml |
|
19 DEFINES += CONTENT_ARSENAL_STORAGE_UT |
|
20 |
|
21 coverage:DEFINES += COVERAGE_MEASUREMENT |
|
22 DEPENDPATH += . \ |
|
23 ./inc \ |
|
24 ./src |
|
25 INCLUDEPATH += . \ |
|
26 ./inc \ |
|
27 ../../inc \ |
|
28 ../../../../homescreensrv_plat/contentstorage_api |
|
29 INCLUDEPATH += ../../../cautils/inc \ |
|
30 ../../inc |
|
31 symbian: { |
|
32 CONFIG += symbian_test |
|
33 coverage: CONFIG -= symbian_test |
|
34 TARGET.UID2 = 0x1000008D |
|
35 TARGET.UID3 = 0x20026FAB |
|
36 TARGET.CAPABILITY = ALL \ |
|
37 -TCB |
|
38 TARGET.EPOCSTACKSIZE = 0x14000 \ |
|
39 // \ |
|
40 80kB |
|
41 TARGET.EPOCHEAPSIZE = 0x20000 \ |
|
42 0x1000000 \ |
|
43 // \ |
|
44 128kB \ |
|
45 - \ |
|
46 16MB |
|
47 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \ |
|
48 ../../inc \ |
|
49 ../../../cautils/inc \ |
|
50 ../../../srvinc \ |
|
51 ../../../inc |
|
52 LIBS += -leuser \ |
|
53 -lsqldb \ |
|
54 -lestor \ |
|
55 -lefsrv \ |
|
56 -lbafl \ |
|
57 -lcautils \ |
|
58 -lflogger \ |
|
59 -lxqutils |
|
60 |
|
61 exportRunScript.sources = ./data/castorage.bat |
|
62 exportRunScript.path = /testing/data/t_castorage/ |
|
63 |
|
64 exportDB.sources = ./data/castorage.db |
|
65 exportDB.path = /testing/data/t_castorage/ |
|
66 |
|
67 exportCorruptedDB.sources = ./data/corruptedcastoragedb |
|
68 exportCorruptedDB.path = /testing/data/t_castorage/ |
|
69 |
|
70 exportVersionDB.sources = ./data/versioncastoragedb |
|
71 exportVersionDB.path = /testing/data/t_castorage/ |
|
72 |
|
73 |
|
74 |
|
75 DEPLOYMENT += \ |
|
76 exportRunScript \ |
|
77 exportDB \ |
|
78 exportCorruptedDB \ |
|
79 exportVersionDB |
|
80 |
|
81 BLD_INF_RULES.prj_testexports += "$${exportDB.sources} c:$${exportDB.path}" |
|
82 BLD_INF_RULES.prj_testexports += "$${exportCorruptedDB.sources} c:$${exportCorruptedDB.path}" |
|
83 BLD_INF_RULES.prj_testexports += "$${exportVersionDB.sources} c:$${exportVersionDB.path}" |
|
84 |
|
85 } |
|
86 include(t_castorage.pri) |