os/security/contentmgmt/referencedrmagent/tcaf/scripts/ContentStep.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
sl@0
    18
LOAD_SUITE tcaf
sl@0
    19
sl@0
    20
//! @file
sl@0
    21
//! @SYMTestCaseID 		SEC-CAF-CONT-0001
sl@0
    22
//! @SYMTestCaseDesc 		Get an attribute for a content object within a file
sl@0
    23
//! 				(Attribute)
sl@0
    24
//! @SYMREQ			REQ3679
sl@0
    25
//! @SYMTestStatus		Implemented
sl@0
    26
//! @SYMTestPriority		Normal
sl@0
    27
//! @SYMTestActions		Get a single attribute for a content object within a file
sl@0
    28
//! @SYMTestExpectedResults	Should return KErrNone
sl@0
    29
//! @SYMTestType		CIT
sl@0
    30
START_TESTCASE SEC-CAF-CONT-0001
sl@0
    31
RUN_TEST_STEP 100 tcaf CAFContentAttributeStep c:\tcaf\attributes.ini Attribute
sl@0
    32
END_TESTCASE SEC-CAF-CONT-0001
sl@0
    33
sl@0
    34
//! @file
sl@0
    35
//! @SYMTestCaseID 		SEC-CAF-CONT-0002
sl@0
    36
//! @SYMTestCaseDesc 		Get a set of attributes for a content object within a file
sl@0
    37
//! 				(AttributeSet)
sl@0
    38
//! @SYMREQ			REQ3679
sl@0
    39
//! @SYMTestStatus		Implemented
sl@0
    40
//! @SYMTestPriority		Normal
sl@0
    41
//! @SYMTestActions		Get a set of attributes for a content object within a file
sl@0
    42
//! @SYMTestExpectedResults	Should return KErrNone
sl@0
    43
//! @SYMTestType		CIT
sl@0
    44
START_TESTCASE SEC-CAF-CONT-0002
sl@0
    45
RUN_TEST_STEP 100 tcaf CAFContentAttributeSetStep c:\tcaf\attributes.ini AttributeSet
sl@0
    46
END_TESTCASE SEC-CAF-CONT-0002
sl@0
    47
sl@0
    48
//! @file
sl@0
    49
//! @SYMTestCaseID 		SEC-CAF-CONT-0003
sl@0
    50
//! @SYMTestCaseDesc 		Get a string attribute for a content object within a file
sl@0
    51
//! 				(String_Attribute)
sl@0
    52
//! @SYMREQ			REQ3679
sl@0
    53
//! @SYMTestStatus		Implemented
sl@0
    54
//! @SYMTestPriority		Normal
sl@0
    55
//! @SYMTestActions		Get a single string attribute for a content object within a file
sl@0
    56
//! @SYMTestExpectedResults	Should return KErrNone
sl@0
    57
//! @SYMTestType		CIT
sl@0
    58
START_TESTCASE SEC-CAF-CONT-0003
sl@0
    59
RUN_TEST_STEP 100 tcaf CAFContentStringAttributeStep c:\tcaf\attributes.ini StringAttribute
sl@0
    60
END_TESTCASE SEC-CAF-CONT-0003
sl@0
    61
sl@0
    62
//! @file
sl@0
    63
//! @SYMTestCaseID 		SEC-CAF-CONT-3447
sl@0
    64
//! @SYMTestCaseDesc 		Get a string attribute for a content object within a valid gif file
sl@0
    65
//! @SYMDEF			PDEF104571
sl@0
    66
//! @SYMTestStatus		Implemented
sl@0
    67
//! @SYMTestPriority		Normal
sl@0
    68
//! @SYMTestActions		Get a single string attribute for a content object within a valid gif file
sl@0
    69
//! @SYMTestExpectedResults	A string attribute should successfully be returned
sl@0
    70
//! @SYMTestType		CT
sl@0
    71
START_TESTCASE SEC-CAF-CONT-3447
sl@0
    72
RUN_TEST_STEP 100 tcaf CAFContentStringAttributeStep c:\tcaf\attributes.ini StringAttributeGoodGif
sl@0
    73
END_TESTCASE SEC-CAF-CONT-3447
sl@0
    74
sl@0
    75
//! @file
sl@0
    76
//! @SYMTestCaseID 		SEC-CAF-CONT-3448
sl@0
    77
//! @SYMTestCaseDesc 		Failure to return a string attribute for a content object within
sl@0
    78
//! 				an invalid gif file
sl@0
    79
//! @SYMDEF			PDEF104571
sl@0
    80
//! @SYMTestStatus		Implemented
sl@0
    81
//! @SYMTestPriority		Normal
sl@0
    82
//! @SYMTestActions		Attempt to get a single string attribute for a content object within an invalid gif file
sl@0
    83
//! @SYMTestExpectedResults	An  error should be returned
sl@0
    84
//! @SYMTestType		CT
sl@0
    85
START_TESTCASE SEC-CAF-CONT-3448
sl@0
    86
RUN_TEST_STEP 100 tcaf CAFContentStringAttributeStep c:\tcaf\attributes.ini StringAttributeErrorGif
sl@0
    87
END_TESTCASE SEC-CAF-CONT-3448
sl@0
    88
sl@0
    89
//! @file
sl@0
    90
//! @SYMTestCaseID 		SEC-CAF-CONT-0004
sl@0
    91
//! @SYMTestCaseDesc 		Get a set of string attributes for a content object within a file
sl@0
    92
//! 				(String_AttributeSet)
sl@0
    93
//! @SYMREQ			REQ3679
sl@0
    94
//! @SYMTestStatus		Implemented
sl@0
    95
//! @SYMTestPriority		Normal
sl@0
    96
//! @SYMTestActions		Get a set of string attributes for a content object within a file
sl@0
    97
//! @SYMTestExpectedResults	Should return KErrNone
sl@0
    98
//! @SYMTestType		CIT
sl@0
    99
START_TESTCASE SEC-CAF-CONT-0004
sl@0
   100
RUN_TEST_STEP 100 tcaf CAFContentStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSet
sl@0
   101
END_TESTCASE SEC-CAF-CONT-0004
sl@0
   102
sl@0
   103
//! @file
sl@0
   104
//! @SYMTestCaseID 		SEC-CAF-CONT-3449
sl@0
   105
//! @SYMTestCaseDesc 		Get a set of string attributes for a content object within a valid gif file
sl@0
   106
//! @SYMDEF			PDEF104571
sl@0
   107
//! @SYMTestStatus		Implemented
sl@0
   108
//! @SYMTestPriority		Normal
sl@0
   109
//! @SYMTestActions		Get a set of string attributes for a content object within a valid gif file
sl@0
   110
//! @SYMTestExpectedResults	A set of string attributes should successfully be returned
sl@0
   111
//! @SYMTestType		CT
sl@0
   112
START_TESTCASE SEC-CAF-CONT-3449
sl@0
   113
RUN_TEST_STEP 100 tcaf CAFContentStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSetGoodGif
sl@0
   114
END_TESTCASE SEC-CAF-CONT-3449
sl@0
   115
sl@0
   116
//! @file
sl@0
   117
//! @SYMTestCaseID 		SEC-CAF-CONT-3450
sl@0
   118
//! @SYMTestCaseDesc 		Get a set of string attributes for a content object within an invalid gif file
sl@0
   119
//! @SYMDEF			PDEF104571
sl@0
   120
//! @SYMTestStatus		Implemented
sl@0
   121
//! @SYMTestPriority		Normal
sl@0
   122
//! @SYMTestActions		Get a set of string attributes for a content object within an invalid gif file
sl@0
   123
//! @SYMTestExpectedResults	An  error should be returned for the invalid gif file within the set
sl@0
   124
//! @SYMTestType		CT
sl@0
   125
START_TESTCASE SEC-CAF-CONT-3450
sl@0
   126
RUN_TEST_STEP 100 tcaf CAFContentStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSetErrorGif
sl@0
   127
END_TESTCASE SEC-CAF-CONT-3450
sl@0
   128
sl@0
   129
//! @file
sl@0
   130
//! @SYMTestCaseID 		SEC-CAF-CONT-0005
sl@0
   131
//! @SYMTestCaseDesc 		Check attributes of a DRM file
sl@0
   132
//! 				(DRM_Attributes)
sl@0
   133
//! @SYMREQ			REQ3679
sl@0
   134
//! @SYMTestStatus		Implemented
sl@0
   135
//! @SYMTestPriority		Critical
sl@0
   136
//! @SYMTestActions		Check CAF attributes are the values expected
sl@0
   137
//! @SYMTestExpectedResults	Attributes should match expected values in INI file
sl@0
   138
//! @SYMTestType		CIT
sl@0
   139
START_TESTCASE SEC-CAF-CONT-0005
sl@0
   140
RUN_TEST_STEP 100 tcaf CAFAttributesStep c:\tcaf\attributes.ini CAF1Attributes
sl@0
   141
END_TESTCASE SEC-CAF-CONT-0005
sl@0
   142
sl@0
   143
//! @file
sl@0
   144
//! @SYMTestCaseID 		SEC-CAF-CONT-0006
sl@0
   145
//! @SYMTestCaseDesc 		Check for notification of a status change
sl@0
   146
//! 				(NotifyStatusChange)
sl@0
   147
//! @SYMPREQ			PREQ783
sl@0
   148
//! @SYMTestStatus		Implemented
sl@0
   149
//! @SYMTestPriority		Critical
sl@0
   150
//! @SYMTestActions		Check status returned matches expected value
sl@0
   151
//! @SYMTestExpectedResults	Status changes should match expected result
sl@0
   152
//! @SYMTestType		CIT
sl@0
   153
START_TESTCASE SEC-CAF-CONT-0006
sl@0
   154
RUN_TEST_STEP 100 tcaf CAFContentNotifyStep c:\tcaf\ContentStep.ini NotifyStatusChange
sl@0
   155
END_TESTCASE SEC-CAF-CONT-0006
sl@0
   156
sl@0
   157
//! @file
sl@0
   158
//! @SYMTestCaseID 		SEC-CAF-CONT-0007
sl@0
   159
//! @SYMTestCaseDesc 		Set a property within the test agent
sl@0
   160
//! 				(SetProperty_TestAgent)
sl@0
   161
//! @SYMPREQ			PREQ780
sl@0
   162
//! @SYMTestStatus		Implemented
sl@0
   163
//! @SYMTestPriority		Critical
sl@0
   164
//! @SYMTestActions		Check error returned matches expected value
sl@0
   165
//! @SYMTestExpectedResults	The property should be set correctly
sl@0
   166
//! @SYMTestType		CIT
sl@0
   167
START_TESTCASE SEC-CAF-CONT-0007
sl@0
   168
RUN_TEST_STEP 100 tcaf CAFContentSetPropertyStep c:\tcaf\ContentStep.ini SetPropertyDrm
sl@0
   169
END_TESTCASE SEC-CAF-CONT-0007
sl@0
   170
sl@0
   171
//! @file
sl@0
   172
//! @SYMTestCaseID 		SEC-CAF-CONT-0008
sl@0
   173
//! @SYMTestCaseDesc 		Set a property within the agent
sl@0
   174
//! 				(SetProperty_F32Agent)
sl@0
   175
//! @SYMPREQ			PREQ780
sl@0
   176
//! @SYMTestStatus		Implemented
sl@0
   177
//! @SYMTestPriority		Critical
sl@0
   178
//! @SYMTestActions		Check error returned matches expected value
sl@0
   179
//! @SYMTestExpectedResults	The property should be set correctly
sl@0
   180
//! @SYMTestType		CIT
sl@0
   181
START_TESTCASE SEC-CAF-CONT-0008
sl@0
   182
RUN_TEST_STEP 100 tcaf CAFContentSetPropertyStep c:\tcaf\ContentStep.ini SetPropertyPlainText
sl@0
   183
END_TESTCASE SEC-CAF-CONT-0008
sl@0
   184
sl@0
   185
//! @file
sl@0
   186
//! @SYMTestCaseID 		SEC-CAF-CONT-0009
sl@0
   187
//! @SYMTestCaseDesc 		Ask the agent to display information related to a content object
sl@0
   188
//! 				(DisplayInfo)
sl@0
   189
//! @SYMREQ			REQ3692
sl@0
   190
//! @SYMTestStatus		Implemented
sl@0
   191
//! @SYMTestPriority		Critical
sl@0
   192
//! @SYMTestActions		Agent should display information or return an error if it doesn't support that API
sl@0
   193
//! @SYMTestExpectedResults	Agent should return an error since information display is not supported
sl@0
   194
//! @SYMTestType		CIT
sl@0
   195
START_TESTCASE SEC-CAF-CONT-0009
sl@0
   196
RUN_TEST_STEP 100 tcaf CAFContentDisplayInfoStep c:\tcaf\ContentStep.ini DisplayInfo
sl@0
   197
END_TESTCASE SEC-CAF-CONT-0009
sl@0
   198
sl@0
   199
//! @file
sl@0
   200
//! @SYMTestCaseID 		SEC-CAF-CONT-0010
sl@0
   201
//! @SYMTestCaseDesc 		Attempt to perform an extended function on a particular CAF agent
sl@0
   202
//! 				(AgentSpecific_Ok)
sl@0
   203
//! @SYMPREQ			PREQ780
sl@0
   204
//! @SYMTestStatus		Implemented
sl@0
   205
//! @SYMTestPriority		Critical
sl@0
   206
//! @SYMTestActions		Check error returned matches expected value
sl@0
   207
//! @SYMTestExpectedResults	Error returned matches expected value
sl@0
   208
//! @SYMTestType		CIT
sl@0
   209
START_TESTCASE SEC-CAF-CONT-0010
sl@0
   210
RUN_TEST_STEP 100 tcaf CAFContentAgentSpecificStep c:\tcaf\ContentStep.ini AgentSpecificDrm
sl@0
   211
END_TESTCASE SEC-CAF-CONT-0010
sl@0
   212
sl@0
   213
//! @file
sl@0
   214
//! @SYMTestCaseID 		SEC-CAF-CONT-0011
sl@0
   215
//! @SYMTestCaseDesc 		Attempt to perform an extended function on the F32 Agent
sl@0
   216
//! 				(AgentSpecific_Fails)
sl@0
   217
//! @SYMPREQ			PREQ780
sl@0
   218
//! @SYMTestStatus		Implemented
sl@0
   219
//! @SYMTestPriority		Critical
sl@0
   220
//! @SYMTestActions		Check error returned matches expected value
sl@0
   221
//! @SYMTestExpectedResults	Error returned matches expected value
sl@0
   222
//! @SYMTestType		CIT
sl@0
   223
START_TESTCASE SEC-CAF-CONT-0011
sl@0
   224
RUN_TEST_STEP 100 tcaf CAFContentAgentSpecificStep c:\tcaf\ContentStep.ini AgentSpecificPlainText
sl@0
   225
END_TESTCASE SEC-CAF-CONT-0011
sl@0
   226
sl@0
   227
//! @file
sl@0
   228
//! @SYMTestCaseID 		SEC-CAF-CONT-0012
sl@0
   229
//! @SYMTestCaseDesc 		Request rights for a given content object
sl@0
   230
//! 				(RequestRights)
sl@0
   231
//! @SYMPREQ			PREQ783
sl@0
   232
//! @SYMTestStatus		Implemented
sl@0
   233
//! @SYMTestPriority		Critical
sl@0
   234
//! @SYMTestActions		Check status returned matches expected value
sl@0
   235
//! @SYMTestExpectedResults	Status changes should match expected result
sl@0
   236
//! @SYMTestType		CIT
sl@0
   237
START_TESTCASE SEC-CAF-CONT-0012
sl@0
   238
RUN_TEST_STEP 100 tcaf CAFContentRequestRightsStep c:\tcaf\ContentStep.ini RequestRights
sl@0
   239
END_TESTCASE SEC-CAF-CONT-0012
sl@0
   240
sl@0
   241
//! @file
sl@0
   242
//! @SYMTestCaseID 		SEC-CAF-CONT-0013
sl@0
   243
//! @SYMTestCaseDesc 		Find the embedded objects within a container in the file
sl@0
   244
//! 				(EmbeddedObjects)
sl@0
   245
//! @SYMREQ			REQ3679
sl@0
   246
//! @SYMTestStatus		Implemented
sl@0
   247
//! @SYMTestPriority		Critical
sl@0
   248
//! @SYMTestActions		List the embedded content objects within the file
sl@0
   249
//! @SYMTestExpectedResults	Number of embedded objects found matches expected number
sl@0
   250
//! @SYMTestType		CIT
sl@0
   251
START_TESTCASE SEC-CAF-CONT-0013
sl@0
   252
RUN_TEST_STEP 100 tcaf CAFContentEmbeddedObjectsStep c:\tcaf\ContentStep.ini EmbeddedObjects
sl@0
   253
END_TESTCASE SEC-CAF-CONT-0013
sl@0
   254
sl@0
   255
//! @file
sl@0
   256
//! @SYMTestCaseID 		SEC-CAF-CONT-3451
sl@0
   257
//! @SYMTestCaseDesc 		Find the embedded objects within a valid gif file
sl@0
   258
//! @SYMDEF			PDEF104571
sl@0
   259
//! @SYMTestStatus		Implemented
sl@0
   260
//! @SYMTestPriority		Critical
sl@0
   261
//! @SYMTestActions		List the embedded content objects within a valid gif file.
sl@0
   262
//! @SYMTestExpectedResults	Returned error code matches that expected.
sl@0
   263
//! 				Number of embedded objects found matches the expected number.
sl@0
   264
//! @SYMTestType		CT
sl@0
   265
START_TESTCASE SEC-CAF-CONT-3451
sl@0
   266
RUN_TEST_STEP 100 tcaf CAFContentEmbeddedObjectsStep c:\tcaf\ContentStep.ini EmbeddedObjectsGoodGif
sl@0
   267
END_TESTCASE SEC-CAF-CONT-3451
sl@0
   268
sl@0
   269
//! @file
sl@0
   270
//! @SYMTestCaseID 		SEC-CAF-CONT-3452
sl@0
   271
//! @SYMTestCaseDesc 		Find the embedded objects within an invalid gif file
sl@0
   272
//! @SYMDEF			PDEF104571
sl@0
   273
//! @SYMTestStatus		Implemented
sl@0
   274
//! @SYMTestPriority		Critical
sl@0
   275
//! @SYMTestActions		List the embedded content objects within an invalid gif file.
sl@0
   276
//! @SYMTestExpectedResults	Returned error code matches that expected.
sl@0
   277
//! 				Number of embedded objects found matches the expected number.
sl@0
   278
//! @SYMTestType		CT
sl@0
   279
START_TESTCASE SEC-CAF-CONT-3452
sl@0
   280
RUN_TEST_STEP 100 tcaf CAFContentEmbeddedObjectsStep c:\tcaf\ContentStep.ini EmbeddedObjectsErrorGif
sl@0
   281
END_TESTCASE SEC-CAF-CONT-3452
sl@0
   282
sl@0
   283
//! @file
sl@0
   284
//! @SYMTestCaseID 		SEC-CAF-CONT-0014
sl@0
   285
//! @SYMTestCaseDesc 		List all embedded objects of a particular type
sl@0
   286
//! 				(EmbeddedObjectType)
sl@0
   287
//! @SYMREQ			REQ3679
sl@0
   288
//! @SYMTestStatus		Implemented
sl@0
   289
//! @SYMTestPriority		Critical
sl@0
   290
//! @SYMTestActions		List the embedded objects within a container that are of a certain type (content, containers etc)
sl@0
   291
//! @SYMTestExpectedResults	Number of embedded objects found matches the expected number
sl@0
   292
//! @SYMTestType		CIT
sl@0
   293
START_TESTCASE SEC-CAF-CONT-0014
sl@0
   294
RUN_TEST_STEP 100 tcaf CAFContentEmbeddedObjectTypeStep c:\tcaf\ContentStep.ini EmbeddedObjectType
sl@0
   295
END_TESTCASE SEC-CAF-CONT-0014
sl@0
   296
sl@0
   297
//! @file
sl@0
   298
//! @SYMTestCaseID 		SEC-CAF-CONT-3453
sl@0
   299
//! @SYMTestCaseDesc 		List all embedded objects of a particular type for a valid gif file
sl@0
   300
//! @SYMDEF			PDEF104571
sl@0
   301
//! @SYMTestStatus		Implemented
sl@0
   302
//! @SYMTestPriority		Critical
sl@0
   303
//! @SYMTestActions		List the embedded objects within a container that are of a certain type (content, containers etc)
sl@0
   304
//! 				for a valid gif file.
sl@0
   305
//! @SYMTestExpectedResults	Returned error code matches that expected.
sl@0
   306
//! 				Number of embedded objects found matches the expected number.
sl@0
   307
//! @SYMTestType		CT
sl@0
   308
START_TESTCASE SEC-CAF-CONT-3453
sl@0
   309
RUN_TEST_STEP 100 tcaf CAFContentEmbeddedObjectTypeStep c:\tcaf\ContentStep.ini EmbeddedObjectTypeGoodGif
sl@0
   310
END_TESTCASE SEC-CAF-CONT-3453
sl@0
   311
sl@0
   312
//! @file
sl@0
   313
//! @SYMTestCaseID 		SEC-CAF-CONT-3454
sl@0
   314
//! @SYMTestCaseDesc 		List all embedded objects of a particular type for an invalid gif file
sl@0
   315
//! @SYMDEF			PDEF104571
sl@0
   316
//! @SYMTestStatus		Implemented
sl@0
   317
//! @SYMTestPriority		Critical
sl@0
   318
//! @SYMTestActions		List the embedded objects within a container that are of a certain type (content, containers etc)
sl@0
   319
//! 				for an invalid gif file.
sl@0
   320
//! @SYMTestExpectedResults	Returned error code matches that expected.
sl@0
   321
//! 				Number of embedded objects found matches the expected number.
sl@0
   322
//! @SYMTestType		CT
sl@0
   323
START_TESTCASE SEC-CAF-CONT-3454
sl@0
   324
RUN_TEST_STEP 100 tcaf CAFContentEmbeddedObjectTypeStep c:\tcaf\ContentStep.ini EmbeddedObjectTypeErrorGif
sl@0
   325
END_TESTCASE SEC-CAF-CONT-3454
sl@0
   326
sl@0
   327
//! @file
sl@0
   328
//! @SYMTestCaseID 		SEC-CAF-CONT-0015
sl@0
   329
//! @SYMTestCaseDesc 		Search for content objects of a particular type within the file
sl@0
   330
//! 				(Search_TestAgent)
sl@0
   331
//! @SYMREQ			REQ3679
sl@0
   332
//! @SYMTestStatus		Implemented
sl@0
   333
//! @SYMTestPriority		Critical
sl@0
   334
//! @SYMTestActions		Search for content objects of a particular type within the file
sl@0
   335
//! @SYMTestExpectedResults	Number of content objects found matches expected number
sl@0
   336
//! @SYMTestType		CIT
sl@0
   337
START_TESTCASE SEC-CAF-CONT-0015
sl@0
   338
RUN_TEST_STEP 100 tcaf CAFContentSearchStep c:\tcaf\ContentStep.ini SearchTestAgent
sl@0
   339
END_TESTCASE SEC-CAF-CONT-0015
sl@0
   340
sl@0
   341
//! @file
sl@0
   342
//! @SYMTestCaseID 		SEC-CAF-CONT-0016
sl@0
   343
//! @SYMTestCaseDesc 		Search for content objects of a particular type within the file
sl@0
   344
//! 				(Search_F32Agent)
sl@0
   345
//! @SYMREQ			REQ3679
sl@0
   346
//! @SYMTestStatus		Implemented
sl@0
   347
//! @SYMTestPriority		Critical
sl@0
   348
//! @SYMTestActions		Search for content objects of a particular type within the file
sl@0
   349
//! @SYMTestExpectedResults	Number of content objects found matches expected number
sl@0
   350
//! @SYMTestType		CIT
sl@0
   351
START_TESTCASE SEC-CAF-CONT-0016
sl@0
   352
RUN_TEST_STEP 100 tcaf CAFContentSearchStep c:\tcaf\ContentStep.ini SearchF32Agent
sl@0
   353
END_TESTCASE SEC-CAF-CONT-0016
sl@0
   354
sl@0
   355
//! @file
sl@0
   356
//! @SYMTestCaseID 		SEC-CAF-CONT-3455
sl@0
   357
//! @SYMTestCaseDesc 		Search for content objects of a particular type within a valid gif file
sl@0
   358
//! @SYMDEF			PDEF104571
sl@0
   359
//! @SYMTestStatus		Implemented
sl@0
   360
//! @SYMTestPriority		Critical
sl@0
   361
//! @SYMTestActions		Search for content objects of a particular type within the file
sl@0
   362
//! @SYMTestExpectedResults	Number of content objects found matches expected number
sl@0
   363
//! @SYMTestType		CT
sl@0
   364
START_TESTCASE SEC-CAF-CONT-3455
sl@0
   365
RUN_TEST_STEP 100 tcaf CAFContentSearchStep c:\tcaf\ContentStep.ini SearchF32AgentGoodGif
sl@0
   366
END_TESTCASE SEC-CAF-CONT-3455
sl@0
   367
sl@0
   368
//! @file
sl@0
   369
//! @SYMTestCaseID 		SEC-CAF-CONT-3456
sl@0
   370
//! @SYMTestCaseDesc 		Search for content objects of a particular type within an invalid gif file
sl@0
   371
//! @SYMDEF			PDEF104571
sl@0
   372
//! @SYMTestStatus		Implemented
sl@0
   373
//! @SYMTestPriority		Critical
sl@0
   374
//! @SYMTestActions		Search for content objects of a particular type within the file
sl@0
   375
//! @SYMTestExpectedResults	Number of content objects found matches expected number
sl@0
   376
//! @SYMTestType		CT
sl@0
   377
START_TESTCASE SEC-CAF-CONT-3456
sl@0
   378
RUN_TEST_STEP 100 tcaf CAFContentSearchStep c:\tcaf\ContentStep.ini SearchF32AgentErrorGif
sl@0
   379
END_TESTCASE SEC-CAF-CONT-3456
sl@0
   380
sl@0
   381
//! @file
sl@0
   382
//! @SYMTestCaseID 		SEC-CAF-CONT-0017
sl@0
   383
//! @SYMTestCaseDesc 		Open a container within a file
sl@0
   384
//! 				(Container_Ok)
sl@0
   385
//! @SYMREQ			REQ3679
sl@0
   386
//! @SYMTestStatus		Implemented
sl@0
   387
//! @SYMTestPriority		Critical
sl@0
   388
//! @SYMTestActions		Open a container within a file
sl@0
   389
//! @SYMTestExpectedResults	The container is opened successfully
sl@0
   390
//! @SYMTestType		CIT
sl@0
   391
START_TESTCASE SEC-CAF-CONT-0017
sl@0
   392
RUN_TEST_STEP 100 tcaf CAFContentContainerStep c:\tcaf\ContentStep.ini ContainerDrm
sl@0
   393
END_TESTCASE SEC-CAF-CONT-0017
sl@0
   394
sl@0
   395
//! @file
sl@0
   396
//! @SYMTestCaseID 		SEC-CAF-CONT-0018
sl@0
   397
//! @SYMTestCaseDesc 		Attempt to open and close a container that does not exist
sl@0
   398
//! 				(Container_NotFound)
sl@0
   399
//! @SYMREQ			REQ3679
sl@0
   400
//! @SYMTestStatus		Implemented
sl@0
   401
//! @SYMTestPriority		Critical
sl@0
   402
//! @SYMTestActions		Open a container that does not exist
sl@0
   403
//! @SYMTestExpectedResults	Returns with KErrNotFound
sl@0
   404
//! @SYMTestType		CIT
sl@0
   405
START_TESTCASE SEC-CAF-CONT-0018
sl@0
   406
RUN_TEST_STEP 100 tcaf CAFContentContainerStep c:\tcaf\ContentStep.ini ContainerPlainText
sl@0
   407
END_TESTCASE SEC-CAF-CONT-0018
sl@0
   408
sl@0
   409
sl@0
   410
sl@0
   411