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