1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/contentmgmt/referencedrmagent/tcaf/testdata/tcaf.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,212 @@
1.4 +[DrmContent]
1.5 +
1.6 +FileName =C:\TCAF\testdata\TEST.DRM
1.7 +Container =application/testagent.drm
1.8 +Content =text/plain
1.9 +CafMimeType =x-caf-text/plain
1.10 +Recognized =true
1.11 +
1.12 +[TXT]
1.13 +
1.14 +FileName =c:\tcaf\testdata\dummydata.txt
1.15 +Container =
1.16 +Content =
1.17 +expectedCafRecognizerType =
1.18 +Recognized =false
1.19 +
1.20 +[PlainText]
1.21 +URI1 = c:\tcaf\testdata\dummydata.txt
1.22 +URI2 = c:\tcaf\testdata\dummydata.txt
1.23 +
1.24 +[DCF]
1.25 +URI1 = c:\tcaf\testdata\test.drm
1.26 +URI2 = c:\tcaf\testdata\test.txt
1.27 +
1.28 +[MimeType]
1.29 +URI=c:\tcaf\testdata\test.drm
1.30 +ContentMimeType=text/plain
1.31 +Known=true
1.32 +
1.33 +[NoMimeType]
1.34 +URI=c:\tcaf\testdata\dummydata.txt
1.35 +ContentMimeType=text/plain
1.36 +Known=true
1.37 +
1.38 +[readDummyData]
1.39 +URI = c:\tcaf\testdata\dummydata.txt
1.40 +EnableSharing = true
1.41 +
1.42 +[readDCF]
1.43 +URI = c:\tcaf\testdata\test.drm
1.44 +EnableSharing = true
1.45 +
1.46 +[BufferSize]
1.47 +
1.48 +size = 255
1.49 +
1.50 +[Delete1]
1.51 +
1.52 +filename = c:\tcaf\testdata\delete1.drm
1.53 +result = 0
1.54 +
1.55 +[Delete2]
1.56 +
1.57 +filename = thisfiledoesnotexist
1.58 +result = -1
1.59 +
1.60 +[Attributes1]
1.61 +
1.62 +filename = c:\tcaf\testdata\test.drm
1.63 +Protected = true
1.64 +Forwardable = false
1.65 +
1.66 +[SupplyDrm]
1.67 +OutputPath = C:\
1.68 +SourceFileName = C:\tcaf\testdata\test.drm
1.69 +SuggestedFileName = supplied.drm
1.70 +MimeType = application/testagent.drm
1.71 +LeaveResult = 0
1.72 +
1.73 +[SupplyUnrecognized]
1.74 +OutputPath = C:\
1.75 +SourceFileName = C:\tcaf\testdata\test.txt
1.76 +SuggestedFileName = failed.drm
1.77 +MimeType = text/plain
1.78 +LeaveResult = -17453
1.79 +
1.80 +[CheckImport]
1.81 +URI1 = c:\supplied.drm
1.82 +URI2 = c:\tcaf\testdata\test.txt
1.83 +
1.84 +[Equality1]
1.85 +left-bitcount = 4
1.86 +left-bit0 = 1
1.87 +left-bit2 = 1
1.88 +
1.89 +right-bitcount = 4
1.90 +right-bit0 = 1
1.91 +right-bit2 = 1
1.92 +
1.93 +equal = 1
1.94 +
1.95 +[Equality2]
1.96 +left-bitcount = 6
1.97 +left-bit00 = 1
1.98 +left-bit02 = 1
1.99 +left-bit04 = 1
1.100 +
1.101 +right-bitcount = 4
1.102 +right-bit00 = 1
1.103 +right-bit02 = 1
1.104 +
1.105 +equal = 1
1.106 +
1.107 +[Equality3]
1.108 +left-bitcount = 10
1.109 +left-bit00 = 1
1.110 +left-bit09 = 1
1.111 +
1.112 +right-bitcount = 12
1.113 +right-bit00 = 1
1.114 +right-bit09 = 1
1.115 +right-bit11 = 1
1.116 +
1.117 +equal = 1
1.118 +
1.119 +[Inequality1]
1.120 +left-bitcount = 4
1.121 +left-bit00 = 1
1.122 +left-bit02 = 1
1.123 +left-bit03 = 1
1.124 +
1.125 +right-bitcount = 4
1.126 +right-bit00 = 1
1.127 +right-bit02 = 1
1.128 +
1.129 +equal = 0
1.130 +
1.131 +[Inequality2]
1.132 +left-bitcount = 10
1.133 +left-bit00 = 1
1.134 +left-bit09 = 1
1.135 +
1.136 +right-bitcount = 12
1.137 +right-bit00 = 1
1.138 +right-bit01 = 1
1.139 +right-bit09 = 1
1.140 +right-bit11 = 1
1.141 +
1.142 +equal = 0
1.143 +
1.144 +[Inequality3]
1.145 +left-bitcount = 12
1.146 +left-bit00 = 1
1.147 +left-bit09 = 1
1.148 +
1.149 +right-bitcount = 10
1.150 +right-bit00 = 1
1.151 +right-bit08 = 1
1.152 +
1.153 +equal = 0
1.154 +
1.155 +[Copy1]
1.156 +bitcount = 6
1.157 +bit00 = 1
1.158 +bit01 = 1
1.159 +bit03 = 1
1.160 +
1.161 +[Copy2]
1.162 +bitcount = 10
1.163 +bit00 = 1
1.164 +bit01 = 1
1.165 +bit03 = 1
1.166 +bit04 = 1
1.167 +bit07 = 1
1.168 +bit09 = 1
1.169 +
1.170 +[Copy3]
1.171 +bitcount = 16
1.172 +bit00 = 1
1.173 +bit01 = 1
1.174 +bit03 = 1
1.175 +bit04 = 1
1.176 +bit07 = 1
1.177 +bit09 = 1
1.178 +bit14 = 1
1.179 +bit15 = 1
1.180 +
1.181 +[Panic1]
1.182 +panic-bitcount = 6
1.183 +panictest = 1
1.184 +
1.185 +[Panic2]
1.186 +panic-bitcount = 6
1.187 +panictest = 2
1.188 +
1.189 +[Panic3]
1.190 +panic-bitcount = 6
1.191 +panictest = 3
1.192 +
1.193 +[Panic4]
1.194 +panic-bitcount = 6
1.195 +panictest = 4
1.196 +
1.197 +[Panic5]
1.198 +panic-bitcount = 6
1.199 +panictest = 5
1.200 +
1.201 +[Panic6]
1.202 +panic-bitcount = 6
1.203 +panictest = 6
1.204 +
1.205 +[OomRead]
1.206 +OomTest=1
1.207 +URI = c:\tcaf\testdata\test.drm
1.208 +
1.209 +[OomSupply]
1.210 +OomTest=2
1.211 +OutputPath = C:\
1.212 +SourceFileName = C:\tcaf\testdata\test.drm
1.213 +SuggestedFileName = supplied.drm
1.214 +MimeType = application/testagent.drm
1.215 +LeaveResult = 0