sl@0
|
1 |
/*
|
sl@0
|
2 |
* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
* All rights reserved.
|
sl@0
|
4 |
* This component and the accompanying materials are made available
|
sl@0
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
6 |
* which accompanies this distribution, and is available
|
sl@0
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
*
|
sl@0
|
9 |
* Initial Contributors:
|
sl@0
|
10 |
* Nokia Corporation - initial contribution.
|
sl@0
|
11 |
*
|
sl@0
|
12 |
* Contributors:
|
sl@0
|
13 |
*
|
sl@0
|
14 |
* Description:
|
sl@0
|
15 |
*
|
sl@0
|
16 |
*/
|
sl@0
|
17 |
|
sl@0
|
18 |
|
sl@0
|
19 |
target tupspolicies.exe
|
sl@0
|
20 |
targettype exe
|
sl@0
|
21 |
|
sl@0
|
22 |
uid 0x1000007a 0x10283699
|
sl@0
|
23 |
vendorid 0x70000001
|
sl@0
|
24 |
|
sl@0
|
25 |
userinclude ../source
|
sl@0
|
26 |
userinclude ../../inc_private
|
sl@0
|
27 |
userinclude ../../../source // policyreader.h
|
sl@0
|
28 |
userinclude ../../../../inc_private
|
sl@0
|
29 |
|
sl@0
|
30 |
OS_LAYER_SYSTEMINCLUDE_SYMBIAN
|
sl@0
|
31 |
OS_LAYER_LIBC_SYSTEMINCLUDE
|
sl@0
|
32 |
|
sl@0
|
33 |
sourcepath ../source
|
sl@0
|
34 |
source activewaiter.cpp tupspolicies.cpp tserviceconfig.cpp
|
sl@0
|
35 |
source tpolicyreader.cpp tupsplugins.cpp util.cpp
|
sl@0
|
36 |
|
sl@0
|
37 |
staticlibrary tefunit.lib
|
sl@0
|
38 |
library ecom.lib euser.lib efsrv.lib
|
sl@0
|
39 |
library rfileloggerclient.lib testexecutelogclient.lib testexecuteutils.lib
|
sl@0
|
40 |
library upsmanagement.lib upspolicies.lib upsdb.lib
|
sl@0
|
41 |
|
sl@0
|
42 |
capability none
|
sl@0
|
43 |
|
sl@0
|
44 |
// Test policy files
|
sl@0
|
45 |
sourcepath ../resource
|
sl@0
|
46 |
|
sl@0
|
47 |
// Test policy matching rules
|
sl@0
|
48 |
start resource ups_01031000_01031001.rss
|
sl@0
|
49 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
50 |
end
|
sl@0
|
51 |
|
sl@0
|
52 |
// Test service configuration
|
sl@0
|
53 |
start resource ups_01031000_01031002.rss
|
sl@0
|
54 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
55 |
end
|
sl@0
|
56 |
start resource ups_01032000_01032001.rss
|
sl@0
|
57 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
58 |
end
|
sl@0
|
59 |
|
sl@0
|
60 |
// Eclipsing Tests / After-market policies
|
sl@0
|
61 |
start resource ups_01033000_01032001.rss
|
sl@0
|
62 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
63 |
end
|
sl@0
|
64 |
start resource eclipse/ups_01033000_01032001.rss
|
sl@0
|
65 |
targetpath /tups/tpolicies/eclipse/
|
sl@0
|
66 |
end
|
sl@0
|
67 |
start resource eclipse/ups_01034000_01032001.rss
|
sl@0
|
68 |
targetpath /tups/tpolicies/eclipse/
|
sl@0
|
69 |
end
|
sl@0
|
70 |
// Simple valid policy file on Z drive that will get eclipsed by a corrupt file
|
sl@0
|
71 |
start resource ups_01035000_01035001.rss
|
sl@0
|
72 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
73 |
end
|
sl@0
|
74 |
// Eclipses valid policy file on Z drive
|
sl@0
|
75 |
start resource eclipse/ups_01035000_01035001.rss
|
sl@0
|
76 |
targetpath /tups/tpolicies/eclipse/
|
sl@0
|
77 |
end
|
sl@0
|
78 |
// Corrupt policy file on the Z drive
|
sl@0
|
79 |
start resource ups_01036000_01036001.rss
|
sl@0
|
80 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
81 |
end
|
sl@0
|
82 |
// Corrupt policy file on the system drive as well
|
sl@0
|
83 |
start resource eclipse/ups_01036000_01036001.rss
|
sl@0
|
84 |
targetpath /tups/tpolicies/eclipse/
|
sl@0
|
85 |
end
|
sl@0
|
86 |
// Empty but valid policy file
|
sl@0
|
87 |
start resource ups_01037000_01037001.rss
|
sl@0
|
88 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
89 |
end
|
sl@0
|
90 |
// Policy Evaluator and Dialog Creator plug-ins are missing
|
sl@0
|
91 |
start resource ups_01038000_01038001.rss
|
sl@0
|
92 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
93 |
end
|
sl@0
|
94 |
|
sl@0
|
95 |
// Simple policy files for testing reference notifer
|
sl@0
|
96 |
// SMS
|
sl@0
|
97 |
start resource ups_01041000_01041001.rss
|
sl@0
|
98 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
99 |
end
|
sl@0
|
100 |
// MMS
|
sl@0
|
101 |
start resource ups_01041000_01041002.rss
|
sl@0
|
102 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
103 |
end
|
sl@0
|
104 |
// IP Networking
|
sl@0
|
105 |
start resource ups_01042000_01042001.rss
|
sl@0
|
106 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
107 |
end
|
sl@0
|
108 |
// Telephony
|
sl@0
|
109 |
start resource ups_01043000_01043001.rss
|
sl@0
|
110 |
targetpath /tups/tpolicies/policies/
|
sl@0
|
111 |
end
|
sl@0
|
112 |
|
sl@0
|
113 |
|
sl@0
|
114 |
// Policy Reader Unit Test
|
sl@0
|
115 |
start resource policyreader_valid.rss
|
sl@0
|
116 |
targetpath /tups/tpolicies/policyreader/
|
sl@0
|
117 |
end
|
sl@0
|
118 |
start resource policyreader_empty.rss
|
sl@0
|
119 |
targetpath /tups/tpolicies/policyreader/
|
sl@0
|
120 |
end
|
sl@0
|
121 |
start resource policyreader_invalidoptions.rss
|
sl@0
|
122 |
targetpath /tups/tpolicies/policyreader/
|
sl@0
|
123 |
end
|
sl@0
|
124 |
start resource policyreader_invalidsystemserversecurity.rss
|
sl@0
|
125 |
targetpath /tups/tpolicies/policyreader/
|
sl@0
|
126 |
end
|
sl@0
|
127 |
start resource policyreader_nodefaultpolicyevaluator.rss
|
sl@0
|
128 |
targetpath /tups/tpolicies/policyreader/
|
sl@0
|
129 |
end
|
sl@0
|
130 |
start resource policyreader_nodefaultdialogcreator.rss
|
sl@0
|
131 |
targetpath /tups/tpolicies/policyreader/
|
sl@0
|
132 |
end
|
sl@0
|
133 |
SMPSAFE
|