os/security/contentmgmt/referencedrmagent/tcaf/testdata/tcaf.ini
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 [DrmContent]
     2 
     3 FileName    =C:\TCAF\testdata\TEST.DRM
     4 Container   =application/testagent.drm
     5 Content	    =text/plain
     6 CafMimeType =x-caf-text/plain
     7 Recognized  =true
     8 
     9 [TXT]
    10 
    11 FileName   =c:\tcaf\testdata\dummydata.txt
    12 Container  =
    13 Content    =
    14 expectedCafRecognizerType =
    15 Recognized =false
    16 
    17 [PlainText]
    18 URI1 = c:\tcaf\testdata\dummydata.txt
    19 URI2 = c:\tcaf\testdata\dummydata.txt
    20 
    21 [DCF]
    22 URI1 = c:\tcaf\testdata\test.drm
    23 URI2 = c:\tcaf\testdata\test.txt
    24 
    25 [MimeType]
    26 URI=c:\tcaf\testdata\test.drm
    27 ContentMimeType=text/plain
    28 Known=true
    29 
    30 [NoMimeType]
    31 URI=c:\tcaf\testdata\dummydata.txt
    32 ContentMimeType=text/plain
    33 Known=true
    34 
    35 [readDummyData]
    36 URI = c:\tcaf\testdata\dummydata.txt
    37 EnableSharing = true
    38 
    39 [readDCF]
    40 URI = c:\tcaf\testdata\test.drm
    41 EnableSharing = true
    42 
    43 [BufferSize]
    44 
    45 size = 255
    46 
    47 [Delete1]
    48 
    49 filename = c:\tcaf\testdata\delete1.drm
    50 result = 0
    51 
    52 [Delete2]
    53 
    54 filename = thisfiledoesnotexist
    55 result = -1
    56 
    57 [Attributes1]
    58 
    59 filename = c:\tcaf\testdata\test.drm
    60 Protected = true
    61 Forwardable = false
    62 
    63 [SupplyDrm]
    64 OutputPath = C:\
    65 SourceFileName = C:\tcaf\testdata\test.drm
    66 SuggestedFileName = supplied.drm
    67 MimeType = application/testagent.drm
    68 LeaveResult = 0
    69 
    70 [SupplyUnrecognized]
    71 OutputPath = C:\
    72 SourceFileName = C:\tcaf\testdata\test.txt
    73 SuggestedFileName = failed.drm
    74 MimeType = text/plain
    75 LeaveResult = -17453
    76 
    77 [CheckImport]
    78 URI1 = c:\supplied.drm
    79 URI2 = c:\tcaf\testdata\test.txt
    80 
    81 [Equality1]
    82 left-bitcount = 4
    83 left-bit0 = 1
    84 left-bit2 = 1
    85 
    86 right-bitcount = 4
    87 right-bit0 = 1
    88 right-bit2 = 1
    89 
    90 equal = 1
    91 
    92 [Equality2]
    93 left-bitcount = 6
    94 left-bit00 = 1
    95 left-bit02 = 1
    96 left-bit04 = 1
    97 
    98 right-bitcount = 4
    99 right-bit00 = 1
   100 right-bit02 = 1
   101 
   102 equal = 1
   103 
   104 [Equality3]
   105 left-bitcount = 10
   106 left-bit00 = 1
   107 left-bit09 = 1
   108 
   109 right-bitcount = 12
   110 right-bit00 = 1
   111 right-bit09 = 1
   112 right-bit11 = 1
   113 
   114 equal = 1
   115 
   116 [Inequality1]
   117 left-bitcount = 4
   118 left-bit00 = 1
   119 left-bit02 = 1
   120 left-bit03 = 1
   121 
   122 right-bitcount = 4
   123 right-bit00 = 1
   124 right-bit02 = 1
   125 
   126 equal = 0
   127 
   128 [Inequality2]
   129 left-bitcount = 10
   130 left-bit00 = 1
   131 left-bit09 = 1
   132 
   133 right-bitcount = 12
   134 right-bit00 = 1
   135 right-bit01 = 1
   136 right-bit09 = 1
   137 right-bit11 = 1
   138 
   139 equal = 0
   140 
   141 [Inequality3]
   142 left-bitcount = 12
   143 left-bit00 = 1
   144 left-bit09 = 1
   145 
   146 right-bitcount = 10
   147 right-bit00 = 1
   148 right-bit08 = 1
   149 
   150 equal = 0
   151 
   152 [Copy1]
   153 bitcount = 6
   154 bit00 = 1
   155 bit01 = 1
   156 bit03 = 1
   157 
   158 [Copy2]
   159 bitcount = 10
   160 bit00 = 1
   161 bit01 = 1
   162 bit03 = 1
   163 bit04 = 1
   164 bit07 = 1
   165 bit09 = 1
   166 
   167 [Copy3]
   168 bitcount = 16
   169 bit00 = 1
   170 bit01 = 1
   171 bit03 = 1
   172 bit04 = 1
   173 bit07 = 1
   174 bit09 = 1
   175 bit14 = 1
   176 bit15 = 1
   177 
   178 [Panic1]
   179 panic-bitcount = 6
   180 panictest = 1
   181 
   182 [Panic2]
   183 panic-bitcount = 6
   184 panictest = 2
   185 
   186 [Panic3]
   187 panic-bitcount = 6
   188 panictest = 3
   189 
   190 [Panic4]
   191 panic-bitcount = 6
   192 panictest = 4
   193 
   194 [Panic5]
   195 panic-bitcount = 6
   196 panictest = 5
   197 
   198 [Panic6]
   199 panic-bitcount = 6
   200 panictest = 6
   201 
   202 [OomRead]
   203 OomTest=1
   204 URI = c:\tcaf\testdata\test.drm
   205 
   206 [OomSupply]
   207 OomTest=2
   208 OutputPath = C:\
   209 SourceFileName = C:\tcaf\testdata\test.drm
   210 SuggestedFileName = supplied.drm
   211 MimeType = application/testagent.drm
   212 LeaveResult = 0