contentmgmt/referencedrmagent/tcaf/scripts/cafutils.script
changeset 15 da2ae96f639b
child 29 ece3df019add
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of the License "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description: 
       
    15 //
       
    16 //
       
    17 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
    18 // All rights reserved.
       
    19 // This component and the accompanying materials are made available
       
    20 // under the terms of the License "Symbian Foundation License v1.0"
       
    21 // which accompanies this distribution, and is available
       
    22 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
    23 //
       
    24 // Initial Contributors:
       
    25 // Nokia Corporation - initial contribution.
       
    26 //
       
    27 // Contributors:
       
    28 //
       
    29 // Description:
       
    30 //
       
    31 
       
    32 LOAD_SUITE tcaf
       
    33 
       
    34 //! @file
       
    35 //! @SYMTestCaseID 		SEC-CAF-UTILS-0001
       
    36 //! @SYMTestCaseDesc 		Basic Bitset Test
       
    37 //! @SYMPREQ			PREQ1951
       
    38 //! @SYMTestStatus		Implemented
       
    39 //! @SYMTestPriority		Critical
       
    40 //! @SYMTestActions		Constructs a bitset, sets some bits then check they are set properly
       
    41 //! @SYMTestExpectedResults	Bitset construction is successful, set, unset works as expected
       
    42 //! @SYMTestType		UT
       
    43 START_TESTCASE SEC-CAF-UTILS-0001
       
    44 RUN_TEST_STEP 100 tcaf BasicBitsetStep
       
    45 END_TESTCASE SEC-CAF-UTILS-0001
       
    46 
       
    47 //! @file
       
    48 //! @SYMTestCaseID 		SEC-CAF-UTILS-0002
       
    49 //! @SYMTestCaseDesc 		Bitset List Test
       
    50 //! @SYMPREQ			PREQ1951
       
    51 //! @SYMTestStatus		Implemented
       
    52 //! @SYMTestPriority		Critical
       
    53 //! @SYMTestActions		Constructs a bitset, uses the setlist to set a list of bits
       
    54 //! @SYMTestExpectedResults	Bitset construction is successful, setlist works as expected
       
    55 //! @SYMTestType		UT
       
    56 START_TESTCASE SEC-CAF-UTILS-0002
       
    57 RUN_TEST_STEP 100 tcaf BitsetListStep 
       
    58 END_TESTCASE SEC-CAF-UTILS-0002
       
    59 
       
    60 //! @file
       
    61 //! @SYMTestCaseID 		SEC-CAF-UTILS-0003
       
    62 //! @SYMTestCaseDesc 		Bitset equality 1
       
    63 //! @SYMPREQ			PREQ1951
       
    64 //! @SYMTestStatus		Implemented
       
    65 //! @SYMTestPriority		Critical
       
    66 //! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are equal
       
    67 //! @SYMTestExpectedResults	Bitset construction is successful, bitsets are equal
       
    68 //! @SYMTestType		UT
       
    69 START_TESTCASE SEC-CAF-UTILS-0003
       
    70 RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Equality1
       
    71 END_TESTCASE SEC-CAF-UTILS-0003
       
    72 
       
    73 //! @file
       
    74 //! @SYMTestCaseID 		SEC-CAF-UTILS-0004
       
    75 //! @SYMTestCaseDesc 		Bitset equality 2
       
    76 //! @SYMPREQ			PREQ1951
       
    77 //! @SYMTestStatus		Implemented
       
    78 //! @SYMTestPriority		Critical
       
    79 //! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are equal
       
    80 //! @SYMTestExpectedResults	Bitset construction is successful, bitsets are equal
       
    81 //! @SYMTestType		UT
       
    82 START_TESTCASE SEC-CAF-UTILS-0004
       
    83 RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Equality2
       
    84 END_TESTCASE SEC-CAF-UTILS-0004
       
    85 
       
    86 //! @file
       
    87 //! @SYMTestCaseID 		SEC-CAF-UTILS-0005
       
    88 //! @SYMTestCaseDesc 		Bitset equality 3
       
    89 //! @SYMPREQ			PREQ1951
       
    90 //! @SYMTestStatus		Implemented
       
    91 //! @SYMTestPriority		Critical
       
    92 //! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are equal
       
    93 //! @SYMTestExpectedResults	Bitset construction is successful, bitsets are equal
       
    94 //! @SYMTestType		UT
       
    95 START_TESTCASE SEC-CAF-UTILS-0005
       
    96 RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Equality3
       
    97 END_TESTCASE SEC-CAF-UTILS-0005
       
    98 
       
    99 //! @file
       
   100 //! @SYMTestCaseID 		SEC-CAF-UTILS-0006
       
   101 //! @SYMTestCaseDesc 		Bitset Inequality 1
       
   102 //! @SYMPREQ			PREQ1951
       
   103 //! @SYMTestStatus		Implemented
       
   104 //! @SYMTestPriority		Critical
       
   105 //! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are not equal
       
   106 //! @SYMTestExpectedResults	Bitset construction is successful, bitsets are not equal
       
   107 //! @SYMTestType		UT
       
   108 START_TESTCASE SEC-CAF-UTILS-0006
       
   109 RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Inequality1
       
   110 END_TESTCASE SEC-CAF-UTILS-0006
       
   111 
       
   112 //! @file
       
   113 //! @SYMTestCaseID 		SEC-CAF-UTILS-0007
       
   114 //! @SYMTestCaseDesc 		Bitset Inequality 2
       
   115 //! @SYMPREQ			PREQ1951
       
   116 //! @SYMTestStatus		Implemented
       
   117 //! @SYMTestPriority		Critical
       
   118 //! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are not equal
       
   119 //! @SYMTestExpectedResults	Bitset construction is successful, bitsets are not equal
       
   120 //! @SYMTestType		UT
       
   121 START_TESTCASE SEC-CAF-UTILS-0007
       
   122 RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Inequality2
       
   123 END_TESTCASE SEC-CAF-UTILS-0007
       
   124 
       
   125 //! @file
       
   126 //! @SYMTestCaseID 		SEC-CAF-UTILS-0008
       
   127 //! @SYMTestCaseDesc 		Bitset Inequality 3
       
   128 //! @SYMPREQ			PREQ1951
       
   129 //! @SYMTestStatus		Implemented
       
   130 //! @SYMTestPriority		Critical
       
   131 //! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are not equal
       
   132 //! @SYMTestExpectedResults	Bitset construction is successful, bitsets are not equal
       
   133 //! @SYMTestType		UT
       
   134 START_TESTCASE SEC-CAF-UTILS-0008
       
   135 RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Inequality3
       
   136 END_TESTCASE SEC-CAF-UTILS-0008
       
   137 
       
   138 //! @file
       
   139 //! @SYMTestCaseID 		SEC-CAF-UTILS-0009
       
   140 //! @SYMTestCaseDesc 		Bitset Copy 1
       
   141 //! @SYMPREQ			PREQ1951
       
   142 //! @SYMTestStatus		Implemented
       
   143 //! @SYMTestPriority		Critical
       
   144 //! @SYMTestActions		Constructs a bitset, copies it to another bitset, checks the bitsets are equal
       
   145 //! @SYMTestExpectedResults	Bitset copying is successful, bitsets are equal
       
   146 //! @SYMTestType		UT
       
   147 START_TESTCASE SEC-CAF-UTILS-0009
       
   148 RUN_TEST_STEP 100 tcaf BitsetCopyStep c:\tcaf\cafutils.ini Copy1
       
   149 END_TESTCASE SEC-CAF-UTILS-0009
       
   150 
       
   151 //! @file
       
   152 //! @SYMTestCaseID 		SEC-CAF-UTILS-0010
       
   153 //! @SYMTestCaseDesc 		Bitset Copy 2
       
   154 //! @SYMPREQ			PREQ1951
       
   155 //! @SYMTestStatus		Implemented
       
   156 //! @SYMTestPriority		Critical
       
   157 //! @SYMTestActions		Constructs a bitset, copies it to another bitset, checks the bitsets are equal
       
   158 //! @SYMTestExpectedResults	Bitset copying is successful, bitsets are equal
       
   159 //! @SYMTestType		UT
       
   160 START_TESTCASE SEC-CAF-UTILS-0010
       
   161 RUN_TEST_STEP 100 tcaf BitsetCopyStep c:\tcaf\cafutils.ini Copy2
       
   162 END_TESTCASE SEC-CAF-UTILS-0010
       
   163 
       
   164 //! @file
       
   165 //! @SYMTestCaseID 		SEC-CAF-UTILS-0011
       
   166 //! @SYMTestCaseDesc 		Bitset Copy 3
       
   167 //! @SYMPREQ			PREQ1951
       
   168 //! @SYMTestStatus		Implemented
       
   169 //! @SYMTestPriority		Critical
       
   170 //! @SYMTestActions		Constructs a bitset, copies it to another bitset, checks the bitsets are equal
       
   171 //! @SYMTestExpectedResults	Bitset copying is successful, bitsets are equal
       
   172 //! @SYMTestType		UT
       
   173 START_TESTCASE SEC-CAF-UTILS-0011
       
   174 RUN_TEST_STEP 100 tcaf BitsetCopyStep c:\tcaf\cafutils.ini Copy3
       
   175 END_TESTCASE SEC-CAF-UTILS-0011
       
   176 
       
   177 //! @file
       
   178 //! @SYMTestCaseID 		SEC-CAF-UTILS-0012
       
   179 //! @SYMTestCaseDesc 		Bitset Serialise 1
       
   180 //! @SYMPREQ			PREQ1951
       
   181 //! @SYMTestStatus		Implemented
       
   182 //! @SYMTestPriority		Critical
       
   183 //! @SYMTestActions		Constructs a bitset, writes it to a stream and read it back to another bitset, check the bitsets are equal
       
   184 //! @SYMTestExpectedResults	Bitsets are equal
       
   185 //! @SYMTestType		UT
       
   186 START_TESTCASE SEC-CAF-UTILS-0012
       
   187 RUN_TEST_STEP 100 tcaf BitsetSerialiseStep c:\tcaf\cafutils.ini Copy1
       
   188 END_TESTCASE SEC-CAF-UTILS-0012
       
   189 
       
   190 //! @file
       
   191 //! @SYMTestCaseID 		SEC-CAF-UTILS-0013
       
   192 //! @SYMTestCaseDesc 		Bitset Serialise 2
       
   193 //! @SYMPREQ			PREQ1951
       
   194 //! @SYMTestStatus		Implemented
       
   195 //! @SYMTestPriority		Critical
       
   196 //! @SYMTestActions		Constructs a bitset, writes it to a stream and read it back to another bitset, check the bitsets are equal
       
   197 //! @SYMTestExpectedResults	Bitsets are equal
       
   198 //! @SYMTestType		UT
       
   199 START_TESTCASE SEC-CAF-UTILS-0013
       
   200 RUN_TEST_STEP 100 tcaf BitsetSerialiseStep c:\tcaf\cafutils.ini Copy2
       
   201 END_TESTCASE SEC-CAF-UTILS-0013
       
   202 
       
   203 //! @file
       
   204 //! @SYMTestCaseID 		SEC-CAF-UTILS-0014
       
   205 //! @SYMTestCaseDesc 		Bitset Serialise 3
       
   206 //! @SYMPREQ			PREQ1951
       
   207 //! @SYMTestStatus		Implemented
       
   208 //! @SYMTestPriority		Critical
       
   209 //! @SYMTestActions		Constructs a bitset, writes it to a stream and read it back to another bitset, check the bitsets are equal
       
   210 //! @SYMTestExpectedResults	Bitsets are equal
       
   211 //! @SYMTestType		UT
       
   212 START_TESTCASE SEC-CAF-UTILS-0014
       
   213 RUN_TEST_STEP 100 tcaf BitsetSerialiseStep c:\tcaf\cafutils.ini Copy3
       
   214 END_TESTCASE SEC-CAF-UTILS-0014
       
   215 
       
   216 //! @file
       
   217 //! @SYMTestCaseID 		SEC-CAF-UTILS-0015
       
   218 //! @SYMTestCaseDesc 		Bitset Panic 1
       
   219 //! @SYMPREQ			PREQ1951
       
   220 //! @SYMTestStatus		Implemented
       
   221 //! @SYMTestPriority		Critical
       
   222 //! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
       
   223 //! @SYMTestExpectedResults	Causes a CAFUTILS panic
       
   224 //! @SYMTestType		UT
       
   225 START_TESTCASE SEC-CAF-UTILS-0015
       
   226 RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic1
       
   227 END_TESTCASE SEC-CAF-UTILS-0015
       
   228 
       
   229 //! @file
       
   230 //! @SYMTestCaseID 		SEC-CAF-UTILS-0016
       
   231 //! @SYMTestCaseDesc 		Bitset Panic 2
       
   232 //! @SYMPREQ			PREQ1951
       
   233 //! @SYMTestStatus		Implemented
       
   234 //! @SYMTestPriority		Critical
       
   235 //! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
       
   236 //! @SYMTestExpectedResults	Causes a CAFUTILS panic
       
   237 //! @SYMTestType		UT
       
   238 START_TESTCASE SEC-CAF-UTILS-0016
       
   239 RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic2
       
   240 END_TESTCASE SEC-CAF-UTILS-0016
       
   241 
       
   242 //! @file
       
   243 //! @SYMTestCaseID 		SEC-CAF-UTILS-0017
       
   244 //! @SYMTestCaseDesc 		Bitset Panic 3
       
   245 //! @SYMPREQ			PREQ1951
       
   246 //! @SYMTestStatus		Implemented
       
   247 //! @SYMTestPriority		Critical
       
   248 //! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
       
   249 //! @SYMTestExpectedResults	Causes a CAFUTILS panic
       
   250 //! @SYMTestType		UT
       
   251 START_TESTCASE SEC-CAF-UTILS-0017
       
   252 RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic3
       
   253 END_TESTCASE SEC-CAF-UTILS-0017
       
   254 
       
   255 //! @file
       
   256 //! @SYMTestCaseID 		SEC-CAF-UTILS-0018
       
   257 //! @SYMTestCaseDesc 		Bitset Panic 4
       
   258 //! @SYMPREQ			PREQ1951
       
   259 //! @SYMTestStatus		Implemented
       
   260 //! @SYMTestPriority		Critical
       
   261 //! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
       
   262 //! @SYMTestExpectedResults	Causes a CAFUTILS panic
       
   263 //! @SYMTestType		UT
       
   264 START_TESTCASE SEC-CAF-UTILS-0018
       
   265 RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic4
       
   266 END_TESTCASE SEC-CAF-UTILS-0018
       
   267 
       
   268 //! @file
       
   269 //! @SYMTestCaseID 		SEC-CAF-UTILS-0019
       
   270 //! @SYMTestCaseDesc 		Bitset Panic 5
       
   271 //! @SYMPREQ			PREQ1951
       
   272 //! @SYMTestStatus		Implemented
       
   273 //! @SYMTestPriority		Critical
       
   274 //! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
       
   275 //! @SYMTestExpectedResults	Causes a CAFUTILS panic
       
   276 //! @SYMTestType		UT
       
   277 START_TESTCASE SEC-CAF-UTILS-0019
       
   278 RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic5
       
   279 END_TESTCASE SEC-CAF-UTILS-0019
       
   280 
       
   281 //! @file
       
   282 //! @SYMTestCaseID 		SEC-CAF-UTILS-0020
       
   283 //! @SYMTestCaseDesc 		Bitset Panic 6
       
   284 //! @SYMPREQ			PREQ1951
       
   285 //! @SYMTestStatus		Implemented
       
   286 //! @SYMTestPriority		Critical
       
   287 //! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
       
   288 //! @SYMTestExpectedResults	Causes a CAFUTILS panic
       
   289 //! @SYMTestType		UT
       
   290 START_TESTCASE SEC-CAF-UTILS-0020
       
   291 RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic6
       
   292 END_TESTCASE SEC-CAF-UTILS-0020
       
   293 
       
   294 //! @file
       
   295 //! @SYMTestCaseID 		SEC-CAF-UTILS-0021
       
   296 //! @SYMTestCaseDesc 		Check CCafMimeHeader can be serialized
       
   297 //! @SYMPREQ			PREQ1951
       
   298 //! @SYMTestStatus		Implemented
       
   299 //! @SYMTestPriority		Critical
       
   300 //! @SYMTestActions		Create a CCafMimeHeader, write it to a stream and then read it back again
       
   301 //! @SYMTestExpectedResults	CCafMimeHeader can be serialised
       
   302 //! @SYMTestType		UT
       
   303 START_TESTCASE SEC-CAF-UTILS-0021
       
   304 RUN_TEST_STEP 100 tcaf CAFSupplierSerializeStep
       
   305 END_TESTCASE SEC-CAF-UTILS-0021
       
   306 
       
   307 //! @file
       
   308 //! @SYMTestCaseID 		SEC-CAF-UTILS-0022
       
   309 //! @SYMTestCaseDesc 		Check that CDirStreamable can be serialised
       
   310 //! @SYMREQ			REQ3691
       
   311 //! @SYMTestStatus		Implemented
       
   312 //! @SYMTestPriority		Critical
       
   313 //! @SYMTestActions		Create a CDirStreamable, write it to a stream and then read it back again
       
   314 //! @SYMTestExpectedResults	CDirStreamable can be serialised
       
   315 //! @SYMTestType		UT
       
   316 START_TESTCASE SEC-CAF-UTILS-0022
       
   317 RUN_TEST_STEP 100 tcaf CAFCDirStreamStep
       
   318 END_TESTCASE SEC-CAF-UTILS-0022
       
   319 
       
   320 //! @file
       
   321 //! @SYMTestCaseID 		SEC-CAF-UTILS-0023
       
   322 //! @SYMTestCaseDesc 		Check that RAttributeSet can be serialised
       
   323 //! @SYMREQ			REQ3679
       
   324 //! @SYMTestStatus		Implemented
       
   325 //! @SYMTestPriority		Critical
       
   326 //! @SYMTestActions		Create a RAttributeSet, write it to a stream and then read it back again
       
   327 //! @SYMTestExpectedResults	RAttributeSet can be serialised
       
   328 //! @SYMTestType		UT
       
   329 START_TESTCASE SEC-CAF-UTILS-0023
       
   330 RUN_TEST_STEP 100 tcaf CAFRAttributeSetStreamStep 
       
   331 END_TESTCASE SEC-CAF-UTILS-0023
       
   332 
       
   333 //! @file
       
   334 //! @SYMTestCaseID 		SEC-CAF-UTILS-0024
       
   335 //! @SYMTestCaseDesc 		Check that RStringAttributeSet can be serialised
       
   336 //! @SYMREQ			REQ3679
       
   337 //! @SYMTestStatus		Implemented
       
   338 //! @SYMTestPriority		Critical
       
   339 //! @SYMTestActions		Create a RStringAttributeSet, write it to a stream and then read it back again
       
   340 //! @SYMTestExpectedResults	RStringAttributeSet can be serialised
       
   341 //! @SYMTestType		UT
       
   342 START_TESTCASE SEC-CAF-UTILS-0024
       
   343 RUN_TEST_STEP 100 tcaf CAFRStringAttributeSetStreamStep
       
   344 END_TESTCASE SEC-CAF-UTILS-0024
       
   345 
       
   346 //! @file
       
   347 //! @SYMTestCaseID 		SEC-CAF-UTILS-0025
       
   348 //! @SYMTestCaseDesc 		Check that CSupplierOutputFile can be serialised
       
   349 //! @SYMPREQ			PREQ1951
       
   350 //! @SYMTestStatus		Implemented
       
   351 //! @SYMTestPriority		Critical
       
   352 //! @SYMTestActions		Create a CSupplierOutputFile, write it to a stream and then read it back again
       
   353 //! @SYMTestExpectedResults	CSupplierOutputFile can be serialised
       
   354 //! @SYMTestType		UT
       
   355 START_TESTCASE SEC-CAF-UTILS-0025
       
   356 RUN_TEST_STEP 100 tcaf CAFSupplierOutputFileStreamStep 
       
   357 END_TESTCASE SEC-CAF-UTILS-0025
       
   358 
       
   359 //! @file
       
   360 //! @SYMTestCaseID 		SEC-CAF-UTILS-0026
       
   361 //! @SYMTestCaseDesc 		Check that CMetaDataArray can be serialised
       
   362 //! @SYMREQ			REQ3679
       
   363 //! @SYMTestStatus		Implemented
       
   364 //! @SYMTestPriority		Critical
       
   365 //! @SYMTestActions		Create a CMetaDataArray, write it to a stream and then read it back again
       
   366 //! @SYMTestExpectedResults	CMetaDataArray can be serialised
       
   367 //! @SYMTestType		UT
       
   368 START_TESTCASE SEC-CAF-UTILS-0026
       
   369 RUN_TEST_STEP 100 tcaf CAFMetaDataArrayStep 
       
   370 END_TESTCASE SEC-CAF-UTILS-0026
       
   371 
       
   372 //! @file
       
   373 //! @SYMTestCaseID 		SEC-CAF-UTILS-0027
       
   374 //! @SYMTestCaseDesc 		Check that CEmbeddedObject can be serialised
       
   375 //! @SYMREQ			REQ3679
       
   376 //! @SYMTestStatus		Implemented
       
   377 //! @SYMTestPriority		Critical
       
   378 //! @SYMTestActions		Create a CEmbeddedObject, write it to a stream and then read it back again
       
   379 //! @SYMTestExpectedResults	CEmbeddedObject can be serialised
       
   380 //! @SYMTestType		UT
       
   381 START_TESTCASE SEC-CAF-UTILS-0027
       
   382 RUN_TEST_STEP 100 tcaf CAFEmbeddedObjectStep
       
   383 END_TESTCASE SEC-CAF-UTILS-0027
       
   384 
       
   385 //! @file
       
   386 //! @SYMTestCaseID 		SEC-CAF-UTILS-0028
       
   387 //! @SYMTestCaseDesc 		Check that CVirtualPath can be serialised
       
   388 //! @SYMREQ			REQ3679
       
   389 //! @SYMTestStatus		Implemented
       
   390 //! @SYMTestPriority		Critical
       
   391 //! @SYMTestActions		Create a CVirtualPath, write it to a stream and then read it back again
       
   392 //! @SYMTestExpectedResults	CVirtualPath can be serialised
       
   393 //! @SYMTestType		UT
       
   394 START_TESTCASE SEC-CAF-UTILS-0028
       
   395 RUN_TEST_STEP 100 tcaf CAFVirtualPathStep c:\tcaf\cafutils.ini
       
   396 END_TESTCASE SEC-CAF-UTILS-0028
       
   397 
       
   398 //! @file
       
   399 //! @SYMTestCaseID 		SEC-CAF-UTILS-0029
       
   400 //! @SYMTestCaseDesc 		Check that CRightsInfo object can be serialised
       
   401 //! @SYMREQ			REQ3679
       
   402 //! @SYMTestStatus		Implemented
       
   403 //! @SYMTestPriority		Critical
       
   404 //! @SYMTestActions		Create a CRightsInfo, write it to a stream and then read it back again
       
   405 //! @SYMTestExpectedResults	CRightsInfo can be serialised
       
   406 //! @SYMTestType		UT
       
   407 START_TESTCASE SEC-CAF-UTILS-0029
       
   408 RUN_TEST_STEP 100 tcaf CAFRightsInfoStep
       
   409 END_TESTCASE SEC-CAF-UTILS-0029
       
   410 
       
   411 //! @file
       
   412 //! @SYMTestCaseID 		SEC-CAF-UTILS-0030
       
   413 //! @SYMTestCaseDesc 		Check that CStreamablePointerArray can be serialised
       
   414 //! @SYMPREQ			PREQ780
       
   415 //! @SYMTestStatus		Implemented
       
   416 //! @SYMTestPriority		Critical
       
   417 //! @SYMTestActions		Create a CStreamablePtrArray, write it to a stream and then read it back again
       
   418 //! @SYMTestExpectedResults	CStreamablePtrArray can be serialised
       
   419 //! @SYMTestType		UT
       
   420 START_TESTCASE SEC-CAF-UTILS-0030
       
   421 RUN_TEST_STEP 100 tcaf CAFStreamablePtrArrayStep
       
   422 END_TESTCASE SEC-CAF-UTILS-0030
       
   423