contentmgmt/referencedrmagent/tcaf/scripts/stringattributes.ini
changeset 15 da2ae96f639b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contentmgmt/referencedrmagent/tcaf/scripts/stringattributes.ini	Mon Oct 12 10:17:04 2009 +0300
@@ -0,0 +1,129 @@
+//------------------------------------- 
+//--  Steps to retrieve TransactionID
+//------------------------------------- 
+[CreateDrmArchive]
+ContentDescription=c:\RTA\testdata\stringattributes.xml
+RightsDescription=
+OutputFile= c:\tcaf\testdata\stringattribute.content
+
+
+[PrivateCopyFileOk]
+source      =C:\tcaf\testdata\stringattribute.content
+destination =C:\private\Reference Test Agent\stringattribute.content
+result	    =0
+
+
+
+[TransactionIDAttribute]
+uri	 =c:\private\Reference Test Agent\stringattribute.content|\transactionid.txt
+uniqueid =\transactionid.txt
+stringattribute =10
+value	 = ID1234
+result	 =0
+
+ 
+
+//----------------------------------------------
+//-- Steps to retrieve 257 long transaction ID
+//----------------------------------------------
+
+[257LengthTransactionIDAttribute]
+uri	 =c:\private\Reference Test Agent\stringattribute.content|\257longtransactionid.txt
+uniqueid =\257longtransactionid.txt
+stringattribute =10
+value = 
+result	 = -9
+
+
+//-----------------------------------------------
+//-- Steps to retrieve 1char long transaction ID
+//-----------------------------------------------
+[TransactionIDAttribute1char]
+uri	 =c:\private\Reference Test Agent\stringattribute.content|\1chartransactionid.txt
+uniqueid =\1chartransactionid.txt
+stringattribute =10
+value = 1
+result	 = 0
+
+//------------------------------------------------
+//-- Steps to retrieve 13char long transaction ID
+//------------------------------------------------
+[TransactionIDAttribute13char]
+uri	 =c:\private\Reference Test Agent\stringattribute.content|\13chartransactionid.txt
+uniqueid =\13chartransactionid.txt
+stringattribute =10
+value = 1234567890123
+result	 = 0
+
+
+//--------------------------------------------------- 
+//-- Steps to retrieve non existing transaction ID
+//--------------------------------------------------- 
+
+[NonExistingTransactionIDAttribute]
+uri	 =c:\private\Reference Test Agent\stringattribute.content|\contentwithnotransactionid.txt
+uniqueid =\contentwithnotransactionid.txt
+stringattribute =10
+value = 
+result	 = -1 
+
+
+
+
+//-----------------------------------------------------------------
+//-- Steps to retrieve transaction ID using GetStringAttributeSet.
+//-----------------------------------------------------------------
+
+
+[StringAttributeSet]
+unresolveduri =1
+uri	 =c:\private\Reference Test Agent\stringattribute.content|\stringattributeset.txt
+uniqueid =\stringattributeset.txt
+attribute1 =10
+value1	 =ID1234
+attribute2 = 7
+value2	 = ID5678
+result1	 =0
+result2  =0
+
+
+[ContentStringAttribute]
+unresolveduri =1
+uri	 =c:\private\Reference Test Agent\stringattribute.content|\stringattributeset.txt
+uniqueid =\stringattributeset.txt
+attribute =7
+value =ID5678
+result =0
+
+//--------------------------------------------------
+// Testing new entries added for DEF102465
+// These are: EContentVersion, EContentLocation & ERightsIssuerURI
+//--------------------------------------------------
+[ContentLocationAttribute]
+unresolveduri =1
+uri	 =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt
+uniqueid =\DEF102465attributes.txt
+attribute =11
+value	 = http://www.somewhere.org/contentstore/
+result	 =0
+
+[RightsIssuerURIAttribute]
+unresolveduri =1
+uri	 =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt
+uniqueid =\DEF102465attributes.txt
+attribute =12
+value	 = http://www.somewhereelse.org/rightsissuer/
+result	 =0
+
+[ContentVersionAttribute]
+unresolveduri =1
+uri	 =c:\private\Reference Test Agent\stringattribute.content|\DEF102465attributes.txt
+uniqueid =\DEF102465attributes.txt
+attribute =20
+value	 = 65535
+result	 =0
+
+
+[PrivateDeleteFileOk]
+filename    =C:\private\Reference Test Agent\stringattribute.content
+result	    =0