os/mm/mmapitest/mmsvs/suite/mmf/T_VideoPlayerUtility/scripts/MM-MMF-VCLNT-PLYR-PublicAPI.script
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
//
sl@0
     2
// Copyright (c) 2005-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 "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
//! @file
sl@0
    18
//! @SYMTestSuiteName		MM-MMF-VCLNT-PLYR-PublicAPI
sl@0
    19
//! @SYMScriptTestEnvironment	This test script requires a basic ROM.
sl@0
    20
/////////////////////////////////////////////////////////////////////
sl@0
    21
// MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
    22
//
sl@0
    23
// Tests all public elements of the CVideoPlayerUtility class
sl@0
    24
// as a means of confidence that the APIs work as expected.
sl@0
    25
//
sl@0
    26
// The purpose is to provide a regression test suite of PublishedAll APIs for CVideoPlayerUtility.
sl@0
    27
// Negative testing is performed to confirm that correct errors are returned when incorrect parameters are given.
sl@0
    28
// The tests are fully automated.
sl@0
    29
/////////////////////////////////////////////////////////////////////
sl@0
    30
sl@0
    31
LOAD_SUITE	T_VideoPlayerUtility
sl@0
    32
sl@0
    33
sl@0
    34
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0001
sl@0
    35
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0001
sl@0
    36
//! @SYMAPI			CVideoPlayerUtility
sl@0
    37
//! @SYMAuthor			Marek Sokk
sl@0
    38
//! @SYMCreationDate		05/05/2006
sl@0
    39
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
    40
//! @SYMTestCaseDesc		Open and play video file without specifying controller plugin.
sl@0
    41
//!				Uses API elements: NewL(),
sl@0
    42
//!				OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null()),
sl@0
    43
//!				Prepare(), Play(), Close()
sl@0
    44
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
    45
//!				2. Open file to be played.
sl@0
    46
//!				3. Prepare playing.
sl@0
    47
//!				4. Start playing.
sl@0
    48
//!				5. Close file.
sl@0
    49
//! @SYMTestStatus		Implemented
sl@0
    50
//! @SYMTestPriority		High
sl@0
    51
//! @SYMTestExpectedResults	Video file is opened and played without errors.
sl@0
    52
//! @SYMTestType		CIT
sl@0
    53
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
    54
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
    55
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0001-001-NewL_command01
sl@0
    56
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0001-001-OpenFileL_command02
sl@0
    57
		OUTSTANDING
sl@0
    58
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
    59
		OUTSTANDING
sl@0
    60
		COMMAND		VideoPlayerUtility1	Play
sl@0
    61
		OUTSTANDING
sl@0
    62
		COMMAND		VideoPlayerUtility1	Close
sl@0
    63
		COMMAND		VideoPlayerUtility1	~
sl@0
    64
	END_TEST_BLOCK
sl@0
    65
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0001
sl@0
    66
sl@0
    67
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0002
sl@0
    68
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0002
sl@0
    69
//! @SYMAPI			CVideoPlayerUtility
sl@0
    70
//! @SYMAuthor			Marek Sokk
sl@0
    71
//! @SYMCreationDate		05/05/2006
sl@0
    72
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
    73
//! @SYMTestCaseDesc		Open and play video file using certain controller plugin.
sl@0
    74
//!				Uses API elements: NewL(),
sl@0
    75
//!				OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null()),
sl@0
    76
//!				Prepare(), Play(), Close()
sl@0
    77
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
    78
//!				2. Open file to be played.
sl@0
    79
//!				3. Prepare playing.
sl@0
    80
//!				4. Start playing.
sl@0
    81
//!				5. Close file.
sl@0
    82
//! @SYMTestStatus		Implemented
sl@0
    83
//! @SYMTestPriority		High
sl@0
    84
//! @SYMTestExpectedResults	Video file is opened and played without errors.
sl@0
    85
//! @SYMTestType		CIT
sl@0
    86
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
    87
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
    88
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0002-001-NewL_command01
sl@0
    89
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0002-001-OpenFileL_command02
sl@0
    90
		OUTSTANDING
sl@0
    91
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
    92
		OUTSTANDING
sl@0
    93
		COMMAND		VideoPlayerUtility1	Play
sl@0
    94
		OUTSTANDING
sl@0
    95
		COMMAND		VideoPlayerUtility1	Close
sl@0
    96
		COMMAND		VideoPlayerUtility1	~
sl@0
    97
	END_TEST_BLOCK
sl@0
    98
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0002
sl@0
    99
sl@0
   100
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0003
sl@0
   101
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0003
sl@0
   102
//! @SYMAPI			CVideoPlayerUtility
sl@0
   103
//! @SYMAuthor			Marek Sokk
sl@0
   104
//! @SYMCreationDate		05/05/2006
sl@0
   105
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   106
//! @SYMTestCaseDesc		Open and play video file using RFile.
sl@0
   107
//!				Uses API elements: NewL(),
sl@0
   108
//!				OpenFileL(const RFile aFileName, TUid aControllerUid=TUid::Null()),
sl@0
   109
//!				Prepare(), Play(), Close()
sl@0
   110
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   111
//!				2. Open file to be played.
sl@0
   112
//!				3. Prepare playing.
sl@0
   113
//!				4. Start playing.
sl@0
   114
//!				5. Close file.
sl@0
   115
//! @SYMTestStatus		Implemented
sl@0
   116
//! @SYMTestPriority		High
sl@0
   117
//! @SYMTestExpectedResults	Video file is opened and played without errors.
sl@0
   118
//! @SYMTestType		CIT
sl@0
   119
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   120
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   121
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0003-001-NewL_command01
sl@0
   122
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0003-001-OpenFileL_command02
sl@0
   123
		OUTSTANDING
sl@0
   124
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   125
		OUTSTANDING
sl@0
   126
		COMMAND		VideoPlayerUtility1	Play
sl@0
   127
		OUTSTANDING
sl@0
   128
		COMMAND		VideoPlayerUtility1	Close
sl@0
   129
		COMMAND		VideoPlayerUtility1	~
sl@0
   130
	END_TEST_BLOCK
sl@0
   131
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0003
sl@0
   132
sl@0
   133
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0004
sl@0
   134
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0004
sl@0
   135
//! @SYMAPI			CVideoPlayerUtility
sl@0
   136
//! @SYMAuthor			Marek Sokk
sl@0
   137
//! @SYMCreationDate		05/05/2006
sl@0
   138
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   139
//! @SYMTestCaseDesc		Open and play video file using TMMSource.
sl@0
   140
//!				Uses API elements: NewL(),
sl@0
   141
//!				OpenFileL(const TMMSource aSource, TUid aControllerUid=TUid::Null()),
sl@0
   142
//!				Prepare(), Play(), Close()
sl@0
   143
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   144
//!				2. Open file to be played.
sl@0
   145
//!				3. Prepare playing.
sl@0
   146
//!				4. Start playing.
sl@0
   147
//!				5. Close file.
sl@0
   148
//! @SYMTestStatus		Implemented
sl@0
   149
//! @SYMTestPriority		High
sl@0
   150
//! @SYMTestExpectedResults	Video file is opened and played without errors.
sl@0
   151
//! @SYMTestType		CIT
sl@0
   152
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   153
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   154
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0004-001-NewL_command01
sl@0
   155
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0004-001-OpenFileL_command02
sl@0
   156
		OUTSTANDING
sl@0
   157
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   158
		OUTSTANDING
sl@0
   159
		COMMAND		VideoPlayerUtility1	Play
sl@0
   160
		OUTSTANDING
sl@0
   161
		COMMAND		VideoPlayerUtility1	Close
sl@0
   162
		COMMAND		VideoPlayerUtility1	~
sl@0
   163
	END_TEST_BLOCK
sl@0
   164
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0004
sl@0
   165
sl@0
   166
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0005
sl@0
   167
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0005
sl@0
   168
//! @SYMAPI			CVideoPlayerUtility
sl@0
   169
//! @SYMAuthor			Marek Sokk
sl@0
   170
//! @SYMCreationDate		05/05/2006
sl@0
   171
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   172
//! @SYMTestCaseDesc		Open and play video file from descriptor.
sl@0
   173
//!				Uses API elements: NewL(), OpenDesL(), Prepare(), Play(), Close()
sl@0
   174
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   175
//!				2. Open video clip in a descriptor.
sl@0
   176
//!				3. Prepare playing.
sl@0
   177
//!				4. Start playing.
sl@0
   178
//!				5. Close file.
sl@0
   179
//! @SYMTestStatus		Implemented
sl@0
   180
//! @SYMTestPriority		High
sl@0
   181
//! @SYMTestExpectedResults	Video file is opened and played without errors.
sl@0
   182
//! @SYMTestType		CIT
sl@0
   183
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   184
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   185
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0005-001-NewL_command01
sl@0
   186
		COMMAND		VideoPlayerUtility1	OpenDesL	MM-MMF-VCLNT-PLYR-PublicAPI-0005-001-OpenDesL_command02
sl@0
   187
		OUTSTANDING
sl@0
   188
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   189
		OUTSTANDING
sl@0
   190
		COMMAND		VideoPlayerUtility1	Play
sl@0
   191
		OUTSTANDING
sl@0
   192
		COMMAND		VideoPlayerUtility1	Close
sl@0
   193
		COMMAND		VideoPlayerUtility1	~
sl@0
   194
	END_TEST_BLOCK
sl@0
   195
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0005
sl@0
   196
sl@0
   197
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0006
sl@0
   198
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0006
sl@0
   199
//! @SYMAPI			CVideoPlayerUtility
sl@0
   200
//! @SYMAuthor			Marek Sokk
sl@0
   201
//! @SYMCreationDate		05/05/2006
sl@0
   202
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   203
//! @SYMTestCaseDesc		Open and play video file from URL.
sl@0
   204
//!				Uses API elements: NewL(), OpenUrlL(), Prepare(), Play(), Close()
sl@0
   205
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   206
//!				2. Open a video clip from a URL.
sl@0
   207
//!				3. Prepare playing.
sl@0
   208
//!				4. Start playing.
sl@0
   209
//!				5. Close file.
sl@0
   210
//! @SYMTestStatus		Implemented
sl@0
   211
//! @SYMTestPriority		High
sl@0
   212
//! @SYMTestExpectedResults	Video file is opened and played without errors.
sl@0
   213
//! @SYMTestType		CIT
sl@0
   214
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   215
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   216
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0006-001-NewL_command01
sl@0
   217
		COMMAND		VideoPlayerUtility1	OpenUrlL	MM-MMF-VCLNT-PLYR-PublicAPI-0006-001-OpenUrlL_command02
sl@0
   218
		OUTSTANDING
sl@0
   219
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   220
		OUTSTANDING
sl@0
   221
		COMMAND		VideoPlayerUtility1	Play
sl@0
   222
		OUTSTANDING
sl@0
   223
		COMMAND		VideoPlayerUtility1	Close
sl@0
   224
		COMMAND		VideoPlayerUtility1	~
sl@0
   225
	END_TEST_BLOCK
sl@0
   226
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0006
sl@0
   227
sl@0
   228
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0007
sl@0
   229
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0007
sl@0
   230
//! @SYMAPI			CVideoPlayerUtility
sl@0
   231
//! @SYMAuthor			Marek Sokk
sl@0
   232
//! @SYMCreationDate		05/05/2006
sl@0
   233
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   234
//! @SYMTestCaseDesc		Play video from file at the specified start and end points.
sl@0
   235
//!				Uses API elements: NewL(), OpenUrlL(), Prepare(), Play(), Close()
sl@0
   236
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   237
//!				2. Open file to be played.
sl@0
   238
//!				3. Prepare playing.
sl@0
   239
//!				4. Start playing.
sl@0
   240
//!				5. Close file.
sl@0
   241
//! @SYMTestStatus		Implemented
sl@0
   242
//! @SYMTestPriority		High
sl@0
   243
//! @SYMTestExpectedResults	Video file is played without errors.
sl@0
   244
//! @SYMTestType		CIT
sl@0
   245
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   246
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   247
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0007-001-NewL_command01
sl@0
   248
		COMMAND		VideoPlayerUtility1	OpenUrlL	MM-MMF-VCLNT-PLYR-PublicAPI-0007-001-OpenUrlL_command02
sl@0
   249
		OUTSTANDING
sl@0
   250
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   251
		OUTSTANDING
sl@0
   252
		COMMAND		VideoPlayerUtility1	Play		MM-MMF-VCLNT-PLYR-PublicAPI-0007-001-Play_command04
sl@0
   253
		OUTSTANDING
sl@0
   254
		COMMAND		VideoPlayerUtility1	Close
sl@0
   255
		COMMAND		VideoPlayerUtility1	~
sl@0
   256
	END_TEST_BLOCK
sl@0
   257
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0007
sl@0
   258
sl@0
   259
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0008
sl@0
   260
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0008
sl@0
   261
//! @SYMAPI			CVideoPlayerUtility
sl@0
   262
//! @SYMAuthor			Marek Sokk
sl@0
   263
//! @SYMCreationDate		05/05/2006
sl@0
   264
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   265
//! @SYMTestCaseDesc		Play the video from file and stop it.
sl@0
   266
//!				Uses API elements: NewL(), OpneFileL(), Prepare(), Play(), Stop(), Close()
sl@0
   267
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   268
//!				2. Open file to be played.
sl@0
   269
//!				3. Prepare playing.
sl@0
   270
//!				4. Start playing.
sl@0
   271
//!				5. Stop play.
sl@0
   272
//!				6. Close file.
sl@0
   273
//! @SYMTestStatus		Implemented
sl@0
   274
//! @SYMTestPriority		High
sl@0
   275
//! @SYMTestExpectedResults	Play of video is stopped.
sl@0
   276
//! @SYMTestType		CIT
sl@0
   277
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   278
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   279
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0008-001-NewL_command01
sl@0
   280
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0008-001-OpenFileL_command02
sl@0
   281
		OUTSTANDING
sl@0
   282
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   283
		OUTSTANDING
sl@0
   284
		COMMAND		VideoPlayerUtility1	Play
sl@0
   285
		ASYNC_DELAY	5000
sl@0
   286
		COMMAND		VideoPlayerUtility1	Stop
sl@0
   287
		OUTSTANDING
sl@0
   288
		COMMAND		VideoPlayerUtility1	Close
sl@0
   289
		COMMAND		VideoPlayerUtility1	~
sl@0
   290
	END_TEST_BLOCK
sl@0
   291
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0008
sl@0
   292
sl@0
   293
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0009
sl@0
   294
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0009
sl@0
   295
//! @SYMAPI			CVideoPlayerUtility
sl@0
   296
//! @SYMAuthor			Marek Sokk
sl@0
   297
//! @SYMCreationDate		05/05/2006
sl@0
   298
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   299
//! @SYMTestCaseDesc		Play the video from file, pause it. Start playing againg and stop it.
sl@0
   300
//!				Uses API elements: NewL(), OpneFileL(), Prepare(), Play(), PauseL(), Play(), Close()
sl@0
   301
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   302
//!				2. Open file to be played.
sl@0
   303
//!				3. Prepare playing.
sl@0
   304
//!				4. Start playing.
sl@0
   305
//!				5. Pause playing.
sl@0
   306
//!				6. Start playing.
sl@0
   307
//!				7. Close file.
sl@0
   308
//! @SYMTestStatus		Implemented
sl@0
   309
//! @SYMTestPriority		High
sl@0
   310
//! @SYMTestExpectedResults	The video playing is paused and continued without errors.
sl@0
   311
//! @SYMTestType		CIT
sl@0
   312
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   313
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   314
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0009-001-NewL_command01
sl@0
   315
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0009-001-OpenFileL_command02
sl@0
   316
		OUTSTANDING
sl@0
   317
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   318
		OUTSTANDING
sl@0
   319
		COMMAND		VideoPlayerUtility1	Play
sl@0
   320
		ASYNC_DELAY	5000
sl@0
   321
		COMMAND		VideoPlayerUtility1	PauseL
sl@0
   322
		COMMAND		VideoPlayerUtility1	Play
sl@0
   323
		OUTSTANDING
sl@0
   324
		COMMAND		VideoPlayerUtility1	Close
sl@0
   325
		COMMAND		VideoPlayerUtility1	~
sl@0
   326
	END_TEST_BLOCK
sl@0
   327
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0009
sl@0
   328
sl@0
   329
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0010
sl@0
   330
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0010
sl@0
   331
//! @SYMAPI			CVideoPlayerUtility
sl@0
   332
//! @SYMAuthor			Marek Sokk
sl@0
   333
//! @SYMCreationDate		08/05/2006
sl@0
   334
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   335
//! @SYMTestCaseDesc		Open the videofile and set the playback priority.
sl@0
   336
//!				Uses API elements: NewL(), OpneFileL(), SetPriorityL(), PriorityL(), Close()
sl@0
   337
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   338
//!				2. Open file to be played.
sl@0
   339
//!				3. Set the playback priority.
sl@0
   340
//!				4. Check the playback priority.
sl@0
   341
//!				5. Close file.
sl@0
   342
//! @SYMTestStatus		Implemented
sl@0
   343
//! @SYMTestPriority		High
sl@0
   344
//! @SYMTestExpectedResults	The playback priority is set.
sl@0
   345
//! @SYMTestType		CIT
sl@0
   346
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   347
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   348
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0010-001-NewL_command01
sl@0
   349
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0010-001-OpenFileL_command02
sl@0
   350
		OUTSTANDING
sl@0
   351
		COMMAND		VideoPlayerUtility1	SetPriorityL	MM-MMF-VCLNT-PLYR-PublicAPI-0010-001-SetPriorityL_command03
sl@0
   352
		COMMAND		VideoPlayerUtility1	PriorityL		MM-MMF-VCLNT-PLYR-PublicAPI-0010-001-PriorityL_command04
sl@0
   353
		COMMAND		VideoPlayerUtility1	Close
sl@0
   354
		COMMAND		VideoPlayerUtility1	~
sl@0
   355
	END_TEST_BLOCK
sl@0
   356
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0010
sl@0
   357
sl@0
   358
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0011
sl@0
   359
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0011
sl@0
   360
//! @SYMAPI			CVideoPlayerUtility
sl@0
   361
//! @SYMAuthor			Marek Sokk
sl@0
   362
//! @SYMCreationDate		08/05/2006
sl@0
   363
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   364
//! @SYMTestCaseDesc		Open the videofile and set the display window.
sl@0
   365
//!				Uses API elements: NewL(), OpneFileL(), SetDisplayWindowL(), Prepare(), Play(), Close()
sl@0
   366
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   367
//!				2. Open file to be played.
sl@0
   368
//!				3. Set the display windowy.
sl@0
   369
//!				4. Prepare playing.
sl@0
   370
//!				5. Start playing.
sl@0
   371
//!				6. Close file.
sl@0
   372
//! @SYMTestStatus		Implemented
sl@0
   373
//! @SYMTestPriority		High
sl@0
   374
//! @SYMTestExpectedResults	The display window is set and video is played at new window.
sl@0
   375
//! @SYMTestType		CIT
sl@0
   376
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   377
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   378
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0011-001-NewL_command01
sl@0
   379
		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0011-001-OpenFileL_command02
sl@0
   380
		OUTSTANDING
sl@0
   381
		COMMAND		VideoPlayerUtility1	SetDisplayWindowL	MM-MMF-VCLNT-PLYR-PublicAPI-0011-001-SetDisplayWindowL_command03
sl@0
   382
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   383
		OUTSTANDING
sl@0
   384
		COMMAND		VideoPlayerUtility1	Play
sl@0
   385
		OUTSTANDING
sl@0
   386
		COMMAND		VideoPlayerUtility1	Close
sl@0
   387
		COMMAND		VideoPlayerUtility1	~
sl@0
   388
	END_TEST_BLOCK
sl@0
   389
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0011
sl@0
   390
sl@0
   391
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0012
sl@0
   392
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0012
sl@0
   393
//! @SYMAPI			CVideoPlayerUtility
sl@0
   394
//! @SYMAuthor			Marek Sokk
sl@0
   395
//! @SYMCreationDate		08/05/2006
sl@0
   396
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   397
//! @SYMTestCaseDesc		Register to receive notifications of video clip loading. Open video clip from URL.
sl@0
   398
//!				Get video loading progress and start playing the video.
sl@0
   399
//!				Uses API elements: NewL(), RegisterForVideoLoadingNotification(), OpenUrlL(),
sl@0
   400
//!				Prepare(), GetVideoLoadingProgressL(), Play(), GetVideoLoadingProgressL(), Close()
sl@0
   401
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   402
//!				2. Register to receive notifications of video clip loading/rebuffering
sl@0
   403
//!				3. Open a video clip from a URL.
sl@0
   404
//!				4. Prepare playing.
sl@0
   405
//!				5. Gets the progress of video clip loading/rebuffering
sl@0
   406
//!				6. Start playing.
sl@0
   407
//!				7. Gets the progress of video clip loading/rebuffering
sl@0
   408
//!				8. Close file.
sl@0
   409
//! @SYMTestStatus		Implemented
sl@0
   410
//! @SYMTestPriority		High
sl@0
   411
//! @SYMTestExpectedResults	The video loading notifications are received and video loading progress is queried.
sl@0
   412
//! @SYMTestType		CIT
sl@0
   413
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   414
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   415
		COMMAND		VideoPlayerUtility1	NewL									MM-MMF-VCLNT-PLYR-PublicAPI-0012-001-NewL_command01
sl@0
   416
		COMMAND		VideoPlayerUtility1	RegisterForVideoLoadingNotification
sl@0
   417
		COMMAND		VideoPlayerUtility1	OpenUrlL								MM-MMF-VCLNT-PLYR-PublicAPI-0012-001-OpenUrlL_command03
sl@0
   418
		OUTSTANDING
sl@0
   419
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   420
		OUTSTANDING
sl@0
   421
		COMMAND		VideoPlayerUtility1	GetVideoLoadingProgressL				MM-MMF-VCLNT-PLYR-PublicAPI-0012-001-GetVideoLoadingProgressL_command05
sl@0
   422
		COMMAND		VideoPlayerUtility1	Play
sl@0
   423
		ASYNC_DELAY	10000
sl@0
   424
		COMMAND		VideoPlayerUtility1	GetVideoLoadingProgressL
sl@0
   425
		OUTSTANDING
sl@0
   426
		COMMAND		VideoPlayerUtility1	Close
sl@0
   427
		COMMAND		VideoPlayerUtility1	~
sl@0
   428
	END_TEST_BLOCK
sl@0
   429
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0012
sl@0
   430
sl@0
   431
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0013
sl@0
   432
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0013
sl@0
   433
//! @SYMAPI			CVideoPlayerUtility
sl@0
   434
//! @SYMAuthor			Marek Sokk
sl@0
   435
//! @SYMCreationDate		08/05/2006
sl@0
   436
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   437
//! @SYMTestCaseDesc		Get the current frame without DRM Intent.
sl@0
   438
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), GetFrameL(), Close()
sl@0
   439
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   440
//!				2. Open a video clip from file.
sl@0
   441
//!				3. Prepare playing.
sl@0
   442
//!				4. Start playing.
sl@0
   443
//!				5. Get the current frame.
sl@0
   444
//!				6. Close file.
sl@0
   445
//! @SYMTestStatus		Implemented
sl@0
   446
//! @SYMTestPriority		High
sl@0
   447
//! @SYMTestExpectedResults	The current frame is queried.
sl@0
   448
//! @SYMTestType		CIT
sl@0
   449
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   450
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   451
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0013-001-NewL_command01
sl@0
   452
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0013-001-OpenFileL_command02
sl@0
   453
		OUTSTANDING
sl@0
   454
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   455
		OUTSTANDING
sl@0
   456
		COMMAND		VideoPlayerUtility1	Play
sl@0
   457
		ASYNC_DELAY	10000
sl@0
   458
		COMMAND		VideoPlayerUtility1	GetFrameL	MM-MMF-VCLNT-PLYR-PublicAPI-0013-001-GetFrameL_command06
sl@0
   459
		OUTSTANDING
sl@0
   460
		COMMAND		VideoPlayerUtility1	Close
sl@0
   461
		COMMAND		VideoPlayerUtility1	~
sl@0
   462
	END_TEST_BLOCK
sl@0
   463
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0013
sl@0
   464
sl@0
   465
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0014
sl@0
   466
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0014
sl@0
   467
//! @SYMAPI			CVideoPlayerUtility
sl@0
   468
//! @SYMAuthor			Marek Sokk
sl@0
   469
//! @SYMCreationDate		08/05/2006
sl@0
   470
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   471
//! @SYMTestCaseDesc		Get the current frame with DRM Intent.
sl@0
   472
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), GetFrameL(), Close()
sl@0
   473
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   474
//!				2. Open a video clip from file.
sl@0
   475
//!				3. Prepare playing.
sl@0
   476
//!				4. Start playing.
sl@0
   477
//!				5. Get the current frame.
sl@0
   478
//!				6. Close file.
sl@0
   479
//! @SYMTestStatus		Implemented
sl@0
   480
//! @SYMTestPriority		High
sl@0
   481
//! @SYMTestExpectedResults	The current frame is queried.
sl@0
   482
//! @SYMTestType		CIT
sl@0
   483
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   484
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   485
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0014-001-NewL_command01
sl@0
   486
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0014-001-OpenFileL_command02
sl@0
   487
		OUTSTANDING
sl@0
   488
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   489
		OUTSTANDING
sl@0
   490
		COMMAND		VideoPlayerUtility1	Play
sl@0
   491
		ASYNC_DELAY	10000
sl@0
   492
		COMMAND		VideoPlayerUtility1	GetFrameL	MM-MMF-VCLNT-PLYR-PublicAPI-0014-001-GetFrameL_command06
sl@0
   493
		OUTSTANDING
sl@0
   494
		COMMAND		VideoPlayerUtility1	Close
sl@0
   495
		COMMAND		VideoPlayerUtility1	~
sl@0
   496
	END_TEST_BLOCK
sl@0
   497
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0014
sl@0
   498
sl@0
   499
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0015
sl@0
   500
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0015
sl@0
   501
//! @SYMAPI			CVideoPlayerUtility
sl@0
   502
//! @SYMAuthor			Marek Sokk
sl@0
   503
//! @SYMCreationDate		08/05/2006
sl@0
   504
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   505
//! @SYMTestCaseDesc		Refresh (redraw) the current frame.
sl@0
   506
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), RefreshFrameL(), Close()
sl@0
   507
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   508
//!				2. Open a video clip from file.
sl@0
   509
//!				3. Prepare playing.
sl@0
   510
//!				4. Start playing.
sl@0
   511
//!				5. Redraw the current frame.
sl@0
   512
//!				6. Close file.
sl@0
   513
//! @SYMTestStatus		Implemented
sl@0
   514
//! @SYMTestPriority		High
sl@0
   515
//! @SYMTestExpectedResults	The current frame is refreshed.
sl@0
   516
//! @SYMTestType		CIT
sl@0
   517
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   518
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   519
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0015-001-NewL_command01
sl@0
   520
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0015-001-OpenFileL_command02
sl@0
   521
		OUTSTANDING
sl@0
   522
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   523
		OUTSTANDING
sl@0
   524
		COMMAND		VideoPlayerUtility1	Play
sl@0
   525
		COMMAND		VideoPlayerUtility1	RefreshFrameL
sl@0
   526
		OUTSTANDING
sl@0
   527
		COMMAND		VideoPlayerUtility1	Close
sl@0
   528
		COMMAND		VideoPlayerUtility1	~
sl@0
   529
	END_TEST_BLOCK
sl@0
   530
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0015
sl@0
   531
sl@0
   532
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0016
sl@0
   533
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0016
sl@0
   534
//! @SYMAPI			CVideoPlayerUtility
sl@0
   535
//! @SYMAuthor			Marek Sokk
sl@0
   536
//! @SYMCreationDate		08/05/2006
sl@0
   537
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   538
//! @SYMTestCaseDesc		Set video frame rate.
sl@0
   539
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), Play(),
sl@0
   540
//!				VideoFrameRateL(), SetVideoFrameRateL(), VideoFrameRateL(), Close()
sl@0
   541
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   542
//!				2. Open a video clip from file.
sl@0
   543
//!				3. Prepare playing.
sl@0
   544
//!				4. Start playing.
sl@0
   545
//!				5. Query video frame rate
sl@0
   546
//!				6. Set the video frame rate.
sl@0
   547
//!				7. Query video frame rate
sl@0
   548
//!				8. Close file.
sl@0
   549
//! @SYMTestStatus		Implemented
sl@0
   550
//! @SYMTestPriority		High
sl@0
   551
//! @SYMTestExpectedResults	The frame rate is set.
sl@0
   552
//! @SYMTestType		CIT
sl@0
   553
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   554
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   555
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0016-001-NewL_command01
sl@0
   556
		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0016-001-OpenFileL_command02
sl@0
   557
		OUTSTANDING
sl@0
   558
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   559
		OUTSTANDING
sl@0
   560
		COMMAND		VideoPlayerUtility1	Play
sl@0
   561
		OUTSTANDING
sl@0
   562
		COMMAND		VideoPlayerUtility1	VideoFrameRateL
sl@0
   563
		COMMAND		VideoPlayerUtility1	SetVideoFrameRateL	MM-MMF-VCLNT-PLYR-PublicAPI-0016-001-SetVideoFrameRateL_command06
sl@0
   564
		COMMAND		VideoPlayerUtility1	VideoFrameRateL		MM-MMF-VCLNT-PLYR-PublicAPI-0016-001-VideoFrameRateL_command07
sl@0
   565
		COMMAND		VideoPlayerUtility1	Close
sl@0
   566
		COMMAND		VideoPlayerUtility1	~
sl@0
   567
	END_TEST_BLOCK
sl@0
   568
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0016
sl@0
   569
sl@0
   570
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0017
sl@0
   571
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0017
sl@0
   572
//! @SYMAPI			CVideoPlayerUtility
sl@0
   573
//! @SYMAuthor			Marek Sokk
sl@0
   574
//! @SYMCreationDate		08/05/2006
sl@0
   575
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   576
//! @SYMTestCaseDesc		Get the video frame size.
sl@0
   577
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), VideoFrameSizeL(), Close()
sl@0
   578
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   579
//!				2. Open a video clip from file.
sl@0
   580
//!				3. Prepare the video clip
sl@0
   581
//!				4. Get the video frame size.
sl@0
   582
//!				5. Close file.
sl@0
   583
//! @SYMTestStatus		Implemented
sl@0
   584
//! @SYMTestPriority		High
sl@0
   585
//! @SYMTestExpectedResults	The video frame size is queried.
sl@0
   586
//! @SYMTestType		CIT
sl@0
   587
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   588
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   589
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0017-001-NewL_command01
sl@0
   590
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0017-001-OpenFileL_command02
sl@0
   591
		OUTSTANDING
sl@0
   592
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   593
		OUTSTANDING
sl@0
   594
		COMMAND		VideoPlayerUtility1	VideoFrameSizeL	MM-MMF-VCLNT-PLYR-PublicAPI-0017-001-VideoFrameSizeL_command04
sl@0
   595
		COMMAND		VideoPlayerUtility1	Close
sl@0
   596
		COMMAND		VideoPlayerUtility1	~
sl@0
   597
	END_TEST_BLOCK
sl@0
   598
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0017
sl@0
   599
sl@0
   600
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0018
sl@0
   601
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0018
sl@0
   602
//! @SYMAPI			CVideoPlayerUtility
sl@0
   603
//! @SYMAuthor			Marek Sokk
sl@0
   604
//! @SYMCreationDate		08/05/2006
sl@0
   605
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   606
//! @SYMTestCaseDesc		Get the video format's MIME type.
sl@0
   607
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), VideoFormatMimeType(), Close()
sl@0
   608
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   609
//!				2. Open a video clip from file.
sl@0
   610
//!				3. Prepare the video clip
sl@0
   611
//!				4. Get the video format's MIME type.
sl@0
   612
//!				5. Close file.
sl@0
   613
//! @SYMTestStatus		Implemented
sl@0
   614
//! @SYMTestPriority		High
sl@0
   615
//! @SYMTestExpectedResults	The video format's MIME type is queried.
sl@0
   616
//! @SYMTestType		CIT
sl@0
   617
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   618
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   619
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0018-001-NewL_command01
sl@0
   620
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0018-001-OpenFileL_command02
sl@0
   621
		OUTSTANDING
sl@0
   622
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   623
		OUTSTANDING
sl@0
   624
		COMMAND		VideoPlayerUtility1	VideoFormatMimeType	MM-MMF-VCLNT-PLYR-PublicAPI-0018-001-VideoFormatMimeType_command04
sl@0
   625
		COMMAND		VideoPlayerUtility1	Close
sl@0
   626
		COMMAND		VideoPlayerUtility1	~
sl@0
   627
	END_TEST_BLOCK
sl@0
   628
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0018
sl@0
   629
sl@0
   630
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0019
sl@0
   631
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0019
sl@0
   632
//! @SYMAPI			CVideoPlayerUtility
sl@0
   633
//! @SYMAuthor			Marek Sokk
sl@0
   634
//! @SYMCreationDate		08/05/2006
sl@0
   635
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   636
//! @SYMTestCaseDesc		Get the video bit rate.
sl@0
   637
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), VideoBitRateL(), Close()
sl@0
   638
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   639
//!				2. Open a video clip from file.
sl@0
   640
//!				3. Prepare the video clip
sl@0
   641
//!				4. Get the video bit rate.
sl@0
   642
//!				5. Close file.
sl@0
   643
//! @SYMTestStatus		Implemented
sl@0
   644
//! @SYMTestPriority		High
sl@0
   645
//! @SYMTestExpectedResults	The video bit rate is queried.
sl@0
   646
//! @SYMTestType		CIT
sl@0
   647
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   648
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   649
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0019-001-NewL_command01
sl@0
   650
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0019-001-OpenFileL_command02
sl@0
   651
		OUTSTANDING
sl@0
   652
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   653
		OUTSTANDING
sl@0
   654
		COMMAND		VideoPlayerUtility1	VideoBitRateL	MM-MMF-VCLNT-PLYR-PublicAPI-0019-001-VideoBitRateL_command04
sl@0
   655
		COMMAND		VideoPlayerUtility1	Close
sl@0
   656
		COMMAND		VideoPlayerUtility1	~
sl@0
   657
	END_TEST_BLOCK
sl@0
   658
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0019
sl@0
   659
sl@0
   660
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0020
sl@0
   661
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0020
sl@0
   662
//! @SYMAPI			CVideoPlayerUtility
sl@0
   663
//! @SYMAuthor			Marek Sokk
sl@0
   664
//! @SYMCreationDate		08/05/2006
sl@0
   665
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   666
//! @SYMTestCaseDesc		Get the audio bit rate in bits/second.
sl@0
   667
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), AudioBitRateL(), Close()
sl@0
   668
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   669
//!				2. Open a video clip from file.
sl@0
   670
//!				3. Prepare the video clip
sl@0
   671
//!				4. Get the audio bit rate.
sl@0
   672
//!				5. Close file.
sl@0
   673
//! @SYMTestStatus		Implemented
sl@0
   674
//! @SYMTestPriority		High
sl@0
   675
//! @SYMTestExpectedResults	The audio bit rate is queried.
sl@0
   676
//! @SYMTestType		CIT
sl@0
   677
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   678
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   679
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0020-001-NewL_command01
sl@0
   680
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0020-001-OpenFileL_command02
sl@0
   681
		OUTSTANDING
sl@0
   682
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   683
		OUTSTANDING
sl@0
   684
		COMMAND		VideoPlayerUtility1	AudioBitRateL	MM-MMF-VCLNT-PLYR-PublicAPI-0020-001-AudioBitRateL_command04
sl@0
   685
		COMMAND		VideoPlayerUtility1	Close
sl@0
   686
		COMMAND		VideoPlayerUtility1	~
sl@0
   687
	END_TEST_BLOCK
sl@0
   688
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0020
sl@0
   689
sl@0
   690
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0021
sl@0
   691
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0021
sl@0
   692
//! @SYMAPI			CVideoPlayerUtility
sl@0
   693
//! @SYMAuthor			Marek Sokk
sl@0
   694
//! @SYMCreationDate		08/05/2006
sl@0
   695
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   696
//! @SYMTestCaseDesc		Get the codec used for the audio component of the video clip.
sl@0
   697
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), AudioTypeL(), Close()
sl@0
   698
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   699
//!				2. Open a video clip from file.
sl@0
   700
//!				3. Prepare the video clip
sl@0
   701
//!				4. Get the codec used for the audio.
sl@0
   702
//!				5. Close file.
sl@0
   703
//! @SYMTestStatus		Implemented
sl@0
   704
//! @SYMTestPriority		High
sl@0
   705
//! @SYMTestExpectedResults	The audio codec is queried.
sl@0
   706
//! @SYMTestType		CIT
sl@0
   707
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   708
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   709
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0021-001-NewL_command01
sl@0
   710
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0021-001-OpenFileL_command02
sl@0
   711
		OUTSTANDING
sl@0
   712
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   713
		OUTSTANDING
sl@0
   714
		COMMAND		VideoPlayerUtility1	AudioTypeL	MM-MMF-VCLNT-PLYR-PublicAPI-0021-001-AudioTypeL_command04
sl@0
   715
		COMMAND		VideoPlayerUtility1	Close
sl@0
   716
		COMMAND		VideoPlayerUtility1	~
sl@0
   717
	END_TEST_BLOCK
sl@0
   718
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0021
sl@0
   719
sl@0
   720
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0022
sl@0
   721
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0022
sl@0
   722
//! @SYMAPI			CVideoPlayerUtility
sl@0
   723
//! @SYMAuthor			Marek Sokk
sl@0
   724
//! @SYMCreationDate		08/05/2006
sl@0
   725
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   726
//! @SYMTestCaseDesc		Get whether the current clip has an audio stream.
sl@0
   727
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), AudioEnabledL(), Close()
sl@0
   728
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   729
//!				2. Open a video clip from file.
sl@0
   730
//!				3. Prepare the video clip
sl@0
   731
//!				4. Get whether the current clip has an audio stream.
sl@0
   732
//!				5. Close file.
sl@0
   733
//! @SYMTestStatus		Not Implemented
sl@0
   734
//! @SYMTestPriority		High
sl@0
   735
//! @SYMTestExpectedResults	The audio enabled value (TRUE/FALSE) is queried.
sl@0
   736
//! @SYMTestType		CIT
sl@0
   737
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   738
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   739
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0022-001-NewL_command01
sl@0
   740
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0022-001-OpenFileL_command02
sl@0
   741
		OUTSTANDING
sl@0
   742
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   743
		OUTSTANDING
sl@0
   744
		COMMAND		VideoPlayerUtility1	AudioEnabledL		MM-MMF-VCLNT-PLYR-PublicAPI-0022-001-AudioEnabledL_command04
sl@0
   745
		COMMAND		VideoPlayerUtility1	Close
sl@0
   746
		COMMAND		VideoPlayerUtility1	~
sl@0
   747
	END_TEST_BLOCK
sl@0
   748
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0022
sl@0
   749
sl@0
   750
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0023
sl@0
   751
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0023
sl@0
   752
//! @SYMAPI			CVideoPlayerUtility
sl@0
   753
//! @SYMAuthor			Marek Sokk
sl@0
   754
//! @SYMCreationDate		08/05/2006
sl@0
   755
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   756
//! @SYMTestCaseDesc		Set and check the position within the video clip from where to start playback.
sl@0
   757
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), SetPositionL(), PositionL(), Close()
sl@0
   758
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   759
//!				2. Open a video clip from file.
sl@0
   760
//!				3. Prepare the video clip
sl@0
   761
//!				4. Set the position within the video clip.
sl@0
   762
//!				5. Get the current playback position
sl@0
   763
//!				6. Close file.
sl@0
   764
//! @SYMTestStatus		Implemented
sl@0
   765
//! @SYMTestPriority		High
sl@0
   766
//! @SYMTestExpectedResults	The position is set within the audio clip.
sl@0
   767
//! @SYMTestType		CIT
sl@0
   768
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   769
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   770
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0023-001-NewL_command01
sl@0
   771
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0023-001-OpenFileL_command02
sl@0
   772
		OUTSTANDING
sl@0
   773
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   774
		OUTSTANDING
sl@0
   775
		COMMAND		VideoPlayerUtility1	SetPositionL	MM-MMF-VCLNT-PLYR-PublicAPI-0023-001-SetPositionL_command04
sl@0
   776
		COMMAND		VideoPlayerUtility1	PositionL		MM-MMF-VCLNT-PLYR-PublicAPI-0023-001-PositionL_command05
sl@0
   777
		COMMAND		VideoPlayerUtility1	Close
sl@0
   778
		COMMAND		VideoPlayerUtility1	~
sl@0
   779
	END_TEST_BLOCK
sl@0
   780
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0023
sl@0
   781
sl@0
   782
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0024
sl@0
   783
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0024
sl@0
   784
//! @SYMAPI			CVideoPlayerUtility
sl@0
   785
//! @SYMAuthor			Marek Sokk
sl@0
   786
//! @SYMCreationDate		08/05/2006
sl@0
   787
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   788
//! @SYMTestCaseDesc		Get the duration of video clip in mircoseconds.
sl@0
   789
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), DurationL(), Close()
sl@0
   790
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   791
//!				2. Open a video clip from file.
sl@0
   792
//!				3. Prepare the video clip
sl@0
   793
//!				4. Get the duration of video clip.
sl@0
   794
//!				5. Close file.
sl@0
   795
//! @SYMTestStatus		Implemented
sl@0
   796
//! @SYMTestPriority		High
sl@0
   797
//! @SYMTestExpectedResults	The video clip duration is queried.
sl@0
   798
//! @SYMTestType		CIT
sl@0
   799
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   800
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   801
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0024-001-NewL_command01
sl@0
   802
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0024-001-OpenFileL_command02
sl@0
   803
		OUTSTANDING
sl@0
   804
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   805
		OUTSTANDING
sl@0
   806
		COMMAND		VideoPlayerUtility1	DurationL	MM-MMF-VCLNT-PLYR-PublicAPI-0024-001-DurationL_command04
sl@0
   807
		COMMAND		VideoPlayerUtility1	Close
sl@0
   808
		COMMAND		VideoPlayerUtility1	~
sl@0
   809
	END_TEST_BLOCK
sl@0
   810
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0024
sl@0
   811
sl@0
   812
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0025
sl@0
   813
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0025
sl@0
   814
//! @SYMAPI			CVideoPlayerUtility
sl@0
   815
//! @SYMAuthor			Marek Sokk
sl@0
   816
//! @SYMCreationDate		08/05/2006
sl@0
   817
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   818
//! @SYMTestCaseDesc		Get max. volume. Set and check volume for the audio track.
sl@0
   819
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), MaxVolume(), SetVolumeL(), Volume(), Close()
sl@0
   820
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   821
//!				2. Open a video clip from file.
sl@0
   822
//!				3. Prepare the video clip.
sl@0
   823
//!				4. Get the maximum volume that the audio track can support.
sl@0
   824
//!				5. Sets the playback volume for the audio track of the video clip.
sl@0
   825
//!				6. Get the current playback volume for the audio track of the video clip.
sl@0
   826
//!				7. Close file.
sl@0
   827
//! @SYMTestStatus		Implemented
sl@0
   828
//! @SYMTestPriority		High
sl@0
   829
//! @SYMTestExpectedResults	The max. volume is queried and custom volume is set for the audio track.
sl@0
   830
//! @SYMTestType		CIT
sl@0
   831
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   832
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   833
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0025-001-NewL_command01
sl@0
   834
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0025-001-OpenFileL_command02
sl@0
   835
		OUTSTANDING
sl@0
   836
		COMMAND		VideoPlayerUtility1	MaxVolume		MM-MMF-VCLNT-PLYR-PublicAPI-0025-001-MaxVolume_command03
sl@0
   837
		COMMAND		VideoPlayerUtility1	SetVolumeL		MM-MMF-VCLNT-PLYR-PublicAPI-0025-001-SetVolumeL_command04
sl@0
   838
		COMMAND		VideoPlayerUtility1	Volume			MM-MMF-VCLNT-PLYR-PublicAPI-0025-001-Volume_command05
sl@0
   839
		COMMAND		VideoPlayerUtility1	Close
sl@0
   840
		COMMAND		VideoPlayerUtility1	~
sl@0
   841
	END_TEST_BLOCK
sl@0
   842
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0025
sl@0
   843
sl@0
   844
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0026
sl@0
   845
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0026
sl@0
   846
//! @SYMAPI			CVideoPlayerUtility
sl@0
   847
//! @SYMAuthor			Marek Sokk
sl@0
   848
//! @SYMCreationDate		08/05/2006
sl@0
   849
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   850
//! @SYMTestCaseDesc		Set and check the current playback balance for the audio track of the video clip.
sl@0
   851
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), Balance(), SetBalanceL(), Balance(), Close()
sl@0
   852
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   853
//!				2. Open a video clip from file.
sl@0
   854
//!				3. Prepare the video clip.
sl@0
   855
//!				4. Get the current balance setting for the audio track.
sl@0
   856
//!				5. Set the current playback balance.
sl@0
   857
//!				6. Get the current balance setting for the audio track.
sl@0
   858
//!				7. Close file.
sl@0
   859
//! @SYMTestStatus		Implemented
sl@0
   860
//! @SYMTestPriority		High
sl@0
   861
//! @SYMTestExpectedResults	The custom balance setting for the audio track is set.
sl@0
   862
//! @SYMTestType		CIT
sl@0
   863
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   864
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   865
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0026-001-NewL_command01
sl@0
   866
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0026-001-OpenFileL_command02
sl@0
   867
		OUTSTANDING
sl@0
   868
		COMMAND		VideoPlayerUtility1	Balance
sl@0
   869
		COMMAND		VideoPlayerUtility1	SetBalanceL		MM-MMF-VCLNT-PLYR-PublicAPI-0026-001-SetBalanceL_command04
sl@0
   870
		COMMAND		VideoPlayerUtility1	Balance			MM-MMF-VCLNT-PLYR-PublicAPI-0026-001-Balance_command05
sl@0
   871
		COMMAND		VideoPlayerUtility1	Close
sl@0
   872
		COMMAND		VideoPlayerUtility1	~
sl@0
   873
	END_TEST_BLOCK
sl@0
   874
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0026
sl@0
   875
sl@0
   876
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0027
sl@0
   877
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0027
sl@0
   878
//! @SYMAPI			CVideoPlayerUtility
sl@0
   879
//! @SYMAuthor			Marek Sokk
sl@0
   880
//! @SYMCreationDate		08/05/2006
sl@0
   881
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   882
//! @SYMTestCaseDesc		Set and check the rotation of the video image on the screen.
sl@0
   883
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), SetRotationL(), RotationL(), Close()
sl@0
   884
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   885
//!				2. Open a video clip from file.
sl@0
   886
//!				3. Prepare the video clip.
sl@0
   887
//!				4. Change the video image rotation on the screen.
sl@0
   888
//!				5. Get the rotation that is currently applied to the video image.
sl@0
   889
//!				6. Close file.
sl@0
   890
//! @SYMTestStatus		Implemented
sl@0
   891
//! @SYMTestPriority		High
sl@0
   892
//! @SYMTestExpectedResults	The custom rotation is applied to the video image.
sl@0
   893
//! @SYMTestType		CIT
sl@0
   894
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   895
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   896
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0027-001-NewL_command01
sl@0
   897
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0027-001-OpenFileL_command02
sl@0
   898
		OUTSTANDING
sl@0
   899
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   900
		OUTSTANDING
sl@0
   901
		COMMAND		VideoPlayerUtility1	SetRotationL	MM-MMF-VCLNT-PLYR-PublicAPI-0027-001-SetRotationL_command04
sl@0
   902
		COMMAND		VideoPlayerUtility1	RotationL		MM-MMF-VCLNT-PLYR-PublicAPI-0027-001-RotationL_command05
sl@0
   903
		COMMAND		VideoPlayerUtility1	Close
sl@0
   904
		COMMAND		VideoPlayerUtility1	~
sl@0
   905
	END_TEST_BLOCK
sl@0
   906
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0027
sl@0
   907
sl@0
   908
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0028
sl@0
   909
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0028
sl@0
   910
//! @SYMAPI			CVideoPlayerUtility
sl@0
   911
//! @SYMAuthor			Marek Sokk
sl@0
   912
//! @SYMCreationDate		08/05/2006
sl@0
   913
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   914
//! @SYMTestCaseDesc		Set and check the scale of the video image (percentage of its original size).
sl@0
   915
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), SetScaleFactorL(), GetScaleFactorL(), Close()
sl@0
   916
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   917
//!				2. Open a video clip from file.
sl@0
   918
//!				3. Prepare the video clip.
sl@0
   919
//!				4. Set the scale of the video image.
sl@0
   920
//!				5. Get the scale of the video image.
sl@0
   921
//!				6. Close file.
sl@0
   922
//! @SYMTestStatus		Implemented
sl@0
   923
//! @SYMTestPriority		High
sl@0
   924
//! @SYMTestExpectedResults	The custom scale is applied to the video image.
sl@0
   925
//! @SYMTestType		CIT
sl@0
   926
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   927
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   928
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0028-001-NewL_command01
sl@0
   929
		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0028-001-OpenFileL_command02
sl@0
   930
		OUTSTANDING
sl@0
   931
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   932
		OUTSTANDING
sl@0
   933
		COMMAND		VideoPlayerUtility1	SetScaleFactorL		MM-MMF-VCLNT-PLYR-PublicAPI-0028-001-SetScaleFactorL_command04
sl@0
   934
		COMMAND		VideoPlayerUtility1	GetScaleFactorL		MM-MMF-VCLNT-PLYR-PublicAPI-0028-001-GetScaleFactorL_command05
sl@0
   935
		COMMAND		VideoPlayerUtility1	Close
sl@0
   936
		COMMAND		VideoPlayerUtility1	~
sl@0
   937
	END_TEST_BLOCK
sl@0
   938
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0028
sl@0
   939
sl@0
   940
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0029
sl@0
   941
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0029
sl@0
   942
//! @SYMAPI			CVideoPlayerUtility
sl@0
   943
//! @SYMAuthor			Marek Sokk
sl@0
   944
//! @SYMCreationDate		08/05/2006
sl@0
   945
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   946
//! @SYMTestCaseDesc		Set and check a region of the video image to be displayed.
sl@0
   947
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), SetCropRegionL(), GetCropRegionL(), Close()
sl@0
   948
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   949
//!				2. Open a video clip from file.
sl@0
   950
//!				3. Prepare the video clip.
sl@0
   951
//!				4. Set a region of the video image to be displayed.
sl@0
   952
//!				5. Get the crop region currently applied to the image.
sl@0
   953
//!				6. Close file.
sl@0
   954
//! @SYMTestStatus		Implemented
sl@0
   955
//! @SYMTestPriority		High
sl@0
   956
//! @SYMTestExpectedResults	The custom region of the video image to be displayed is set.
sl@0
   957
//! @SYMTestType		CIT
sl@0
   958
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   959
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   960
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0029-001-NewL_command01
sl@0
   961
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0029-001-OpenFileL_command02
sl@0
   962
		OUTSTANDING
sl@0
   963
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   964
		OUTSTANDING
sl@0
   965
		COMMAND		VideoPlayerUtility1	SetCropRegionL	MM-MMF-VCLNT-PLYR-PublicAPI-0029-001-SetCropRegionL_command04
sl@0
   966
		COMMAND		VideoPlayerUtility1	GetCropRegionL	MM-MMF-VCLNT-PLYR-PublicAPI-0029-001-GetCropRegionL_command05
sl@0
   967
		COMMAND		VideoPlayerUtility1	Close
sl@0
   968
		COMMAND		VideoPlayerUtility1	~
sl@0
   969
	END_TEST_BLOCK
sl@0
   970
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0029
sl@0
   971
sl@0
   972
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0030
sl@0
   973
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0030
sl@0
   974
//! @SYMAPI			CVideoPlayerUtility
sl@0
   975
//! @SYMAuthor			Marek Sokk
sl@0
   976
//! @SYMCreationDate		08/05/2006
sl@0
   977
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
   978
//! @SYMTestCaseDesc		Get the number of meta data entries associated with this clip.
sl@0
   979
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), NumberOfMetaDataEntriesL(), Close()
sl@0
   980
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
   981
//!				2. Open a video clip from file.
sl@0
   982
//!				3. Prepare the video clip.
sl@0
   983
//!				4. Get the number of meta data entries.
sl@0
   984
//!				5. Close file.
sl@0
   985
//! @SYMTestStatus		Implemented
sl@0
   986
//! @SYMTestPriority		High
sl@0
   987
//! @SYMTestExpectedResults	The number of meta data entries is queried.
sl@0
   988
//! @SYMTestType		CIT
sl@0
   989
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
   990
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
   991
		COMMAND		VideoPlayerUtility1	NewL						MM-MMF-VCLNT-PLYR-PublicAPI-0030-001-NewL_command01
sl@0
   992
		COMMAND		VideoPlayerUtility1	OpenFileL					MM-MMF-VCLNT-PLYR-PublicAPI-0030-001-OpenFileL_command02
sl@0
   993
		OUTSTANDING
sl@0
   994
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
   995
		OUTSTANDING
sl@0
   996
		COMMAND		VideoPlayerUtility1	NumberOfMetaDataEntriesL	MM-MMF-VCLNT-PLYR-PublicAPI-0030-001-NumberOfMetaDataEntriesL_command04
sl@0
   997
		COMMAND		VideoPlayerUtility1	Close
sl@0
   998
		COMMAND		VideoPlayerUtility1	~
sl@0
   999
	END_TEST_BLOCK
sl@0
  1000
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0030
sl@0
  1001
sl@0
  1002
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0031
sl@0
  1003
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0031
sl@0
  1004
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1005
//! @SYMAuthor			Marek Sokk
sl@0
  1006
//! @SYMCreationDate		09/05/2006
sl@0
  1007
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1008
//! @SYMTestCaseDesc		Get a meta data entry from the clip.
sl@0
  1009
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), MetaDataEntryL(), Close()
sl@0
  1010
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1011
//!				2. Open a video clip from file.
sl@0
  1012
//!				3. Prepare the video clip.
sl@0
  1013
//!				4. Get a meta data entry.
sl@0
  1014
//!				5. Close file.
sl@0
  1015
//! @SYMTestStatus		Implemented
sl@0
  1016
//! @SYMTestPriority		High
sl@0
  1017
//! @SYMTestExpectedResults	The meta data entry is queried.
sl@0
  1018
//! @SYMTestType		CIT
sl@0
  1019
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1020
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1021
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0031-001-NewL_command01
sl@0
  1022
		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0031-001-OpenFileL_command02
sl@0
  1023
		OUTSTANDING
sl@0
  1024
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  1025
		OUTSTANDING
sl@0
  1026
		COMMAND		VideoPlayerUtility1	MetaDataEntryL		MM-MMF-VCLNT-PLYR-PublicAPI-0031-001-MetaDataEntryL_command04
sl@0
  1027
		COMMAND		VideoPlayerUtility1	Close
sl@0
  1028
		COMMAND		VideoPlayerUtility1	~
sl@0
  1029
	END_TEST_BLOCK
sl@0
  1030
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0031
sl@0
  1031
sl@0
  1032
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0032
sl@0
  1033
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0032
sl@0
  1034
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1035
//! @SYMAuthor			Marek Sokk
sl@0
  1036
//! @SYMCreationDate		09/05/2006
sl@0
  1037
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1038
//! @SYMTestCaseDesc		Get the controller implementation information associated with the current controller.
sl@0
  1039
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), ControllerImplementationInformationL(), Close()
sl@0
  1040
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1041
//!				2. Open a video clip from file.
sl@0
  1042
//!				3. Prepare the video clip.
sl@0
  1043
//!				4. Get the controller implementation information.
sl@0
  1044
//!				5. Close file.
sl@0
  1045
//! @SYMTestStatus		Implemented
sl@0
  1046
//! @SYMTestPriority		High
sl@0
  1047
//! @SYMTestExpectedResults	The controller implementation information is queried.
sl@0
  1048
//! @SYMTestType		CIT
sl@0
  1049
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1050
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1051
		COMMAND		VideoPlayerUtility1	NewL									MM-MMF-VCLNT-PLYR-PublicAPI-0032-001-NewL_command01
sl@0
  1052
		COMMAND		VideoPlayerUtility1	OpenFileL								MM-MMF-VCLNT-PLYR-PublicAPI-0032-001-OpenFileL_command02
sl@0
  1053
		OUTSTANDING
sl@0
  1054
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  1055
		OUTSTANDING
sl@0
  1056
		COMMAND		VideoPlayerUtility1	ControllerImplementationInformationL
sl@0
  1057
		COMMAND		VideoPlayerUtility1	Close
sl@0
  1058
		COMMAND		VideoPlayerUtility1	~
sl@0
  1059
	END_TEST_BLOCK
sl@0
  1060
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0032
sl@0
  1061
sl@0
  1062
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0033
sl@0
  1063
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0033
sl@0
  1064
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1065
//! @SYMAuthor			Marek Sokk
sl@0
  1066
//! @SYMCreationDate		09/05/2006
sl@0
  1067
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1068
//! @SYMTestCaseDesc		Send a synchronous custom command to the controller with respond (aDataFrom).
sl@0
  1069
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), CustomCommandSync(), Close()
sl@0
  1070
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1071
//!				2. Open a video clip from file.
sl@0
  1072
//!				3. Prepare the video clip.
sl@0
  1073
//!				4. Send a synchronous custom command.
sl@0
  1074
//!				5. Close file.
sl@0
  1075
//! @SYMTestStatus		Implemented
sl@0
  1076
//! @SYMTestPriority		High
sl@0
  1077
//! @SYMTestExpectedResults	CustomCommandSync will return the error KErrNotSupported.
sl@0
  1078
//! @SYMTestType		CIT
sl@0
  1079
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1080
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1081
		COMMAND			VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0033-001-NewL_command01
sl@0
  1082
		COMMAND			VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0033-001-OpenFileL_command02
sl@0
  1083
		OUTSTANDING
sl@0
  1084
		COMMAND			VideoPlayerUtility1	Prepare
sl@0
  1085
		OUTSTANDING
sl@0
  1086
		COMMAND	!Error=-5	VideoPlayerUtility1	CustomCommandSync	MM-MMF-VCLNT-PLYR-PublicAPI-0033-001-CustomCommandSync_command04
sl@0
  1087
		COMMAND			VideoPlayerUtility1	Close
sl@0
  1088
		COMMAND			VideoPlayerUtility1	~
sl@0
  1089
	END_TEST_BLOCK
sl@0
  1090
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0033
sl@0
  1091
sl@0
  1092
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0034
sl@0
  1093
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0034
sl@0
  1094
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1095
//! @SYMAuthor			Marek Sokk
sl@0
  1096
//! @SYMCreationDate		09/05/2006
sl@0
  1097
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1098
//! @SYMTestCaseDesc		Send a synchronous custom command to the controller without respond.
sl@0
  1099
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), CustomCommandSync(), Close()
sl@0
  1100
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1101
//!				2. Open a video clip from file.
sl@0
  1102
//!				3. Prepare the video clip.
sl@0
  1103
//!				4. Send a synchronous custom command.
sl@0
  1104
//!				5. Close file.
sl@0
  1105
//! @SYMTestStatus		Implemented
sl@0
  1106
//! @SYMTestPriority		High
sl@0
  1107
//! @SYMTestExpectedResults	CustomCommandSync will return the error KErrNotSupported.
sl@0
  1108
//! @SYMTestType		CIT
sl@0
  1109
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1110
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1111
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0034-001-NewL_command01
sl@0
  1112
		COMMAND			VideoPlayerUtility1	OpenFileL				MM-MMF-VCLNT-PLYR-PublicAPI-0034-001-OpenFileL_command02
sl@0
  1113
		OUTSTANDING
sl@0
  1114
		COMMAND			VideoPlayerUtility1	Prepare
sl@0
  1115
		OUTSTANDING
sl@0
  1116
		COMMAND	!Error=-5 VideoPlayerUtility1	CustomCommandSync	MM-MMF-VCLNT-PLYR-PublicAPI-0034-001-CustomCommandSync_command04
sl@0
  1117
		COMMAND			VideoPlayerUtility1	Close
sl@0
  1118
		COMMAND			VideoPlayerUtility1	~
sl@0
  1119
	END_TEST_BLOCK
sl@0
  1120
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0034
sl@0
  1121
sl@0
  1122
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0035
sl@0
  1123
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0035
sl@0
  1124
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1125
//! @SYMAuthor			Marek Sokk
sl@0
  1126
//! @SYMCreationDate		09/05/2006
sl@0
  1127
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1128
//! @SYMTestCaseDesc		Send an asynchronous custom command to the controller with respond (aDataFrom).
sl@0
  1129
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), CustomCommandAsync(), Close()
sl@0
  1130
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1131
//!				2. Open a video clip from file.
sl@0
  1132
//!				3. Prepare the video clip.
sl@0
  1133
//!				4. Send an asynchronous custom command.
sl@0
  1134
//!				5. Close file.
sl@0
  1135
//! @SYMTestStatus		Implemented
sl@0
  1136
//! @SYMTestPriority		High
sl@0
  1137
//! @SYMTestExpectedResults	CustomCommandAsync will return the error KErrNotSupported.
sl@0
  1138
//! @SYMTestType		CIT
sl@0
  1139
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1140
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1141
		COMMAND			VideoPlayerUtility1	NewL						MM-MMF-VCLNT-PLYR-PublicAPI-0035-001-NewL_command01
sl@0
  1142
		COMMAND			VideoPlayerUtility1	OpenFileL					MM-MMF-VCLNT-PLYR-PublicAPI-0035-001-OpenFileL_command02
sl@0
  1143
		OUTSTANDING
sl@0
  1144
		COMMAND			VideoPlayerUtility1	Prepare
sl@0
  1145
		OUTSTANDING
sl@0
  1146
		COMMAND	!AsyncError=-5	VideoPlayerUtility1	CustomCommandAsync	MM-MMF-VCLNT-PLYR-PublicAPI-0035-001-CustomCommandAsync_command04
sl@0
  1147
		OUTSTANDING
sl@0
  1148
		COMMAND			VideoPlayerUtility1	Close
sl@0
  1149
		COMMAND			VideoPlayerUtility1	~
sl@0
  1150
	END_TEST_BLOCK
sl@0
  1151
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0035
sl@0
  1152
sl@0
  1153
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0036
sl@0
  1154
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0036
sl@0
  1155
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1156
//! @SYMAuthor			Marek Sokk
sl@0
  1157
//! @SYMCreationDate		09/05/2006
sl@0
  1158
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1159
//! @SYMTestCaseDesc		Send an asynchronous custom command to the controller without respond.
sl@0
  1160
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), CustomCommandAsync(), Close()
sl@0
  1161
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1162
//!				2. Open a video clip from file.
sl@0
  1163
//!				3. Prepare the video clip.
sl@0
  1164
//!				4. Send an asynchronous custom command.
sl@0
  1165
//!				5. Close file.
sl@0
  1166
//! @SYMTestStatus		Implemented
sl@0
  1167
//! @SYMTestPriority		High
sl@0
  1168
//! @SYMTestExpectedResults	CustomCommandAsync will return the error KErrNotSupported.
sl@0
  1169
//! @SYMTestType		CIT
sl@0
  1170
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1171
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1172
		COMMAND			VideoPlayerUtility1	NewL						MM-MMF-VCLNT-PLYR-PublicAPI-0036-001-NewL_command01
sl@0
  1173
		COMMAND			VideoPlayerUtility1	OpenFileL					MM-MMF-VCLNT-PLYR-PublicAPI-0036-001-OpenFileL_command02
sl@0
  1174
		OUTSTANDING
sl@0
  1175
		COMMAND			VideoPlayerUtility1	Prepare
sl@0
  1176
		OUTSTANDING
sl@0
  1177
		COMMAND	!AsyncError=-5	VideoPlayerUtility1	CustomCommandAsync	MM-MMF-VCLNT-PLYR-PublicAPI-0036-001-CustomCommandAsync_command04
sl@0
  1178
		OUTSTANDING
sl@0
  1179
		COMMAND			VideoPlayerUtility1	Close
sl@0
  1180
		COMMAND			VideoPlayerUtility1	~
sl@0
  1181
	END_TEST_BLOCK
sl@0
  1182
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0036
sl@0
  1183
sl@0
  1184
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0037
sl@0
  1185
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0037
sl@0
  1186
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1187
//! @SYMAuthor			Marek Sokk
sl@0
  1188
//! @SYMCreationDate		09/05/2006
sl@0
  1189
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1190
//! @SYMTestCaseDesc		Get a controller's DRM custom command implementation.
sl@0
  1191
//!				Uses API elements: NewL(), OpenFileL(), GetDRMCustomCommand(), Close()
sl@0
  1192
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1193
//!				2. Open a video clip from file.
sl@0
  1194
//!				3. Get a controller's DRM custom command implementation.
sl@0
  1195
//!				4. Close file.
sl@0
  1196
//! @SYMTestStatus		Implemented
sl@0
  1197
//! @SYMTestPriority		High
sl@0
  1198
//! @SYMTestExpectedResults	The controller's DRM custom command implementation is queried.
sl@0
  1199
//! @SYMTestType		CIT
sl@0
  1200
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1201
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1202
		COMMAND		VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0037-001-NewL_command01
sl@0
  1203
		COMMAND		VideoPlayerUtility1	OpenFileL				MM-MMF-VCLNT-PLYR-PublicAPI-0037-001-OpenFileL_command02
sl@0
  1204
		OUTSTANDING
sl@0
  1205
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  1206
		OUTSTANDING
sl@0
  1207
		COMMAND		VideoPlayerUtility1	GetDRMCustomCommand
sl@0
  1208
		COMMAND		VideoPlayerUtility1	Close
sl@0
  1209
		COMMAND		VideoPlayerUtility1	~
sl@0
  1210
	END_TEST_BLOCK
sl@0
  1211
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0037
sl@0
  1212
sl@0
  1213
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0038
sl@0
  1214
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0038
sl@0
  1215
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1216
//! @SYMAuthor			Marek Sokk
sl@0
  1217
//! @SYMCreationDate		09/05/2006
sl@0
  1218
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1219
//! @SYMTestCaseDesc		Stop the video player from using direct screen access (DSA).
sl@0
  1220
//!				Uses API elements: NewL(), StopDirectScreenAccessL()
sl@0
  1221
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1222
//!				2. Stop the video player from using direct screen access.
sl@0
  1223
//! @SYMTestStatus		Implemented
sl@0
  1224
//! @SYMTestPriority		High
sl@0
  1225
//! @SYMTestExpectedResults	The video player is not using direct screen access anymore.
sl@0
  1226
//! @SYMTestType		CIT
sl@0
  1227
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1228
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1229
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0038-001-NewL_command01
sl@0
  1230
		COMMAND		VideoPlayerUtility1	StopDirectScreenAccessL
sl@0
  1231
	END_TEST_BLOCK
sl@0
  1232
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0038
sl@0
  1233
sl@0
  1234
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0039
sl@0
  1235
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0039
sl@0
  1236
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1237
//! @SYMAuthor			Marek Sokk
sl@0
  1238
//! @SYMCreationDate		09/05/2006
sl@0
  1239
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1240
//! @SYMTestCaseDesc		Start the video player to use direct screen access (DSA).
sl@0
  1241
//!				Uses API elements: NewL(), StopDirectScreenAccessL(), StartDirectScreenAccessL()
sl@0
  1242
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1243
//!				2. Stop the video player from using direct screen access.
sl@0
  1244
//!				3. Start the video player to use direct screen access.
sl@0
  1245
//! @SYMTestStatus		Implemented
sl@0
  1246
//! @SYMTestPriority		High
sl@0
  1247
//! @SYMTestExpectedResults	The video player is using direct screen access.
sl@0
  1248
//! @SYMTestType		CIT
sl@0
  1249
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1250
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1251
		COMMAND		VideoPlayerUtility1	NewL						MM-MMF-VCLNT-PLYR-PublicAPI-0039-001-NewL_command01
sl@0
  1252
		COMMAND		VideoPlayerUtility1	StopDirectScreenAccessL
sl@0
  1253
		COMMAND		VideoPlayerUtility1	StartDirectScreenAccessL
sl@0
  1254
	END_TEST_BLOCK
sl@0
  1255
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0039
sl@0
  1256
sl@0
  1257
//////////////////******************************************************//////////////////////////
sl@0
  1258
//
sl@0
  1259
//			Phase 2 (negative tests) are beginning here
sl@0
  1260
//
sl@0
  1261
/////////////////******************************************************///////////////////////////
sl@0
  1262
sl@0
  1263
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0040
sl@0
  1264
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0040
sl@0
  1265
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1266
//! @SYMAuthor			Marek Sokk
sl@0
  1267
//! @SYMCreationDate		09/05/2006
sl@0
  1268
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1269
//! @SYMTestCaseDesc		Construct a new instance of the video player utility with aPriority lower than EMdaPriorityMin.
sl@0
  1270
//!				Uses API elements: NewL()
sl@0
  1271
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1272
//! @SYMTestStatus		Implemented
sl@0
  1273
//! @SYMTestPriority		High
sl@0
  1274
//! @SYMTestExpectedResults	Returns no errors. Object is created
sl@0
  1275
//! @SYMTestType		CIT
sl@0
  1276
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1277
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1278
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0040-001-NewL_command01
sl@0
  1279
		COMMAND		VideoPlayerUtility1	~
sl@0
  1280
	END_TEST_BLOCK
sl@0
  1281
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0040
sl@0
  1282
sl@0
  1283
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0041
sl@0
  1284
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0041
sl@0
  1285
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1286
//! @SYMAuthor			Marek Sokk
sl@0
  1287
//! @SYMCreationDate		09/05/2006
sl@0
  1288
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1289
//! @SYMTestCaseDesc		Construct a new instance of the video player utility with aPriority hihger than EMdaPriorityMax.
sl@0
  1290
//!				Uses API elements: NewL()
sl@0
  1291
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1292
//! @SYMTestStatus		Implemented
sl@0
  1293
//! @SYMTestPriority		High
sl@0
  1294
//! @SYMTestExpectedResults	Returns no errors. Object is created
sl@0
  1295
//! @SYMTestType		CIT
sl@0
  1296
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1297
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1298
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0041-001-NewL_command01
sl@0
  1299
		COMMAND		VideoPlayerUtility1	~
sl@0
  1300
	END_TEST_BLOCK
sl@0
  1301
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0041
sl@0
  1302
sl@0
  1303
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0042
sl@0
  1304
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0042
sl@0
  1305
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1306
//! @SYMAuthor			Marek Sokk
sl@0
  1307
//! @SYMCreationDate		09/05/2006
sl@0
  1308
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1309
//! @SYMTestCaseDesc		Construct a new instance of the video player utility with invalid window server session id.
sl@0
  1310
//!				Uses API elements: NewL()
sl@0
  1311
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1312
//! @SYMTestStatus		Implemented
sl@0
  1313
//! @SYMTestPriority		High
sl@0
  1314
//! @SYMTestExpectedResults	KERN-EXEC panic (3) is raised because of dereferencing NULL
sl@0
  1315
//! @SYMTestType		CIT
sl@0
  1316
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1317
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1318
//! 		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0042-001-NewL_command01
sl@0
  1319
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  1320
//! 	END_TEST_BLOCK	!PanicCode=3
sl@0
  1321
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0042
sl@0
  1322
sl@0
  1323
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0043
sl@0
  1324
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0043
sl@0
  1325
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1326
//! @SYMAuthor			Marek Sokk
sl@0
  1327
//! @SYMCreationDate		09/05/2006
sl@0
  1328
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1329
//! @SYMTestCaseDesc		Construct a new instance of the video player utility with invalid software device screen.
sl@0
  1330
//!				Uses API elements: NewL()
sl@0
  1331
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1332
//! @SYMTestStatus		Implemented
sl@0
  1333
//! @SYMTestPriority		High
sl@0
  1334
//! @SYMTestExpectedResults	KERN-EXEC panic (3) is raised because of dereferencing NULL
sl@0
  1335
//! @SYMTestType		CIT
sl@0
  1336
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1337
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1338
//! 		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0043-001-NewL_command01
sl@0
  1339
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  1340
//! 	END_TEST_BLOCK	!PanicCode=3
sl@0
  1341
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0043
sl@0
  1342
sl@0
  1343
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0044
sl@0
  1344
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0044
sl@0
  1345
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1346
//! @SYMAuthor			Marek Sokk
sl@0
  1347
//! @SYMCreationDate		09/05/2006
sl@0
  1348
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1349
//! @SYMTestCaseDesc		Construct a new instance of the video player utility with invalid display window.
sl@0
  1350
//!				Uses API elements: NewL()
sl@0
  1351
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1352
//! @SYMTestStatus		Implemented
sl@0
  1353
//! @SYMTestPriority		High
sl@0
  1354
//! @SYMTestExpectedResults	WSERV panic (6) is raised because of invalid window handle.
sl@0
  1355
//! @SYMTestType		CIT
sl@0
  1356
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1357
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1358
//! 		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0044-001-NewL_command01
sl@0
  1359
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  1360
//! 	END_TEST_BLOCK	!PanicCode=6
sl@0
  1361
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0044
sl@0
  1362
sl@0
  1363
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0045
sl@0
  1364
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0045
sl@0
  1365
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1366
//! @SYMAuthor			Marek Sokk
sl@0
  1367
//! @SYMCreationDate		09/05/2006
sl@0
  1368
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1369
//! @SYMTestCaseDesc		Construct a new instance of the video player utility with negative dimensions of the display window.
sl@0
  1370
//!				Uses API elements: NewL()
sl@0
  1371
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1372
//! @SYMTestStatus		Implemented
sl@0
  1373
//! @SYMTestPriority		High
sl@0
  1374
//! @SYMTestExpectedResults	Returns no errors. Object is created
sl@0
  1375
//! @SYMTestType		CIT
sl@0
  1376
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1377
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1378
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0045-001-NewL_command01
sl@0
  1379
		COMMAND		VideoPlayerUtility1	~
sl@0
  1380
	END_TEST_BLOCK
sl@0
  1381
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0045
sl@0
  1382
sl@0
  1383
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0046
sl@0
  1384
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0046
sl@0
  1385
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1386
//! @SYMAuthor			Marek Sokk
sl@0
  1387
//! @SYMCreationDate		09/05/2006
sl@0
  1388
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1389
//! @SYMTestCaseDesc		Construct a new instance of the video player utility with negative dimensions area of the video clip to display.
sl@0
  1390
//!				Uses API elements: NewL()
sl@0
  1391
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1392
//! @SYMTestStatus		Implemented
sl@0
  1393
//! @SYMTestPriority		High
sl@0
  1394
//! @SYMTestExpectedResults	Returns no errors. Object is created
sl@0
  1395
//! @SYMTestType		CIT
sl@0
  1396
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1397
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1398
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0046-001-NewL_command01
sl@0
  1399
		COMMAND		VideoPlayerUtility1	~
sl@0
  1400
	END_TEST_BLOCK
sl@0
  1401
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0046
sl@0
  1402
sl@0
  1403
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0047
sl@0
  1404
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0047
sl@0
  1405
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1406
//! @SYMAuthor			Marek Sokk
sl@0
  1407
//! @SYMCreationDate		09/05/2006
sl@0
  1408
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1409
//! @SYMTestCaseDesc		Open nonexisting video clip from a file.
sl@0
  1410
//!				Uses API elements: NewL(), OpenFileL()
sl@0
  1411
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1412
//!				2. Call OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null())
sl@0
  1413
//! @SYMTestStatus		Implemented
sl@0
  1414
//! @SYMTestPriority		High
sl@0
  1415
//! @SYMTestExpectedResults	OpenFileL() will return the error KErrNotFound.
sl@0
  1416
//! @SYMTestType		CIT
sl@0
  1417
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1418
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1419
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0047-001-NewL_command01
sl@0
  1420
		COMMAND	!AsyncError=-1	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0047-001-OpenFileL_command02
sl@0
  1421
		OUTSTANDING
sl@0
  1422
		COMMAND			VideoPlayerUtility1	~
sl@0
  1423
	END_TEST_BLOCK
sl@0
  1424
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0047
sl@0
  1425
sl@0
  1426
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0048
sl@0
  1427
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0048
sl@0
  1428
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1429
//! @SYMAuthor			Marek Sokk
sl@0
  1430
//! @SYMCreationDate		09/05/2006
sl@0
  1431
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1432
//! @SYMTestCaseDesc		Open corrupted video clip from a file.
sl@0
  1433
//!				Uses API elements: NewL(), OpenFileL()
sl@0
  1434
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1435
//!				2. Call OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null())
sl@0
  1436
//! @SYMTestStatus		Implemented
sl@0
  1437
//! @SYMTestPriority		High
sl@0
  1438
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20)
sl@0
  1439
//! @SYMTestType		CIT
sl@0
  1440
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1441
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1442
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0048-001-NewL_command01
sl@0
  1443
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0048-001-OpenFileL_command02
sl@0
  1444
		OUTSTANDING
sl@0
  1445
		COMMAND			VideoPlayerUtility1	~
sl@0
  1446
	END_TEST_BLOCK
sl@0
  1447
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0048
sl@0
  1448
sl@0
  1449
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0049
sl@0
  1450
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0049
sl@0
  1451
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1452
//! @SYMAuthor			Marek Sokk
sl@0
  1453
//! @SYMCreationDate		09/05/2006
sl@0
  1454
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1455
//! @SYMTestCaseDesc		Open corrupted video clip from a file and prepare it.
sl@0
  1456
//!				Uses API elements: NewL(), OpenFileL(), Prepare()
sl@0
  1457
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1458
//!				2. Call OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null())
sl@0
  1459
//!				3. Call Prepare().
sl@0
  1460
//! @SYMTestStatus		Implemented
sl@0
  1461
//! @SYMTestPriority		High
sl@0
  1462
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20) and Prepare() returns KErrNotReady(-18);
sl@0
  1463
//! @SYMTestType		CIT
sl@0
  1464
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1465
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1466
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0049-001-NewL_command01
sl@0
  1467
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0049-001-OpenFileL_command02
sl@0
  1468
		OUTSTANDING
sl@0
  1469
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  1470
		OUTSTANDING
sl@0
  1471
		COMMAND			VideoPlayerUtility1	~
sl@0
  1472
	END_TEST_BLOCK
sl@0
  1473
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0049
sl@0
  1474
sl@0
  1475
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0050
sl@0
  1476
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0050
sl@0
  1477
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1478
//! @SYMAuthor			Marek Sokk
sl@0
  1479
//! @SYMCreationDate		09/05/2006
sl@0
  1480
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1481
//! @SYMTestCaseDesc		Open corrupted video clip from a file and play it.
sl@0
  1482
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), Play()
sl@0
  1483
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1484
//!				2. Call OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null())
sl@0
  1485
//!				3. Prepare the video clip.
sl@0
  1486
//!				4. Start playing.
sl@0
  1487
//! @SYMTestStatus		Implemented
sl@0
  1488
//! @SYMTestPriority		High
sl@0
  1489
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20) and Prepare() and Play() returns KErrNotReady(-18);
sl@0
  1490
//! @SYMTestType		CIT
sl@0
  1491
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1492
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1493
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0050-001-NewL_command01
sl@0
  1494
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0050-001-OpenFileL_command02
sl@0
  1495
		OUTSTANDING
sl@0
  1496
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  1497
		OUTSTANDING
sl@0
  1498
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Play
sl@0
  1499
		OUTSTANDING
sl@0
  1500
		COMMAND			VideoPlayerUtility1	~
sl@0
  1501
	END_TEST_BLOCK
sl@0
  1502
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0050
sl@0
  1503
sl@0
  1504
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0051
sl@0
  1505
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0051
sl@0
  1506
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1507
//! @SYMAuthor			Marek Sokk
sl@0
  1508
//! @SYMCreationDate		09/05/2006
sl@0
  1509
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1510
//! @SYMTestCaseDesc		Open video clip from a file with invalid controller id.
sl@0
  1511
//!				Uses API elements: NewL(), OpenFileL()
sl@0
  1512
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1513
//!				2. Call OpenFileL(const TDesC aFileName, TUid aControllerUid=TUid::Null())
sl@0
  1514
//! @SYMTestStatus		Implemented
sl@0
  1515
//! @SYMTestPriority		High
sl@0
  1516
//! @SYMTestExpectedResults	OpenFileL() will return the error KErrNotFound.
sl@0
  1517
//! @SYMTestType		CIT
sl@0
  1518
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1519
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1520
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0051-001-NewL_command01
sl@0
  1521
		COMMAND	!AsyncError=-1	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0051-001-OpenFileL_command02
sl@0
  1522
		OUTSTANDING
sl@0
  1523
		COMMAND			VideoPlayerUtility1	~
sl@0
  1524
	END_TEST_BLOCK
sl@0
  1525
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0051
sl@0
  1526
sl@0
  1527
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0052
sl@0
  1528
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0052
sl@0
  1529
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1530
//! @SYMAuthor			Marek Sokk
sl@0
  1531
//! @SYMCreationDate		09/05/2006
sl@0
  1532
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1533
//! @SYMTestCaseDesc		Open video clip from a file with not initialised RFile object.
sl@0
  1534
//!				Uses API elements: NewL(), OpenFileL(), Close()
sl@0
  1535
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1536
//!				2. Call OpenFileL(const RFile aFileName, TUid aControllerUid=TUid::Null())
sl@0
  1537
//!				3. Close file.
sl@0
  1538
//! @SYMTestStatus		Implemented
sl@0
  1539
//! @SYMTestPriority		High
sl@0
  1540
//! @SYMTestExpectedResults	OpenFileL will raise panic.
sl@0
  1541
//! @SYMTestType		CIT
sl@0
  1542
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1543
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1544
//! 		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0052-001-NewL_command01
sl@0
  1545
//! 		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0052-001-OpenFileL_command02
sl@0
  1546
//! 		OUTSTANDING
sl@0
  1547
//! 		COMMAND		VideoPlayerUtility1	Close
sl@0
  1548
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  1549
//! 	END_TEST_BLOCK	!PanicCode=0
sl@0
  1550
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0052
sl@0
  1551
sl@0
  1552
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0053
sl@0
  1553
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0053
sl@0
  1554
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1555
//! @SYMAuthor			Marek Sokk
sl@0
  1556
//! @SYMCreationDate		09/05/2006
sl@0
  1557
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1558
//! @SYMTestCaseDesc		Open corrupted video clip from a file using RFile.
sl@0
  1559
//!				Uses API elements: NewL(), OpenFileL(), Close()
sl@0
  1560
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1561
//!				2. Call OpenFileL(const RFile aFileName, TUid aControllerUid=TUid::Null()).
sl@0
  1562
//!				3. Close file.
sl@0
  1563
//! @SYMTestStatus		Implemented
sl@0
  1564
//! @SYMTestPriority		High
sl@0
  1565
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20)
sl@0
  1566
//! @SYMTestType		CIT
sl@0
  1567
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1568
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1569
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0053-001-NewL_command01
sl@0
  1570
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0053-001-OpenFileL_command02
sl@0
  1571
		OUTSTANDING
sl@0
  1572
		COMMAND			VideoPlayerUtility1	Close
sl@0
  1573
		COMMAND			VideoPlayerUtility1	~
sl@0
  1574
	END_TEST_BLOCK
sl@0
  1575
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0053
sl@0
  1576
sl@0
  1577
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0054
sl@0
  1578
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0054
sl@0
  1579
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1580
//! @SYMAuthor			Marek Sokk
sl@0
  1581
//! @SYMCreationDate		09/05/2006
sl@0
  1582
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1583
//! @SYMTestCaseDesc		Open video clip from a file with invalid controller id using RFile.
sl@0
  1584
//!				Uses API elements: NewL(), OpenFileL(), Close()
sl@0
  1585
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1586
//!				2. Call OpenFileL(const RFile aFileName, TUid aControllerUid=TUid::Null()).
sl@0
  1587
//!				3. Close file.
sl@0
  1588
//! @SYMTestStatus		Implemented
sl@0
  1589
//! @SYMTestPriority		High
sl@0
  1590
//! @SYMTestExpectedResults	OpenFileL() will return the error KErrNotFound.
sl@0
  1591
//! @SYMTestType		CIT
sl@0
  1592
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1593
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1594
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0054-001-NewL_command01
sl@0
  1595
		COMMAND	!AsyncError=-1	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0054-001-OpenFileL_command02
sl@0
  1596
		OUTSTANDING
sl@0
  1597
		COMMAND			VideoPlayerUtility1	Close
sl@0
  1598
		COMMAND			VideoPlayerUtility1	~
sl@0
  1599
	END_TEST_BLOCK
sl@0
  1600
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0054
sl@0
  1601
sl@0
  1602
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0055
sl@0
  1603
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0055
sl@0
  1604
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1605
//! @SYMAuthor			Marek Sokk
sl@0
  1606
//! @SYMCreationDate		09/05/2006
sl@0
  1607
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1608
//! @SYMTestCaseDesc		Open nonexisting video clip from a file using TMMSource.
sl@0
  1609
//!				Uses API elements: NewL(), OpenFileL(), Close()
sl@0
  1610
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1611
//!				2. Call OpenFileL(const TMMSource aSource, TUid aControllerUid=TUid::Null()).
sl@0
  1612
//!				3. Close file.
sl@0
  1613
//! @SYMTestStatus		Implemented
sl@0
  1614
//! @SYMTestPriority		High
sl@0
  1615
//! @SYMTestExpectedResults	OpenFileL() will return the error KErrNotFound.
sl@0
  1616
//! @SYMTestType		CIT
sl@0
  1617
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1618
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1619
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0055-001-NewL_command01
sl@0
  1620
		COMMAND	!AsyncError=-1	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0055-001-OpenFileL_command02
sl@0
  1621
		OUTSTANDING
sl@0
  1622
		COMMAND			VideoPlayerUtility1	Close
sl@0
  1623
		COMMAND			VideoPlayerUtility1	~
sl@0
  1624
	END_TEST_BLOCK
sl@0
  1625
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0055
sl@0
  1626
sl@0
  1627
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0056
sl@0
  1628
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0056
sl@0
  1629
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1630
//! @SYMAuthor			Marek Sokk
sl@0
  1631
//! @SYMCreationDate		09/05/2006
sl@0
  1632
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1633
//! @SYMTestCaseDesc		Open corrupted video clip from a file using TMMSource.
sl@0
  1634
//!				Uses API elements: NewL(), OpenFileL(), Close()
sl@0
  1635
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1636
//!				2. Call OpenFileL(const TMMSource aSource, TUid aControllerUid=TUid::Null()).
sl@0
  1637
//!				3. Close file.
sl@0
  1638
//! @SYMTestStatus		Implemented
sl@0
  1639
//! @SYMTestPriority		High
sl@0
  1640
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20)
sl@0
  1641
//! @SYMTestType		CIT
sl@0
  1642
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1643
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1644
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0056-001-NewL_command01
sl@0
  1645
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0056-001-OpenFileL_command02
sl@0
  1646
		OUTSTANDING
sl@0
  1647
		COMMAND			VideoPlayerUtility1	Close
sl@0
  1648
		COMMAND			VideoPlayerUtility1	~
sl@0
  1649
	END_TEST_BLOCK
sl@0
  1650
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0056
sl@0
  1651
sl@0
  1652
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0057
sl@0
  1653
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0057
sl@0
  1654
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1655
//! @SYMAuthor			Marek Sokk
sl@0
  1656
//! @SYMCreationDate		09/05/2006
sl@0
  1657
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1658
//! @SYMTestCaseDesc		Open video clip from a file with invalid controller id using TMMSource.
sl@0
  1659
//!				Uses API elements: NewL(), OpenFileL(), Close()
sl@0
  1660
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1661
//!				2. Call OpenFileL(const TMMSource aSource, TUid aControllerUid=TUid::Null()).
sl@0
  1662
//!				3. Close file.
sl@0
  1663
//! @SYMTestStatus		Implemented
sl@0
  1664
//! @SYMTestPriority		High
sl@0
  1665
//! @SYMTestExpectedResults	OpenFileL() will return the error KErrNotFound.
sl@0
  1666
//! @SYMTestType		CIT
sl@0
  1667
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1668
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1669
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0057-001-NewL_command01
sl@0
  1670
		COMMAND	!AsyncError=-1	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0057-001-OpenFileL_command02
sl@0
  1671
		OUTSTANDING
sl@0
  1672
		COMMAND			VideoPlayerUtility1	Close
sl@0
  1673
		COMMAND			VideoPlayerUtility1	~
sl@0
  1674
	END_TEST_BLOCK
sl@0
  1675
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0057
sl@0
  1676
sl@0
  1677
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0058
sl@0
  1678
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0058
sl@0
  1679
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1680
//! @SYMAuthor			Marek Sokk
sl@0
  1681
//! @SYMCreationDate		09/05/2006
sl@0
  1682
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1683
//! @SYMTestCaseDesc		Open an corrupted video clip contained in a descriptor.
sl@0
  1684
//!				Uses API elements: NewL(), OpenDesL(), Close()
sl@0
  1685
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1686
//!				2. Open a video clip contained in a descriptor.
sl@0
  1687
//!				3. Close file.
sl@0
  1688
//! @SYMTestStatus		Implemented
sl@0
  1689
//! @SYMTestPriority		High
sl@0
  1690
//! @SYMTestExpectedResults	Returns no errors. File is opened.
sl@0
  1691
//! @SYMTestType		CIT
sl@0
  1692
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1693
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1694
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0058-001-NewL_command01
sl@0
  1695
		COMMAND		VideoPlayerUtility1	OpenDesL	MM-MMF-VCLNT-PLYR-PublicAPI-0058-001-OpenDesL_command02
sl@0
  1696
		OUTSTANDING
sl@0
  1697
		COMMAND		VideoPlayerUtility1	Close
sl@0
  1698
		COMMAND		VideoPlayerUtility1	~
sl@0
  1699
	END_TEST_BLOCK
sl@0
  1700
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0058
sl@0
  1701
sl@0
  1702
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0059
sl@0
  1703
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0059
sl@0
  1704
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1705
//! @SYMAuthor			Marek Sokk
sl@0
  1706
//! @SYMCreationDate		09/05/2006
sl@0
  1707
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1708
//! @SYMTestCaseDesc		Open a video clip contained in a descriptor with invalid controller id.
sl@0
  1709
//!				Uses API elements: NewL(), OpenDesL()
sl@0
  1710
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1711
//!				2. Open a video clip contained in a descriptor.
sl@0
  1712
//! @SYMTestStatus		Implemented
sl@0
  1713
//! @SYMTestPriority		High
sl@0
  1714
//! @SYMTestExpectedResults	OpenDesL() will return the error KErrNotFound.
sl@0
  1715
//! @SYMTestType		CIT
sl@0
  1716
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1717
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1718
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0059-001-NewL_command01
sl@0
  1719
		COMMAND	!AsyncError=-1	VideoPlayerUtility1	OpenDesL	MM-MMF-VCLNT-PLYR-PublicAPI-0059-001-OpenDesL_command02
sl@0
  1720
		OUTSTANDING
sl@0
  1721
		COMMAND			VideoPlayerUtility1	~
sl@0
  1722
	END_TEST_BLOCK
sl@0
  1723
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0059
sl@0
  1724
sl@0
  1725
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0060
sl@0
  1726
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0060
sl@0
  1727
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1728
//! @SYMAuthor			Marek Sokk
sl@0
  1729
//! @SYMCreationDate		09/05/2006
sl@0
  1730
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1731
//! @SYMTestCaseDesc		Open a video clip from a wrong URL.
sl@0
  1732
//!				Uses API elements: NewL(), OpenUrlL()
sl@0
  1733
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1734
//!				2. Open a video clip from a URL.
sl@0
  1735
//! @SYMTestStatus		Implemented
sl@0
  1736
//! @SYMTestPriority		High
sl@0
  1737
//! @SYMTestExpectedResults	OpenUrlL() will return the error KErrNotFound.
sl@0
  1738
//! @SYMTestType		CIT
sl@0
  1739
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1740
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1741
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0060-001-NewL_command01
sl@0
  1742
		COMMAND	!AsyncError=-1	VideoPlayerUtility1	OpenUrlL	MM-MMF-VCLNT-PLYR-PublicAPI-0060-001-OpenUrlL_command02
sl@0
  1743
		OUTSTANDING
sl@0
  1744
		COMMAND			VideoPlayerUtility1	Prepare
sl@0
  1745
		OUTSTANDING
sl@0
  1746
		COMMAND			VideoPlayerUtility1	Play
sl@0
  1747
		OUTSTANDING
sl@0
  1748
		COMMAND			VideoPlayerUtility1	Close
sl@0
  1749
		COMMAND			VideoPlayerUtility1	~
sl@0
  1750
	END_TEST_BLOCK
sl@0
  1751
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0060
sl@0
  1752
sl@0
  1753
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0061
sl@0
  1754
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0061
sl@0
  1755
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1756
//! @SYMAuthor			Marek Sokk
sl@0
  1757
//! @SYMCreationDate		09/05/2006
sl@0
  1758
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1759
//! @SYMTestCaseDesc		Open corrupted video clip from a URL.
sl@0
  1760
//!				Uses API elements: NewL(), OpenUrlL(), Close()
sl@0
  1761
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1762
//!				2. Open a video clip from a URL.
sl@0
  1763
//!				3. Close file.
sl@0
  1764
//! @SYMTestStatus		Implemented
sl@0
  1765
//! @SYMTestPriority		High
sl@0
  1766
//! @SYMTestExpectedResults	Returns no errors. File is opened.
sl@0
  1767
//! @SYMTestType		CIT
sl@0
  1768
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1769
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1770
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0061-001-NewL_command01
sl@0
  1771
		COMMAND		VideoPlayerUtility1	OpenUrlL	MM-MMF-VCLNT-PLYR-PublicAPI-0061-001-OpenUrlL_command02
sl@0
  1772
		OUTSTANDING
sl@0
  1773
		COMMAND		VideoPlayerUtility1	~
sl@0
  1774
	END_TEST_BLOCK
sl@0
  1775
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0061
sl@0
  1776
sl@0
  1777
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0062
sl@0
  1778
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0062
sl@0
  1779
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1780
//! @SYMAuthor			Marek Sokk
sl@0
  1781
//! @SYMCreationDate		09/05/2006
sl@0
  1782
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1783
//! @SYMTestCaseDesc		Open a video clip from a URL with invalid controller id.
sl@0
  1784
//!				Uses API elements: NewL(), OpenUrlL()
sl@0
  1785
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1786
//!				2. Open a video clip from a URL.
sl@0
  1787
//! @SYMTestStatus		Implemented
sl@0
  1788
//! @SYMTestPriority		High
sl@0
  1789
//! @SYMTestExpectedResults	OpenUrlL() will return the error KErrNotFound.
sl@0
  1790
//! @SYMTestType		CIT
sl@0
  1791
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1792
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1793
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0062-001-NewL_command01
sl@0
  1794
		COMMAND	!AsyncError=-1	VideoPlayerUtility1	OpenUrlL	MM-MMF-VCLNT-PLYR-PublicAPI-0062-001-OpenUrlL_command02
sl@0
  1795
		OUTSTANDING
sl@0
  1796
		COMMAND			VideoPlayerUtility1	~
sl@0
  1797
	END_TEST_BLOCK
sl@0
  1798
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0062
sl@0
  1799
sl@0
  1800
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0063
sl@0
  1801
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0063
sl@0
  1802
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1803
//! @SYMAuthor			Marek Sokk
sl@0
  1804
//! @SYMCreationDate		15/05/2006
sl@0
  1805
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1806
//! @SYMTestCaseDesc		Open a video clip from a URL with invalid internet access point.
sl@0
  1807
//!				Uses API elements: NewL(), OpenUrlL(), Close()
sl@0
  1808
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1809
//!				2. Open a video clip from a URL.
sl@0
  1810
//!				3. Close file.
sl@0
  1811
//! @SYMTestStatus		Implemented
sl@0
  1812
//! @SYMTestPriority		High
sl@0
  1813
//! @SYMTestExpectedResults	Returns no errors. File is opened.
sl@0
  1814
//! @SYMTestType		CIT
sl@0
  1815
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1816
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1817
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0063-001-NewL_command01
sl@0
  1818
		COMMAND		VideoPlayerUtility1	OpenUrlL	MM-MMF-VCLNT-PLYR-PublicAPI-0063-001-OpenUrlL_command02
sl@0
  1819
		OUTSTANDING
sl@0
  1820
		COMMAND		VideoPlayerUtility1	Close
sl@0
  1821
		COMMAND		VideoPlayerUtility1	~
sl@0
  1822
	END_TEST_BLOCK
sl@0
  1823
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0063
sl@0
  1824
sl@0
  1825
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0064
sl@0
  1826
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0064
sl@0
  1827
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1828
//! @SYMAuthor			Marek Sokk
sl@0
  1829
//! @SYMCreationDate		15/05/2006
sl@0
  1830
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1831
//! @SYMTestCaseDesc		Open a video clip from a URL with invalid MIME type.
sl@0
  1832
//!				Uses API elements: NewL(), OpenUrlL()
sl@0
  1833
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1834
//!				2. Open a video clip from a URL.
sl@0
  1835
//! @SYMTestStatus		Implemented
sl@0
  1836
//! @SYMTestPriority		High
sl@0
  1837
//! @SYMTestExpectedResults	Returns no errors. File is opened.
sl@0
  1838
//! @SYMTestType		CIT
sl@0
  1839
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1840
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1841
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0064-001-NewL_command01
sl@0
  1842
		COMMAND		VideoPlayerUtility1	OpenUrlL	MM-MMF-VCLNT-PLYR-PublicAPI-0064-001-OpenUrlL_command02
sl@0
  1843
		OUTSTANDING
sl@0
  1844
		COMMAND		VideoPlayerUtility1	~
sl@0
  1845
	END_TEST_BLOCK
sl@0
  1846
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0064
sl@0
  1847
sl@0
  1848
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0065
sl@0
  1849
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0065
sl@0
  1850
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1851
//! @SYMAuthor			Marek Sokk
sl@0
  1852
//! @SYMCreationDate		15/05/2006
sl@0
  1853
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1854
//! @SYMTestCaseDesc		Prepare playing without opening video clip first.
sl@0
  1855
//!				Uses API elements: NewL(), Prepare()
sl@0
  1856
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1857
//!				2. Prepare playing.
sl@0
  1858
//! @SYMTestStatus		Implemented
sl@0
  1859
//! @SYMTestPriority		High
sl@0
  1860
//! @SYMTestExpectedResults	Prepare() will return error KErrNotReady.
sl@0
  1861
//! @SYMTestType		CIT
sl@0
  1862
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1863
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1864
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0065-001-NewL_command01
sl@0
  1865
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  1866
		OUTSTANDING
sl@0
  1867
		COMMAND			VideoPlayerUtility1	~
sl@0
  1868
	END_TEST_BLOCK
sl@0
  1869
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0065
sl@0
  1870
sl@0
  1871
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0066
sl@0
  1872
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0066
sl@0
  1873
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1874
//! @SYMAuthor			Marek Sokk
sl@0
  1875
//! @SYMCreationDate		15/05/2006
sl@0
  1876
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1877
//! @SYMTestCaseDesc		Close the video clip without opening video clip first.
sl@0
  1878
//!				Uses API elements: NewL(), Close()
sl@0
  1879
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1880
//!				2. Close video clip.
sl@0
  1881
//! @SYMTestStatus		Implemented
sl@0
  1882
//! @SYMTestPriority		High
sl@0
  1883
//! @SYMTestExpectedResults	Close function will be called without errors.
sl@0
  1884
//! @SYMTestType		CIT
sl@0
  1885
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1886
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1887
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0066-001-NewL_command01
sl@0
  1888
		COMMAND		VideoPlayerUtility1	Close
sl@0
  1889
		COMMAND		VideoPlayerUtility1	~
sl@0
  1890
	END_TEST_BLOCK
sl@0
  1891
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0066
sl@0
  1892
sl@0
  1893
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0067
sl@0
  1894
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0067
sl@0
  1895
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1896
//! @SYMAuthor			Marek Sokk
sl@0
  1897
//! @SYMCreationDate		15/05/2006
sl@0
  1898
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1899
//! @SYMTestCaseDesc		Play the video clip without preparing it first.
sl@0
  1900
//!				Uses API elements: NewL(), OpenFileL(), Play()
sl@0
  1901
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1902
//!				2. Open file to be played.
sl@0
  1903
//!				3. Start playing.
sl@0
  1904
//! @SYMTestStatus		Implemented
sl@0
  1905
//! @SYMTestPriority		High
sl@0
  1906
//! @SYMTestExpectedResults	Play() will return error KErrNotReady.
sl@0
  1907
//! @SYMTestType		CIT
sl@0
  1908
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1909
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1910
		COMMAND			VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0067-001-NewL_command01
sl@0
  1911
		COMMAND			VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0067-001-OpenFileL_command02
sl@0
  1912
		OUTSTANDING
sl@0
  1913
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Play
sl@0
  1914
		OUTSTANDING
sl@0
  1915
		COMMAND			VideoPlayerUtility1	~
sl@0
  1916
	END_TEST_BLOCK
sl@0
  1917
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0067
sl@0
  1918
sl@0
  1919
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0068
sl@0
  1920
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0068
sl@0
  1921
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1922
//! @SYMAuthor			Marek Sokk
sl@0
  1923
//! @SYMCreationDate		15/05/2006
sl@0
  1924
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1925
//! @SYMTestCaseDesc		Play the video clip without opening it first.
sl@0
  1926
//!				Uses API elements: NewL(), Play()
sl@0
  1927
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1928
//!				2. Start playing.
sl@0
  1929
//! @SYMTestStatus		Implemented
sl@0
  1930
//! @SYMTestPriority		High
sl@0
  1931
//! @SYMTestExpectedResults	Play() will return error KErrNotReady.
sl@0
  1932
//! @SYMTestType		CIT
sl@0
  1933
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1934
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1935
		COMMAND			VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0068-001-NewL_command01
sl@0
  1936
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Play
sl@0
  1937
		OUTSTANDING
sl@0
  1938
		COMMAND			VideoPlayerUtility1	~
sl@0
  1939
	END_TEST_BLOCK
sl@0
  1940
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0068
sl@0
  1941
sl@0
  1942
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0070
sl@0
  1943
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0070
sl@0
  1944
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1945
//! @SYMAuthor			Marek Sokk
sl@0
  1946
//! @SYMCreationDate		15/05/2006
sl@0
  1947
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1948
//! @SYMTestCaseDesc		Play the video clip with specific start and end points without opening it first.
sl@0
  1949
//!				Uses API elements: NewL(), Play()
sl@0
  1950
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1951
//!				2. Start playing.
sl@0
  1952
//! @SYMTestStatus		Implemented
sl@0
  1953
//! @SYMTestPriority		High
sl@0
  1954
//! @SYMTestExpectedResults	Play() will return error KErrNotReady.
sl@0
  1955
//! @SYMTestType		CIT
sl@0
  1956
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1957
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1958
		COMMAND			VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0070-001-NewL_command01
sl@0
  1959
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Play	MM-MMF-VCLNT-PLYR-PublicAPI-0070-001-Play_command02
sl@0
  1960
		OUTSTANDING
sl@0
  1961
		COMMAND			VideoPlayerUtility1	~
sl@0
  1962
	END_TEST_BLOCK
sl@0
  1963
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0070
sl@0
  1964
sl@0
  1965
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0071
sl@0
  1966
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0071
sl@0
  1967
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1968
//! @SYMAuthor			Marek Sokk
sl@0
  1969
//! @SYMCreationDate		15/05/2006
sl@0
  1970
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  1971
//! @SYMTestCaseDesc		Start playing the video clip from negative position.
sl@0
  1972
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), Close()
sl@0
  1973
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  1974
//!				2. Open file to be played.
sl@0
  1975
//!				3. Prepare playing.
sl@0
  1976
//!				4. Start playing.
sl@0
  1977
//!				5. Close file.
sl@0
  1978
//! @SYMTestStatus		Implemented
sl@0
  1979
//! @SYMTestPriority		High
sl@0
  1980
//! @SYMTestExpectedResults	Video clip will play without errors.
sl@0
  1981
//! @SYMTestType		CIT
sl@0
  1982
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  1983
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  1984
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0071-001-NewL_command01
sl@0
  1985
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0071-001-OpenFileL_command02
sl@0
  1986
		OUTSTANDING
sl@0
  1987
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  1988
		OUTSTANDING
sl@0
  1989
		COMMAND		VideoPlayerUtility1	Play		MM-MMF-VCLNT-PLYR-PublicAPI-0071-001-Play_command04
sl@0
  1990
		OUTSTANDING
sl@0
  1991
		COMMAND		VideoPlayerUtility1	Close
sl@0
  1992
		COMMAND		VideoPlayerUtility1	~
sl@0
  1993
	END_TEST_BLOCK
sl@0
  1994
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0071
sl@0
  1995
sl@0
  1996
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0073
sl@0
  1997
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0073
sl@0
  1998
//! @SYMAPI			CVideoPlayerUtility
sl@0
  1999
//! @SYMAuthor			Marek Sokk
sl@0
  2000
//! @SYMCreationDate		15/05/2006
sl@0
  2001
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2002
//! @SYMTestCaseDesc		Start to play the video clip starting with very big position and ending with negative position.
sl@0
  2003
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), Close()
sl@0
  2004
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2005
//!				2. Open file to be played.
sl@0
  2006
//!				3. Prepare playing.
sl@0
  2007
//!				4. Start playing.
sl@0
  2008
//!				5. Close file.
sl@0
  2009
//! @SYMTestStatus		Implemented
sl@0
  2010
//! @SYMTestPriority		High
sl@0
  2011
//! @SYMTestExpectedResults	Video clip will play without errors.
sl@0
  2012
//! @SYMTestType		CIT
sl@0
  2013
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2014
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2015
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0073-001-NewL_command01
sl@0
  2016
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0073-001-OpenFileL_command02
sl@0
  2017
		OUTSTANDING
sl@0
  2018
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  2019
		OUTSTANDING
sl@0
  2020
		COMMAND		VideoPlayerUtility1	Play		MM-MMF-VCLNT-PLYR-PublicAPI-0073-001-Play_command04
sl@0
  2021
		OUTSTANDING
sl@0
  2022
		COMMAND		VideoPlayerUtility1	Close
sl@0
  2023
		COMMAND		VideoPlayerUtility1	~
sl@0
  2024
	END_TEST_BLOCK
sl@0
  2025
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0073
sl@0
  2026
sl@0
  2027
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0074
sl@0
  2028
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0074
sl@0
  2029
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2030
//! @SYMAuthor			Marek Sokk
sl@0
  2031
//! @SYMCreationDate		15/05/2006
sl@0
  2032
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2033
//! @SYMTestCaseDesc		Stop the play without starting playing the video clip first.
sl@0
  2034
//!				Uses API elements: NewL(), Stop()
sl@0
  2035
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2036
//!				2. Stop playback of the video clip.
sl@0
  2037
//! @SYMTestStatus		Implemented
sl@0
  2038
//! @SYMTestPriority		High
sl@0
  2039
//! @SYMTestExpectedResults	Stop() will return the error KErrNotReady.
sl@0
  2040
//! @SYMTestType		CIT
sl@0
  2041
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2042
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2043
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0074-001-NewL_command01
sl@0
  2044
		COMMAND	!Error=-18	VideoPlayerUtility1	Stop
sl@0
  2045
		OUTSTANDING
sl@0
  2046
		COMMAND			VideoPlayerUtility1	~
sl@0
  2047
	END_TEST_BLOCK
sl@0
  2048
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0074
sl@0
  2049
sl@0
  2050
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0075
sl@0
  2051
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0075
sl@0
  2052
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2053
//! @SYMAuthor			Marek Sokk
sl@0
  2054
//! @SYMCreationDate		15/05/2006
sl@0
  2055
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2056
//! @SYMTestCaseDesc		Pause the play without starting playing the video clip first.
sl@0
  2057
//!				Uses API elements: NewL(), PauseL()
sl@0
  2058
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2059
//!				2. Pause playing.
sl@0
  2060
//! @SYMTestStatus		Implemented
sl@0
  2061
//! @SYMTestPriority		High
sl@0
  2062
//! @SYMTestExpectedResults	Pause() will return the error KErrNotReady.
sl@0
  2063
//! @SYMTestType		CIT
sl@0
  2064
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2065
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2066
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0075-001-NewL_command01
sl@0
  2067
		COMMAND	!Error=-18	VideoPlayerUtility1	PauseL
sl@0
  2068
		COMMAND			VideoPlayerUtility1	~
sl@0
  2069
	END_TEST_BLOCK
sl@0
  2070
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0075
sl@0
  2071
sl@0
  2072
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0076
sl@0
  2073
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0076
sl@0
  2074
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2075
//! @SYMAuthor			Marek Sokk
sl@0
  2076
//! @SYMCreationDate		15/05/2006
sl@0
  2077
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2078
//! @SYMTestCaseDesc		Set playback priority lower than EMdaPriorityMin (-100).
sl@0
  2079
//!				Uses API elements: NewL(), OpenFileL(), SetPriorityL(),
sl@0
  2080
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2081
//!				2. Open file to be played.
sl@0
  2082
//!				3. Set the playback priority.
sl@0
  2083
//! @SYMTestStatus		Implemented
sl@0
  2084
//! @SYMTestPriority		High
sl@0
  2085
//! @SYMTestExpectedResults	New priority is set without errors.
sl@0
  2086
//! @SYMTestType		CIT
sl@0
  2087
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2088
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2089
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0076-001-NewL_command01
sl@0
  2090
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0076-001-OpenFileL_command02
sl@0
  2091
		OUTSTANDING
sl@0
  2092
		COMMAND		VideoPlayerUtility1	SetPriorityL	MM-MMF-VCLNT-PLYR-PublicAPI-0076-001-SetPriorityL_command03
sl@0
  2093
		COMMAND		VideoPlayerUtility1	~
sl@0
  2094
	END_TEST_BLOCK
sl@0
  2095
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0076
sl@0
  2096
sl@0
  2097
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0077
sl@0
  2098
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0077
sl@0
  2099
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2100
//! @SYMAuthor			Marek Sokk
sl@0
  2101
//! @SYMCreationDate		15/05/2006
sl@0
  2102
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2103
//! @SYMTestCaseDesc		Set playback priority higher than EMdaPriorityMax (100).
sl@0
  2104
//!				Uses API elements: NewL(), OpenFileL(), SetPriorityL(),
sl@0
  2105
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2106
//!				2. Open file to be played.
sl@0
  2107
//!				3. Set the playback priority.
sl@0
  2108
//! @SYMTestStatus		Implemented
sl@0
  2109
//! @SYMTestPriority		High
sl@0
  2110
//! @SYMTestExpectedResults	New priority is set without errors.
sl@0
  2111
//! @SYMTestType		CIT
sl@0
  2112
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2113
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2114
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0077-001-NewL_command01
sl@0
  2115
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0077-001-OpenFileL_command02
sl@0
  2116
		OUTSTANDING
sl@0
  2117
		COMMAND		VideoPlayerUtility1	SetPriorityL	MM-MMF-VCLNT-PLYR-PublicAPI-0077-001-SetPriorityL_command03
sl@0
  2118
		COMMAND		VideoPlayerUtility1	~
sl@0
  2119
	END_TEST_BLOCK
sl@0
  2120
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0077
sl@0
  2121
sl@0
  2122
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0078
sl@0
  2123
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0078
sl@0
  2124
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2125
//! @SYMAuthor			Marek Sokk
sl@0
  2126
//! @SYMCreationDate		15/05/2006
sl@0
  2127
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2128
//! @SYMTestCaseDesc		Set invalid playback time and quality preference.
sl@0
  2129
//!				Uses API elements: NewL(), OpenFileL(), SetPriorityL(),
sl@0
  2130
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2131
//!				2. Open file to be played.
sl@0
  2132
//!				3. Set the playback priority.
sl@0
  2133
//! @SYMTestStatus		Implemented
sl@0
  2134
//! @SYMTestPriority		High
sl@0
  2135
//! @SYMTestExpectedResults	New priority is set without errors.
sl@0
  2136
//! @SYMTestType		CIT
sl@0
  2137
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2138
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2139
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0078-001-NewL_command01
sl@0
  2140
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0078-001-OpenFileL_command02
sl@0
  2141
		OUTSTANDING
sl@0
  2142
		COMMAND		VideoPlayerUtility1	SetPriorityL		MM-MMF-VCLNT-PLYR-PublicAPI-0078-001-SetPriorityL_command03
sl@0
  2143
		COMMAND		VideoPlayerUtility1	~
sl@0
  2144
	END_TEST_BLOCK
sl@0
  2145
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0078
sl@0
  2146
sl@0
  2147
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0079
sl@0
  2148
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0079
sl@0
  2149
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2150
//! @SYMAuthor			Marek Sokk
sl@0
  2151
//! @SYMCreationDate		15/05/2006
sl@0
  2152
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2153
//! @SYMTestCaseDesc		Set play priority without opening files first.
sl@0
  2154
//!				Uses API elements: NewL(), SetPriorityL(),
sl@0
  2155
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2156
//!				2. Set the playback priority.
sl@0
  2157
//! @SYMTestStatus		Implemented
sl@0
  2158
//! @SYMTestPriority		High
sl@0
  2159
//! @SYMTestExpectedResults	SetPriorityL() will return without errors.
sl@0
  2160
//! @SYMTestType		CIT
sl@0
  2161
	START_TEST_BLOCK	50			T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2162
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2163
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0079-001-NewL_command01
sl@0
  2164
		COMMAND		VideoPlayerUtility1	SetPriorityL		MM-MMF-VCLNT-PLYR-PublicAPI-0079-001-SetPriorityL_command02
sl@0
  2165
		COMMAND		VideoPlayerUtility1	~
sl@0
  2166
	END_TEST_BLOCK
sl@0
  2167
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0079
sl@0
  2168
sl@0
  2169
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0080
sl@0
  2170
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0080
sl@0
  2171
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2172
//! @SYMAuthor			Marek Sokk
sl@0
  2173
//! @SYMCreationDate		16/05/2006
sl@0
  2174
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2175
//! @SYMTestCaseDesc		Query playing priority without opening files first.
sl@0
  2176
//!				Uses API elements: NewL(), PriorityL(),
sl@0
  2177
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2178
//!				2. Get the current playback priority
sl@0
  2179
//! @SYMTestStatus		Implemented
sl@0
  2180
//! @SYMTestPriority		High
sl@0
  2181
//! @SYMTestExpectedResults	Current priority will be queried without errors.
sl@0
  2182
//! @SYMTestType		CIT
sl@0
  2183
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2184
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2185
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0080-001-NewL_command01
sl@0
  2186
		COMMAND		VideoPlayerUtility1	PriorityL
sl@0
  2187
		COMMAND		VideoPlayerUtility1	~
sl@0
  2188
	END_TEST_BLOCK
sl@0
  2189
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0080
sl@0
  2190
sl@0
  2191
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0081
sl@0
  2192
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0081
sl@0
  2193
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2194
//! @SYMAuthor			Marek Sokk
sl@0
  2195
//! @SYMCreationDate		16/05/2006
sl@0
  2196
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2197
//! @SYMTestCaseDesc		Set display window with invalid window server session id.
sl@0
  2198
//!				Uses API elements: NewL(), SetDisplayWindowL()
sl@0
  2199
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2200
//!				2. Set the display window.
sl@0
  2201
//! @SYMTestStatus		Implemented
sl@0
  2202
//! @SYMTestPriority		High
sl@0
  2203
//! @SYMTestExpectedResults	SetDisplayWindowL() will raise panic.
sl@0
  2204
//! @SYMTestType		CIT
sl@0
  2205
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2206
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2207
//! 		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0081-001-NewL_command01
sl@0
  2208
//! 		COMMAND		VideoPlayerUtility1	SetDisplayWindowL	MM-MMF-VCLNT-PLYR-PublicAPI-0081-001-SetDisplayWindowL_command02
sl@0
  2209
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  2210
//! 	END_TEST_BLOCK	!PanicCode=3
sl@0
  2211
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0081
sl@0
  2212
sl@0
  2213
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0082
sl@0
  2214
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0082
sl@0
  2215
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2216
//! @SYMAuthor			Marek Sokk
sl@0
  2217
//! @SYMCreationDate		16/05/2006
sl@0
  2218
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2219
//! @SYMTestCaseDesc		Set display window with invalid software device screen.
sl@0
  2220
//!				Uses API elements: NewL(), SetDisplayWindowL()
sl@0
  2221
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2222
//!				2. Set the display window.
sl@0
  2223
//! @SYMTestStatus		Implemented
sl@0
  2224
//! @SYMTestPriority		High
sl@0
  2225
//! @SYMTestExpectedResults	SetDisplayWindowL() will raise panic.
sl@0
  2226
//! @SYMTestType		CIT
sl@0
  2227
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2228
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2229
//! 		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0082-001-NewL_command01
sl@0
  2230
//! 		COMMAND		VideoPlayerUtility1	SetDisplayWindowL	MM-MMF-VCLNT-PLYR-PublicAPI-0082-001-SetDisplayWindowL_command02
sl@0
  2231
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  2232
//! 	END_TEST_BLOCK	!PanicCode=3
sl@0
  2233
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0082
sl@0
  2234
sl@0
  2235
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0083
sl@0
  2236
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0083
sl@0
  2237
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2238
//! @SYMAuthor			Marek Sokk
sl@0
  2239
//! @SYMCreationDate		16/05/2006
sl@0
  2240
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2241
//! @SYMTestCaseDesc		Set display window with invalid window to display.
sl@0
  2242
//!				Uses API elements: NewL(), SetDisplayWindowL()
sl@0
  2243
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2244
//!				2. Set the display window.
sl@0
  2245
//! @SYMTestStatus		Implemented
sl@0
  2246
//! @SYMTestPriority		High
sl@0
  2247
//! @SYMTestExpectedResults	SetDisplayWindowL() will raise panic.
sl@0
  2248
//! @SYMTestType		CIT
sl@0
  2249
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2250
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2251
//! 		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0083-001-NewL_command01
sl@0
  2252
//! 		COMMAND		VideoPlayerUtility1	SetDisplayWindowL	MM-MMF-VCLNT-PLYR-PublicAPI-0083-001-SetDisplayWindowL_command02
sl@0
  2253
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  2254
//! 	END_TEST_BLOCK	!PanicCode=6
sl@0
  2255
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0083
sl@0
  2256
sl@0
  2257
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0084
sl@0
  2258
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0084
sl@0
  2259
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2260
//! @SYMAuthor			Marek Sokk
sl@0
  2261
//! @SYMCreationDate		16/05/2006
sl@0
  2262
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2263
//! @SYMTestCaseDesc		Set display window with negative dimensions of the display window.
sl@0
  2264
//!				Uses API elements: NewL(), SetDisplayWindowL()
sl@0
  2265
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2266
//!				2. Set the display window.
sl@0
  2267
//! @SYMTestStatus		Implemented
sl@0
  2268
//! @SYMTestPriority		High
sl@0
  2269
//! @SYMTestExpectedResults	New display window is set without errors.
sl@0
  2270
//! @SYMTestType		CIT
sl@0
  2271
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2272
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2273
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0084-001-NewL_command01
sl@0
  2274
		COMMAND		VideoPlayerUtility1	SetDisplayWindowL	MM-MMF-VCLNT-PLYR-PublicAPI-0084-001-SetDisplayWindowL_command02
sl@0
  2275
		COMMAND		VideoPlayerUtility1	~
sl@0
  2276
	END_TEST_BLOCK
sl@0
  2277
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0084
sl@0
  2278
sl@0
  2279
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0085
sl@0
  2280
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0085
sl@0
  2281
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2282
//! @SYMAuthor			Marek Sokk
sl@0
  2283
//! @SYMCreationDate		16/05/2006
sl@0
  2284
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2285
//! @SYMTestCaseDesc		Set display window with negative dimensions area of the video clip to display.
sl@0
  2286
//!				Uses API elements: NewL(), SetDisplayWindowL()
sl@0
  2287
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2288
//!				2. Set the display window.
sl@0
  2289
//! @SYMTestStatus		Implemented
sl@0
  2290
//! @SYMTestPriority		High
sl@0
  2291
//! @SYMTestExpectedResults	New display window is set without errors.
sl@0
  2292
//! @SYMTestType		CIT
sl@0
  2293
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2294
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2295
		COMMAND		VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0085-001-NewL_command01
sl@0
  2296
		COMMAND		VideoPlayerUtility1	SetDisplayWindowL		MM-MMF-VCLNT-PLYR-PublicAPI-0085-001-SetDisplayWindowL_command02
sl@0
  2297
		COMMAND		VideoPlayerUtility1	~
sl@0
  2298
	END_TEST_BLOCK
sl@0
  2299
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0085
sl@0
  2300
sl@0
  2301
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0086
sl@0
  2302
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0086
sl@0
  2303
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2304
//! @SYMAuthor			Marek Sokk
sl@0
  2305
//! @SYMCreationDate		16/05/2006
sl@0
  2306
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2307
//! @SYMTestCaseDesc		Get video loading progress without opening video clip first.
sl@0
  2308
//!				Uses API elements: NewL(), RegisterForVideoLoadingNotification(), GetVideoLoadingProgressL()
sl@0
  2309
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2310
//!				2. Register to receive notifications of video clip loading/rebuffering
sl@0
  2311
//!				3. Get the progress of video clip loading/rebuffering.
sl@0
  2312
//! @SYMTestStatus		Implemented
sl@0
  2313
//! @SYMTestPriority		High
sl@0
  2314
//! @SYMTestExpectedResults	GetVideoLoadingProgressL() will return the error KErrNotReady.
sl@0
  2315
//! @SYMTestType		CIT
sl@0
  2316
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2317
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2318
		COMMAND			VideoPlayerUtility1	NewL									MM-MMF-VCLNT-PLYR-PublicAPI-0086-001-NewL_command01
sl@0
  2319
		COMMAND			VideoPlayerUtility1	RegisterForVideoLoadingNotification
sl@0
  2320
		COMMAND	!Error=-18	VideoPlayerUtility1	GetVideoLoadingProgressL			MM-MMF-VCLNT-PLYR-PublicAPI-0086-001-GetVideoLoadingProgressL_command03
sl@0
  2321
		COMMAND			VideoPlayerUtility1	~
sl@0
  2322
	END_TEST_BLOCK
sl@0
  2323
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0086
sl@0
  2324
sl@0
  2325
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0087
sl@0
  2326
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0087
sl@0
  2327
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2328
//! @SYMAuthor			Marek Sokk
sl@0
  2329
//! @SYMCreationDate		16/05/2006
sl@0
  2330
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2331
//! @SYMTestCaseDesc		Get frame without opening video clip first.
sl@0
  2332
//!				Uses API elements: NewL(), GetFrameL()
sl@0
  2333
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2334
//!				2. Get the current frame.
sl@0
  2335
//! @SYMTestStatus		Implemented
sl@0
  2336
//! @SYMTestPriority		High
sl@0
  2337
//! @SYMTestExpectedResults	GetFrameL() will return the error KErrNotReady.
sl@0
  2338
//! @SYMTestType		CIT
sl@0
  2339
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2340
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2341
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0087-001-NewL_command01
sl@0
  2342
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	GetFrameL		MM-MMF-VCLNT-PLYR-PublicAPI-0087-001-GetFrameL_command02
sl@0
  2343
		OUTSTANDING
sl@0
  2344
		COMMAND			VideoPlayerUtility1	~
sl@0
  2345
	END_TEST_BLOCK
sl@0
  2346
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0087
sl@0
  2347
sl@0
  2348
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0089
sl@0
  2349
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0089
sl@0
  2350
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2351
//! @SYMAuthor			Marek Sokk
sl@0
  2352
//! @SYMCreationDate		16/05/2006
sl@0
  2353
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2354
//! @SYMTestCaseDesc		Get frame with DRM intent and without opening video clip first.
sl@0
  2355
//!				Uses API elements: NewL(), GetFrameL()
sl@0
  2356
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2357
//!				2. Get the current frame.
sl@0
  2358
//! @SYMTestStatus		Implemented
sl@0
  2359
//! @SYMTestPriority		High
sl@0
  2360
//! @SYMTestExpectedResults	GetFrameL() will return the error KErrNotReady.
sl@0
  2361
//! @SYMTestType		CIT
sl@0
  2362
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2363
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2364
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0089-001-NewL_command01
sl@0
  2365
		COMMAND	!ASyncError=-18	VideoPlayerUtility1	GetFrameL		MM-MMF-VCLNT-PLYR-PublicAPI-0089-001-GetFrameL_command02
sl@0
  2366
		OUTSTANDING
sl@0
  2367
		COMMAND			VideoPlayerUtility1	~
sl@0
  2368
	END_TEST_BLOCK
sl@0
  2369
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0089
sl@0
  2370
sl@0
  2371
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0091
sl@0
  2372
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0091
sl@0
  2373
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2374
//! @SYMAuthor			Sergei Tveritin
sl@0
  2375
//! @SYMCreationDate		11/05/2006
sl@0
  2376
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2377
//! @SYMTestCaseDesc		Refresh (redraw) the current frame when video clip is not opened.
sl@0
  2378
//!				Uses API elements: NewL(), RefreshFrameL()
sl@0
  2379
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2380
//!				2. Redraw the current frame.
sl@0
  2381
//! @SYMTestStatus		Implemented
sl@0
  2382
//! @SYMTestPriority		High
sl@0
  2383
//! @SYMTestExpectedResults	RefreshFrameL() will return the error KErrNotReady.
sl@0
  2384
//! @SYMTestType		CIT
sl@0
  2385
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2386
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2387
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0091-001-NewL_command01
sl@0
  2388
		COMMAND	!Error=-18	VideoPlayerUtility1	RefreshFrameL
sl@0
  2389
		COMMAND			VideoPlayerUtility1	~
sl@0
  2390
	END_TEST_BLOCK
sl@0
  2391
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0091
sl@0
  2392
sl@0
  2393
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0092
sl@0
  2394
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0092
sl@0
  2395
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2396
//! @SYMAuthor			Sergei Tveritin
sl@0
  2397
//! @SYMCreationDate		11/05/2006
sl@0
  2398
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2399
//! @SYMTestCaseDesc		Refresh (redraw) the current frame when video clip is paused.
sl@0
  2400
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), PauseL(), RefreshFrameL(), Close()
sl@0
  2401
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2402
//!				2. Open a video clip from file.
sl@0
  2403
//!				3. Prepare playing.
sl@0
  2404
//!				4. Start playing.
sl@0
  2405
//!				5. Pause playing.
sl@0
  2406
//!				6. Redraw the current frame.
sl@0
  2407
//!				7. Close file.
sl@0
  2408
//! @SYMTestStatus		Implemented
sl@0
  2409
//! @SYMTestPriority		High
sl@0
  2410
//! @SYMTestExpectedResults	The current frame will be redrawn without errors.
sl@0
  2411
//! @SYMTestType		CIT
sl@0
  2412
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2413
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2414
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0092-001-NewL_command01
sl@0
  2415
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0092-001-OpenFileL_command02
sl@0
  2416
		OUTSTANDING
sl@0
  2417
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  2418
		OUTSTANDING
sl@0
  2419
		COMMAND		VideoPlayerUtility1	Play
sl@0
  2420
		ASYNC_DELAY	100
sl@0
  2421
		COMMAND		VideoPlayerUtility1	PauseL
sl@0
  2422
		COMMAND		VideoPlayerUtility1	RefreshFrameL
sl@0
  2423
		COMMAND		VideoPlayerUtility1	Close
sl@0
  2424
		COMMAND		VideoPlayerUtility1	~
sl@0
  2425
	END_TEST_BLOCK
sl@0
  2426
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0092
sl@0
  2427
sl@0
  2428
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0093
sl@0
  2429
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0093
sl@0
  2430
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2431
//! @SYMAuthor			Sergei Tveritin
sl@0
  2432
//! @SYMCreationDate		11/05/2006
sl@0
  2433
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2434
//! @SYMTestCaseDesc		Get the video frame rate in frames/second when video clip is not opened.
sl@0
  2435
//!				Uses API elements: NewL(), VideoFrameRateL().
sl@0
  2436
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2437
//!				2. Get video frame rate
sl@0
  2438
//! @SYMTestStatus		Implemented
sl@0
  2439
//! @SYMTestPriority		High
sl@0
  2440
//! @SYMTestExpectedResults	VideoFrameRateL() will return the error KErrNotReady.
sl@0
  2441
//! @SYMTestType		CIT
sl@0
  2442
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2443
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2444
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0093-001-NewL_command01
sl@0
  2445
		COMMAND	!Error=-18	VideoPlayerUtility1	VideoFrameRateL		MM-MMF-VCLNT-PLYR-PublicAPI-0093-001-VideoFrameRateL_command02
sl@0
  2446
		COMMAND			VideoPlayerUtility1	~
sl@0
  2447
	END_TEST_BLOCK
sl@0
  2448
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0093
sl@0
  2449
sl@0
  2450
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0094
sl@0
  2451
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0094
sl@0
  2452
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2453
//! @SYMAuthor			Sergei Tveritin
sl@0
  2454
//! @SYMCreationDate		11/05/2006
sl@0
  2455
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2456
//! @SYMTestCaseDesc		Get the video frame rate in frames/second in corrupted video file.
sl@0
  2457
//!				Uses API elements: NewL(), OpenFileL(), VideoFrameRateL(), Close()
sl@0
  2458
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2459
//!				2. Open a video clip from file.
sl@0
  2460
//!				3. Get video frame rate.
sl@0
  2461
//!				4. Close file.
sl@0
  2462
//! @SYMTestStatus		Implemented
sl@0
  2463
//! @SYMTestPriority		High
sl@0
  2464
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and VideoFrameRateL() KErrNotReady(-18).
sl@0
  2465
//! @SYMTestType		CIT
sl@0
  2466
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2467
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2468
		COMMAND			VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0094-001-NewL_command01
sl@0
  2469
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0094-001-OpenFileL_command02
sl@0
  2470
		OUTSTANDING
sl@0
  2471
		COMMAND	!Error=-18	VideoPlayerUtility1	VideoFrameRateL		MM-MMF-VCLNT-PLYR-PublicAPI-0094-001-VideoFrameRateL_command03
sl@0
  2472
		COMMAND			VideoPlayerUtility1	Close
sl@0
  2473
		COMMAND			VideoPlayerUtility1	~
sl@0
  2474
	END_TEST_BLOCK
sl@0
  2475
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0094
sl@0
  2476
sl@0
  2477
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0095
sl@0
  2478
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0095
sl@0
  2479
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2480
//! @SYMAuthor			Sergei Tveritin
sl@0
  2481
//! @SYMCreationDate		11/05/2006
sl@0
  2482
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2483
//! @SYMTestCaseDesc		Set the video frame rate in frames/second when video clip is not opened.
sl@0
  2484
//!				Uses API elements: NewL(), SetVideoFrameRateL().
sl@0
  2485
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2486
//!				2. Set video frame rate
sl@0
  2487
//! @SYMTestStatus		Implemented
sl@0
  2488
//! @SYMTestPriority		High
sl@0
  2489
//! @SYMTestExpectedResults	SetVideoFrameRateL() will return the error KErrNotReady.
sl@0
  2490
//! @SYMTestType		CIT
sl@0
  2491
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2492
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2493
		COMMAND			VideoPlayerUtility1	NewL						MM-MMF-VCLNT-PLYR-PublicAPI-0095-001-NewL_command01
sl@0
  2494
		COMMAND	!Error=-18	VideoPlayerUtility1	SetVideoFrameRateL		MM-MMF-VCLNT-PLYR-PublicAPI-0095-001-SetVideoFrameRateL_command02
sl@0
  2495
		COMMAND			VideoPlayerUtility1	~
sl@0
  2496
	END_TEST_BLOCK
sl@0
  2497
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0095
sl@0
  2498
sl@0
  2499
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0096
sl@0
  2500
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0096
sl@0
  2501
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2502
//! @SYMAuthor			Sergei Tveritin
sl@0
  2503
//! @SYMCreationDate		11/05/2006
sl@0
  2504
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2505
//! @SYMTestCaseDesc		Set the video frame rate in frames/second with negative number of frames per second.
sl@0
  2506
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), SetVideoFrameRateL(), VideoFrameRateL(), 					Close().
sl@0
  2507
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2508
//!				2. Open a video clip from file.
sl@0
  2509
//!				3. Prepare video clip
sl@0
  2510
//!				4. Set video frame rate
sl@0
  2511
//!				5. Check video frame rate
sl@0
  2512
//!				6. Close file.
sl@0
  2513
//! @SYMTestStatus		Implemented
sl@0
  2514
//! @SYMTestPriority		High
sl@0
  2515
//! @SYMTestExpectedResults	SetVideoFrameRateL will set frame rate without errors.
sl@0
  2516
//! @SYMTestType		CIT
sl@0
  2517
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2518
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2519
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0096-001-NewL_command01
sl@0
  2520
		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0096-001-OpenFileL_command02
sl@0
  2521
		OUTSTANDING
sl@0
  2522
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  2523
		OUTSTANDING
sl@0
  2524
		COMMAND		VideoPlayerUtility1	SetVideoFrameRateL	MM-MMF-VCLNT-PLYR-PublicAPI-0096-001-SetVideoFrameRateL_command04
sl@0
  2525
		COMMAND		VideoPlayerUtility1	VideoFrameRateL		MM-MMF-VCLNT-PLYR-PublicAPI-0096-001-VideoFrameRateL_command05
sl@0
  2526
		COMMAND		VideoPlayerUtility1	~
sl@0
  2527
	END_TEST_BLOCK
sl@0
  2528
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0096
sl@0
  2529
sl@0
  2530
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0097
sl@0
  2531
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0097
sl@0
  2532
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2533
//! @SYMAuthor			Sergei Tveritin
sl@0
  2534
//! @SYMCreationDate		11/05/2006
sl@0
  2535
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2536
//! @SYMTestCaseDesc		Set the video frame rate in frames/second when video clip are played.
sl@0
  2537
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), Play(), SetVideoFrameRateL(), Close().
sl@0
  2538
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2539
//!				2. Open a video clip from file.
sl@0
  2540
//!				3. Prepare playing.
sl@0
  2541
//!				4. Start playing.
sl@0
  2542
//!				5. Set the video frame rate.
sl@0
  2543
//!				6. Query video frame rate
sl@0
  2544
//!				7. Close file.
sl@0
  2545
//! @SYMTestStatus		Implemented
sl@0
  2546
//! @SYMTestPriority		High
sl@0
  2547
//! @SYMTestExpectedResults	SetVideoFrameRateL() will set frame rate without errors.
sl@0
  2548
//! @SYMTestType		CIT
sl@0
  2549
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2550
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2551
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0097-001-NewL_command01
sl@0
  2552
		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0097-001-OpenFileL_command02
sl@0
  2553
		OUTSTANDING
sl@0
  2554
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  2555
		OUTSTANDING
sl@0
  2556
		COMMAND		VideoPlayerUtility1	Play
sl@0
  2557
		OUTSTANDING
sl@0
  2558
		COMMAND		VideoPlayerUtility1	SetVideoFrameRateL	MM-MMF-VCLNT-PLYR-PublicAPI-0097-001-SetVideoFrameRateL_command05
sl@0
  2559
		COMMAND		VideoPlayerUtility1	VideoFrameRateL		MM-MMF-VCLNT-PLYR-PublicAPI-0097-001-VideoFrameRateL_command06
sl@0
  2560
		COMMAND		VideoPlayerUtility1	Close
sl@0
  2561
		COMMAND		VideoPlayerUtility1	~
sl@0
  2562
	END_TEST_BLOCK
sl@0
  2563
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0097
sl@0
  2564
sl@0
  2565
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0098
sl@0
  2566
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0098
sl@0
  2567
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2568
//! @SYMAuthor			Sergei Tveritin
sl@0
  2569
//! @SYMCreationDate		11/05/2006
sl@0
  2570
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2571
//! @SYMTestCaseDesc		Get the video frame size when video clip is not opened.
sl@0
  2572
//!				Uses API elements: NewL(), VideoFrameSizeL().
sl@0
  2573
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2574
//!				2. Get the video frame size.
sl@0
  2575
//! @SYMTestStatus		Implemented
sl@0
  2576
//! @SYMTestPriority		High
sl@0
  2577
//! @SYMTestExpectedResults	VideoFrameSizeL() will return the error KErrNotReady.
sl@0
  2578
//! @SYMTestType		CIT
sl@0
  2579
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2580
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2581
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0098-001-NewL_command01
sl@0
  2582
		COMMAND	!Error=-18	VideoPlayerUtility1	VideoFrameSizeL		MM-MMF-VCLNT-PLYR-PublicAPI-0098-001-VideoFrameSizeL_command02
sl@0
  2583
		COMMAND			VideoPlayerUtility1	~
sl@0
  2584
	END_TEST_BLOCK
sl@0
  2585
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0098
sl@0
  2586
sl@0
  2587
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0099
sl@0
  2588
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0099
sl@0
  2589
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2590
//! @SYMAuthor			Sergei Tveritin
sl@0
  2591
//! @SYMCreationDate		11/05/2006
sl@0
  2592
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2593
//! @SYMTestCaseDesc		Get the video frame size in corrupted video file.
sl@0
  2594
//!				Uses API elements: NewL(), OpenFileL(), VideoFrameSizeL(), Close().
sl@0
  2595
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2596
//!				2. Open a video clip from file.
sl@0
  2597
//!				3. Get the video frame size.
sl@0
  2598
//!				4. Close file.
sl@0
  2599
//! @SYMTestStatus		Implemented
sl@0
  2600
//! @SYMTestPriority		High
sl@0
  2601
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and Prepare() and VideoFrameRateL() KErrNotReady(-18).
sl@0
  2602
//! @SYMTestType		CIT
sl@0
  2603
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2604
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2605
		COMMAND			VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0099-001-NewL_command01
sl@0
  2606
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0099-001-OpenFileL_command02
sl@0
  2607
		OUTSTANDING
sl@0
  2608
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  2609
		OUTSTANDING
sl@0
  2610
		COMMAND	!Error=-18	VideoPlayerUtility1	VideoFrameSizeL		MM-MMF-VCLNT-PLYR-PublicAPI-0099-001-VideoFrameSizeL_command04
sl@0
  2611
		COMMAND			VideoPlayerUtility1	Close
sl@0
  2612
		COMMAND			VideoPlayerUtility1	~
sl@0
  2613
	END_TEST_BLOCK
sl@0
  2614
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0099
sl@0
  2615
sl@0
  2616
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0100
sl@0
  2617
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0100
sl@0
  2618
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2619
//! @SYMAuthor			Sergei Tveritin
sl@0
  2620
//! @SYMCreationDate		11/05/2006
sl@0
  2621
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2622
//! @SYMTestCaseDesc		Get the video format's MIME type when video clip is not opened.
sl@0
  2623
//!				Uses API elements: NewL(), VideoFormatMimeType().
sl@0
  2624
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2625
//!				2. Get MIME type.
sl@0
  2626
//! @SYMTestStatus		Implemented
sl@0
  2627
//! @SYMTestPriority		High
sl@0
  2628
//! @SYMTestExpectedResults	VideoFormatMimeType will return empty string.
sl@0
  2629
//! @SYMTestType		CIT
sl@0
  2630
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2631
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2632
		COMMAND		VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0100-001-NewL_command01
sl@0
  2633
		COMMAND		VideoPlayerUtility1	VideoFormatMimeType		MM-MMF-VCLNT-PLYR-PublicAPI-0100-001-VideoFormatMimeType_command02
sl@0
  2634
		COMMAND		VideoPlayerUtility1	~
sl@0
  2635
	END_TEST_BLOCK
sl@0
  2636
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0100
sl@0
  2637
sl@0
  2638
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0101
sl@0
  2639
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0101
sl@0
  2640
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2641
//! @SYMAuthor			Sergei Tveritin
sl@0
  2642
//! @SYMCreationDate		11/05/2006
sl@0
  2643
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2644
//! @SYMTestCaseDesc		Get the video format's MIME type in corrupted video file.
sl@0
  2645
//!				Uses API elements: NewL(), OpenFileL(), VideoFormatMimeType(), Close().
sl@0
  2646
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2647
//!				2. Open a video clip from file.
sl@0
  2648
//!				3. Get MIME type
sl@0
  2649
//!				4. Close file.
sl@0
  2650
//! @SYMTestStatus		Implemented
sl@0
  2651
//! @SYMTestPriority		High
sl@0
  2652
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and Prepare() KErrNotReady(-18),
sl@0
  2653
//!				VideoFormatMimeType will return empty string.
sl@0
  2654
//! @SYMTestType		CIT
sl@0
  2655
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2656
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2657
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0101-001-NewL_command01
sl@0
  2658
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0101-001-OpenFileL_command02
sl@0
  2659
		OUTSTANDING
sl@0
  2660
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  2661
		OUTSTANDING
sl@0
  2662
		COMMAND			VideoPlayerUtility1	VideoFormatMimeType	MM-MMF-VCLNT-PLYR-PublicAPI-0101-001-VideoFormatMimeType_command04
sl@0
  2663
		COMMAND			VideoPlayerUtility1	Close
sl@0
  2664
		COMMAND			VideoPlayerUtility1	~
sl@0
  2665
	END_TEST_BLOCK
sl@0
  2666
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0101
sl@0
  2667
sl@0
  2668
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0102
sl@0
  2669
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0102
sl@0
  2670
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2671
//! @SYMAuthor			Sergei Tveritin
sl@0
  2672
//! @SYMCreationDate		11/05/2006
sl@0
  2673
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2674
//! @SYMTestCaseDesc		Get the video bit rate when video clip is not opened.
sl@0
  2675
//!				Uses API elements: NewL(), VideoBitRateL().
sl@0
  2676
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2677
//!				2. Get the video bit rate.
sl@0
  2678
//! @SYMTestStatus		Not Implemented
sl@0
  2679
//! @SYMTestPriority		High
sl@0
  2680
//! @SYMTestExpectedResults	VideoBitRateL() will return the error KErrNotReady.
sl@0
  2681
//! @SYMTestType		CIT
sl@0
  2682
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2683
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2684
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0102-001-NewL_command01
sl@0
  2685
		COMMAND	!Error=-18	VideoPlayerUtility1	VideoBitRateL		MM-MMF-VCLNT-PLYR-PublicAPI-0102-001-VideoBitRateL_command02
sl@0
  2686
		COMMAND			VideoPlayerUtility1	~
sl@0
  2687
	END_TEST_BLOCK
sl@0
  2688
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0102
sl@0
  2689
sl@0
  2690
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0103
sl@0
  2691
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0103
sl@0
  2692
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2693
//! @SYMAuthor			Sergei Tveritin
sl@0
  2694
//! @SYMCreationDate		11/05/2006
sl@0
  2695
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2696
//! @SYMTestCaseDesc		Get the video bit rate in corrupted video file.
sl@0
  2697
//!				Uses API elements: NewL(), OpenFileL(), VideoBitRateL(), Close().
sl@0
  2698
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2699
//!				2. Open a video clip from file.
sl@0
  2700
//!				3. Get the video bit rate.
sl@0
  2701
//!				4. Close file.
sl@0
  2702
//! @SYMTestStatus		Implemented
sl@0
  2703
//! @SYMTestPriority		High
sl@0
  2704
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and Prepare() and VideoBitRateL() KErrNotReady(-18),
sl@0
  2705
//! @SYMTestType		CIT
sl@0
  2706
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2707
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2708
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0103-001-NewL_command01
sl@0
  2709
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0103-001-OpenFileL_command02
sl@0
  2710
		OUTSTANDING
sl@0
  2711
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  2712
		OUTSTANDING
sl@0
  2713
		COMMAND	!Error=-18	VideoPlayerUtility1	VideoBitRateL	MM-MMF-VCLNT-PLYR-PublicAPI-0103-001-VideoBitRateL_command04
sl@0
  2714
		COMMAND			VideoPlayerUtility1	Close
sl@0
  2715
		COMMAND			VideoPlayerUtility1	~
sl@0
  2716
	END_TEST_BLOCK
sl@0
  2717
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0103
sl@0
  2718
sl@0
  2719
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0104
sl@0
  2720
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0104
sl@0
  2721
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2722
//! @SYMAuthor			Sergei Tveritin
sl@0
  2723
//! @SYMCreationDate		11/05/2006
sl@0
  2724
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2725
//! @SYMTestCaseDesc		Get the audio bit rate when video clip is not opened.
sl@0
  2726
//!				Uses API elements: NewL(), AudioBitRateL().
sl@0
  2727
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2728
//!				2. Get the audio bit rate.
sl@0
  2729
//! @SYMTestStatus		Implemented
sl@0
  2730
//! @SYMTestPriority		High
sl@0
  2731
//! @SYMTestExpectedResults	AudioBitRateL() will return the error KErrNotReady.
sl@0
  2732
//! @SYMTestType		CIT
sl@0
  2733
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2734
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2735
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0104-001-NewL_command01
sl@0
  2736
		COMMAND	!Error=-18	VideoPlayerUtility1	AudioBitRateL	MM-MMF-VCLNT-PLYR-PublicAPI-0104-001-AudioBitRateL_command02
sl@0
  2737
		COMMAND			VideoPlayerUtility1	~
sl@0
  2738
	END_TEST_BLOCK
sl@0
  2739
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0104
sl@0
  2740
sl@0
  2741
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0105
sl@0
  2742
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0105
sl@0
  2743
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2744
//! @SYMAuthor			Sergei Tveritin
sl@0
  2745
//! @SYMCreationDate		11/05/2006
sl@0
  2746
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2747
//! @SYMTestCaseDesc		Get the audio bit rate in corrupted video file.
sl@0
  2748
//!				Uses API elements: NewL(), OpenFileL(), AudioBitRateL(), Close().
sl@0
  2749
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2750
//!				2. Open a video clip from file.
sl@0
  2751
//!				3. Get the audio bit rate.
sl@0
  2752
//!				4. Close file.
sl@0
  2753
//! @SYMTestStatus		Implemented
sl@0
  2754
//! @SYMTestPriority		High
sl@0
  2755
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and Prepare() and AudioBitRateL() KErrNotReady(-18),
sl@0
  2756
//! @SYMTestType		CIT
sl@0
  2757
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2758
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2759
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0105-001-NewL_command01
sl@0
  2760
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0105-001-OpenFileL_command02
sl@0
  2761
		OUTSTANDING
sl@0
  2762
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  2763
		OUTSTANDING
sl@0
  2764
		COMMAND	!Error=-18	VideoPlayerUtility1	AudioBitRateL	MM-MMF-VCLNT-PLYR-PublicAPI-0105-001-AudioBitRateL_command04
sl@0
  2765
		COMMAND			VideoPlayerUtility1	Close
sl@0
  2766
		COMMAND			VideoPlayerUtility1	~
sl@0
  2767
	END_TEST_BLOCK
sl@0
  2768
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0105
sl@0
  2769
sl@0
  2770
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0106
sl@0
  2771
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0106
sl@0
  2772
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2773
//! @SYMAuthor			Sergei Tveritin
sl@0
  2774
//! @SYMCreationDate		11/05/2006
sl@0
  2775
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2776
//! @SYMTestCaseDesc		Get the codec used for the audio component of the video clip when video clip is not opened.
sl@0
  2777
//!				Uses API elements: NewL(), AudioTypeL().
sl@0
  2778
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2779
//!				2. Get the codec used for the audio component of the video.
sl@0
  2780
//! @SYMTestStatus		Implemented
sl@0
  2781
//! @SYMTestPriority		High
sl@0
  2782
//! @SYMTestExpectedResults	AudioTypeL() will return the error KErrNotReady.
sl@0
  2783
//! @SYMTestType		CIT
sl@0
  2784
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2785
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2786
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0106-001-NewL_command01
sl@0
  2787
		COMMAND	!Error=-18	VideoPlayerUtility1	AudioTypeL		MM-MMF-VCLNT-PLYR-PublicAPI-0106-001-AudioTypeL_command02
sl@0
  2788
		COMMAND			VideoPlayerUtility1	~
sl@0
  2789
	END_TEST_BLOCK
sl@0
  2790
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0106
sl@0
  2791
sl@0
  2792
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0107
sl@0
  2793
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0107
sl@0
  2794
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2795
//! @SYMAuthor			Sergei Tveritin
sl@0
  2796
//! @SYMCreationDate		11/05/2006
sl@0
  2797
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2798
//! @SYMTestCaseDesc		Get the codec used for the audio component of the video clip in corrupted video file.
sl@0
  2799
//!				Uses API elements: NewL(), OpenFileL(), AudioTypeL(), Close().
sl@0
  2800
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2801
//!				2. Open a video clip from file.
sl@0
  2802
//!				3. Get the codec used for the audio component of the video.
sl@0
  2803
//!				4. Close file.
sl@0
  2804
//! @SYMTestStatus		Implemented
sl@0
  2805
//! @SYMTestPriority		High
sl@0
  2806
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and Prepare() and AudioTypeL() KErrNotReady(-18),
sl@0
  2807
//! @SYMTestType		CIT
sl@0
  2808
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2809
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2810
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0107-001-NewL_command01
sl@0
  2811
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0107-001-OpenFileL_command02
sl@0
  2812
		OUTSTANDING
sl@0
  2813
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  2814
		OUTSTANDING
sl@0
  2815
		COMMAND	!Error=-18	VideoPlayerUtility1	AudioTypeL	MM-MMF-VCLNT-PLYR-PublicAPI-0107-001-AudioTypeL_command04
sl@0
  2816
		COMMAND			VideoPlayerUtility1	Close
sl@0
  2817
		COMMAND			VideoPlayerUtility1	~
sl@0
  2818
	END_TEST_BLOCK
sl@0
  2819
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0107
sl@0
  2820
sl@0
  2821
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0108
sl@0
  2822
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0108
sl@0
  2823
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2824
//! @SYMAuthor			Sergei Tveritin
sl@0
  2825
//! @SYMCreationDate		11/05/2006
sl@0
  2826
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2827
//! @SYMTestCaseDesc		Checking an audio stream in the current clip when video clip is not opened.
sl@0
  2828
//!				Uses API elements: NewL(), AudioEnabledL().
sl@0
  2829
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2830
//!				2. Returns whether the current clip has an audio stream.
sl@0
  2831
//! @SYMTestStatus		Implemented
sl@0
  2832
//! @SYMTestPriority		High
sl@0
  2833
//! @SYMTestExpectedResults	AudioEnabledL() will return the error KErrNotReady.
sl@0
  2834
//! @SYMTestType		CIT
sl@0
  2835
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2836
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2837
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0108-001-NewL_command01
sl@0
  2838
		COMMAND	!Error=-18	VideoPlayerUtility1	AudioEnabledL		MM-MMF-VCLNT-PLYR-PublicAPI-0108-001-AudioEnabledL_command02
sl@0
  2839
		COMMAND			VideoPlayerUtility1	~
sl@0
  2840
	END_TEST_BLOCK
sl@0
  2841
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0108
sl@0
  2842
sl@0
  2843
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0109
sl@0
  2844
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0109
sl@0
  2845
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2846
//! @SYMAuthor			Sergei Tveritin
sl@0
  2847
//! @SYMCreationDate		11/05/2006
sl@0
  2848
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2849
//! @SYMTestCaseDesc		Set the position when video clip is not opened.
sl@0
  2850
//!				Uses API elements: NewL(), SetPositionL().
sl@0
  2851
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2852
//!				2. Set the position within the video clip.
sl@0
  2853
//! @SYMTestStatus		Implemented
sl@0
  2854
//! @SYMTestPriority		High
sl@0
  2855
//! @SYMTestExpectedResults	SetPositionL() will return the error KErrNotReady.
sl@0
  2856
//! @SYMTestType		CIT
sl@0
  2857
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2858
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2859
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0109-001-NewL_command01
sl@0
  2860
		COMMAND	!Error=-18	VideoPlayerUtility1	SetPositionL		MM-MMF-VCLNT-PLYR-PublicAPI-0109-001-SetPositionL_command02
sl@0
  2861
		COMMAND			VideoPlayerUtility1	~
sl@0
  2862
	END_TEST_BLOCK
sl@0
  2863
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0109
sl@0
  2864
sl@0
  2865
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0110
sl@0
  2866
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0110
sl@0
  2867
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2868
//! @SYMAuthor			Sergei Tveritin
sl@0
  2869
//! @SYMCreationDate		11/05/2006
sl@0
  2870
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2871
//! @SYMTestCaseDesc		Set the position above duration of video clip.
sl@0
  2872
//!				Uses API elements: NewL(), OpenFileL(), DurationL(), PositionL(), SetPositionL(), PositionL(), Close().
sl@0
  2873
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2874
//!				2. Open a video clip from file.
sl@0
  2875
//!				3. Get the duration of video clip in mircoseconds.
sl@0
  2876
//!				5. Get the current playback position
sl@0
  2877
//!				4. Set the position within the video clip.
sl@0
  2878
//!				5. Get the current playback position
sl@0
  2879
//!				6. Close file.
sl@0
  2880
//! @SYMTestStatus		Implemented
sl@0
  2881
//! @SYMTestPriority		High
sl@0
  2882
//! @SYMTestExpectedResults	New position will be set to maximum (position = duration).
sl@0
  2883
//! @SYMTestType		CIT
sl@0
  2884
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2885
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2886
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0110-001-NewL_command01
sl@0
  2887
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0110-001-OpenFileL_command02
sl@0
  2888
		OUTSTANDING
sl@0
  2889
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  2890
		OUTSTANDING
sl@0
  2891
		COMMAND		VideoPlayerUtility1	DurationL
sl@0
  2892
		COMMAND		VideoPlayerUtility1	PositionL		MM-MMF-VCLNT-PLYR-PublicAPI-0110-001-PositionL_command05
sl@0
  2893
		COMMAND		VideoPlayerUtility1	SetPositionL	MM-MMF-VCLNT-PLYR-PublicAPI-0110-001-SetPositionL_command06
sl@0
  2894
		COMMAND		VideoPlayerUtility1	PositionL		MM-MMF-VCLNT-PLYR-PublicAPI-0110-001-PositionL_command07
sl@0
  2895
		COMMAND		VideoPlayerUtility1	Close
sl@0
  2896
		COMMAND		VideoPlayerUtility1	~
sl@0
  2897
	END_TEST_BLOCK
sl@0
  2898
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0110
sl@0
  2899
sl@0
  2900
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0111
sl@0
  2901
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0111
sl@0
  2902
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2903
//! @SYMAuthor			Sergei Tveritin
sl@0
  2904
//! @SYMCreationDate		11/05/2006
sl@0
  2905
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2906
//! @SYMTestCaseDesc		Set the position to negative number.
sl@0
  2907
//!				Uses API elements: NewL(), OpenFileL(), SetPositionL(), PositionL(), SetPositionL(), PositionL(), Close().
sl@0
  2908
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2909
//!				2. Open a video clip from file.
sl@0
  2910
//!				3. Set the position within the video clip.
sl@0
  2911
//!				4. Get the current playback position.
sl@0
  2912
//!				5. Set the position within the video clip.
sl@0
  2913
//!				6. Get the current playback position.
sl@0
  2914
//!				7. Close file.
sl@0
  2915
//! @SYMTestStatus		Implemented
sl@0
  2916
//! @SYMTestPriority		High
sl@0
  2917
//! @SYMTestExpectedResults	New position will be set to minimum (0).
sl@0
  2918
//! @SYMTestType		CIT
sl@0
  2919
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2920
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2921
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-NewL_command01
sl@0
  2922
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-OpenFileL_command02
sl@0
  2923
		OUTSTANDING
sl@0
  2924
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  2925
		OUTSTANDING
sl@0
  2926
		COMMAND		VideoPlayerUtility1	SetPositionL	MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-SetPositionL_command04
sl@0
  2927
		COMMAND		VideoPlayerUtility1	PositionL		MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-PositionL_command05
sl@0
  2928
		COMMAND		VideoPlayerUtility1	SetPositionL	MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-SetPositionL_command06
sl@0
  2929
		COMMAND		VideoPlayerUtility1	PositionL		MM-MMF-VCLNT-PLYR-PublicAPI-0111-001-PositionL_command07
sl@0
  2930
		COMMAND		VideoPlayerUtility1	Close
sl@0
  2931
		COMMAND		VideoPlayerUtility1	~
sl@0
  2932
	END_TEST_BLOCK
sl@0
  2933
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0111
sl@0
  2934
sl@0
  2935
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0112
sl@0
  2936
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0112
sl@0
  2937
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2938
//! @SYMAuthor			Sergei Tveritin
sl@0
  2939
//! @SYMCreationDate		11/05/2006
sl@0
  2940
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2941
//! @SYMTestCaseDesc		Get the position when video clip is not opened.
sl@0
  2942
//!				Uses API elements: NewL(), PositionL()
sl@0
  2943
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2944
//!				2. Get the current playback position
sl@0
  2945
//! @SYMTestStatus		Implemented
sl@0
  2946
//! @SYMTestPriority		High
sl@0
  2947
//! @SYMTestExpectedResults	PositionL() will return the error KErrNotReady.
sl@0
  2948
//! @SYMTestType		CIT
sl@0
  2949
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2950
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2951
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0112-001-NewL_command01
sl@0
  2952
		COMMAND	!Error=-18	VideoPlayerUtility1	PositionL		MM-MMF-VCLNT-PLYR-PublicAPI-0112-001-PositionL_command02
sl@0
  2953
		COMMAND			VideoPlayerUtility1	~
sl@0
  2954
	END_TEST_BLOCK
sl@0
  2955
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0112
sl@0
  2956
sl@0
  2957
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0113
sl@0
  2958
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0113
sl@0
  2959
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2960
//! @SYMAuthor			Sergei Tveritin
sl@0
  2961
//! @SYMCreationDate		11/05/2006
sl@0
  2962
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2963
//! @SYMTestCaseDesc		Get the duration of video clip in mircoseconds when video clip is not opened.
sl@0
  2964
//!				Uses API elements: NewL(), DurationL()
sl@0
  2965
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2966
//!				2. Get the duration of video clip in mircoseconds.
sl@0
  2967
//! @SYMTestStatus		Implemented
sl@0
  2968
//! @SYMTestPriority		High
sl@0
  2969
//! @SYMTestExpectedResults	DurationL() will return the error KErrNotReady.
sl@0
  2970
//! @SYMTestType		CIT
sl@0
  2971
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2972
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2973
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0113-001-NewL_command01
sl@0
  2974
		COMMAND	!Error=-18	VideoPlayerUtility1	DurationL		MM-MMF-VCLNT-PLYR-PublicAPI-0113-001-DurationL_command02
sl@0
  2975
		COMMAND			VideoPlayerUtility1	~
sl@0
  2976
	END_TEST_BLOCK
sl@0
  2977
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0113
sl@0
  2978
sl@0
  2979
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0114
sl@0
  2980
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0114
sl@0
  2981
//! @SYMAPI			CVideoPlayerUtility
sl@0
  2982
//! @SYMAuthor			Sergei Tveritin
sl@0
  2983
//! @SYMCreationDate		11/05/2006
sl@0
  2984
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  2985
//! @SYMTestCaseDesc		Get the duration of video clip in mircoseconds in corrupted video file.
sl@0
  2986
//!				Uses API elements: NewL(), OpenFileL(), DurationL(), Close().
sl@0
  2987
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  2988
//!				2. Open a video clip from file.
sl@0
  2989
//!				3. Get the duration of video clip in mircoseconds.
sl@0
  2990
//!				4. Close file.
sl@0
  2991
//! @SYMTestStatus		Implemented
sl@0
  2992
//! @SYMTestPriority		High
sl@0
  2993
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and Prepare() and DurationL() KErrNotReady(-18),
sl@0
  2994
//! @SYMTestType		CIT
sl@0
  2995
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  2996
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  2997
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0114-001-NewL_command01
sl@0
  2998
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0114-001-OpenFileL_command02
sl@0
  2999
		OUTSTANDING
sl@0
  3000
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  3001
		OUTSTANDING
sl@0
  3002
		COMMAND	!Error=-18	VideoPlayerUtility1	DurationL	MM-MMF-VCLNT-PLYR-PublicAPI-0114-001-DurationL_command04
sl@0
  3003
		COMMAND			VideoPlayerUtility1	Close
sl@0
  3004
		COMMAND			VideoPlayerUtility1	~
sl@0
  3005
	END_TEST_BLOCK
sl@0
  3006
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0114
sl@0
  3007
sl@0
  3008
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0115
sl@0
  3009
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0115
sl@0
  3010
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3011
//! @SYMAuthor			Sergei Tveritin
sl@0
  3012
//! @SYMCreationDate		11/05/2006
sl@0
  3013
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3014
//! @SYMTestCaseDesc		Set the volume when video clip is not opened.
sl@0
  3015
//!				Uses API elements: NewL(), SetVolumeL().
sl@0
  3016
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3017
//!				2. Set the playback volume for the audio track of the video clip.
sl@0
  3018
//! @SYMTestStatus		Implemented
sl@0
  3019
//! @SYMTestPriority		High
sl@0
  3020
//! @SYMTestExpectedResults	SetVolumeL() will return the error KErrNotReady.
sl@0
  3021
//! @SYMTestType		CIT
sl@0
  3022
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3023
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3024
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0115-001-NewL_command01
sl@0
  3025
		COMMAND	!Error=-18	VideoPlayerUtility1	SetVolumeL		MM-MMF-VCLNT-PLYR-PublicAPI-0115-001-SetVolumeL_command02
sl@0
  3026
		COMMAND			VideoPlayerUtility1	~
sl@0
  3027
	END_TEST_BLOCK
sl@0
  3028
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0115
sl@0
  3029
sl@0
  3030
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0116
sl@0
  3031
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0116
sl@0
  3032
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3033
//! @SYMAuthor			Sergei Tveritin
sl@0
  3034
//! @SYMCreationDate		11/05/2006
sl@0
  3035
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3036
//! @SYMTestCaseDesc		Set the volume above maximum volume.
sl@0
  3037
//!				Uses API elements: NewL(), OpenFileL(), MaxVolume(), VolumeL(), SetVolumeL(), VolumeL(), Close().
sl@0
  3038
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3039
//!				2. Open a video clip from file.
sl@0
  3040
//!				3. Get the maximum volume that the audio track can support.
sl@0
  3041
//!				4. Get current playback volume for the audio track of the video clip.
sl@0
  3042
//!				5. Set the playback volume for the audio track of the video clip.
sl@0
  3043
//!				6. Get current playback volume for the audio track of the video clip.
sl@0
  3044
//!				7. Close file.
sl@0
  3045
//! @SYMTestStatus		Implemented
sl@0
  3046
//! @SYMTestPriority		High
sl@0
  3047
//! @SYMTestExpectedResults	No errors are returned.
sl@0
  3048
//! @SYMTestType		CIT
sl@0
  3049
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3050
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3051
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0116-001-NewL_command01
sl@0
  3052
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0116-001-OpenFileL_command02
sl@0
  3053
		OUTSTANDING
sl@0
  3054
		COMMAND		VideoPlayerUtility1	MaxVolume
sl@0
  3055
		COMMAND		VideoPlayerUtility1	Volume
sl@0
  3056
		COMMAND		VideoPlayerUtility1	SetVolumeL		MM-MMF-VCLNT-PLYR-PublicAPI-0116-001-SetVolumeL_command05
sl@0
  3057
		COMMAND		VideoPlayerUtility1	Volume
sl@0
  3058
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3059
		COMMAND		VideoPlayerUtility1	~
sl@0
  3060
	END_TEST_BLOCK
sl@0
  3061
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0116
sl@0
  3062
sl@0
  3063
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0117
sl@0
  3064
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0117
sl@0
  3065
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3066
//! @SYMAuthor			Sergei Tveritin
sl@0
  3067
//! @SYMCreationDate		11/05/2006
sl@0
  3068
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3069
//! @SYMTestCaseDesc		Set the volume with negative number.
sl@0
  3070
//!				Uses API elements: NewL(), OpenFileL(), SetVolumeL(), VolumeL(), Close().
sl@0
  3071
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3072
//!				2. Open a video clip from file.
sl@0
  3073
//!				3. Set the playback volume for the audio track of the video clip.
sl@0
  3074
//!				4. Get current playback volume for the audio track of the video clip.
sl@0
  3075
//!				5. Close file.
sl@0
  3076
//! @SYMTestStatus		Implemented
sl@0
  3077
//! @SYMTestPriority		High
sl@0
  3078
//! @SYMTestExpectedResults	No errors are returned.
sl@0
  3079
//! @SYMTestType		CIT
sl@0
  3080
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3081
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3082
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0117-001-NewL_command01
sl@0
  3083
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0117-001-OpenFileL_command02
sl@0
  3084
		OUTSTANDING
sl@0
  3085
		COMMAND		VideoPlayerUtility1	SetVolumeL		MM-MMF-VCLNT-PLYR-PublicAPI-0117-001-SetVolumeL_command03
sl@0
  3086
		COMMAND		VideoPlayerUtility1	Volume
sl@0
  3087
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3088
		COMMAND		VideoPlayerUtility1	~
sl@0
  3089
	END_TEST_BLOCK
sl@0
  3090
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0117
sl@0
  3091
sl@0
  3092
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0118
sl@0
  3093
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0118
sl@0
  3094
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3095
//! @SYMAuthor			Sergei Tveritin
sl@0
  3096
//! @SYMCreationDate		11/05/2006
sl@0
  3097
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3098
//! @SYMTestCaseDesc		Get the current volume when video clip is not opened.
sl@0
  3099
//!				Uses API elements: NewL(), VolumeL().
sl@0
  3100
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3101
//!				2. Get current playback volume for the audio track of the video clip.
sl@0
  3102
//! @SYMTestStatus		Implemented
sl@0
  3103
//! @SYMTestPriority		High
sl@0
  3104
//! @SYMTestExpectedResults	VolumeL will return zero (0).
sl@0
  3105
//! @SYMTestType		CIT
sl@0
  3106
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3107
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3108
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0118-001-NewL_command01
sl@0
  3109
		COMMAND		VideoPlayerUtility1	Volume		MM-MMF-VCLNT-PLYR-PublicAPI-0118-001-Volume_command02
sl@0
  3110
		COMMAND		VideoPlayerUtility1	~
sl@0
  3111
	END_TEST_BLOCK
sl@0
  3112
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0118
sl@0
  3113
sl@0
  3114
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0119
sl@0
  3115
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0119
sl@0
  3116
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3117
//! @SYMAuthor			Sergei Tveritin
sl@0
  3118
//! @SYMCreationDate		11/05/2006
sl@0
  3119
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3120
//! @SYMTestCaseDesc		Get the maximum volume when video clip is not opened.
sl@0
  3121
//!				Uses API elements: NewL(), MaxVolume().
sl@0
  3122
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3123
//!				2. Get the maximum volume that the audio track can support.
sl@0
  3124
//! @SYMTestStatus		Implemented
sl@0
  3125
//! @SYMTestPriority		High
sl@0
  3126
//! @SYMTestExpectedResults	KErrNotSupported is returned
sl@0
  3127
//! @SYMTestType		CIT
sl@0
  3128
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3129
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3130
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0119-001-NewL_command01
sl@0
  3131
		COMMAND		VideoPlayerUtility1	MaxVolume
sl@0
  3132
		COMMAND		VideoPlayerUtility1	~
sl@0
  3133
	END_TEST_BLOCK
sl@0
  3134
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0119
sl@0
  3135
sl@0
  3136
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0120
sl@0
  3137
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0120
sl@0
  3138
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3139
//! @SYMAuthor			Sergei Tveritin
sl@0
  3140
//! @SYMCreationDate		11/05/2006
sl@0
  3141
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3142
//! @SYMTestCaseDesc		Set the current playback balance for the audio track when video clip is not opened.
sl@0
  3143
//!				Uses API elements: NewL(), SetBalanceL()
sl@0
  3144
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3145
//!				2. Sets the current playback balance for the audio track of the video clip.
sl@0
  3146
//! @SYMTestStatus		Implemented
sl@0
  3147
//! @SYMTestPriority		High
sl@0
  3148
//! @SYMTestExpectedResults	SetBalanceL() will return the error KErrNotReady.
sl@0
  3149
//! @SYMTestType		CIT
sl@0
  3150
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3151
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3152
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0120-001-NewL_command01
sl@0
  3153
		COMMAND	!Error=-18	VideoPlayerUtility1	SetBalanceL		MM-MMF-VCLNT-PLYR-PublicAPI-0120-001-SetBalanceL_command02
sl@0
  3154
		COMMAND			VideoPlayerUtility1	~
sl@0
  3155
	END_TEST_BLOCK
sl@0
  3156
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0120
sl@0
  3157
sl@0
  3158
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0121
sl@0
  3159
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0121
sl@0
  3160
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3161
//! @SYMAuthor			Sergei Tveritin
sl@0
  3162
//! @SYMCreationDate		11/05/2006
sl@0
  3163
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3164
//! @SYMTestCaseDesc		Set the current playback balance for the audio track above maximum.
sl@0
  3165
//!				Uses API elements: NewL(), OpenFileL(), SetBalanceL(), BalanceL(), Close().
sl@0
  3166
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3167
//!				2. Open a video clip from file.
sl@0
  3168
//!				3. Sets the current playback balance for the audio track of the video clip.
sl@0
  3169
//!				4. Get the current balance setting for the audio track of the video clip.
sl@0
  3170
//!				5. Close file.
sl@0
  3171
//! @SYMTestStatus		Implemented
sl@0
  3172
//! @SYMTestPriority		High
sl@0
  3173
//! @SYMTestExpectedResults	Balance will be set without errors.
sl@0
  3174
//! @SYMTestType		CIT
sl@0
  3175
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3176
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3177
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0121-001-NewL_command01
sl@0
  3178
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0121-001-OpenFileL_command02
sl@0
  3179
		OUTSTANDING
sl@0
  3180
		COMMAND		VideoPlayerUtility1	SetBalanceL		MM-MMF-VCLNT-PLYR-PublicAPI-0121-001-SetBalanceL_command03
sl@0
  3181
		COMMAND		VideoPlayerUtility1	Balance			MM-MMF-VCLNT-PLYR-PublicAPI-0121-001-Balance_command04
sl@0
  3182
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3183
		COMMAND		VideoPlayerUtility1	~
sl@0
  3184
	END_TEST_BLOCK
sl@0
  3185
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0121
sl@0
  3186
sl@0
  3187
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0122
sl@0
  3188
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0122
sl@0
  3189
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3190
//! @SYMAuthor			Sergei Tveritin
sl@0
  3191
//! @SYMCreationDate		11/05/2006
sl@0
  3192
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3193
//! @SYMTestCaseDesc		Set the current playback balance for the audio track with negative number.
sl@0
  3194
//!				Uses API elements: NewL(), OpenFileL(), SetBalanceL(), BalanceL(), Close().
sl@0
  3195
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3196
//!				2. Open a video clip from file.
sl@0
  3197
//!				3. Sets the current playback balance for the audio track of the video clip.
sl@0
  3198
//!				4. Get the current balance setting for the audio track of the video clip.
sl@0
  3199
//!				5. Close file.
sl@0
  3200
//! @SYMTestStatus		Implemented
sl@0
  3201
//! @SYMTestPriority		High
sl@0
  3202
//! @SYMTestExpectedResults	Balance will be set without errors.
sl@0
  3203
//! @SYMTestType		CIT
sl@0
  3204
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3205
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3206
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0122-001-NewL_command01
sl@0
  3207
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0122-001-OpenFileL_command02
sl@0
  3208
		OUTSTANDING
sl@0
  3209
		COMMAND		VideoPlayerUtility1	SetBalanceL		MM-MMF-VCLNT-PLYR-PublicAPI-0122-001-SetBalanceL_command03
sl@0
  3210
		COMMAND		VideoPlayerUtility1	Balance			MM-MMF-VCLNT-PLYR-PublicAPI-0122-001-Balance_command04
sl@0
  3211
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3212
		COMMAND		VideoPlayerUtility1	~
sl@0
  3213
	END_TEST_BLOCK
sl@0
  3214
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0122
sl@0
  3215
sl@0
  3216
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0123
sl@0
  3217
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0123
sl@0
  3218
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3219
//! @SYMAuthor			Sergei Tveritin
sl@0
  3220
//! @SYMCreationDate		11/05/2006
sl@0
  3221
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3222
//! @SYMTestCaseDesc		Get the current playback balance for the audio track when video clip is not opened.
sl@0
  3223
//!				Uses API elements: NewL(), BalanceL()
sl@0
  3224
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3225
//!				2. Get the current playback balance for the audio track of the video clip.
sl@0
  3226
//! @SYMTestStatus		Implemented
sl@0
  3227
//! @SYMTestPriority		High
sl@0
  3228
//! @SYMTestExpectedResults	Balance will be queried without errors.
sl@0
  3229
//! @SYMTestType		CIT
sl@0
  3230
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3231
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3232
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0123-001-NewL_command01
sl@0
  3233
		COMMAND		VideoPlayerUtility1	Balance		MM-MMF-VCLNT-PLYR-PublicAPI-0123-001-Balance_command02
sl@0
  3234
		COMMAND		VideoPlayerUtility1	~
sl@0
  3235
	END_TEST_BLOCK
sl@0
  3236
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0123
sl@0
  3237
sl@0
  3238
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0124
sl@0
  3239
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0124
sl@0
  3240
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3241
//! @SYMAuthor			Sergei Tveritin
sl@0
  3242
//! @SYMCreationDate		11/05/2006
sl@0
  3243
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3244
//! @SYMTestCaseDesc		Rotates the video image on the screen when video clip is not opened.
sl@0
  3245
//!				Uses API elements: NewL(), SetRotationL()
sl@0
  3246
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3247
//!				2. Rotates the video image on the screen.
sl@0
  3248
//! @SYMTestStatus		Implemented
sl@0
  3249
//! @SYMTestPriority		High
sl@0
  3250
//! @SYMTestExpectedResults	SetRotationL() will return the error KErrNotReady.
sl@0
  3251
//! @SYMTestType		CIT
sl@0
  3252
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3253
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3254
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0124-001-NewL_command01
sl@0
  3255
		COMMAND	!Error=-18	VideoPlayerUtility1	SetRotationL	MM-MMF-VCLNT-PLYR-PublicAPI-0124-001-SetRotationL_command02
sl@0
  3256
		COMMAND			VideoPlayerUtility1	~
sl@0
  3257
	END_TEST_BLOCK
sl@0
  3258
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0124
sl@0
  3259
sl@0
  3260
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0125
sl@0
  3261
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0125
sl@0
  3262
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3263
//! @SYMAuthor			Sergei Tveritin
sl@0
  3264
//! @SYMCreationDate		11/05/2006
sl@0
  3265
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3266
//! @SYMTestCaseDesc		Rotates the video image on the screen in corrupted video file.
sl@0
  3267
//!				Uses API elements: NewL(), OpenFileL(), SetRotationL(), Close().
sl@0
  3268
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3269
//!				2. Open a video clip from file.
sl@0
  3270
//!				3. Rotates the video image on the screen.
sl@0
  3271
//!				4. Close file.
sl@0
  3272
//! @SYMTestStatus		Implemented
sl@0
  3273
//! @SYMTestPriority		High
sl@0
  3274
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and Prepare() and SetRotationL() KErrNotReady(-18),
sl@0
  3275
//! @SYMTestType		CIT
sl@0
  3276
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3277
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3278
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0125-001-NewL_command01
sl@0
  3279
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0125-001-OpenFileL_command02
sl@0
  3280
		OUTSTANDING
sl@0
  3281
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  3282
		OUTSTANDING
sl@0
  3283
		COMMAND	!Error=-18	VideoPlayerUtility1	SetRotationL	MM-MMF-VCLNT-PLYR-PublicAPI-0125-001-SetRotationL_command04
sl@0
  3284
		COMMAND			VideoPlayerUtility1	Close
sl@0
  3285
		COMMAND			VideoPlayerUtility1	~
sl@0
  3286
	END_TEST_BLOCK
sl@0
  3287
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0125
sl@0
  3288
sl@0
  3289
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0126
sl@0
  3290
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0126
sl@0
  3291
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3292
//! @SYMAuthor			Sergei Tveritin
sl@0
  3293
//! @SYMCreationDate		11/05/2006
sl@0
  3294
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3295
//! @SYMTestCaseDesc		Rotates the video image on the screen with invalid value.
sl@0
  3296
//!				Uses API elements: NewL(), OpenFileL(), SetRotationL(), RotationL(), Close().
sl@0
  3297
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3298
//!				2. Open a video clip from file.
sl@0
  3299
//!				2. Sets the current playback balance for the audio track of the video clip.
sl@0
  3300
//!				4. Get the rotation that is currently applied to the video image.
sl@0
  3301
//!				5. Close file.
sl@0
  3302
//! @SYMTestStatus		Implemented
sl@0
  3303
//! @SYMTestPriority		High
sl@0
  3304
//! @SYMTestExpectedResults	Video is rotated without errors.
sl@0
  3305
//! @SYMTestType		CIT
sl@0
  3306
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3307
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3308
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0126-001-NewL_command01
sl@0
  3309
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0126-001-OpenFileL_command02
sl@0
  3310
		OUTSTANDING
sl@0
  3311
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  3312
		OUTSTANDING
sl@0
  3313
		COMMAND		VideoPlayerUtility1	SetRotationL	MM-MMF-VCLNT-PLYR-PublicAPI-0126-001-SetRotationL_command04
sl@0
  3314
		COMMAND		VideoPlayerUtility1	RotationL		MM-MMF-VCLNT-PLYR-PublicAPI-0126-001-RotationL_command05
sl@0
  3315
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3316
		COMMAND		VideoPlayerUtility1	~
sl@0
  3317
	END_TEST_BLOCK
sl@0
  3318
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0126
sl@0
  3319
sl@0
  3320
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0127
sl@0
  3321
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0127
sl@0
  3322
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3323
//! @SYMAuthor			Sergei Tveritin
sl@0
  3324
//! @SYMCreationDate		11/05/2006
sl@0
  3325
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3326
//! @SYMTestCaseDesc		Get the rotation that is currently applied to the video image when video clip is not opened.
sl@0
  3327
//!				Uses API elements: NewL(), RotationL()
sl@0
  3328
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3329
//!				2. Get the rotation that is currently applied to the video image.
sl@0
  3330
//! @SYMTestStatus		Implemented
sl@0
  3331
//! @SYMTestPriority		High
sl@0
  3332
//! @SYMTestExpectedResults	RotationL() will return the error KErrNotReady.
sl@0
  3333
//! @SYMTestType		CIT
sl@0
  3334
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3335
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3336
		COMMAND			VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0127-001-NewL_command01
sl@0
  3337
		COMMAND	!Error=-18	VideoPlayerUtility1	RotationL	MM-MMF-VCLNT-PLYR-PublicAPI-0127-001-RotationL_command02
sl@0
  3338
		COMMAND			VideoPlayerUtility1	~
sl@0
  3339
	END_TEST_BLOCK
sl@0
  3340
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0127
sl@0
  3341
sl@0
  3342
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0128
sl@0
  3343
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0128
sl@0
  3344
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3345
//! @SYMAuthor			Sergei Tveritin
sl@0
  3346
//! @SYMCreationDate		11/05/2006
sl@0
  3347
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3348
//! @SYMTestCaseDesc		Get the rotation in corrupted file.
sl@0
  3349
//!				Uses API elements: NewL(), OpenFileL(), RotationL(), Close().
sl@0
  3350
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3351
//!				2. Open a video clip from file.
sl@0
  3352
//!				3. Get the rotation that is currently applied to the video image.
sl@0
  3353
//!				4. Close file.
sl@0
  3354
//! @SYMTestStatus		Implemented
sl@0
  3355
//! @SYMTestPriority		High
sl@0
  3356
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and RotationL() KErrNotReady(-18),
sl@0
  3357
//! @SYMTestType		CIT
sl@0
  3358
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3359
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3360
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0128-001-NewL_command01
sl@0
  3361
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0128-001-OpenFileL_command02
sl@0
  3362
		OUTSTANDING
sl@0
  3363
		COMMAND	!Error=-18	VideoPlayerUtility1	RotationL	MM-MMF-VCLNT-PLYR-PublicAPI-0128-001-RotationL_command03
sl@0
  3364
		COMMAND			VideoPlayerUtility1	Close
sl@0
  3365
		COMMAND			VideoPlayerUtility1	~
sl@0
  3366
	END_TEST_BLOCK
sl@0
  3367
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0128
sl@0
  3368
sl@0
  3369
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0129
sl@0
  3370
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0129
sl@0
  3371
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3372
//! @SYMAuthor			Sergei Tveritin
sl@0
  3373
//! @SYMCreationDate		11/05/2006
sl@0
  3374
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3375
//! @SYMTestCaseDesc		Get the rotation if no rotation has been set before.
sl@0
  3376
//!				Uses API elements: NewL(), OpenFileL(), RotationL(), Close().
sl@0
  3377
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3378
//!				2. Open a video clip from file.
sl@0
  3379
//!				3. Get the rotation that is currently applied to the video image.
sl@0
  3380
//!				4. Close file.
sl@0
  3381
//! @SYMTestStatus		Implemented
sl@0
  3382
//! @SYMTestPriority		High
sl@0
  3383
//! @SYMTestExpectedResults	Rotation will be queried without errors.
sl@0
  3384
//! @SYMTestType		CIT
sl@0
  3385
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3386
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3387
		COMMAND		VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0129-001-NewL_command01
sl@0
  3388
		COMMAND		VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0129-001-OpenFileL_command02
sl@0
  3389
		OUTSTANDING
sl@0
  3390
		COMMAND		VideoPlayerUtility1	RotationL	MM-MMF-VCLNT-PLYR-PublicAPI-0129-001-RotationL_command03
sl@0
  3391
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3392
		COMMAND		VideoPlayerUtility1	~
sl@0
  3393
	END_TEST_BLOCK
sl@0
  3394
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0129
sl@0
  3395
sl@0
  3396
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0130
sl@0
  3397
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0130
sl@0
  3398
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3399
//! @SYMAuthor			Sergei Tveritin
sl@0
  3400
//! @SYMCreationDate		11/05/2006
sl@0
  3401
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3402
//! @SYMTestCaseDesc		Scales the video image to a specified percentage of its original size when video clip is not opened.
sl@0
  3403
//!				Uses API elements: NewL(), SetScaleFactorL()
sl@0
  3404
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3405
//!				2. Scales the video image to a specified percentage of its original size.
sl@0
  3406
//! @SYMTestStatus		Implemented
sl@0
  3407
//! @SYMTestPriority		High
sl@0
  3408
//! @SYMTestExpectedResults	SetScaleFactorL() will return the error KErrNotReady.
sl@0
  3409
//! @SYMTestType		CIT
sl@0
  3410
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3411
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3412
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0130-001-NewL_command01
sl@0
  3413
		COMMAND	!Error=-18	VideoPlayerUtility1	SetScaleFactorL		MM-MMF-VCLNT-PLYR-PublicAPI-0130-001-SetScaleFactorL_command02
sl@0
  3414
		COMMAND			VideoPlayerUtility1	~
sl@0
  3415
	END_TEST_BLOCK
sl@0
  3416
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0130
sl@0
  3417
sl@0
  3418
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0131
sl@0
  3419
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0131
sl@0
  3420
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3421
//! @SYMAuthor			Sergei Tveritin
sl@0
  3422
//! @SYMCreationDate		11/05/2006
sl@0
  3423
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3424
//! @SYMTestCaseDesc		Trying to scale the video image with negative width and height scale of the video image with using anti-aliasing.
sl@0
  3425
//!				Uses API elements: NewL(), OpenFileL(), SetScaleFactorL(), GetScaleFactorL, Close().
sl@0
  3426
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3427
//!				2. Open a video clip from file.
sl@0
  3428
//!				3. Scales the video image to a specified percentage of its original size.
sl@0
  3429
//!				4. Gets the scale factor currently applied to the video image.
sl@0
  3430
//!				5. Close file.
sl@0
  3431
//! @SYMTestStatus		Implemented
sl@0
  3432
//! @SYMTestPriority		High
sl@0
  3433
//! @SYMTestExpectedResults	Video is scaled without errors.
sl@0
  3434
//! @SYMTestType		CIT
sl@0
  3435
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3436
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3437
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0131-001-NewL_command01
sl@0
  3438
		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0131-001-OpenFileL_command02
sl@0
  3439
		OUTSTANDING
sl@0
  3440
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  3441
		OUTSTANDING
sl@0
  3442
		COMMAND		VideoPlayerUtility1	SetScaleFactorL		MM-MMF-VCLNT-PLYR-PublicAPI-0131-001-SetScaleFactorL_command04
sl@0
  3443
		COMMAND		VideoPlayerUtility1	GetScaleFactorL		MM-MMF-VCLNT-PLYR-PublicAPI-0131-001-GetScaleFactorL_command05
sl@0
  3444
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3445
		COMMAND		VideoPlayerUtility1	~
sl@0
  3446
	END_TEST_BLOCK
sl@0
  3447
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0131
sl@0
  3448
sl@0
  3449
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0132
sl@0
  3450
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0132
sl@0
  3451
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3452
//! @SYMAuthor			Sergei Tveritin
sl@0
  3453
//! @SYMCreationDate		11/05/2006
sl@0
  3454
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3455
//! @SYMTestCaseDesc		Trying to scale the video image with negative width and height scale of the video image without using anti-aliasing.
sl@0
  3456
//!				Uses API elements: NewL(), OpenFileL(), SetScaleFactorL(), GetScaleFactorL, Close().
sl@0
  3457
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3458
//!				2. Open a video clip from file.
sl@0
  3459
//!				3. Scales the video image to a specified percentage of its original size.
sl@0
  3460
//!				4. Gets the scale factor currently applied to the video image.
sl@0
  3461
//!				5. Close file.
sl@0
  3462
//! @SYMTestStatus		Implemented
sl@0
  3463
//! @SYMTestPriority		High
sl@0
  3464
//! @SYMTestExpectedResults	Video is scaled without errors.
sl@0
  3465
//! @SYMTestType		CIT
sl@0
  3466
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3467
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3468
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0132-001-NewL_command01
sl@0
  3469
		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0132-001-OpenFileL_command02
sl@0
  3470
		OUTSTANDING
sl@0
  3471
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  3472
		OUTSTANDING
sl@0
  3473
		COMMAND		VideoPlayerUtility1	SetScaleFactorL		MM-MMF-VCLNT-PLYR-PublicAPI-0132-001-SetScaleFactorL_command04
sl@0
  3474
		COMMAND		VideoPlayerUtility1	GetScaleFactorL		MM-MMF-VCLNT-PLYR-PublicAPI-0132-001-GetScaleFactorL_command05
sl@0
  3475
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3476
		COMMAND		VideoPlayerUtility1	~
sl@0
  3477
	END_TEST_BLOCK
sl@0
  3478
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0132
sl@0
  3479
sl@0
  3480
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0133
sl@0
  3481
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0133
sl@0
  3482
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3483
//! @SYMAuthor			Sergei Tveritin
sl@0
  3484
//! @SYMCreationDate		11/05/2006
sl@0
  3485
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3486
//! @SYMTestCaseDesc		Gets the scale factor currently applied to the video image when video clip is not opened.
sl@0
  3487
//!				Uses API elements: NewL(), GetScaleFactorL().
sl@0
  3488
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3489
//!				2. Gets the scale factor currently applied to the video image.
sl@0
  3490
//! @SYMTestStatus		Implemented
sl@0
  3491
//! @SYMTestPriority		High
sl@0
  3492
//! @SYMTestExpectedResults	GetScaleFactorL() will return the error KErrNotReady.
sl@0
  3493
//! @SYMTestType		CIT
sl@0
  3494
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3495
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3496
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0133-001-NewL_command01
sl@0
  3497
		COMMAND	!Error=-18	VideoPlayerUtility1	GetScaleFactorL		MM-MMF-VCLNT-PLYR-PublicAPI-0133-001-GetScaleFactorL_command02
sl@0
  3498
		COMMAND			VideoPlayerUtility1	~
sl@0
  3499
	END_TEST_BLOCK
sl@0
  3500
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0133
sl@0
  3501
sl@0
  3502
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0134
sl@0
  3503
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0134
sl@0
  3504
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3505
//! @SYMAuthor			Sergei Tveritin
sl@0
  3506
//! @SYMCreationDate		11/05/2006
sl@0
  3507
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3508
//! @SYMTestCaseDesc		Gets the scale factor if no scale factor has been set before.
sl@0
  3509
//!				Uses API elements: NewL(), OpenFileL(), GetScaleFactorL(), Close().
sl@0
  3510
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3511
//!				2. Open a video clip from file.
sl@0
  3512
//!				3. Gets the scale factor currently applied to the video image.
sl@0
  3513
//!				4. Close file.
sl@0
  3514
//! @SYMTestStatus		Implemented
sl@0
  3515
//! @SYMTestPriority		High
sl@0
  3516
//! @SYMTestExpectedResults	The scale factor is queried without errors.
sl@0
  3517
//! @SYMTestType		CIT
sl@0
  3518
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3519
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3520
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0134-001-NewL_command01
sl@0
  3521
		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0134-001-OpenFileL_command02
sl@0
  3522
		OUTSTANDING
sl@0
  3523
		COMMAND		VideoPlayerUtility1	GetScaleFactorL		MM-MMF-VCLNT-PLYR-PublicAPI-0134-001-GetScaleFactorL_command03
sl@0
  3524
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3525
		COMMAND		VideoPlayerUtility1	~
sl@0
  3526
	END_TEST_BLOCK
sl@0
  3527
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0134
sl@0
  3528
sl@0
  3529
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0135
sl@0
  3530
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0135
sl@0
  3531
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3532
//! @SYMAuthor			Sergei Tveritin
sl@0
  3533
//! @SYMCreationDate		11/05/2006
sl@0
  3534
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3535
//! @SYMTestCaseDesc		Trying to select a region of the video image to be displayed when video clip is not opened.
sl@0
  3536
//!				Uses API elements: NewL(), SetCropRegionL().
sl@0
  3537
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3538
//!				2. Selects a region of the video image to be displayed.
sl@0
  3539
//! @SYMTestStatus		Implemented
sl@0
  3540
//! @SYMTestPriority		High
sl@0
  3541
//! @SYMTestExpectedResults	SetCropRegionL() will return the error KErrNotReady.
sl@0
  3542
//! @SYMTestType		CIT
sl@0
  3543
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3544
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3545
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0135-001-NewL_command01
sl@0
  3546
		COMMAND	!Error=-18	VideoPlayerUtility1	SetCropRegionL		MM-MMF-VCLNT-PLYR-PublicAPI-0135-001-SetCropRegionL_command02
sl@0
  3547
		COMMAND			VideoPlayerUtility1	~
sl@0
  3548
	END_TEST_BLOCK
sl@0
  3549
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0135
sl@0
  3550
sl@0
  3551
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0136
sl@0
  3552
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0136
sl@0
  3553
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3554
//! @SYMAuthor			Sergei Tveritin
sl@0
  3555
//! @SYMCreationDate		11/05/2006
sl@0
  3556
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3557
//! @SYMTestCaseDesc		Tryng to select a region of the video image to be displayed with negative dimensions.
sl@0
  3558
//!				Uses API elements: NewL(), OpenFileL(), SetCropRegionL(), GetCropRegionL, Close().
sl@0
  3559
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3560
//!				2. Open a video clip from file.
sl@0
  3561
//!				3. Selects a region of the video image to be displayed.
sl@0
  3562
//!				4. Gets the crop region currently applied to the image.
sl@0
  3563
//!				5. Close file.
sl@0
  3564
//! @SYMTestStatus		Implemented
sl@0
  3565
//! @SYMTestPriority		High
sl@0
  3566
//! @SYMTestExpectedResults	The region is selected witout errors.
sl@0
  3567
//! @SYMTestType		CIT
sl@0
  3568
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3569
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3570
		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0136-001-NewL_command01
sl@0
  3571
		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0136-001-OpenFileL_command02
sl@0
  3572
		OUTSTANDING
sl@0
  3573
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  3574
		OUTSTANDING
sl@0
  3575
		COMMAND		VideoPlayerUtility1	SetCropRegionL		MM-MMF-VCLNT-PLYR-PublicAPI-0136-001-SetCropRegionL_command04
sl@0
  3576
		COMMAND		VideoPlayerUtility1	GetCropRegionL		MM-MMF-VCLNT-PLYR-PublicAPI-0136-001-GetCropRegionL_command05
sl@0
  3577
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3578
		COMMAND		VideoPlayerUtility1	~
sl@0
  3579
	END_TEST_BLOCK
sl@0
  3580
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0136
sl@0
  3581
sl@0
  3582
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0137
sl@0
  3583
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0137
sl@0
  3584
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3585
//! @SYMAuthor			Sergei Tveritin
sl@0
  3586
//! @SYMCreationDate		11/05/2006
sl@0
  3587
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3588
//! @SYMTestCaseDesc		Tryng to get the crop region currently applied to the image when video clip is not opened.
sl@0
  3589
//!				Uses API elements: NewL(), GetCropRegionL().
sl@0
  3590
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3591
//!				2. Gets the crop region currently applied to the image
sl@0
  3592
//! @SYMTestStatus		Implemented
sl@0
  3593
//! @SYMTestPriority		High
sl@0
  3594
//! @SYMTestExpectedResults	GetCropRegionL() will return the error KErrNotReady.
sl@0
  3595
//! @SYMTestType		CIT
sl@0
  3596
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3597
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3598
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0137-001-NewL_command01
sl@0
  3599
		COMMAND	!Error=-18	VideoPlayerUtility1	GetCropRegionL	MM-MMF-VCLNT-PLYR-PublicAPI-0137-001-GetCropRegionL_command02
sl@0
  3600
		COMMAND			VideoPlayerUtility1	~					MM-MMF-VCLNT-PLYR-PublicAPI-0137-001-~_command03
sl@0
  3601
	END_TEST_BLOCK
sl@0
  3602
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0137
sl@0
  3603
sl@0
  3604
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0138
sl@0
  3605
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0138
sl@0
  3606
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3607
//! @SYMAuthor			Sergei Tveritin
sl@0
  3608
//! @SYMCreationDate		11/05/2006
sl@0
  3609
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3610
//! @SYMTestCaseDesc		Trying to get the crop region if no crop region has been applied before.
sl@0
  3611
//!				Uses API elements: NewL(), OpenFileL(), GetCropRegionL(), Close().
sl@0
  3612
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3613
//!				2. Open a video clip from file.
sl@0
  3614
//!				3. Gets the crop region currently applied to the image
sl@0
  3615
//!				4. Close file.
sl@0
  3616
//! @SYMTestStatus		Implemented
sl@0
  3617
//! @SYMTestPriority		High
sl@0
  3618
//! @SYMTestExpectedResults	The region is queried without errors.
sl@0
  3619
//! @SYMTestType		CIT
sl@0
  3620
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3621
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3622
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0138-001-NewL_command01
sl@0
  3623
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0138-001-OpenFileL_command02
sl@0
  3624
		OUTSTANDING
sl@0
  3625
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  3626
		OUTSTANDING
sl@0
  3627
		COMMAND		VideoPlayerUtility1	GetCropRegionL	MM-MMF-VCLNT-PLYR-PublicAPI-0138-001-GetCropRegionL_command04
sl@0
  3628
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3629
		COMMAND		VideoPlayerUtility1	~
sl@0
  3630
	END_TEST_BLOCK
sl@0
  3631
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0138
sl@0
  3632
sl@0
  3633
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0139
sl@0
  3634
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0139
sl@0
  3635
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3636
//! @SYMAuthor			Sergei Tveritin
sl@0
  3637
//! @SYMCreationDate		11/05/2006
sl@0
  3638
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3639
//! @SYMTestCaseDesc		Get the number of meta data entries associated with this clip when video clip is not opened.
sl@0
  3640
//!				Uses API elements: NewL(), NumberOfMetaDataEntriesL().
sl@0
  3641
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3642
//!				2. Get the number of meta data entries associated with this clip.
sl@0
  3643
//! @SYMTestStatus		Implemented
sl@0
  3644
//! @SYMTestPriority		High
sl@0
  3645
//! @SYMTestExpectedResults	NumberOfMetaDataEntriesL() will return the error KErrNotReady.
sl@0
  3646
//! @SYMTestType		CIT
sl@0
  3647
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3648
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3649
		COMMAND			VideoPlayerUtility1	NewL							MM-MMF-VCLNT-PLYR-PublicAPI-0139-001-NewL_command01
sl@0
  3650
		COMMAND	!Error=-18	VideoPlayerUtility1	NumberOfMetaDataEntriesL	MM-MMF-VCLNT-PLYR-PublicAPI-0139-001-NumberOfMetaDataEntriesL_command02
sl@0
  3651
		COMMAND			VideoPlayerUtility1	~
sl@0
  3652
	END_TEST_BLOCK
sl@0
  3653
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0139
sl@0
  3654
sl@0
  3655
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0140
sl@0
  3656
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0140
sl@0
  3657
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3658
//! @SYMAuthor			Sergei Tveritin
sl@0
  3659
//! @SYMCreationDate		11/05/2006
sl@0
  3660
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3661
//! @SYMTestCaseDesc		Get the number of meta data entries associated with this clip in corrupted file.
sl@0
  3662
//!				Uses API elements: NewL(), OpenFileL(), NumberOfMetaDataEntriesL(), Close().
sl@0
  3663
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3664
//!				2. Open a video clip from file.
sl@0
  3665
//!				3. Get the number of meta data entries associated with this clip.
sl@0
  3666
//!				4. Close file.
sl@0
  3667
//! @SYMTestStatus		Implemented
sl@0
  3668
//! @SYMTestPriority		High
sl@0
  3669
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and Prepare() and NumberOfMetaDataEntriesL() KErrNotReady(-18),
sl@0
  3670
//! @SYMTestType		CIT
sl@0
  3671
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3672
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3673
		COMMAND			VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0140-001-NewL_command01
sl@0
  3674
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0140-001-OpenFileL_command02
sl@0
  3675
		OUTSTANDING
sl@0
  3676
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  3677
		OUTSTANDING
sl@0
  3678
		COMMAND	!Error=-18	VideoPlayerUtility1	NumberOfMetaDataEntriesL	MM-MMF-VCLNT-PLYR-PublicAPI-0140-001-NumberOfMetaDataEntriesL_command04
sl@0
  3679
		COMMAND			VideoPlayerUtility1	Close
sl@0
  3680
		COMMAND			VideoPlayerUtility1	~
sl@0
  3681
	END_TEST_BLOCK
sl@0
  3682
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0140
sl@0
  3683
sl@0
  3684
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0141
sl@0
  3685
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0141
sl@0
  3686
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3687
//! @SYMAuthor			Sergei Tveritin
sl@0
  3688
//! @SYMCreationDate		11/05/2006
sl@0
  3689
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3690
//! @SYMTestCaseDesc		Get the meta data entry when video clip is not opened.
sl@0
  3691
//!				Uses API elements: NewL(), MetaDataEntryL().
sl@0
  3692
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3693
//!				2. Get a meta data entry from the clip.
sl@0
  3694
//! @SYMTestStatus		Implemented
sl@0
  3695
//! @SYMTestPriority		High
sl@0
  3696
//! @SYMTestExpectedResults	MetaDataEntryL() will return the error KErrNotReady.
sl@0
  3697
//! @SYMTestType		CIT
sl@0
  3698
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3699
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3700
		COMMAND			VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0141-001-NewL_command01
sl@0
  3701
		COMMAND	!Error=-18	VideoPlayerUtility1	MetaDataEntryL		MM-MMF-VCLNT-PLYR-PublicAPI-0141-001-MetaDataEntryL_command02
sl@0
  3702
		COMMAND			VideoPlayerUtility1	~
sl@0
  3703
	END_TEST_BLOCK
sl@0
  3704
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0141
sl@0
  3705
sl@0
  3706
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0142
sl@0
  3707
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0142
sl@0
  3708
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3709
//! @SYMAuthor			Sergei Tveritin
sl@0
  3710
//! @SYMCreationDate		11/05/2006
sl@0
  3711
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3712
//! @SYMTestCaseDesc		Get the meta data entry with negative index from the clip.
sl@0
  3713
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), MetaDataEntryL(), Close().
sl@0
  3714
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3715
//!				2. Open a video clip from file.
sl@0
  3716
//!				3. Prepare the video clip.
sl@0
  3717
//!				4. Get a meta data entry from the clip.
sl@0
  3718
//!				5. Close file.
sl@0
  3719
//! @SYMTestStatus		Implemented
sl@0
  3720
//! @SYMTestPriority		High
sl@0
  3721
//! @SYMTestExpectedResults	MetaDataEntryL will return the error KErrNotReady.
sl@0
  3722
//! @SYMTestType		CIT
sl@0
  3723
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3724
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3725
		COMMAND		VideoPlayerUtility1	NewL			MM-MMF-VCLNT-PLYR-PublicAPI-0142-001-NewL_command01
sl@0
  3726
		COMMAND		VideoPlayerUtility1	OpenFileL		MM-MMF-VCLNT-PLYR-PublicAPI-0142-001-OpenFileL_command02
sl@0
  3727
		OUTSTANDING
sl@0
  3728
		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  3729
		OUTSTANDING
sl@0
  3730
		COMMAND		VideoPlayerUtility1	MetaDataEntryL	MM-MMF-VCLNT-PLYR-PublicAPI-0142-001-MetaDataEntryL_command04
sl@0
  3731
		COMMAND		VideoPlayerUtility1	Close
sl@0
  3732
		COMMAND		VideoPlayerUtility1	~
sl@0
  3733
	END_TEST_BLOCK
sl@0
  3734
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0142
sl@0
  3735
sl@0
  3736
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0143
sl@0
  3737
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0143
sl@0
  3738
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3739
//! @SYMAuthor			Sergei Tveritin
sl@0
  3740
//! @SYMCreationDate		11/05/2006
sl@0
  3741
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3742
//! @SYMTestCaseDesc		Get the meta data entry with negative index from corrupted video clip.
sl@0
  3743
//!				Uses API elements: NewL(), OpenFileL(), Prepare(), MetaDataEntryL(), Close().
sl@0
  3744
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3745
//!				2. Open a video clip from file.
sl@0
  3746
//!				3. Prepare the video clip.
sl@0
  3747
//!				4. Get a meta data entry from the clip.
sl@0
  3748
//!				5. Close file.
sl@0
  3749
//! @SYMTestStatus		Implemented
sl@0
  3750
//! @SYMTestPriority		High
sl@0
  3751
//! @SYMTestExpectedResults	OpenFileL() returns KErrCorrupt(-20), and Prepare() and MetaDataEntryL() KErrNotReady(-18),
sl@0
  3752
//! @SYMTestType		CIT
sl@0
  3753
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3754
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3755
		COMMAND			VideoPlayerUtility1	NewL		MM-MMF-VCLNT-PLYR-PublicAPI-0143-001-NewL_command01
sl@0
  3756
		COMMAND	!AsyncError=-20	VideoPlayerUtility1	OpenFileL	MM-MMF-VCLNT-PLYR-PublicAPI-0143-001-OpenFileL_command02
sl@0
  3757
		OUTSTANDING
sl@0
  3758
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	Prepare
sl@0
  3759
		OUTSTANDING
sl@0
  3760
		COMMAND	!Error=-18	VideoPlayerUtility1	MetaDataEntryL	MM-MMF-VCLNT-PLYR-PublicAPI-0143-001-MetaDataEntryL_command04
sl@0
  3761
		COMMAND			VideoPlayerUtility1	Close
sl@0
  3762
		COMMAND			VideoPlayerUtility1	~
sl@0
  3763
	END_TEST_BLOCK
sl@0
  3764
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0143
sl@0
  3765
sl@0
  3766
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0144
sl@0
  3767
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0144
sl@0
  3768
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3769
//! @SYMAuthor			Sergei Tveritin
sl@0
  3770
//! @SYMCreationDate		11/05/2006
sl@0
  3771
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3772
//! @SYMTestCaseDesc		Get the controller implementation information associated with the current controller when video clip is not opened.
sl@0
  3773
//!				Uses API elements: NewL(), ControllerImplementationInformationL().
sl@0
  3774
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3775
//!				2. Get the controller implementation information associated with the current controller.
sl@0
  3776
//! @SYMTestStatus		Implemented
sl@0
  3777
//! @SYMTestPriority		High
sl@0
  3778
//! @SYMTestExpectedResults	ControllerImplementationInformationL() will return the error KErrNotReady.
sl@0
  3779
//! @SYMTestType		CIT
sl@0
  3780
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3781
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3782
		COMMAND			VideoPlayerUtility1	NewL										MM-MMF-VCLNT-PLYR-PublicAPI-0144-001-NewL_command01
sl@0
  3783
		COMMAND	!Error=-18	VideoPlayerUtility1	ControllerImplementationInformationL
sl@0
  3784
		COMMAND			VideoPlayerUtility1	~
sl@0
  3785
	END_TEST_BLOCK
sl@0
  3786
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0144
sl@0
  3787
sl@0
  3788
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0145
sl@0
  3789
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0145
sl@0
  3790
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3791
//! @SYMAuthor			Sergei Tveritin
sl@0
  3792
//! @SYMCreationDate		11/05/2006
sl@0
  3793
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3794
//! @SYMTestCaseDesc		Sends a synchronous custom command to the controller when video clip is not opened.
sl@0
  3795
//!				Uses API elements: NewL(), CustomCommandSync().
sl@0
  3796
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3797
//!				2. Sends a synchronous custom command to the controller.
sl@0
  3798
//! @SYMTestStatus		Implemented
sl@0
  3799
//! @SYMTestPriority		High
sl@0
  3800
//! @SYMTestExpectedResults	CustomCommandSync() will return the error KErrNotReady.
sl@0
  3801
//! @SYMTestType		CIT
sl@0
  3802
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3803
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3804
		COMMAND			VideoPlayerUtility1	NewL						MM-MMF-VCLNT-PLYR-PublicAPI-0145-001-NewL_command01
sl@0
  3805
		COMMAND	!Error=-18	VideoPlayerUtility1	CustomCommandSync		MM-MMF-VCLNT-PLYR-PublicAPI-0145-001-CustomCommandSync_command02
sl@0
  3806
		COMMAND			VideoPlayerUtility1	~
sl@0
  3807
	END_TEST_BLOCK
sl@0
  3808
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0145
sl@0
  3809
sl@0
  3810
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0146
sl@0
  3811
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0146
sl@0
  3812
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3813
//! @SYMAuthor			Sergei Tveritin
sl@0
  3814
//! @SYMCreationDate		11/05/2006
sl@0
  3815
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3816
//! @SYMTestCaseDesc		Send a synchronous custom command to the controller with negative function number with reference to an "DataFrom".
sl@0
  3817
//!				Uses API elements: NewL(), OpenFileL(), CustomCommandSync(), Close().
sl@0
  3818
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3819
//!				2. Open a video clip from file.
sl@0
  3820
//!				3. Sends a synchronous custom command to the controller
sl@0
  3821
//!				4. Close file.
sl@0
  3822
//! @SYMTestStatus		Implemented
sl@0
  3823
//! @SYMTestPriority		High
sl@0
  3824
//! @SYMTestExpectedResults	CustomCommandSync() will raise panic.
sl@0
  3825
//! @SYMTestType		CIT
sl@0
  3826
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3827
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3828
//! 		COMMAND		VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0146-001-NewL_command01
sl@0
  3829
//! 		COMMAND		VideoPlayerUtility1	OpenFileL				MM-MMF-VCLNT-PLYR-PublicAPI-0146-001-OpenFileL_command02
sl@0
  3830
//! 		OUTSTANDING
sl@0
  3831
//! 		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  3832
//! 		OUTSTANDING
sl@0
  3833
//! 		COMMAND		VideoPlayerUtility1	CustomCommandSync		MM-MMF-VCLNT-PLYR-PublicAPI-0146-001-CustomCommandSync_command04
sl@0
  3834
//! 		COMMAND		VideoPlayerUtility1	Close
sl@0
  3835
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  3836
//! 	END_TEST_BLOCK	!PanicCode=72
sl@0
  3837
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0146
sl@0
  3838
sl@0
  3839
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0147
sl@0
  3840
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0147
sl@0
  3841
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3842
//! @SYMAuthor			Sergei Tveritin
sl@0
  3843
//! @SYMCreationDate		11/05/2006
sl@0
  3844
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3845
//! @SYMTestCaseDesc		Send a synchronous custom command to the controller with negative function number without reference to an "DataFrom".
sl@0
  3846
//!				Uses API elements: NewL(), OpenFileL(), CustomCommandSync(), Close().
sl@0
  3847
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3848
//!				2. Open a video clip from file.
sl@0
  3849
//!				3. Sends a synchronous custom command to the controller
sl@0
  3850
//!				4. Close file.
sl@0
  3851
//! @SYMTestStatus		Implemented
sl@0
  3852
//! @SYMTestPriority		High
sl@0
  3853
//! @SYMTestExpectedResults	CustomCommandSync() will raise panic.
sl@0
  3854
//! @SYMTestType		CIT
sl@0
  3855
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3856
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3857
//! 		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0147-001-NewL_command01
sl@0
  3858
//! 		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0147-001-OpenFileL_command02
sl@0
  3859
//! 		OUTSTANDING
sl@0
  3860
//! 		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  3861
//! 		OUTSTANDING
sl@0
  3862
//! 		COMMAND		VideoPlayerUtility1	CustomCommandSync	MM-MMF-VCLNT-PLYR-PublicAPI-0147-001-CustomCommandSync_command04
sl@0
  3863
//! 		COMMAND		VideoPlayerUtility1	Close
sl@0
  3864
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  3865
//! 	END_TEST_BLOCK	!PanicCode=72
sl@0
  3866
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0147
sl@0
  3867
sl@0
  3868
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0148
sl@0
  3869
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0148
sl@0
  3870
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3871
//! @SYMAuthor			Sergei Tveritin
sl@0
  3872
//! @SYMCreationDate		11/05/2006
sl@0
  3873
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3874
//! @SYMTestCaseDesc		Sends an asynchronous custom command to the controller when video clip is not opened.
sl@0
  3875
//!				Uses API elements: NewL(), CustomCommandAsync().
sl@0
  3876
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3877
//!				2. Sends an asynchronous custom command to the controller.
sl@0
  3878
//! @SYMTestStatus		Implemented
sl@0
  3879
//! @SYMTestPriority		High
sl@0
  3880
//! @SYMTestExpectedResults	CustomCommandASync() will return the error KErrNotReady.
sl@0
  3881
//! @SYMTestType		CIT
sl@0
  3882
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3883
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3884
		COMMAND			VideoPlayerUtility1	NewL							MM-MMF-VCLNT-PLYR-PublicAPI-0148-001-NewL_command01
sl@0
  3885
		COMMAND	!AsyncError=-18	VideoPlayerUtility1	CustomCommandAsync		MM-MMF-VCLNT-PLYR-PublicAPI-0148-001-CustomCommandAsync_command02
sl@0
  3886
		OUTSTANDING
sl@0
  3887
		COMMAND			VideoPlayerUtility1	~
sl@0
  3888
	END_TEST_BLOCK
sl@0
  3889
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0148
sl@0
  3890
sl@0
  3891
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0149
sl@0
  3892
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0149
sl@0
  3893
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3894
//! @SYMAuthor			Sergei Tveritin
sl@0
  3895
//! @SYMCreationDate		11/05/2006
sl@0
  3896
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3897
//! @SYMTestCaseDesc		Send an asynchronous custom command to the controller with negative function number with reference to an "DataFrom".
sl@0
  3898
//!				Uses API elements: NewL(), OpenFileL(), CustomCommandAsync(), Close().
sl@0
  3899
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3900
//!				2. Open a video clip from file.
sl@0
  3901
//!				3. Sends an asynchronous custom command to the controller
sl@0
  3902
//!				4. Close file.
sl@0
  3903
//! @SYMTestStatus		Implemented
sl@0
  3904
//! @SYMTestPriority		High
sl@0
  3905
//! @SYMTestExpectedResults	CustomCommandASync() will raise panic.
sl@0
  3906
//! @SYMTestType		CIT
sl@0
  3907
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3908
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3909
//! 		COMMAND		VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0149-001-NewL_command01
sl@0
  3910
//! 		COMMAND		VideoPlayerUtility1	OpenFileL				MM-MMF-VCLNT-PLYR-PublicAPI-0149-001-OpenFileL_command02
sl@0
  3911
//! 		OUTSTANDING
sl@0
  3912
//! 		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  3913
//! 		OUTSTANDING
sl@0
  3914
//! 		COMMAND		VideoPlayerUtility1	CustomCommandAsync		MM-MMF-VCLNT-PLYR-PublicAPI-0149-001-CustomCommandAsync_command04
sl@0
  3915
//! 		OUTSTANDING
sl@0
  3916
//! 		COMMAND		VideoPlayerUtility1	Close
sl@0
  3917
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  3918
//! 	END_TEST_BLOCK	!PanicCode=72
sl@0
  3919
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0149
sl@0
  3920
sl@0
  3921
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0150
sl@0
  3922
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0150
sl@0
  3923
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3924
//! @SYMAuthor			Sergei Tveritin
sl@0
  3925
//! @SYMCreationDate		11/05/2006
sl@0
  3926
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3927
//! @SYMTestCaseDesc		Send an asynchronous custom command to the controller with negative function number without reference to an "DataFrom".
sl@0
  3928
//!				Uses API elements: NewL(), OpenFileL(), CustomCommandAsync(), Close().
sl@0
  3929
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3930
//!				2. Open a video clip from file.
sl@0
  3931
//!				3. Sends an asynchronous custom command to the controller
sl@0
  3932
//!				4. Close file.
sl@0
  3933
//! @SYMTestStatus		Implemented
sl@0
  3934
//! @SYMTestPriority		High
sl@0
  3935
//! @SYMTestExpectedResults	CustomCommandASync() will raise panic.
sl@0
  3936
//! @SYMTestType		CIT
sl@0
  3937
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3938
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3939
//! 		COMMAND		VideoPlayerUtility1	NewL				MM-MMF-VCLNT-PLYR-PublicAPI-0150-001-NewL_command01
sl@0
  3940
//! 		COMMAND		VideoPlayerUtility1	OpenFileL			MM-MMF-VCLNT-PLYR-PublicAPI-0150-001-OpenFileL_command02
sl@0
  3941
//! 		OUTSTANDING
sl@0
  3942
//! 		COMMAND		VideoPlayerUtility1	Prepare
sl@0
  3943
//! 		OUTSTANDING
sl@0
  3944
//! 		COMMAND		VideoPlayerUtility1	CustomCommandAsync	MM-MMF-VCLNT-PLYR-PublicAPI-0150-001-CustomCommandAsync_command04
sl@0
  3945
//! 		OUTSTANDING
sl@0
  3946
//! 		COMMAND		VideoPlayerUtility1	Close
sl@0
  3947
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  3948
//! 	END_TEST_BLOCK	!PanicCode=72
sl@0
  3949
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0150
sl@0
  3950
sl@0
  3951
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0151
sl@0
  3952
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0151
sl@0
  3953
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3954
//! @SYMAuthor			Sergei Tveritin
sl@0
  3955
//! @SYMCreationDate		11/05/2006
sl@0
  3956
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3957
//! @SYMTestCaseDesc		Get a controller's DRM custom command implementation when video clip is not opened.
sl@0
  3958
//!				Uses API elements: NewL(), GetDRMCustomCommand().
sl@0
  3959
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3960
//!				2. Get a controller's DRM custom command implementation.
sl@0
  3961
//! @SYMTestStatus		Implemented
sl@0
  3962
//! @SYMTestPriority		High
sl@0
  3963
//! @SYMTestExpectedResults	The controller's DRM custom command implementation is queried.
sl@0
  3964
//! @SYMTestType		CIT
sl@0
  3965
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3966
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3967
		COMMAND		VideoPlayerUtility1	NewL					MM-MMF-VCLNT-PLYR-PublicAPI-0151-001-NewL_command01
sl@0
  3968
		COMMAND		VideoPlayerUtility1	GetDRMCustomCommand
sl@0
  3969
		COMMAND		VideoPlayerUtility1	~
sl@0
  3970
	END_TEST_BLOCK
sl@0
  3971
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0151
sl@0
  3972
sl@0
  3973
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0152
sl@0
  3974
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0152
sl@0
  3975
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3976
//! @SYMAuthor			Sergei Tveritin
sl@0
  3977
//! @SYMCreationDate		11/05/2006
sl@0
  3978
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  3979
//! @SYMTestCaseDesc		Stop the video player from using direct screen access (DSA) when video clip is not opened.
sl@0
  3980
//!				Uses API elements: NewL(), OpenFileL(), StopDirectScreenAccessL(), Close().
sl@0
  3981
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  3982
//!				2. Stop the video player from using direct screen access.
sl@0
  3983
//! @SYMTestStatus		Implemented
sl@0
  3984
//! @SYMTestPriority		High
sl@0
  3985
//! @SYMTestExpectedResults	The video player is not using direct screen access anymore.
sl@0
  3986
//! @SYMTestType		CIT
sl@0
  3987
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  3988
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  3989
		COMMAND		VideoPlayerUtility1	NewL						MM-MMF-VCLNT-PLYR-PublicAPI-0152-001-NewL_command01
sl@0
  3990
		COMMAND		VideoPlayerUtility1	StopDirectScreenAccessL
sl@0
  3991
		COMMAND		VideoPlayerUtility1	~
sl@0
  3992
	END_TEST_BLOCK
sl@0
  3993
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0152
sl@0
  3994
sl@0
  3995
START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0153
sl@0
  3996
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0153
sl@0
  3997
//! @SYMAPI			CVideoPlayerUtility
sl@0
  3998
//! @SYMAuthor			Sergei Tveritin
sl@0
  3999
//! @SYMCreationDate		11/05/2006
sl@0
  4000
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  4001
//! @SYMTestCaseDesc		Stop the video player from using direct screen access (DSA) without start using direct screen access (DSA) it before.
sl@0
  4002
//!				Uses API elements: NewL(), StopDirectScreenAccessL()
sl@0
  4003
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  4004
//!				2. Open a video clip from file.
sl@0
  4005
//!				3. Stop the video player from using direct screen access.
sl@0
  4006
//!				4. Close file.
sl@0
  4007
//! @SYMTestStatus		Implemented
sl@0
  4008
//! @SYMTestPriority		High
sl@0
  4009
//! @SYMTestExpectedResults	The video player is not using direct screen access anymore.
sl@0
  4010
//! @SYMTestType		CIT
sl@0
  4011
	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  4012
		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  4013
		COMMAND		VideoPlayerUtility1	NewL						MM-MMF-VCLNT-PLYR-PublicAPI-0153-001-NewL_command01
sl@0
  4014
		COMMAND		VideoPlayerUtility1	OpenFileL					MM-MMF-VCLNT-PLYR-PublicAPI-0153-001-OpenFileL_command02
sl@0
  4015
		OUTSTANDING
sl@0
  4016
		COMMAND		VideoPlayerUtility1	StopDirectScreenAccessL
sl@0
  4017
		COMMAND		VideoPlayerUtility1	Close
sl@0
  4018
		COMMAND		VideoPlayerUtility1	~
sl@0
  4019
	END_TEST_BLOCK
sl@0
  4020
END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0153
sl@0
  4021
sl@0
  4022
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0154
sl@0
  4023
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0154
sl@0
  4024
//! @SYMAPI			CVideoPlayerUtility
sl@0
  4025
//! @SYMAuthor			Sergei Tveritin
sl@0
  4026
//! @SYMCreationDate		11/05/2006
sl@0
  4027
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  4028
//! @SYMTestCaseDesc		Start the video player to use direct screen access (DSA) when video clip is not opened..
sl@0
  4029
//!				Uses API elements: NewL(), StartDirectScreenAccessL()
sl@0
  4030
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  4031
//!				2. Start the video player to use direct screen access.
sl@0
  4032
//! @SYMTestStatus		Implemented
sl@0
  4033
//! @SYMTestPriority		High
sl@0
  4034
//! @SYMTestExpectedResults	StartDirectScreenAccessL() will raise panic.
sl@0
  4035
//! @SYMTestType		CIT
sl@0
  4036
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  4037
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  4038
//! 		COMMAND		VideoPlayerUtility1	NewL							MM-MMF-VCLNT-PLYR-PublicAPI-0154-001-NewL_command01
sl@0
  4039
//! 		COMMAND		VideoPlayerUtility1	StartDirectScreenAccessL
sl@0
  4040
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  4041
//! 	END_TEST_BLOCK	!PanicCode=59
sl@0
  4042
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0154
sl@0
  4043
sl@0
  4044
//! START_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0155
sl@0
  4045
//! @SYMTestCaseID		MM-MMF-VCLNT-PLYR-PublicAPI-0155
sl@0
  4046
//! @SYMAPI			CVideoPlayerUtility
sl@0
  4047
//! @SYMAuthor			Sergei Tveritin
sl@0
  4048
//! @SYMCreationDate		11/05/2006
sl@0
  4049
//! @SYMTestCaseDependencies	setup-MM-MMF-VCLNT-PLYR-PublicAPI.script
sl@0
  4050
//! @SYMTestCaseDesc		Start twice the video player to use direct screen access (DSA).
sl@0
  4051
//!				Uses API elements: NewL(), OpenFileL(), StartDirectScreenAccessL(),  StartDirectScreenAccessL(), Close().
sl@0
  4052
//! @SYMTestActions		1. Create CVideoPlayerUtility object.
sl@0
  4053
//!				2. Open a video clip from file.
sl@0
  4054
//!				3. Start the video player to use direct screen access.
sl@0
  4055
//!				4. Start the video player to use direct screen access.
sl@0
  4056
//!				5. Close file.
sl@0
  4057
//! @SYMTestStatus		Implemented
sl@0
  4058
//! @SYMTestPriority		High
sl@0
  4059
//! @SYMTestExpectedResults	StartDirectScreenAccessL() will raise panic after second attempt.
sl@0
  4060
//! @SYMTestType		CIT
sl@0
  4061
//! 	START_TEST_BLOCK	50	T_VideoPlayerUtility	\multimedia\MM-MMF-VCLNT-PLYR-PublicAPI.ini
sl@0
  4062
//! 		CREATE_OBJECT	CVideoPlayerUtility	VideoPlayerUtility1
sl@0
  4063
//! 		COMMAND		VideoPlayerUtility1	NewL							MM-MMF-VCLNT-PLYR-PublicAPI-0155-001-NewL_command01
sl@0
  4064
//! 		COMMAND		VideoPlayerUtility1	OpenFileL						MM-MMF-VCLNT-PLYR-PublicAPI-0155-001-OpenFileL_command02
sl@0
  4065
//! 		OUTSTANDING
sl@0
  4066
//! 		COMMAND		VideoPlayerUtility1	StartDirectScreenAccessL
sl@0
  4067
//! 		COMMAND		VideoPlayerUtility1	StartDirectScreenAccessL
sl@0
  4068
//! 		COMMAND		VideoPlayerUtility1	Close
sl@0
  4069
//! 		COMMAND		VideoPlayerUtility1	~
sl@0
  4070
//! 	END_TEST_BLOCK	!PanicCode=59
sl@0
  4071
//! END_TESTCASE 			MM-MMF-VCLNT-PLYR-PublicAPI-0155