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