os/security/contentmgmt/referencedrmagent/tcaf/scripts/cafutils.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/contentmgmt/referencedrmagent/tcaf/scripts/cafutils.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,408 @@
     1.4 +//
     1.5 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of the License "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description: 
    1.18 +//
    1.19 +
    1.20 +LOAD_SUITE tcaf
    1.21 +
    1.22 +//! @file
    1.23 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0001
    1.24 +//! @SYMTestCaseDesc 		Basic Bitset Test
    1.25 +//! @SYMPREQ			PREQ1951
    1.26 +//! @SYMTestStatus		Implemented
    1.27 +//! @SYMTestPriority		Critical
    1.28 +//! @SYMTestActions		Constructs a bitset, sets some bits then check they are set properly
    1.29 +//! @SYMTestExpectedResults	Bitset construction is successful, set, unset works as expected
    1.30 +//! @SYMTestType		UT
    1.31 +START_TESTCASE SEC-CAF-UTILS-0001
    1.32 +RUN_TEST_STEP 100 tcaf BasicBitsetStep
    1.33 +END_TESTCASE SEC-CAF-UTILS-0001
    1.34 +
    1.35 +//! @file
    1.36 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0002
    1.37 +//! @SYMTestCaseDesc 		Bitset List Test
    1.38 +//! @SYMPREQ			PREQ1951
    1.39 +//! @SYMTestStatus		Implemented
    1.40 +//! @SYMTestPriority		Critical
    1.41 +//! @SYMTestActions		Constructs a bitset, uses the setlist to set a list of bits
    1.42 +//! @SYMTestExpectedResults	Bitset construction is successful, setlist works as expected
    1.43 +//! @SYMTestType		UT
    1.44 +START_TESTCASE SEC-CAF-UTILS-0002
    1.45 +RUN_TEST_STEP 100 tcaf BitsetListStep 
    1.46 +END_TESTCASE SEC-CAF-UTILS-0002
    1.47 +
    1.48 +//! @file
    1.49 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0003
    1.50 +//! @SYMTestCaseDesc 		Bitset equality 1
    1.51 +//! @SYMPREQ			PREQ1951
    1.52 +//! @SYMTestStatus		Implemented
    1.53 +//! @SYMTestPriority		Critical
    1.54 +//! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are equal
    1.55 +//! @SYMTestExpectedResults	Bitset construction is successful, bitsets are equal
    1.56 +//! @SYMTestType		UT
    1.57 +START_TESTCASE SEC-CAF-UTILS-0003
    1.58 +RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Equality1
    1.59 +END_TESTCASE SEC-CAF-UTILS-0003
    1.60 +
    1.61 +//! @file
    1.62 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0004
    1.63 +//! @SYMTestCaseDesc 		Bitset equality 2
    1.64 +//! @SYMPREQ			PREQ1951
    1.65 +//! @SYMTestStatus		Implemented
    1.66 +//! @SYMTestPriority		Critical
    1.67 +//! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are equal
    1.68 +//! @SYMTestExpectedResults	Bitset construction is successful, bitsets are equal
    1.69 +//! @SYMTestType		UT
    1.70 +START_TESTCASE SEC-CAF-UTILS-0004
    1.71 +RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Equality2
    1.72 +END_TESTCASE SEC-CAF-UTILS-0004
    1.73 +
    1.74 +//! @file
    1.75 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0005
    1.76 +//! @SYMTestCaseDesc 		Bitset equality 3
    1.77 +//! @SYMPREQ			PREQ1951
    1.78 +//! @SYMTestStatus		Implemented
    1.79 +//! @SYMTestPriority		Critical
    1.80 +//! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are equal
    1.81 +//! @SYMTestExpectedResults	Bitset construction is successful, bitsets are equal
    1.82 +//! @SYMTestType		UT
    1.83 +START_TESTCASE SEC-CAF-UTILS-0005
    1.84 +RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Equality3
    1.85 +END_TESTCASE SEC-CAF-UTILS-0005
    1.86 +
    1.87 +//! @file
    1.88 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0006
    1.89 +//! @SYMTestCaseDesc 		Bitset Inequality 1
    1.90 +//! @SYMPREQ			PREQ1951
    1.91 +//! @SYMTestStatus		Implemented
    1.92 +//! @SYMTestPriority		Critical
    1.93 +//! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are not equal
    1.94 +//! @SYMTestExpectedResults	Bitset construction is successful, bitsets are not equal
    1.95 +//! @SYMTestType		UT
    1.96 +START_TESTCASE SEC-CAF-UTILS-0006
    1.97 +RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Inequality1
    1.98 +END_TESTCASE SEC-CAF-UTILS-0006
    1.99 +
   1.100 +//! @file
   1.101 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0007
   1.102 +//! @SYMTestCaseDesc 		Bitset Inequality 2
   1.103 +//! @SYMPREQ			PREQ1951
   1.104 +//! @SYMTestStatus		Implemented
   1.105 +//! @SYMTestPriority		Critical
   1.106 +//! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are not equal
   1.107 +//! @SYMTestExpectedResults	Bitset construction is successful, bitsets are not equal
   1.108 +//! @SYMTestType		UT
   1.109 +START_TESTCASE SEC-CAF-UTILS-0007
   1.110 +RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Inequality2
   1.111 +END_TESTCASE SEC-CAF-UTILS-0007
   1.112 +
   1.113 +//! @file
   1.114 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0008
   1.115 +//! @SYMTestCaseDesc 		Bitset Inequality 3
   1.116 +//! @SYMPREQ			PREQ1951
   1.117 +//! @SYMTestStatus		Implemented
   1.118 +//! @SYMTestPriority		Critical
   1.119 +//! @SYMTestActions		Constructs two bitset, sets some bits checks the bitsets are not equal
   1.120 +//! @SYMTestExpectedResults	Bitset construction is successful, bitsets are not equal
   1.121 +//! @SYMTestType		UT
   1.122 +START_TESTCASE SEC-CAF-UTILS-0008
   1.123 +RUN_TEST_STEP 100 tcaf BitsetEqualityStep c:\tcaf\cafutils.ini Inequality3
   1.124 +END_TESTCASE SEC-CAF-UTILS-0008
   1.125 +
   1.126 +//! @file
   1.127 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0009
   1.128 +//! @SYMTestCaseDesc 		Bitset Copy 1
   1.129 +//! @SYMPREQ			PREQ1951
   1.130 +//! @SYMTestStatus		Implemented
   1.131 +//! @SYMTestPriority		Critical
   1.132 +//! @SYMTestActions		Constructs a bitset, copies it to another bitset, checks the bitsets are equal
   1.133 +//! @SYMTestExpectedResults	Bitset copying is successful, bitsets are equal
   1.134 +//! @SYMTestType		UT
   1.135 +START_TESTCASE SEC-CAF-UTILS-0009
   1.136 +RUN_TEST_STEP 100 tcaf BitsetCopyStep c:\tcaf\cafutils.ini Copy1
   1.137 +END_TESTCASE SEC-CAF-UTILS-0009
   1.138 +
   1.139 +//! @file
   1.140 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0010
   1.141 +//! @SYMTestCaseDesc 		Bitset Copy 2
   1.142 +//! @SYMPREQ			PREQ1951
   1.143 +//! @SYMTestStatus		Implemented
   1.144 +//! @SYMTestPriority		Critical
   1.145 +//! @SYMTestActions		Constructs a bitset, copies it to another bitset, checks the bitsets are equal
   1.146 +//! @SYMTestExpectedResults	Bitset copying is successful, bitsets are equal
   1.147 +//! @SYMTestType		UT
   1.148 +START_TESTCASE SEC-CAF-UTILS-0010
   1.149 +RUN_TEST_STEP 100 tcaf BitsetCopyStep c:\tcaf\cafutils.ini Copy2
   1.150 +END_TESTCASE SEC-CAF-UTILS-0010
   1.151 +
   1.152 +//! @file
   1.153 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0011
   1.154 +//! @SYMTestCaseDesc 		Bitset Copy 3
   1.155 +//! @SYMPREQ			PREQ1951
   1.156 +//! @SYMTestStatus		Implemented
   1.157 +//! @SYMTestPriority		Critical
   1.158 +//! @SYMTestActions		Constructs a bitset, copies it to another bitset, checks the bitsets are equal
   1.159 +//! @SYMTestExpectedResults	Bitset copying is successful, bitsets are equal
   1.160 +//! @SYMTestType		UT
   1.161 +START_TESTCASE SEC-CAF-UTILS-0011
   1.162 +RUN_TEST_STEP 100 tcaf BitsetCopyStep c:\tcaf\cafutils.ini Copy3
   1.163 +END_TESTCASE SEC-CAF-UTILS-0011
   1.164 +
   1.165 +//! @file
   1.166 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0012
   1.167 +//! @SYMTestCaseDesc 		Bitset Serialise 1
   1.168 +//! @SYMPREQ			PREQ1951
   1.169 +//! @SYMTestStatus		Implemented
   1.170 +//! @SYMTestPriority		Critical
   1.171 +//! @SYMTestActions		Constructs a bitset, writes it to a stream and read it back to another bitset, check the bitsets are equal
   1.172 +//! @SYMTestExpectedResults	Bitsets are equal
   1.173 +//! @SYMTestType		UT
   1.174 +START_TESTCASE SEC-CAF-UTILS-0012
   1.175 +RUN_TEST_STEP 100 tcaf BitsetSerialiseStep c:\tcaf\cafutils.ini Copy1
   1.176 +END_TESTCASE SEC-CAF-UTILS-0012
   1.177 +
   1.178 +//! @file
   1.179 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0013
   1.180 +//! @SYMTestCaseDesc 		Bitset Serialise 2
   1.181 +//! @SYMPREQ			PREQ1951
   1.182 +//! @SYMTestStatus		Implemented
   1.183 +//! @SYMTestPriority		Critical
   1.184 +//! @SYMTestActions		Constructs a bitset, writes it to a stream and read it back to another bitset, check the bitsets are equal
   1.185 +//! @SYMTestExpectedResults	Bitsets are equal
   1.186 +//! @SYMTestType		UT
   1.187 +START_TESTCASE SEC-CAF-UTILS-0013
   1.188 +RUN_TEST_STEP 100 tcaf BitsetSerialiseStep c:\tcaf\cafutils.ini Copy2
   1.189 +END_TESTCASE SEC-CAF-UTILS-0013
   1.190 +
   1.191 +//! @file
   1.192 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0014
   1.193 +//! @SYMTestCaseDesc 		Bitset Serialise 3
   1.194 +//! @SYMPREQ			PREQ1951
   1.195 +//! @SYMTestStatus		Implemented
   1.196 +//! @SYMTestPriority		Critical
   1.197 +//! @SYMTestActions		Constructs a bitset, writes it to a stream and read it back to another bitset, check the bitsets are equal
   1.198 +//! @SYMTestExpectedResults	Bitsets are equal
   1.199 +//! @SYMTestType		UT
   1.200 +START_TESTCASE SEC-CAF-UTILS-0014
   1.201 +RUN_TEST_STEP 100 tcaf BitsetSerialiseStep c:\tcaf\cafutils.ini Copy3
   1.202 +END_TESTCASE SEC-CAF-UTILS-0014
   1.203 +
   1.204 +//! @file
   1.205 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0015
   1.206 +//! @SYMTestCaseDesc 		Bitset Panic 1
   1.207 +//! @SYMPREQ			PREQ1951
   1.208 +//! @SYMTestStatus		Implemented
   1.209 +//! @SYMTestPriority		Critical
   1.210 +//! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
   1.211 +//! @SYMTestExpectedResults	Causes a CAFUTILS panic
   1.212 +//! @SYMTestType		UT
   1.213 +START_TESTCASE SEC-CAF-UTILS-0015
   1.214 +RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic1
   1.215 +END_TESTCASE SEC-CAF-UTILS-0015
   1.216 +
   1.217 +//! @file
   1.218 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0016
   1.219 +//! @SYMTestCaseDesc 		Bitset Panic 2
   1.220 +//! @SYMPREQ			PREQ1951
   1.221 +//! @SYMTestStatus		Implemented
   1.222 +//! @SYMTestPriority		Critical
   1.223 +//! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
   1.224 +//! @SYMTestExpectedResults	Causes a CAFUTILS panic
   1.225 +//! @SYMTestType		UT
   1.226 +START_TESTCASE SEC-CAF-UTILS-0016
   1.227 +RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic2
   1.228 +END_TESTCASE SEC-CAF-UTILS-0016
   1.229 +
   1.230 +//! @file
   1.231 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0017
   1.232 +//! @SYMTestCaseDesc 		Bitset Panic 3
   1.233 +//! @SYMPREQ			PREQ1951
   1.234 +//! @SYMTestStatus		Implemented
   1.235 +//! @SYMTestPriority		Critical
   1.236 +//! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
   1.237 +//! @SYMTestExpectedResults	Causes a CAFUTILS panic
   1.238 +//! @SYMTestType		UT
   1.239 +START_TESTCASE SEC-CAF-UTILS-0017
   1.240 +RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic3
   1.241 +END_TESTCASE SEC-CAF-UTILS-0017
   1.242 +
   1.243 +//! @file
   1.244 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0018
   1.245 +//! @SYMTestCaseDesc 		Bitset Panic 4
   1.246 +//! @SYMPREQ			PREQ1951
   1.247 +//! @SYMTestStatus		Implemented
   1.248 +//! @SYMTestPriority		Critical
   1.249 +//! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
   1.250 +//! @SYMTestExpectedResults	Causes a CAFUTILS panic
   1.251 +//! @SYMTestType		UT
   1.252 +START_TESTCASE SEC-CAF-UTILS-0018
   1.253 +RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic4
   1.254 +END_TESTCASE SEC-CAF-UTILS-0018
   1.255 +
   1.256 +//! @file
   1.257 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0019
   1.258 +//! @SYMTestCaseDesc 		Bitset Panic 5
   1.259 +//! @SYMPREQ			PREQ1951
   1.260 +//! @SYMTestStatus		Implemented
   1.261 +//! @SYMTestPriority		Critical
   1.262 +//! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
   1.263 +//! @SYMTestExpectedResults	Causes a CAFUTILS panic
   1.264 +//! @SYMTestType		UT
   1.265 +START_TESTCASE SEC-CAF-UTILS-0019
   1.266 +RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic5
   1.267 +END_TESTCASE SEC-CAF-UTILS-0019
   1.268 +
   1.269 +//! @file
   1.270 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0020
   1.271 +//! @SYMTestCaseDesc 		Bitset Panic 6
   1.272 +//! @SYMPREQ			PREQ1951
   1.273 +//! @SYMTestStatus		Implemented
   1.274 +//! @SYMTestPriority		Critical
   1.275 +//! @SYMTestActions		Attempts to access an out of range bit, should cause a panic
   1.276 +//! @SYMTestExpectedResults	Causes a CAFUTILS panic
   1.277 +//! @SYMTestType		UT
   1.278 +START_TESTCASE SEC-CAF-UTILS-0020
   1.279 +RUN_PANIC_STEP_RESULT 0 CafUtils 100 tcaf BitsetPanicStep c:\tcaf\cafutils.ini Panic6
   1.280 +END_TESTCASE SEC-CAF-UTILS-0020
   1.281 +
   1.282 +//! @file
   1.283 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0021
   1.284 +//! @SYMTestCaseDesc 		Check CCafMimeHeader can be serialized
   1.285 +//! @SYMPREQ			PREQ1951
   1.286 +//! @SYMTestStatus		Implemented
   1.287 +//! @SYMTestPriority		Critical
   1.288 +//! @SYMTestActions		Create a CCafMimeHeader, write it to a stream and then read it back again
   1.289 +//! @SYMTestExpectedResults	CCafMimeHeader can be serialised
   1.290 +//! @SYMTestType		UT
   1.291 +START_TESTCASE SEC-CAF-UTILS-0021
   1.292 +RUN_TEST_STEP 100 tcaf CAFSupplierSerializeStep
   1.293 +END_TESTCASE SEC-CAF-UTILS-0021
   1.294 +
   1.295 +//! @file
   1.296 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0022
   1.297 +//! @SYMTestCaseDesc 		Check that CDirStreamable can be serialised
   1.298 +//! @SYMREQ			REQ3691
   1.299 +//! @SYMTestStatus		Implemented
   1.300 +//! @SYMTestPriority		Critical
   1.301 +//! @SYMTestActions		Create a CDirStreamable, write it to a stream and then read it back again
   1.302 +//! @SYMTestExpectedResults	CDirStreamable can be serialised
   1.303 +//! @SYMTestType		UT
   1.304 +START_TESTCASE SEC-CAF-UTILS-0022
   1.305 +RUN_TEST_STEP 100 tcaf CAFCDirStreamStep
   1.306 +END_TESTCASE SEC-CAF-UTILS-0022
   1.307 +
   1.308 +//! @file
   1.309 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0023
   1.310 +//! @SYMTestCaseDesc 		Check that RAttributeSet can be serialised
   1.311 +//! @SYMREQ			REQ3679
   1.312 +//! @SYMTestStatus		Implemented
   1.313 +//! @SYMTestPriority		Critical
   1.314 +//! @SYMTestActions		Create a RAttributeSet, write it to a stream and then read it back again
   1.315 +//! @SYMTestExpectedResults	RAttributeSet can be serialised
   1.316 +//! @SYMTestType		UT
   1.317 +START_TESTCASE SEC-CAF-UTILS-0023
   1.318 +RUN_TEST_STEP 100 tcaf CAFRAttributeSetStreamStep 
   1.319 +END_TESTCASE SEC-CAF-UTILS-0023
   1.320 +
   1.321 +//! @file
   1.322 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0024
   1.323 +//! @SYMTestCaseDesc 		Check that RStringAttributeSet can be serialised
   1.324 +//! @SYMREQ			REQ3679
   1.325 +//! @SYMTestStatus		Implemented
   1.326 +//! @SYMTestPriority		Critical
   1.327 +//! @SYMTestActions		Create a RStringAttributeSet, write it to a stream and then read it back again
   1.328 +//! @SYMTestExpectedResults	RStringAttributeSet can be serialised
   1.329 +//! @SYMTestType		UT
   1.330 +START_TESTCASE SEC-CAF-UTILS-0024
   1.331 +RUN_TEST_STEP 100 tcaf CAFRStringAttributeSetStreamStep
   1.332 +END_TESTCASE SEC-CAF-UTILS-0024
   1.333 +
   1.334 +//! @file
   1.335 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0025
   1.336 +//! @SYMTestCaseDesc 		Check that CSupplierOutputFile can be serialised
   1.337 +//! @SYMPREQ			PREQ1951
   1.338 +//! @SYMTestStatus		Implemented
   1.339 +//! @SYMTestPriority		Critical
   1.340 +//! @SYMTestActions		Create a CSupplierOutputFile, write it to a stream and then read it back again
   1.341 +//! @SYMTestExpectedResults	CSupplierOutputFile can be serialised
   1.342 +//! @SYMTestType		UT
   1.343 +START_TESTCASE SEC-CAF-UTILS-0025
   1.344 +RUN_TEST_STEP 100 tcaf CAFSupplierOutputFileStreamStep 
   1.345 +END_TESTCASE SEC-CAF-UTILS-0025
   1.346 +
   1.347 +//! @file
   1.348 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0026
   1.349 +//! @SYMTestCaseDesc 		Check that CMetaDataArray can be serialised
   1.350 +//! @SYMREQ			REQ3679
   1.351 +//! @SYMTestStatus		Implemented
   1.352 +//! @SYMTestPriority		Critical
   1.353 +//! @SYMTestActions		Create a CMetaDataArray, write it to a stream and then read it back again
   1.354 +//! @SYMTestExpectedResults	CMetaDataArray can be serialised
   1.355 +//! @SYMTestType		UT
   1.356 +START_TESTCASE SEC-CAF-UTILS-0026
   1.357 +RUN_TEST_STEP 100 tcaf CAFMetaDataArrayStep 
   1.358 +END_TESTCASE SEC-CAF-UTILS-0026
   1.359 +
   1.360 +//! @file
   1.361 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0027
   1.362 +//! @SYMTestCaseDesc 		Check that CEmbeddedObject can be serialised
   1.363 +//! @SYMREQ			REQ3679
   1.364 +//! @SYMTestStatus		Implemented
   1.365 +//! @SYMTestPriority		Critical
   1.366 +//! @SYMTestActions		Create a CEmbeddedObject, write it to a stream and then read it back again
   1.367 +//! @SYMTestExpectedResults	CEmbeddedObject can be serialised
   1.368 +//! @SYMTestType		UT
   1.369 +START_TESTCASE SEC-CAF-UTILS-0027
   1.370 +RUN_TEST_STEP 100 tcaf CAFEmbeddedObjectStep
   1.371 +END_TESTCASE SEC-CAF-UTILS-0027
   1.372 +
   1.373 +//! @file
   1.374 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0028
   1.375 +//! @SYMTestCaseDesc 		Check that CVirtualPath can be serialised
   1.376 +//! @SYMREQ			REQ3679
   1.377 +//! @SYMTestStatus		Implemented
   1.378 +//! @SYMTestPriority		Critical
   1.379 +//! @SYMTestActions		Create a CVirtualPath, write it to a stream and then read it back again
   1.380 +//! @SYMTestExpectedResults	CVirtualPath can be serialised
   1.381 +//! @SYMTestType		UT
   1.382 +START_TESTCASE SEC-CAF-UTILS-0028
   1.383 +RUN_TEST_STEP 100 tcaf CAFVirtualPathStep c:\tcaf\cafutils.ini
   1.384 +END_TESTCASE SEC-CAF-UTILS-0028
   1.385 +
   1.386 +//! @file
   1.387 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0029
   1.388 +//! @SYMTestCaseDesc 		Check that CRightsInfo object can be serialised
   1.389 +//! @SYMREQ			REQ3679
   1.390 +//! @SYMTestStatus		Implemented
   1.391 +//! @SYMTestPriority		Critical
   1.392 +//! @SYMTestActions		Create a CRightsInfo, write it to a stream and then read it back again
   1.393 +//! @SYMTestExpectedResults	CRightsInfo can be serialised
   1.394 +//! @SYMTestType		UT
   1.395 +START_TESTCASE SEC-CAF-UTILS-0029
   1.396 +RUN_TEST_STEP 100 tcaf CAFRightsInfoStep
   1.397 +END_TESTCASE SEC-CAF-UTILS-0029
   1.398 +
   1.399 +//! @file
   1.400 +//! @SYMTestCaseID 		SEC-CAF-UTILS-0030
   1.401 +//! @SYMTestCaseDesc 		Check that CStreamablePointerArray can be serialised
   1.402 +//! @SYMPREQ			PREQ780
   1.403 +//! @SYMTestStatus		Implemented
   1.404 +//! @SYMTestPriority		Critical
   1.405 +//! @SYMTestActions		Create a CStreamablePtrArray, write it to a stream and then read it back again
   1.406 +//! @SYMTestExpectedResults	CStreamablePtrArray can be serialised
   1.407 +//! @SYMTestType		UT
   1.408 +START_TESTCASE SEC-CAF-UTILS-0030
   1.409 +RUN_TEST_STEP 100 tcaf CAFStreamablePtrArrayStep
   1.410 +END_TESTCASE SEC-CAF-UTILS-0030
   1.411 +