1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/contentmgmt/referencedrmagent/tcaf/scripts/stringattributes.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,129 @@
1.4 +//-------------------------------------
1.5 +//-- Steps to retrieve TransactionID
1.6 +//-------------------------------------
1.7 +[CreateDrmArchive]
1.8 +ContentDescription=c:\RTA\testdata\stringattributes.xml
1.9 +RightsDescription=
1.10 +OutputFile= c:\tcaf\testdata\stringattribute.content
1.11 +
1.12 +
1.13 +[PrivateCopyFileOk]
1.14 +source =C:\tcaf\testdata\stringattribute.content
1.15 +destination =C:\private\Reference Test Agent\stringattribute.content
1.16 +result =0
1.17 +
1.18 +
1.19 +
1.20 +[TransactionIDAttribute]
1.21 +uri =c:\private\Reference Test Agent\stringattribute.content|\transactionid.txt
1.22 +uniqueid =\transactionid.txt
1.23 +stringattribute =10
1.24 +value = ID1234
1.25 +result =0
1.26 +
1.27 +
1.28 +
1.29 +//----------------------------------------------
1.30 +//-- Steps to retrieve 257 long transaction ID
1.31 +//----------------------------------------------
1.32 +
1.33 +[257LengthTransactionIDAttribute]
1.34 +uri =c:\private\Reference Test Agent\stringattribute.content|\257longtransactionid.txt
1.35 +uniqueid =\257longtransactionid.txt
1.36 +stringattribute =10
1.37 +value =
1.38 +result = -9
1.39 +
1.40 +
1.41 +//-----------------------------------------------
1.42 +//-- Steps to retrieve 1char long transaction ID
1.43 +//-----------------------------------------------
1.44 +[TransactionIDAttribute1char]
1.45 +uri =c:\private\Reference Test Agent\stringattribute.content|\1chartransactionid.txt
1.46 +uniqueid =\1chartransactionid.txt
1.47 +stringattribute =10
1.48 +value = 1
1.49 +result = 0
1.50 +
1.51 +//------------------------------------------------
1.52 +//-- Steps to retrieve 13char long transaction ID
1.53 +//------------------------------------------------
1.54 +[TransactionIDAttribute13char]
1.55 +uri =c:\private\Reference Test Agent\stringattribute.content|\13chartransactionid.txt
1.56 +uniqueid =\13chartransactionid.txt
1.57 +stringattribute =10
1.58 +value = 1234567890123
1.59 +result = 0
1.60 +
1.61 +
1.62 +//---------------------------------------------------
1.63 +//-- Steps to retrieve non existing transaction ID
1.64 +//---------------------------------------------------
1.65 +
1.66 +[NonExistingTransactionIDAttribute]
1.67 +uri =c:\private\Reference Test Agent\stringattribute.content|\contentwithnotransactionid.txt
1.68 +uniqueid =\contentwithnotransactionid.txt
1.69 +stringattribute =10
1.70 +value =
1.71 +result = -1
1.72 +
1.73 +
1.74 +
1.75 +
1.76 +//-----------------------------------------------------------------
1.77 +//-- Steps to retrieve transaction ID using GetStringAttributeSet.
1.78 +//-----------------------------------------------------------------
1.79 +
1.80 +
1.81 +[StringAttributeSet]
1.82 +unresolveduri =1
1.83 +uri =c:\private\Reference Test Agent\stringattribute.content|\stringattributeset.txt
1.84 +uniqueid =\stringattributeset.txt
1.85 +attribute1 =10
1.86 +value1 =ID1234
1.87 +attribute2 = 7
1.88 +value2 = ID5678
1.89 +result1 =0
1.90 +result2 =0
1.91 +
1.92 +
1.93 +[ContentStringAttribute]
1.94 +unresolveduri =1
1.95 +uri =c:\private\Reference Test Agent\stringattribute.content|\stringattributeset.txt
1.96 +uniqueid =\stringattributeset.txt
1.97 +attribute =7
1.98 +value =ID5678
1.99 +result =0
1.100 +
1.101 +//--------------------------------------------------
1.102 +// Testing new entries added for DEF102465
1.103 +// These are: EContentVersion, EContentLocation & ERightsIssuerURI
1.104 +//--------------------------------------------------
1.105 +[ContentLocationAttribute]
1.106 +unresolveduri =1
1.107 +uri =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt
1.108 +uniqueid =\DEF102465attributes.txt
1.109 +attribute =11
1.110 +value = http://www.somewhere.org/contentstore/
1.111 +result =0
1.112 +
1.113 +[RightsIssuerURIAttribute]
1.114 +unresolveduri =1
1.115 +uri =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt
1.116 +uniqueid =\DEF102465attributes.txt
1.117 +attribute =12
1.118 +value = http://www.somewhereelse.org/rightsissuer/
1.119 +result =0
1.120 +
1.121 +[ContentVersionAttribute]
1.122 +unresolveduri =1
1.123 +uri =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt
1.124 +uniqueid =\DEF102465attributes.txt
1.125 +attribute =20
1.126 +value = 65535
1.127 +result =0
1.128 +
1.129 +
1.130 +[PrivateDeleteFileOk]
1.131 +filename =C:\private\Reference Test Agent\stringattribute.content
1.132 +result =0