|
1 //------------------------------------- |
|
2 //-- Steps to retrieve TransactionID |
|
3 //------------------------------------- |
|
4 [CreateDrmArchive] |
|
5 ContentDescription=c:\RTA\testdata\stringattributes.xml |
|
6 RightsDescription= |
|
7 OutputFile= c:\tcaf\testdata\stringattribute.content |
|
8 |
|
9 |
|
10 [PrivateCopyFileOk] |
|
11 source =C:\tcaf\testdata\stringattribute.content |
|
12 destination =C:\private\Reference Test Agent\stringattribute.content |
|
13 result =0 |
|
14 |
|
15 |
|
16 |
|
17 [TransactionIDAttribute] |
|
18 uri =c:\private\Reference Test Agent\stringattribute.content|\transactionid.txt |
|
19 uniqueid =\transactionid.txt |
|
20 stringattribute =10 |
|
21 value = ID1234 |
|
22 result =0 |
|
23 |
|
24 |
|
25 |
|
26 //---------------------------------------------- |
|
27 //-- Steps to retrieve 257 long transaction ID |
|
28 //---------------------------------------------- |
|
29 |
|
30 [257LengthTransactionIDAttribute] |
|
31 uri =c:\private\Reference Test Agent\stringattribute.content|\257longtransactionid.txt |
|
32 uniqueid =\257longtransactionid.txt |
|
33 stringattribute =10 |
|
34 value = |
|
35 result = -9 |
|
36 |
|
37 |
|
38 //----------------------------------------------- |
|
39 //-- Steps to retrieve 1char long transaction ID |
|
40 //----------------------------------------------- |
|
41 [TransactionIDAttribute1char] |
|
42 uri =c:\private\Reference Test Agent\stringattribute.content|\1chartransactionid.txt |
|
43 uniqueid =\1chartransactionid.txt |
|
44 stringattribute =10 |
|
45 value = 1 |
|
46 result = 0 |
|
47 |
|
48 //------------------------------------------------ |
|
49 //-- Steps to retrieve 13char long transaction ID |
|
50 //------------------------------------------------ |
|
51 [TransactionIDAttribute13char] |
|
52 uri =c:\private\Reference Test Agent\stringattribute.content|\13chartransactionid.txt |
|
53 uniqueid =\13chartransactionid.txt |
|
54 stringattribute =10 |
|
55 value = 1234567890123 |
|
56 result = 0 |
|
57 |
|
58 |
|
59 //--------------------------------------------------- |
|
60 //-- Steps to retrieve non existing transaction ID |
|
61 //--------------------------------------------------- |
|
62 |
|
63 [NonExistingTransactionIDAttribute] |
|
64 uri =c:\private\Reference Test Agent\stringattribute.content|\contentwithnotransactionid.txt |
|
65 uniqueid =\contentwithnotransactionid.txt |
|
66 stringattribute =10 |
|
67 value = |
|
68 result = -1 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 //----------------------------------------------------------------- |
|
74 //-- Steps to retrieve transaction ID using GetStringAttributeSet. |
|
75 //----------------------------------------------------------------- |
|
76 |
|
77 |
|
78 [StringAttributeSet] |
|
79 unresolveduri =1 |
|
80 uri =c:\private\Reference Test Agent\stringattribute.content|\stringattributeset.txt |
|
81 uniqueid =\stringattributeset.txt |
|
82 attribute1 =10 |
|
83 value1 =ID1234 |
|
84 attribute2 = 7 |
|
85 value2 = ID5678 |
|
86 result1 =0 |
|
87 result2 =0 |
|
88 |
|
89 |
|
90 [ContentStringAttribute] |
|
91 unresolveduri =1 |
|
92 uri =c:\private\Reference Test Agent\stringattribute.content|\stringattributeset.txt |
|
93 uniqueid =\stringattributeset.txt |
|
94 attribute =7 |
|
95 value =ID5678 |
|
96 result =0 |
|
97 |
|
98 //-------------------------------------------------- |
|
99 // Testing new entries added for DEF102465 |
|
100 // These are: EContentVersion, EContentLocation & ERightsIssuerURI |
|
101 //-------------------------------------------------- |
|
102 [ContentLocationAttribute] |
|
103 unresolveduri =1 |
|
104 uri =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt |
|
105 uniqueid =\DEF102465attributes.txt |
|
106 attribute =11 |
|
107 value = http://www.somewhere.org/contentstore/ |
|
108 result =0 |
|
109 |
|
110 [RightsIssuerURIAttribute] |
|
111 unresolveduri =1 |
|
112 uri =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt |
|
113 uniqueid =\DEF102465attributes.txt |
|
114 attribute =12 |
|
115 value = http://www.somewhereelse.org/rightsissuer/ |
|
116 result =0 |
|
117 |
|
118 [ContentVersionAttribute] |
|
119 unresolveduri =1 |
|
120 uri =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt |
|
121 uniqueid =\DEF102465attributes.txt |
|
122 attribute =20 |
|
123 value = 65535 |
|
124 result =0 |
|
125 |
|
126 |
|
127 [PrivateDeleteFileOk] |
|
128 filename =C:\private\Reference Test Agent\stringattribute.content |
|
129 result =0 |