os/mm/mmapitest/mmsvs/suite/icl/T_ImageEncoder/scripts/MM-ICL-ENCDE-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-ICL-ENCDE-PublicApi
sl@0
    19
//! @SYMScriptTestEnvironment	This test script requires a basic ROM.
sl@0
    20
////////////////////////////////////////////////////////////////////
sl@0
    21
// T_ImageEncoder.script
sl@0
    22
//
sl@0
    23
// Tests all public elements of the CImageEncoder 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 CImageEncoder.
sl@0
    27
// The tests are fully automated.
sl@0
    28
/////////////////////////////////////////////////////////////////////
sl@0
    29
sl@0
    30
LOAD_SUITE	T_ImageEncoder
sl@0
    31
sl@0
    32
sl@0
    33
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0001
sl@0
    34
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0001
sl@0
    35
//! @SYMAPI			CImageEncoder
sl@0
    36
//! @SYMAuthor			Louis Nayegon
sl@0
    37
//! @SYMCreationDate		29/11/2005
sl@0
    38
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
    39
//! @SYMTestCaseDesc		Encode to bmp from 24-bit image file giving an image type, using RFile.
sl@0
    40
//!				Uses API elements: FileNewL(), Convert().
sl@0
    41
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Encode image.
sl@0
    42
//! @SYMTestStatus		Implemented
sl@0
    43
//! @SYMTestPriority		Critical
sl@0
    44
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
    45
//! @SYMTestType		CIT
sl@0
    46
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
    47
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
    48
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0001-001-FileNewL_command01
sl@0
    49
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0001-001-Convert_command02
sl@0
    50
		OUTSTANDING
sl@0
    51
		COMMAND		imageencoder1	~
sl@0
    52
	END_TEST_BLOCK
sl@0
    53
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0001
sl@0
    54
sl@0
    55
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0002
sl@0
    56
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0002
sl@0
    57
//! @SYMAPI			CImageEncoder
sl@0
    58
//! @SYMAuthor			Louis Nayegon
sl@0
    59
//! @SYMCreationDate		29/11/2005
sl@0
    60
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
    61
//! @SYMTestCaseDesc		Encode to bmp from 16-bit image file giving a mime type, using RFile.
sl@0
    62
//!				Uses API elements: FileNewL(), Convert().
sl@0
    63
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Encode image.
sl@0
    64
//! @SYMTestStatus		Implemented
sl@0
    65
//! @SYMTestPriority		Critical
sl@0
    66
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
    67
//! @SYMTestType		CIT
sl@0
    68
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
    69
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
    70
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0002-001-FileNewL_command01
sl@0
    71
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0002-001-Convert_command02
sl@0
    72
		OUTSTANDING
sl@0
    73
		COMMAND		imageencoder1	~
sl@0
    74
	END_TEST_BLOCK
sl@0
    75
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0002
sl@0
    76
sl@0
    77
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0003
sl@0
    78
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0003
sl@0
    79
//! @SYMAPI			CImageEncoder
sl@0
    80
//! @SYMAuthor			Louis Nayegon
sl@0
    81
//! @SYMCreationDate		29/11/2005
sl@0
    82
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
    83
//! @SYMTestCaseDesc		Encode to bmp from 8-bit image file giving an image type, without using RFile.
sl@0
    84
//!				Uses API elements: FileNewL(), Convert().
sl@0
    85
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Encode image.
sl@0
    86
//! @SYMTestStatus		Implemented
sl@0
    87
//! @SYMTestPriority		Critical
sl@0
    88
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
    89
//! @SYMTestType		CIT
sl@0
    90
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
    91
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
    92
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0003-001-FileNewL_command01
sl@0
    93
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0003-001-Convert_command02
sl@0
    94
		OUTSTANDING
sl@0
    95
		COMMAND		imageencoder1	~
sl@0
    96
	END_TEST_BLOCK
sl@0
    97
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0003
sl@0
    98
sl@0
    99
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0004
sl@0
   100
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0004
sl@0
   101
//! @SYMAPI			CImageEncoder
sl@0
   102
//! @SYMAuthor			Louis Nayegon
sl@0
   103
//! @SYMCreationDate		29/11/2005
sl@0
   104
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   105
//! @SYMTestCaseDesc		Encode to bmp from 4-bit image file giving a mime type, without using RFile.
sl@0
   106
//!				Uses API elements: FileNewL(), Convert().
sl@0
   107
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Encode image.
sl@0
   108
//! @SYMTestStatus		Implemented
sl@0
   109
//! @SYMTestPriority		Critical
sl@0
   110
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   111
//! @SYMTestType		CIT
sl@0
   112
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   113
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   114
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0004-001-FileNewL_command01
sl@0
   115
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0004-001-Convert_command02
sl@0
   116
		OUTSTANDING
sl@0
   117
		COMMAND		imageencoder1	~
sl@0
   118
	END_TEST_BLOCK
sl@0
   119
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0004
sl@0
   120
sl@0
   121
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0005
sl@0
   122
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0005
sl@0
   123
//! @SYMAPI			CImageEncoder
sl@0
   124
//! @SYMAuthor			Louis Nayegon
sl@0
   125
//! @SYMCreationDate		29/11/2005
sl@0
   126
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   127
//! @SYMTestCaseDesc		Encode to bmp from 2-bit image in buffer giving an image type.
sl@0
   128
//!				Uses API elements: DataNewL(), Convert().
sl@0
   129
//! @SYMTestActions    		1. Create encoder for bmp file buffer. 2. Encode image.
sl@0
   130
//! @SYMTestStatus		Implemented
sl@0
   131
//! @SYMTestPriority		Critical
sl@0
   132
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   133
//! @SYMTestType		CIT
sl@0
   134
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   135
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   136
		COMMAND		imageencoder1	DataNewL	MM-ICL-ENCDE-PublicApi-0005-001-DataNewL_command01
sl@0
   137
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0005-001-Convert_command02
sl@0
   138
		OUTSTANDING
sl@0
   139
		COMMAND		imageencoder1	~
sl@0
   140
	END_TEST_BLOCK
sl@0
   141
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0005
sl@0
   142
sl@0
   143
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0006
sl@0
   144
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0006
sl@0
   145
//! @SYMAPI			CImageEncoder
sl@0
   146
//! @SYMAuthor			Louis Nayegon
sl@0
   147
//! @SYMCreationDate		29/11/2005
sl@0
   148
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   149
//! @SYMTestCaseDesc		Encode to bmp from 1-bit image in buffer giving a mime type.
sl@0
   150
//!				Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid().
sl@0
   151
//! @SYMTestActions    		1. Create encoder for bmp file buffer. 2. Set to encode thumbnail. 3. Encode image. 4. Get implementation UID of encoder used.
sl@0
   152
//! @SYMTestStatus		Implemented
sl@0
   153
//! @SYMTestPriority		Critical
sl@0
   154
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   155
//! @SYMTestType		CIT
sl@0
   156
	START_TEST_BLOCK	10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   157
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   158
		COMMAND		imageencoder1	DataNewL		MM-ICL-ENCDE-PublicApi-0006-001-DataNewL_command01
sl@0
   159
		COMMAND		imageencoder1	SetThumbnail		MM-ICL-ENCDE-PublicApi-0006-001-SetThumbnail_command02
sl@0
   160
		COMMAND		imageencoder1	Convert			MM-ICL-ENCDE-PublicApi-0006-001-Convert_command03
sl@0
   161
		OUTSTANDING
sl@0
   162
		COMMAND		imageencoder1	ImplementationUid
sl@0
   163
		COMMAND		imageencoder1	~
sl@0
   164
	END_TEST_BLOCK
sl@0
   165
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0006
sl@0
   166
sl@0
   167
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0007
sl@0
   168
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0007
sl@0
   169
//! @SYMAPI			CImageEncoder
sl@0
   170
//! @SYMAuthor			Louis Nayegon
sl@0
   171
//! @SYMCreationDate		29/11/2005
sl@0
   172
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   173
//! @SYMTestCaseDesc		Get list of file extensions that can be encoded and their corresponding MIME types.
sl@0
   174
//!				Uses API elements: GetFileTypesL().
sl@0
   175
//! @SYMTestActions    		1. Get list of file extensions that can be encoded and their corresponding MIME types.
sl@0
   176
//! @SYMTestStatus		Implemented
sl@0
   177
//! @SYMTestPriority		High
sl@0
   178
//! @SYMTestExpectedResults	Information returned with no errors.
sl@0
   179
//! @SYMTestType		CIT
sl@0
   180
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   181
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   182
		COMMAND		imageencoder1	GetFileTypesL
sl@0
   183
		COMMAND		imageencoder1	~
sl@0
   184
	END_TEST_BLOCK
sl@0
   185
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0007
sl@0
   186
sl@0
   187
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0008
sl@0
   188
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0008
sl@0
   189
//! @SYMAPI			CImageEncoder
sl@0
   190
//! @SYMAuthor			Louis Nayegon
sl@0
   191
//! @SYMCreationDate		29/11/2005
sl@0
   192
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   193
//! @SYMTestCaseDesc		Try to get list of image sub-types that can be encoded for an unsupported image type.
sl@0
   194
//!				Uses API elements: GetImageSubTypesL().
sl@0
   195
//! @SYMTestActions    		1. Try to get list of image sub-types that can be encoded for an unsupported image type.
sl@0
   196
//! @SYMTestStatus		Implemented
sl@0
   197
//! @SYMTestPriority		High
sl@0
   198
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
   199
//! @SYMTestType		CIT
sl@0
   200
	START_TEST_BLOCK		10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   201
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   202
		COMMAND	!Error=-1	imageencoder1	GetImageSubTypesL	MM-ICL-ENCDE-PublicApi-0008-001-GetImageSubTypesL_command01
sl@0
   203
		COMMAND			imageencoder1	~
sl@0
   204
	END_TEST_BLOCK
sl@0
   205
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0008
sl@0
   206
sl@0
   207
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0009
sl@0
   208
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0009
sl@0
   209
//! @SYMAPI			CImageEncoder
sl@0
   210
//! @SYMAuthor			Louis Nayegon
sl@0
   211
//! @SYMCreationDate		29/11/2005
sl@0
   212
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   213
//! @SYMTestCaseDesc		Get list of basic image types that can be encoded.
sl@0
   214
//!				Uses API elements: GetImageTypesL().
sl@0
   215
//! @SYMTestActions    		1. Get list of basic image types that can be encoded.
sl@0
   216
//! @SYMTestStatus		Implemented
sl@0
   217
//! @SYMTestPriority		High
sl@0
   218
//! @SYMTestExpectedResults	Information returned with no errors.
sl@0
   219
//! @SYMTestType		CIT
sl@0
   220
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   221
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   222
		COMMAND		imageencoder1	GetImageTypesL
sl@0
   223
		COMMAND		imageencoder1	~
sl@0
   224
	END_TEST_BLOCK
sl@0
   225
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0009
sl@0
   226
sl@0
   227
sl@0
   228
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0010
sl@0
   229
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0010
sl@0
   230
//! @SYMAPI			CImageEncoder
sl@0
   231
//! @SYMAuthor			James Mechen
sl@0
   232
//! @SYMCreationDate		13/01/2006
sl@0
   233
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   234
//! @SYMTestCaseDesc		Encode to gif from 24-bit image file giving an image type, using RFile.
sl@0
   235
//!				Uses API elements: FileNewL(), Convert().
sl@0
   236
//! @SYMTestActions    		1. Create encoder for gif file image. 2. Encode image.
sl@0
   237
//! @SYMTestStatus		Implemented
sl@0
   238
//! @SYMTestPriority		Critical
sl@0
   239
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   240
//! @SYMTestType		CIT
sl@0
   241
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   242
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   243
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0010-001-FileNewL_command01
sl@0
   244
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0010-001-Convert_command02
sl@0
   245
		OUTSTANDING
sl@0
   246
		COMMAND		imageencoder1	~
sl@0
   247
	END_TEST_BLOCK
sl@0
   248
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0010
sl@0
   249
sl@0
   250
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0011
sl@0
   251
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0011
sl@0
   252
//! @SYMAPI			CImageEncoder
sl@0
   253
//! @SYMAuthor			James Mechen
sl@0
   254
//! @SYMCreationDate		13/01/2006
sl@0
   255
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   256
//! @SYMTestCaseDesc		Encode to gif from 16-bit image file giving a mime type, using RFile.
sl@0
   257
//!				Uses API elements: FileNewL(), Convert().
sl@0
   258
//! @SYMTestActions    		1. Create encoder for gif file image. 2. Encode image.
sl@0
   259
//! @SYMTestStatus		Implemented
sl@0
   260
//! @SYMTestPriority		Critical
sl@0
   261
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   262
//! @SYMTestType		CIT
sl@0
   263
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   264
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   265
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0011-001-FileNewL_command01
sl@0
   266
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0011-001-Convert_command02
sl@0
   267
		OUTSTANDING
sl@0
   268
		COMMAND		imageencoder1	~
sl@0
   269
	END_TEST_BLOCK
sl@0
   270
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0011
sl@0
   271
sl@0
   272
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0012
sl@0
   273
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0012
sl@0
   274
//! @SYMAPI			CImageEncoder
sl@0
   275
//! @SYMAuthor			James Mechen
sl@0
   276
//! @SYMCreationDate		13/01/2006
sl@0
   277
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   278
//! @SYMTestCaseDesc		Encode to gif from 8-bit image file giving an image type, without using RFile.
sl@0
   279
//!				Uses API elements: FileNewL(), Convert().
sl@0
   280
//! @SYMTestActions    		1. Create encoder for gif file image. 2. Encode image.
sl@0
   281
//! @SYMTestStatus		Implemented
sl@0
   282
//! @SYMTestPriority		Critical
sl@0
   283
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   284
//! @SYMTestType		CIT
sl@0
   285
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   286
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   287
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0012-001-FileNewL_command01
sl@0
   288
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0012-001-Convert_command02
sl@0
   289
		OUTSTANDING
sl@0
   290
		COMMAND		imageencoder1	~
sl@0
   291
	END_TEST_BLOCK
sl@0
   292
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0012
sl@0
   293
sl@0
   294
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0013
sl@0
   295
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0013
sl@0
   296
//! @SYMAPI			CImageEncoder
sl@0
   297
//! @SYMAuthor			James Mechen
sl@0
   298
//! @SYMCreationDate		13/01/2006
sl@0
   299
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   300
//! @SYMTestCaseDesc		Encode to gif from 4-bit image file giving a mime type, without using RFile.
sl@0
   301
//!				Uses API elements: FileNewL(), Convert().
sl@0
   302
//! @SYMTestActions    		1. Create encoder for gif file image. 2. Encode image.
sl@0
   303
//! @SYMTestStatus		Implemented
sl@0
   304
//! @SYMTestPriority		Critical
sl@0
   305
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   306
//! @SYMTestType		CIT
sl@0
   307
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   308
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   309
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0013-001-FileNewL_command01
sl@0
   310
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0013-001-Convert_command02
sl@0
   311
		OUTSTANDING
sl@0
   312
		COMMAND		imageencoder1	~
sl@0
   313
	END_TEST_BLOCK
sl@0
   314
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0013
sl@0
   315
sl@0
   316
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0014
sl@0
   317
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0014
sl@0
   318
//! @SYMAPI			CImageEncoder
sl@0
   319
//! @SYMAuthor			James Mechen
sl@0
   320
//! @SYMCreationDate		13/01/2006
sl@0
   321
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   322
//! @SYMTestCaseDesc		Encode to gif from 2-bit image in buffer giving an image type.
sl@0
   323
//!				Uses API elements: DataNewL(), Convert().
sl@0
   324
//! @SYMTestActions    		1. Create encoder for gif file buffer. 2. Encode image.
sl@0
   325
//! @SYMTestStatus		Implemented
sl@0
   326
//! @SYMTestPriority		Critical
sl@0
   327
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   328
//! @SYMTestType		CIT
sl@0
   329
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   330
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   331
		COMMAND		imageencoder1	DataNewL	MM-ICL-ENCDE-PublicApi-0014-001-DataNewL_command01
sl@0
   332
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0014-001-Convert_command02
sl@0
   333
		OUTSTANDING
sl@0
   334
		COMMAND		imageencoder1	~
sl@0
   335
	END_TEST_BLOCK
sl@0
   336
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0014
sl@0
   337
sl@0
   338
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0015
sl@0
   339
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0015
sl@0
   340
//! @SYMAPI			CImageEncoder
sl@0
   341
//! @SYMAuthor			James Mechen
sl@0
   342
//! @SYMCreationDate		13/01/2006
sl@0
   343
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   344
//! @SYMTestCaseDesc		Encode to gif from 1-bit image in buffer giving a mime type.
sl@0
   345
//!				Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid().
sl@0
   346
//! @SYMTestActions    		1. Create encoder for gif file buffer. 2. Set to encode thumbnail. 3. Encode image. 4. Get implementation UID of encoder used.
sl@0
   347
//! @SYMTestStatus		Implemented
sl@0
   348
//! @SYMTestPriority		Critical
sl@0
   349
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   350
//! @SYMTestType		CIT
sl@0
   351
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   352
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   353
		COMMAND		imageencoder1	DataNewL		MM-ICL-ENCDE-PublicApi-0015-001-DataNewL_command01
sl@0
   354
		COMMAND		imageencoder1	SetThumbnail		MM-ICL-ENCDE-PublicApi-0015-001-SetThumbnail_command02
sl@0
   355
		COMMAND		imageencoder1	Convert			MM-ICL-ENCDE-PublicApi-0015-001-Convert_command03
sl@0
   356
		OUTSTANDING
sl@0
   357
		COMMAND		imageencoder1	ImplementationUid
sl@0
   358
		COMMAND		imageencoder1	~
sl@0
   359
	END_TEST_BLOCK
sl@0
   360
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0015
sl@0
   361
sl@0
   362
sl@0
   363
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0016
sl@0
   364
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0016
sl@0
   365
//! @SYMAPI			CImageEncoder
sl@0
   366
//! @SYMAuthor			James Mechen
sl@0
   367
//! @SYMCreationDate		13/01/2006
sl@0
   368
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   369
//! @SYMTestCaseDesc		Encode to jpg from 24-bit image file giving an image type, using RFile.
sl@0
   370
//!				Uses API elements: FileNewL(), Convert().
sl@0
   371
//! @SYMTestActions    		1. Create encoder for jpg file image. 2. Encode image.
sl@0
   372
//! @SYMTestStatus		Implemented
sl@0
   373
//! @SYMTestPriority		Critical
sl@0
   374
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   375
//! @SYMTestType		CIT
sl@0
   376
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   377
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   378
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0016-001-FileNewL_command01
sl@0
   379
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0016-001-Convert_command02
sl@0
   380
		OUTSTANDING
sl@0
   381
		COMMAND		imageencoder1	~
sl@0
   382
	END_TEST_BLOCK
sl@0
   383
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0016
sl@0
   384
sl@0
   385
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0017
sl@0
   386
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0017
sl@0
   387
//! @SYMAPI			CImageEncoder
sl@0
   388
//! @SYMAuthor			James Mechen
sl@0
   389
//! @SYMCreationDate		13/01/2006
sl@0
   390
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   391
//! @SYMTestCaseDesc		Encode to jpg from 16-bit image file giving a mime type, using RFile.
sl@0
   392
//!				Uses API elements: FileNewL(), Convert().
sl@0
   393
//! @SYMTestActions    		1. Create encoder for jpg file image. 2. Encode image.
sl@0
   394
//! @SYMTestStatus		Implemented
sl@0
   395
//! @SYMTestPriority		Critical
sl@0
   396
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   397
//! @SYMTestType		CIT
sl@0
   398
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   399
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   400
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0017-001-FileNewL_command01
sl@0
   401
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0017-001-Convert_command02
sl@0
   402
		OUTSTANDING
sl@0
   403
		COMMAND		imageencoder1	~
sl@0
   404
	END_TEST_BLOCK
sl@0
   405
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0017
sl@0
   406
sl@0
   407
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0018
sl@0
   408
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0018
sl@0
   409
//! @SYMAPI			CImageEncoder
sl@0
   410
//! @SYMAuthor			James Mechen
sl@0
   411
//! @SYMCreationDate		13/01/2006
sl@0
   412
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   413
//! @SYMTestCaseDesc		Encode to jpg from 8-bit image file giving an image type, without using RFile.
sl@0
   414
//!				Uses API elements: FileNewL(), Convert().
sl@0
   415
//! @SYMTestActions    		1. Create encoder for jpg file image. 2. Encode image.
sl@0
   416
//! @SYMTestStatus		Implemented
sl@0
   417
//! @SYMTestPriority		Critical
sl@0
   418
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   419
//! @SYMTestType		CIT
sl@0
   420
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   421
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   422
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0018-001-FileNewL_command01
sl@0
   423
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0018-001-Convert_command02
sl@0
   424
		OUTSTANDING
sl@0
   425
		COMMAND		imageencoder1	~
sl@0
   426
	END_TEST_BLOCK
sl@0
   427
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0018
sl@0
   428
sl@0
   429
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0019
sl@0
   430
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0019
sl@0
   431
//! @SYMAPI			CImageEncoder
sl@0
   432
//! @SYMAuthor			James Mechen
sl@0
   433
//! @SYMCreationDate		13/01/2006
sl@0
   434
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   435
//! @SYMTestCaseDesc		Encode to jpg from 4-bit image file giving a mime type, without using RFile.
sl@0
   436
//!				Uses API elements: FileNewL(), Convert().
sl@0
   437
//! @SYMTestActions    		1. Create encoder for jpg file image. 2. Encode image.
sl@0
   438
//! @SYMTestStatus		Implemented
sl@0
   439
//! @SYMTestPriority		Critical
sl@0
   440
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   441
//! @SYMTestType		CIT
sl@0
   442
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   443
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   444
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0019-001-FileNewL_command01
sl@0
   445
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0019-001-Convert_command02
sl@0
   446
		OUTSTANDING
sl@0
   447
		COMMAND		imageencoder1	~
sl@0
   448
	END_TEST_BLOCK
sl@0
   449
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0019
sl@0
   450
sl@0
   451
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0020
sl@0
   452
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0020
sl@0
   453
//! @SYMAPI			CImageEncoder
sl@0
   454
//! @SYMAuthor			James Mechen
sl@0
   455
//! @SYMCreationDate		13/01/2006
sl@0
   456
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   457
//! @SYMTestCaseDesc		Encode to jpg from 2-bit image in buffer giving an image type.
sl@0
   458
//!				Uses API elements: DataNewL(), Convert().
sl@0
   459
//! @SYMTestActions    		1. Create encoder for jpg file buffer. 2. Encode image.
sl@0
   460
//! @SYMTestStatus		Implemented
sl@0
   461
//! @SYMTestPriority		Critical
sl@0
   462
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   463
//! @SYMTestType		CIT
sl@0
   464
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   465
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   466
		COMMAND		imageencoder1	DataNewL	MM-ICL-ENCDE-PublicApi-0020-001-DataNewL_command01
sl@0
   467
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0020-001-Convert_command02
sl@0
   468
		OUTSTANDING
sl@0
   469
		COMMAND		imageencoder1	~
sl@0
   470
	END_TEST_BLOCK
sl@0
   471
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0020
sl@0
   472
sl@0
   473
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0021
sl@0
   474
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0021
sl@0
   475
//! @SYMAPI			CImageEncoder
sl@0
   476
//! @SYMAuthor			James Mechen
sl@0
   477
//! @SYMCreationDate		13/01/2006
sl@0
   478
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   479
//! @SYMTestCaseDesc		Encode to jpg from 1-bit image in buffer giving a mime type.
sl@0
   480
//!				Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid().
sl@0
   481
//! @SYMTestActions    		1. Create encoder for jpg file buffer. 2. Set to encode thumbnail. 3. Encode image. 4. Get implementation UID of encoder used.
sl@0
   482
//! @SYMTestStatus		Implemented
sl@0
   483
//! @SYMTestPriority		Critical
sl@0
   484
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   485
//! @SYMTestType		CIT
sl@0
   486
	START_TEST_BLOCK	10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   487
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   488
		COMMAND		imageencoder1	DataNewL		MM-ICL-ENCDE-PublicApi-0021-001-DataNewL_command01
sl@0
   489
		COMMAND		imageencoder1	SetThumbnail		MM-ICL-ENCDE-PublicApi-0021-001-SetThumbnail_command02
sl@0
   490
		COMMAND		imageencoder1	Convert			MM-ICL-ENCDE-PublicApi-0021-001-Convert_command03
sl@0
   491
		OUTSTANDING
sl@0
   492
		COMMAND		imageencoder1	ImplementationUid
sl@0
   493
		COMMAND		imageencoder1	~
sl@0
   494
	END_TEST_BLOCK
sl@0
   495
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0021
sl@0
   496
sl@0
   497
sl@0
   498
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0022
sl@0
   499
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0022
sl@0
   500
//! @SYMAPI			CImageEncoder
sl@0
   501
//! @SYMAuthor			James Mechen
sl@0
   502
//! @SYMCreationDate		13/01/2006
sl@0
   503
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   504
//! @SYMTestCaseDesc		Encode to mbm from 24-bit image file giving an image type, using RFile.
sl@0
   505
//!				Uses API elements: FileNewL(), Convert().
sl@0
   506
//! @SYMTestActions    		1. Create encoder for mbm file image. 2. Encode image.
sl@0
   507
//! @SYMTestStatus		Implemented
sl@0
   508
//! @SYMTestPriority		Critical
sl@0
   509
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   510
//! @SYMTestType		CIT
sl@0
   511
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   512
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   513
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0022-001-FileNewL_command01
sl@0
   514
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0022-001-Convert_command02
sl@0
   515
		OUTSTANDING
sl@0
   516
		COMMAND		imageencoder1	~
sl@0
   517
	END_TEST_BLOCK
sl@0
   518
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0022
sl@0
   519
sl@0
   520
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0023
sl@0
   521
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0023
sl@0
   522
//! @SYMAPI			CImageEncoder
sl@0
   523
//! @SYMAuthor			James Mechen
sl@0
   524
//! @SYMCreationDate		13/01/2006
sl@0
   525
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   526
//! @SYMTestCaseDesc		Encode to mbm from 16-bit image file giving a mime type, using RFile.
sl@0
   527
//!				Uses API elements: FileNewL(), Convert().
sl@0
   528
//! @SYMTestActions    		1. Create encoder for mbm file image. 2. Encode image.
sl@0
   529
//! @SYMTestStatus		Implemented
sl@0
   530
//! @SYMTestPriority		Critical
sl@0
   531
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   532
//! @SYMTestType		CIT
sl@0
   533
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   534
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   535
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0023-001-FileNewL_command01
sl@0
   536
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0023-001-Convert_command02
sl@0
   537
		OUTSTANDING
sl@0
   538
		COMMAND		imageencoder1	~
sl@0
   539
	END_TEST_BLOCK
sl@0
   540
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0023
sl@0
   541
sl@0
   542
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0024
sl@0
   543
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0024
sl@0
   544
//! @SYMAPI			CImageEncoder
sl@0
   545
//! @SYMAuthor			James Mechen
sl@0
   546
//! @SYMCreationDate		13/01/2006
sl@0
   547
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   548
//! @SYMTestCaseDesc		Encode to mbm from 8-bit image file giving an image type, without using RFile.
sl@0
   549
//!				Uses API elements: FileNewL(), Convert().
sl@0
   550
//! @SYMTestActions    		1. Create encoder for mbm file image. 2. Encode image.
sl@0
   551
//! @SYMTestStatus		Implemented
sl@0
   552
//! @SYMTestPriority		Critical
sl@0
   553
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   554
//! @SYMTestType		CIT
sl@0
   555
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   556
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   557
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0024-001-FileNewL_command01
sl@0
   558
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0024-001-Convert_command02
sl@0
   559
		OUTSTANDING
sl@0
   560
		COMMAND		imageencoder1	~
sl@0
   561
	END_TEST_BLOCK
sl@0
   562
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0024
sl@0
   563
sl@0
   564
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0025
sl@0
   565
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0025
sl@0
   566
//! @SYMAPI			CImageEncoder
sl@0
   567
//! @SYMAuthor			James Mechen
sl@0
   568
//! @SYMCreationDate		13/01/2006
sl@0
   569
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   570
//! @SYMTestCaseDesc		Encode to mbm from 4-bit image file giving a mime type, without using RFile.
sl@0
   571
//!				Uses API elements: FileNewL(), Convert().
sl@0
   572
//! @SYMTestActions    		1. Create encoder for mbm file image. 2. Encode image.
sl@0
   573
//! @SYMTestStatus		Implemented
sl@0
   574
//! @SYMTestPriority		Critical
sl@0
   575
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   576
//! @SYMTestType		CIT
sl@0
   577
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   578
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   579
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0025-001-FileNewL_command01
sl@0
   580
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0025-001-Convert_command02
sl@0
   581
		OUTSTANDING
sl@0
   582
		COMMAND		imageencoder1	~
sl@0
   583
	END_TEST_BLOCK
sl@0
   584
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0025
sl@0
   585
sl@0
   586
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0026
sl@0
   587
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0026
sl@0
   588
//! @SYMAPI			CImageEncoder
sl@0
   589
//! @SYMAuthor			James Mechen
sl@0
   590
//! @SYMCreationDate		13/01/2006
sl@0
   591
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   592
//! @SYMTestCaseDesc		Encode to mbm from 2-bit image in buffer giving an image type.
sl@0
   593
//!				Uses API elements: DataNewL(), Convert().
sl@0
   594
//! @SYMTestActions    		1. Create encoder for mbm file buffer. 2. Encode image.
sl@0
   595
//! @SYMTestStatus		Implemented
sl@0
   596
//! @SYMTestPriority		Critical
sl@0
   597
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   598
//! @SYMTestType		CIT
sl@0
   599
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   600
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   601
		COMMAND		imageencoder1	DataNewL	MM-ICL-ENCDE-PublicApi-0026-001-DataNewL_command01
sl@0
   602
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0026-001-Convert_command02
sl@0
   603
		OUTSTANDING
sl@0
   604
		COMMAND		imageencoder1	~
sl@0
   605
	END_TEST_BLOCK
sl@0
   606
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0026
sl@0
   607
sl@0
   608
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0027
sl@0
   609
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0027
sl@0
   610
//! @SYMAPI			CImageEncoder
sl@0
   611
//! @SYMAuthor			James Mechen
sl@0
   612
//! @SYMCreationDate		13/01/2006
sl@0
   613
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   614
//! @SYMTestCaseDesc		Encode to mbm from 1-bit image in buffer giving a mime type.
sl@0
   615
//!				Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid().
sl@0
   616
//! @SYMTestActions    		1. Create encoder for mbm file buffer. 2. Set to encode thumbnail. 3. Encode image. 4. Get implementation UID of encoder used.
sl@0
   617
//! @SYMTestStatus		Implemented
sl@0
   618
//! @SYMTestPriority		Critical
sl@0
   619
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   620
//! @SYMTestType		CIT
sl@0
   621
	START_TEST_BLOCK	10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   622
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   623
		COMMAND		imageencoder1	DataNewL		MM-ICL-ENCDE-PublicApi-0027-001-DataNewL_command01
sl@0
   624
		COMMAND		imageencoder1	SetThumbnail		MM-ICL-ENCDE-PublicApi-0027-001-SetThumbnail_command02
sl@0
   625
		COMMAND		imageencoder1	Convert			MM-ICL-ENCDE-PublicApi-0027-001-Convert_command03
sl@0
   626
		OUTSTANDING
sl@0
   627
		COMMAND		imageencoder1	ImplementationUid
sl@0
   628
		COMMAND		imageencoder1	~
sl@0
   629
	END_TEST_BLOCK
sl@0
   630
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0027
sl@0
   631
sl@0
   632
sl@0
   633
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0028
sl@0
   634
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0028
sl@0
   635
//! @SYMAPI			CImageEncoder
sl@0
   636
//! @SYMAuthor			James Mechen
sl@0
   637
//! @SYMCreationDate		13/01/2006
sl@0
   638
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   639
//! @SYMTestCaseDesc		Encode to png from 24-bit image file giving an image type, using RFile.
sl@0
   640
//!				Uses API elements: FileNewL(), Convert().
sl@0
   641
//! @SYMTestActions    		1. Create encoder for png file image. 2. Encode image.
sl@0
   642
//! @SYMTestStatus		Implemented
sl@0
   643
//! @SYMTestPriority		Critical
sl@0
   644
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   645
//! @SYMTestType		CIT
sl@0
   646
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   647
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   648
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0028-001-FileNewL_command01
sl@0
   649
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0028-001-Convert_command02
sl@0
   650
		OUTSTANDING
sl@0
   651
		COMMAND		imageencoder1	~
sl@0
   652
	END_TEST_BLOCK
sl@0
   653
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0028
sl@0
   654
sl@0
   655
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0029
sl@0
   656
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0029
sl@0
   657
//! @SYMAPI			CImageEncoder
sl@0
   658
//! @SYMAuthor			James Mechen
sl@0
   659
//! @SYMCreationDate		13/01/2006
sl@0
   660
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   661
//! @SYMTestCaseDesc		Encode to png from 16-bit image file giving a mime type, using RFile.
sl@0
   662
//!				Uses API elements: FileNewL(), Convert().
sl@0
   663
//! @SYMTestActions    		1. Create encoder for png file image. 2. Encode image.
sl@0
   664
//! @SYMTestStatus		Implemented
sl@0
   665
//! @SYMTestPriority		Critical
sl@0
   666
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   667
//! @SYMTestType		CIT
sl@0
   668
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   669
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   670
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0029-001-FileNewL_command01
sl@0
   671
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0029-001-Convert_command02
sl@0
   672
		OUTSTANDING
sl@0
   673
		COMMAND		imageencoder1	~
sl@0
   674
	END_TEST_BLOCK
sl@0
   675
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0029
sl@0
   676
sl@0
   677
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0030
sl@0
   678
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0030
sl@0
   679
//! @SYMAPI			CImageEncoder
sl@0
   680
//! @SYMAuthor			James Mechen
sl@0
   681
//! @SYMCreationDate		13/01/2006
sl@0
   682
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   683
//! @SYMTestCaseDesc		Encode to png from 8-bit image file giving an image type, without using RFile.
sl@0
   684
//!				Uses API elements: FileNewL(), Convert().
sl@0
   685
//! @SYMTestActions    		1. Create encoder for png file image. 2. Encode image.
sl@0
   686
//! @SYMTestStatus		Implemented
sl@0
   687
//! @SYMTestPriority		Critical
sl@0
   688
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   689
//! @SYMTestType		CIT
sl@0
   690
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   691
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   692
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0030-001-FileNewL_command01
sl@0
   693
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0030-001-Convert_command02
sl@0
   694
		OUTSTANDING
sl@0
   695
		COMMAND		imageencoder1	~
sl@0
   696
	END_TEST_BLOCK
sl@0
   697
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0030
sl@0
   698
sl@0
   699
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0031
sl@0
   700
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0031
sl@0
   701
//! @SYMAPI			CImageEncoder
sl@0
   702
//! @SYMAuthor			James Mechen
sl@0
   703
//! @SYMCreationDate		13/01/2006
sl@0
   704
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   705
//! @SYMTestCaseDesc		Encode to png from 4-bit image file giving a mime type, without using RFile.
sl@0
   706
//!				Uses API elements: FileNewL(), Convert().
sl@0
   707
//! @SYMTestActions    		1. Create encoder for png file image. 2. Encode image.
sl@0
   708
//! @SYMTestStatus		Implemented
sl@0
   709
//! @SYMTestPriority		Critical
sl@0
   710
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   711
//! @SYMTestType		CIT
sl@0
   712
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   713
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   714
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0031-001-FileNewL_command01
sl@0
   715
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0031-001-Convert_command02
sl@0
   716
		OUTSTANDING
sl@0
   717
		COMMAND		imageencoder1	~
sl@0
   718
	END_TEST_BLOCK
sl@0
   719
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0031
sl@0
   720
sl@0
   721
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0032
sl@0
   722
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0032
sl@0
   723
//! @SYMAPI			CImageEncoder
sl@0
   724
//! @SYMAuthor			James Mechen
sl@0
   725
//! @SYMCreationDate		13/01/2006
sl@0
   726
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   727
//! @SYMTestCaseDesc		Encode to png from 2-bit image in buffer giving an image type.
sl@0
   728
//!				Uses API elements: DataNewL(), Convert().
sl@0
   729
//! @SYMTestActions    		1. Create encoder for png file buffer. 2. Encode image.
sl@0
   730
//! @SYMTestStatus		Implemented
sl@0
   731
//! @SYMTestPriority		Critical
sl@0
   732
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   733
//! @SYMTestType		CIT
sl@0
   734
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   735
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   736
		COMMAND		imageencoder1	DataNewL	MM-ICL-ENCDE-PublicApi-0032-001-DataNewL_command01
sl@0
   737
		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0032-001-Convert_command02
sl@0
   738
		OUTSTANDING
sl@0
   739
		COMMAND		imageencoder1	~
sl@0
   740
	END_TEST_BLOCK
sl@0
   741
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0032
sl@0
   742
sl@0
   743
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0033
sl@0
   744
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0033
sl@0
   745
//! @SYMAPI			CImageEncoder
sl@0
   746
//! @SYMAuthor			James Mechen
sl@0
   747
//! @SYMCreationDate		13/01/2006
sl@0
   748
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   749
//! @SYMTestCaseDesc		Encode to png from 1-bit image in buffer giving a mime type.
sl@0
   750
//!				Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid().
sl@0
   751
//! @SYMTestActions    		1. Create encoder for png file buffer. 2. Set to encode thumbnail. 3. Encode image. 4. Get implementation UID of encoder used.
sl@0
   752
//! @SYMTestStatus		Implemented
sl@0
   753
//! @SYMTestPriority		Critical
sl@0
   754
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
   755
//! @SYMTestType		CIT
sl@0
   756
	START_TEST_BLOCK	10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   757
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   758
		COMMAND		imageencoder1	DataNewL		MM-ICL-ENCDE-PublicApi-0033-001-DataNewL_command01
sl@0
   759
		COMMAND		imageencoder1	SetThumbnail		MM-ICL-ENCDE-PublicApi-0033-001-SetThumbnail_command02
sl@0
   760
		COMMAND		imageencoder1	Convert			MM-ICL-ENCDE-PublicApi-0033-001-Convert_command03
sl@0
   761
		OUTSTANDING
sl@0
   762
		COMMAND		imageencoder1	ImplementationUid
sl@0
   763
		COMMAND		imageencoder1	~
sl@0
   764
	END_TEST_BLOCK
sl@0
   765
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0033
sl@0
   766
sl@0
   767
sl@0
   768
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0034
sl@0
   769
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0034
sl@0
   770
//! @SYMAPI			CImageEncoder
sl@0
   771
//! @SYMAuthor			James Mechen
sl@0
   772
//! @SYMCreationDate		13/01/2006
sl@0
   773
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   774
//! @SYMTestCaseDesc		Get list of gif image sub-types that can be encoded.
sl@0
   775
//!				Uses API elements: GetImageSubTypesL().
sl@0
   776
//! @SYMTestActions    		1. Get list of gif image sub-types that can be encoded.
sl@0
   777
//! @SYMTestStatus		Implemented
sl@0
   778
//! @SYMTestPriority		High
sl@0
   779
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
   780
//! @SYMTestType		CIT
sl@0
   781
	START_TEST_BLOCK		10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   782
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   783
		COMMAND	!Error=-1	imageencoder1	GetImageSubTypesL	MM-ICL-ENCDE-PublicApi-0034-001-GetImageSubTypesL_command01
sl@0
   784
		COMMAND			imageencoder1	~
sl@0
   785
	END_TEST_BLOCK
sl@0
   786
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0034
sl@0
   787
sl@0
   788
sl@0
   789
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0035
sl@0
   790
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0035
sl@0
   791
//! @SYMAPI			CImageEncoder
sl@0
   792
//! @SYMAuthor			James Mechen
sl@0
   793
//! @SYMCreationDate		13/01/2006
sl@0
   794
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   795
//! @SYMTestCaseDesc		Get list of jpg image sub-types that can be encoded.
sl@0
   796
//!				Uses API elements: GetImageSubTypesL().
sl@0
   797
//! @SYMTestActions    		1. Get list of jpg image sub-types that can be encoded.
sl@0
   798
//! @SYMTestStatus		Implemented
sl@0
   799
//! @SYMTestPriority		High
sl@0
   800
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
   801
//! @SYMTestType		CIT
sl@0
   802
	START_TEST_BLOCK		10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   803
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   804
		COMMAND	!Error=-1	imageencoder1	GetImageSubTypesL	MM-ICL-ENCDE-PublicApi-0035-001-GetImageSubTypesL_command01
sl@0
   805
		COMMAND			imageencoder1	~
sl@0
   806
	END_TEST_BLOCK
sl@0
   807
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0035
sl@0
   808
sl@0
   809
sl@0
   810
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0036
sl@0
   811
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0036
sl@0
   812
//! @SYMAPI			CImageEncoder
sl@0
   813
//! @SYMAuthor			James Mechen
sl@0
   814
//! @SYMCreationDate		13/01/2006
sl@0
   815
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   816
//! @SYMTestCaseDesc		Get list of mbm image sub-types that can be encoded.
sl@0
   817
//!				Uses API elements: GetImageSubTypesL().
sl@0
   818
//! @SYMTestActions    		1. Get list of mbm image sub-types that can be encoded.
sl@0
   819
//! @SYMTestStatus		Implemented
sl@0
   820
//! @SYMTestPriority		High
sl@0
   821
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
   822
//! @SYMTestType		CIT
sl@0
   823
	START_TEST_BLOCK		10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   824
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   825
		COMMAND	!Error=-1	imageencoder1	GetImageSubTypesL	MM-ICL-ENCDE-PublicApi-0036-001-GetImageSubTypesL_command01
sl@0
   826
		COMMAND			imageencoder1	~
sl@0
   827
	END_TEST_BLOCK
sl@0
   828
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0036
sl@0
   829
sl@0
   830
sl@0
   831
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0037
sl@0
   832
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0037
sl@0
   833
//! @SYMAPI			CImageEncoder
sl@0
   834
//! @SYMAuthor			James Mechen
sl@0
   835
//! @SYMCreationDate		13/01/2006
sl@0
   836
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   837
//! @SYMTestCaseDesc		Get list of png image sub-types that can be encoded.
sl@0
   838
//!				Uses API elements: GetImageSubTypesL().
sl@0
   839
//! @SYMTestActions    		1. Get list of png image sub-types that can be encoded.
sl@0
   840
//! @SYMTestStatus		Implemented
sl@0
   841
//! @SYMTestPriority		High
sl@0
   842
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
   843
//! @SYMTestType		CIT
sl@0
   844
	START_TEST_BLOCK		10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   845
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   846
		COMMAND	!Error=-1	imageencoder1	GetImageSubTypesL	MM-ICL-ENCDE-PublicApi-0037-001-GetImageSubTypesL_command01
sl@0
   847
		COMMAND			imageencoder1	~
sl@0
   848
	END_TEST_BLOCK
sl@0
   849
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0037
sl@0
   850
sl@0
   851
sl@0
   852
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0038
sl@0
   853
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0038
sl@0
   854
//! @SYMAPI			CImageEncoder
sl@0
   855
//! @SYMAuthor			James Mechen
sl@0
   856
//! @SYMCreationDate		13/01/2006
sl@0
   857
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   858
//! @SYMTestCaseDesc		Get list of bmp image sub-types that can be encoded.
sl@0
   859
//!				Uses API elements: GetImageSubTypesL().
sl@0
   860
//! @SYMTestActions    		1. Get list of bmp image sub-types that can be encoded.
sl@0
   861
//! @SYMTestStatus		Implemented
sl@0
   862
//! @SYMTestPriority		High
sl@0
   863
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
   864
//! @SYMTestType		CIT
sl@0
   865
	START_TEST_BLOCK		10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   866
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   867
		COMMAND	!Error=-1	imageencoder1	GetImageSubTypesL	MM-ICL-ENCDE-PublicApi-0037-001-GetImageSubTypesL_command01
sl@0
   868
		COMMAND			imageencoder1	~
sl@0
   869
	END_TEST_BLOCK
sl@0
   870
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0038
sl@0
   871
sl@0
   872
sl@0
   873
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0039
sl@0
   874
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0039
sl@0
   875
//! @SYMAPI			CImageEncoder
sl@0
   876
//! @SYMAuthor			James Mechen
sl@0
   877
//! @SYMCreationDate		17/01/2006
sl@0
   878
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   879
//! @SYMTestCaseDesc		Begin encoding a bmp image file giving an image type, using RFile, then cancel the conversion.
sl@0
   880
//!				Uses API elements: FileNewL(), Convert(), Cancel().
sl@0
   881
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Encode image. 3. Cancel conversion.
sl@0
   882
//! @SYMTestStatus		Implemented
sl@0
   883
//! @SYMTestPriority		High
sl@0
   884
//! @SYMTestExpectedResults	Conversion cancelled with no errors.
sl@0
   885
//! @SYMTestType		CIT
sl@0
   886
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   887
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   888
		COMMAND			imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0039-001-FileNewL_command01
sl@0
   889
		COMMAND	!AsyncError=-3	imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0039-001-Convert_command02
sl@0
   890
		COMMAND			imageencoder1	Cancel
sl@0
   891
		OUTSTANDING
sl@0
   892
		COMMAND		imageencoder1	~
sl@0
   893
	END_TEST_BLOCK
sl@0
   894
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0039
sl@0
   895
sl@0
   896
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0040
sl@0
   897
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0040
sl@0
   898
//! @SYMAPI			CImageEncoder
sl@0
   899
//! @SYMAuthor			James Mechen
sl@0
   900
//! @SYMCreationDate		17/01/2006
sl@0
   901
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   902
//! @SYMTestCaseDesc		Encode an unloaded CFbsBitmap giving an image type, using RFile.
sl@0
   903
//!				Uses API elements: FileNewL(), Convert().
sl@0
   904
//! @SYMTestActions    		1. Create encoder for corrupted file. 2. Encode image.
sl@0
   905
//! @SYMTestStatus		Implemented
sl@0
   906
//! @SYMTestPriority		High
sl@0
   907
//! @SYMTestExpectedResults	KErrNone returned.
sl@0
   908
//! @SYMTestType		CIT
sl@0
   909
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   910
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
   911
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0040-001-FileNewL_command01
sl@0
   912
		COMMAND		imageencoder1	Convert
sl@0
   913
		OUTSTANDING
sl@0
   914
		COMMAND		imageencoder1	~
sl@0
   915
	END_TEST_BLOCK
sl@0
   916
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0040
sl@0
   917
sl@0
   918
sl@0
   919
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0041
sl@0
   920
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0041
sl@0
   921
//! @SYMAPI			CImageEncoder
sl@0
   922
//! @SYMAuthor			James Mechen
sl@0
   923
//! @SYMCreationDate		27/01/2006
sl@0
   924
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   925
//! @SYMTestCaseDesc		Encode a gif image giving an illegal mime type.
sl@0
   926
//!				Uses API elements: FileNewL(), Convert().
sl@0
   927
//! @SYMTestActions    		1. Create encoder for gif file. 2. Encode image.
sl@0
   928
//! @SYMTestStatus		Implemented
sl@0
   929
//! @SYMTestPriority		Critical
sl@0
   930
//! @SYMTestExpectedResults	KErrNotFound is returned.
sl@0
   931
//! @SYMTestType		CIT
sl@0
   932
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   933
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   934
		COMMAND	!Error=-1	imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0041-001-FileNewL_command01
sl@0
   935
		COMMAND			imageencoder1	~
sl@0
   936
	END_TEST_BLOCK
sl@0
   937
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0041
sl@0
   938
sl@0
   939
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0042
sl@0
   940
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0042
sl@0
   941
//! @SYMAPI			CImageEncoder
sl@0
   942
//! @SYMAuthor			James Mechen
sl@0
   943
//! @SYMCreationDate		27/01/2006
sl@0
   944
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   945
//! @SYMTestCaseDesc		Encode a bmp image giving an illegal mime type.
sl@0
   946
//!				Uses API elements: FileNewL(), Convert().
sl@0
   947
//! @SYMTestActions    		1. Create encoder for bmp file. 2. Encode image.
sl@0
   948
//! @SYMTestStatus		Implemented
sl@0
   949
//! @SYMTestPriority		Critical
sl@0
   950
//! @SYMTestExpectedResults	KErrNotFound is returned.
sl@0
   951
//! @SYMTestType		CIT
sl@0
   952
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   953
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   954
		COMMAND	!Error=-1	imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0042-001-FileNewL_command01
sl@0
   955
		COMMAND			imageencoder1	~
sl@0
   956
	END_TEST_BLOCK
sl@0
   957
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0042
sl@0
   958
sl@0
   959
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0043
sl@0
   960
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0043
sl@0
   961
//! @SYMAPI			CImageEncoder
sl@0
   962
//! @SYMAuthor			James Mechen
sl@0
   963
//! @SYMCreationDate		27/01/2006
sl@0
   964
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   965
//! @SYMTestCaseDesc		Encode a jpg image giving an illegal mime type.
sl@0
   966
//!				Uses API elements: FileNewL(), Convert().
sl@0
   967
//! @SYMTestActions    		1. Create encoder for jpg file. 2. Encode image.
sl@0
   968
//! @SYMTestStatus		Implemented
sl@0
   969
//! @SYMTestPriority		Critical
sl@0
   970
//! @SYMTestExpectedResults	KErrNotFound is returned.
sl@0
   971
//! @SYMTestType		CIT
sl@0
   972
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   973
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   974
		COMMAND	!Error=-1	imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0043-001-FileNewL_command01
sl@0
   975
		COMMAND			imageencoder1	~
sl@0
   976
	END_TEST_BLOCK
sl@0
   977
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0043
sl@0
   978
sl@0
   979
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0044
sl@0
   980
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0044
sl@0
   981
//! @SYMAPI			CImageEncoder
sl@0
   982
//! @SYMAuthor			James Mechen
sl@0
   983
//! @SYMCreationDate		27/01/2006
sl@0
   984
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
   985
//! @SYMTestCaseDesc		Encode a mbm image giving an illegal mime type.
sl@0
   986
//!				Uses API elements: FileNewL(), Convert().
sl@0
   987
//! @SYMTestActions    		1. Create encoder for mbm file. 2. Encode image.
sl@0
   988
//! @SYMTestStatus		Implemented
sl@0
   989
//! @SYMTestPriority		Critical
sl@0
   990
//! @SYMTestExpectedResults	KErrNotFound is returned.
sl@0
   991
//! @SYMTestType		CIT
sl@0
   992
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
   993
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
   994
		COMMAND	!Error=-1	imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0044-001-FileNewL_command01
sl@0
   995
		COMMAND			imageencoder1	~
sl@0
   996
	END_TEST_BLOCK
sl@0
   997
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0044
sl@0
   998
sl@0
   999
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0045
sl@0
  1000
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0045
sl@0
  1001
//! @SYMAPI			CImageEncoder
sl@0
  1002
//! @SYMAuthor			James Mechen
sl@0
  1003
//! @SYMCreationDate		27/01/2006
sl@0
  1004
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1005
//! @SYMTestCaseDesc		Encode a png image giving an illegal mime type.
sl@0
  1006
//!				Uses API elements: FileNewL(), Convert().
sl@0
  1007
//! @SYMTestActions    		1. Create encoder for png file. 2. Encode image.
sl@0
  1008
//! @SYMTestStatus		Implemented
sl@0
  1009
//! @SYMTestPriority		Critical
sl@0
  1010
//! @SYMTestExpectedResults	KErrNotFound is returned.
sl@0
  1011
//! @SYMTestType		CIT
sl@0
  1012
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1013
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
  1014
		COMMAND	!Error=-1	imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0045-001-FileNewL_command01
sl@0
  1015
		COMMAND			imageencoder1	~
sl@0
  1016
	END_TEST_BLOCK
sl@0
  1017
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0045
sl@0
  1018
sl@0
  1019
sl@0
  1020
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0046
sl@0
  1021
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0046
sl@0
  1022
//! @SYMAPI			CImageEncoder
sl@0
  1023
//! @SYMAuthor			James Mechen
sl@0
  1024
//! @SYMCreationDate		13/01/2006
sl@0
  1025
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1026
//! @SYMTestCaseDesc		Open tif 24-bit image file giving an image type, using RFile.
sl@0
  1027
//!				Uses API elements: FileNewL().
sl@0
  1028
//! @SYMTestActions    		1. Create encoder for tif file image.
sl@0
  1029
//! @SYMTestStatus		Implemented
sl@0
  1030
//! @SYMTestPriority		Critical
sl@0
  1031
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
  1032
//! @SYMTestType		CIT
sl@0
  1033
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1034
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
  1035
		COMMAND	!Error=-1	imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0046-001-FileNewL_command01
sl@0
  1036
		COMMAND			imageencoder1	~
sl@0
  1037
	END_TEST_BLOCK
sl@0
  1038
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0046
sl@0
  1039
sl@0
  1040
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0047
sl@0
  1041
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0047
sl@0
  1042
//! @SYMAPI			CImageEncoder
sl@0
  1043
//! @SYMAuthor			James Mechen
sl@0
  1044
//! @SYMCreationDate		13/01/2006
sl@0
  1045
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1046
//! @SYMTestCaseDesc		Open tif 16-bit image file giving a mime type, using RFile.
sl@0
  1047
//!				Uses API elements: FileNewL().
sl@0
  1048
//! @SYMTestActions    		1. Create encoder for tif file image.
sl@0
  1049
//! @SYMTestStatus		Implemented
sl@0
  1050
//! @SYMTestPriority		Critical
sl@0
  1051
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
  1052
//! @SYMTestType		CIT
sl@0
  1053
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1054
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
  1055
		COMMAND	!Error=-1	imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0047-001-FileNewL_command01
sl@0
  1056
		COMMAND			imageencoder1	~
sl@0
  1057
	END_TEST_BLOCK
sl@0
  1058
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0047
sl@0
  1059
sl@0
  1060
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0048
sl@0
  1061
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0048
sl@0
  1062
//! @SYMAPI			CImageEncoder
sl@0
  1063
//! @SYMAuthor			James Mechen
sl@0
  1064
//! @SYMCreationDate		13/01/2006
sl@0
  1065
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1066
//! @SYMTestCaseDesc		Open tif 8-bit image file giving an image type, without using RFile.
sl@0
  1067
//!				Uses API elements: FileNewL().
sl@0
  1068
//! @SYMTestActions    		1. Create encoder for tif file image.
sl@0
  1069
//! @SYMTestStatus		Implemented
sl@0
  1070
//! @SYMTestPriority		Critical
sl@0
  1071
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
  1072
//! @SYMTestType		CIT
sl@0
  1073
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1074
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
  1075
		COMMAND	!Error=-1	imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0048-001-FileNewL_command01
sl@0
  1076
		COMMAND			imageencoder1	~
sl@0
  1077
	END_TEST_BLOCK
sl@0
  1078
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0048
sl@0
  1079
sl@0
  1080
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0049
sl@0
  1081
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0049
sl@0
  1082
//! @SYMAPI			CImageEncoder
sl@0
  1083
//! @SYMAuthor			James Mechen
sl@0
  1084
//! @SYMCreationDate		13/01/2006
sl@0
  1085
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1086
//! @SYMTestCaseDesc		Open tif 4-bit image file giving a mime type, without using RFile.
sl@0
  1087
//!				Uses API elements: FileNewL().
sl@0
  1088
//! @SYMTestActions    		1. Create encoder for tif file image.
sl@0
  1089
//! @SYMTestStatus		Implemented
sl@0
  1090
//! @SYMTestPriority		Critical
sl@0
  1091
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
  1092
//! @SYMTestType		CIT
sl@0
  1093
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1094
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
  1095
		COMMAND	!Error=-1	imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0049-001-FileNewL_command01
sl@0
  1096
		COMMAND			imageencoder1	~
sl@0
  1097
	END_TEST_BLOCK
sl@0
  1098
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0049
sl@0
  1099
sl@0
  1100
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0050
sl@0
  1101
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0050
sl@0
  1102
//! @SYMAPI			CImageEncoder
sl@0
  1103
//! @SYMAuthor			James Mechen
sl@0
  1104
//! @SYMCreationDate		13/01/2006
sl@0
  1105
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1106
//! @SYMTestCaseDesc		Open tif 2-bit image in buffer giving an image type.
sl@0
  1107
//!				Uses API elements: DataNewL().
sl@0
  1108
//! @SYMTestActions    		1. Create encoder for tif file buffer.
sl@0
  1109
//! @SYMTestStatus		Implemented
sl@0
  1110
//! @SYMTestPriority		Critical
sl@0
  1111
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
  1112
//! @SYMTestType		CIT
sl@0
  1113
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1114
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
  1115
		COMMAND	!Error=-1	imageencoder1	DataNewL	MM-ICL-ENCDE-PublicApi-0050-001-DataNewL_command01
sl@0
  1116
		COMMAND			imageencoder1	~
sl@0
  1117
	END_TEST_BLOCK
sl@0
  1118
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0050
sl@0
  1119
sl@0
  1120
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0051
sl@0
  1121
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0051
sl@0
  1122
//! @SYMAPI			CImageEncoder
sl@0
  1123
//! @SYMAuthor			James Mechen
sl@0
  1124
//! @SYMCreationDate		13/01/2006
sl@0
  1125
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1126
//! @SYMTestCaseDesc		Open tif 1-bit image in buffer giving a mime type.
sl@0
  1127
//!				Uses API elements: DataNewL().
sl@0
  1128
//! @SYMTestActions    		1. Create encoder for tif file buffer.
sl@0
  1129
//! @SYMTestStatus		Implemented
sl@0
  1130
//! @SYMTestPriority		Critical
sl@0
  1131
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
  1132
//! @SYMTestType		CIT
sl@0
  1133
	START_TEST_BLOCK		10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1134
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
  1135
		COMMAND	!Error=-1	imageencoder1	DataNewL	MM-ICL-ENCDE-PublicApi-0051-001-DataNewL_command01
sl@0
  1136
		COMMAND			imageencoder1	~
sl@0
  1137
	END_TEST_BLOCK
sl@0
  1138
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0051
sl@0
  1139
sl@0
  1140
sl@0
  1141
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0052
sl@0
  1142
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0052
sl@0
  1143
//! @SYMAPI			CImageEncoder
sl@0
  1144
//! @SYMAuthor			James Mechen
sl@0
  1145
//! @SYMCreationDate		13/01/2006
sl@0
  1146
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1147
//! @SYMTestCaseDesc		Get list of tif image sub-types that can be encoded.
sl@0
  1148
//!				Uses API elements: GetImageSubTypesL().
sl@0
  1149
//! @SYMTestActions    		1. Get list of tif image sub-types that can be encoded.
sl@0
  1150
//! @SYMTestStatus		Implemented
sl@0
  1151
//! @SYMTestPriority		High
sl@0
  1152
//! @SYMTestExpectedResults	KErrNotFound returned.
sl@0
  1153
//! @SYMTestType		CIT
sl@0
  1154
	START_TEST_BLOCK		10		T_ImageEncoder		\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1155
		CREATE_OBJECT		CImageEncoder	imageencoder1
sl@0
  1156
		COMMAND	!Error=-1	imageencoder1	GetImageSubTypesL	MM-ICL-ENCDE-PublicApi-0052-001-GetImageSubTypesL_command01
sl@0
  1157
		COMMAND			imageencoder1	~
sl@0
  1158
	END_TEST_BLOCK
sl@0
  1159
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0052
sl@0
  1160
sl@0
  1161
sl@0
  1162
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0053
sl@0
  1163
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0053
sl@0
  1164
//! @SYMAPI			CImageEncoder
sl@0
  1165
//! @SYMAuthor			James Mechen
sl@0
  1166
//! @SYMCreationDate		03/03/2006
sl@0
  1167
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1168
//! @SYMTestCaseDesc		Convert an unloaded CFbsBitmap giving an image type, using RFile.
sl@0
  1169
//!				Uses API elements: FileNewL(), Convert().
sl@0
  1170
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Convert image.
sl@0
  1171
//! @SYMTestStatus		Implemented
sl@0
  1172
//! @SYMTestPriority		Critical
sl@0
  1173
//! @SYMTestExpectedResults	KErrNone returned.
sl@0
  1174
//! @SYMTestType		CIT
sl@0
  1175
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1176
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
  1177
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0053-001-FileNewL_command01
sl@0
  1178
		COMMAND		imageencoder1	Convert
sl@0
  1179
		OUTSTANDING
sl@0
  1180
		COMMAND		imageencoder1	~
sl@0
  1181
	END_TEST_BLOCK
sl@0
  1182
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0053
sl@0
  1183
sl@0
  1184
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0054
sl@0
  1185
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0054
sl@0
  1186
//! @SYMAPI			CImageEncoder
sl@0
  1187
//! @SYMAuthor			James Mechen
sl@0
  1188
//! @SYMCreationDate		03/03/2006
sl@0
  1189
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1190
//! @SYMTestCaseDesc		Convert an unloaded CFbsBitmap giving a mime type, using RFile.
sl@0
  1191
//!				Uses API elements: FileNewL(), Convert().
sl@0
  1192
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Convert image.
sl@0
  1193
//! @SYMTestStatus		Implemented
sl@0
  1194
//! @SYMTestPriority		Critical
sl@0
  1195
//! @SYMTestExpectedResults	KErrNone returned.
sl@0
  1196
//! @SYMTestType		CIT
sl@0
  1197
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1198
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
  1199
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0054-001-FileNewL_command01
sl@0
  1200
		COMMAND		imageencoder1	Convert
sl@0
  1201
		OUTSTANDING
sl@0
  1202
		COMMAND		imageencoder1	~
sl@0
  1203
	END_TEST_BLOCK
sl@0
  1204
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0054
sl@0
  1205
sl@0
  1206
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0055
sl@0
  1207
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0055
sl@0
  1208
//! @SYMAPI			CImageEncoder
sl@0
  1209
//! @SYMAuthor			James Mechen
sl@0
  1210
//! @SYMCreationDate		03/03/2006
sl@0
  1211
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1212
//! @SYMTestCaseDesc		Convert an unloaded CFbsBitmap giving an image type, without using RFile.
sl@0
  1213
//!				Uses API elements: FileNewL(), Convert().
sl@0
  1214
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Convert image.
sl@0
  1215
//! @SYMTestStatus		Implemented
sl@0
  1216
//! @SYMTestPriority		Critical
sl@0
  1217
//! @SYMTestExpectedResults	KErrNone returned.
sl@0
  1218
//! @SYMTestType		CIT
sl@0
  1219
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1220
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
  1221
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0055-001-FileNewL_command01
sl@0
  1222
		COMMAND		imageencoder1	Convert
sl@0
  1223
		OUTSTANDING
sl@0
  1224
		COMMAND		imageencoder1	~
sl@0
  1225
	END_TEST_BLOCK
sl@0
  1226
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0055
sl@0
  1227
sl@0
  1228
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0056
sl@0
  1229
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0056
sl@0
  1230
//! @SYMAPI			CImageEncoder
sl@0
  1231
//! @SYMAuthor			James Mechen
sl@0
  1232
//! @SYMCreationDate		03/03/2006
sl@0
  1233
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1234
//! @SYMTestCaseDesc		Convert an unloaded CFbsBitmap giving a mime type, without using RFile.
sl@0
  1235
//!				Uses API elements: FileNewL(), Convert().
sl@0
  1236
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Convert image.
sl@0
  1237
//! @SYMTestStatus		Implemented
sl@0
  1238
//! @SYMTestPriority		Critical
sl@0
  1239
//! @SYMTestExpectedResults	KErrNone returned.
sl@0
  1240
//! @SYMTestType		CIT
sl@0
  1241
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1242
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
  1243
		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0056-001-FileNewL_command01
sl@0
  1244
		COMMAND		imageencoder1	Convert
sl@0
  1245
		OUTSTANDING
sl@0
  1246
		COMMAND		imageencoder1	~
sl@0
  1247
	END_TEST_BLOCK
sl@0
  1248
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0056
sl@0
  1249
sl@0
  1250
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0057
sl@0
  1251
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0057
sl@0
  1252
//! @SYMAPI			CImageEncoder
sl@0
  1253
//! @SYMAuthor			James Mechen
sl@0
  1254
//! @SYMCreationDate		03/03/2006
sl@0
  1255
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1256
//! @SYMTestCaseDesc		Convert in buffer from an unloaded CFbsBitmap giving an image type.
sl@0
  1257
//!				Uses API elements: DataNewL(), Convert().
sl@0
  1258
//! @SYMTestActions    		1. Create encoder for bmp file buffer. 2. Encode image.
sl@0
  1259
//! @SYMTestStatus		Implemented
sl@0
  1260
//! @SYMTestPriority		Critical
sl@0
  1261
//! @SYMTestExpectedResults	KErrNone returned.
sl@0
  1262
//! @SYMTestType		CIT
sl@0
  1263
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1264
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
  1265
		COMMAND		imageencoder1	DataNewL	MM-ICL-ENCDE-PublicApi-0057-001-DataNewL_command01
sl@0
  1266
		COMMAND		imageencoder1	Convert
sl@0
  1267
		OUTSTANDING
sl@0
  1268
		COMMAND		imageencoder1	~
sl@0
  1269
	END_TEST_BLOCK
sl@0
  1270
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0057
sl@0
  1271
sl@0
  1272
START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0058
sl@0
  1273
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0058
sl@0
  1274
//! @SYMAPI			CImageEncoder
sl@0
  1275
//! @SYMAuthor			James Mechen
sl@0
  1276
//! @SYMCreationDate		03/03/2006
sl@0
  1277
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1278
//! @SYMTestCaseDesc		Convert in buffer from an unloaded CFbsBitmap giving a mime type.
sl@0
  1279
//!				Uses API elements: DataNewL(), Convert().
sl@0
  1280
//! @SYMTestActions    		1. Create encoder for bmp file buffer. 2. Encode image.
sl@0
  1281
//! @SYMTestStatus		Implemented
sl@0
  1282
//! @SYMTestPriority		Critical
sl@0
  1283
//! @SYMTestExpectedResults	KErrNone returned.
sl@0
  1284
//! @SYMTestType		CIT
sl@0
  1285
	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1286
		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
  1287
		COMMAND		imageencoder1	DataNewL	MM-ICL-ENCDE-PublicApi-0058-001-DataNewL_command01
sl@0
  1288
		COMMAND		imageencoder1	Convert
sl@0
  1289
		OUTSTANDING
sl@0
  1290
		COMMAND		imageencoder1	~
sl@0
  1291
	END_TEST_BLOCK
sl@0
  1292
END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0058
sl@0
  1293
sl@0
  1294
//! START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0059
sl@0
  1295
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0059
sl@0
  1296
//! @SYMAPI			CImageEncoder
sl@0
  1297
//! @SYMAuthor			Louis Nayegon
sl@0
  1298
//! @SYMCreationDate		29/11/2005
sl@0
  1299
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1300
//! @SYMTestCaseDesc		Encode to bmp from 24-bit image file giving an image type, using a closed RFile.
sl@0
  1301
//!				Uses API elements: FileNewL(), Convert().
sl@0
  1302
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Encode image.
sl@0
  1303
//! @SYMTestStatus		Implemented
sl@0
  1304
//! @SYMTestPriority		Critical
sl@0
  1305
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
  1306
//! @SYMTestType		CIT
sl@0
  1307
//! 	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1308
//! 		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
  1309
//! 		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0059-001-FileNewL_command01
sl@0
  1310
//! 		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0059-001-Convert_command02
sl@0
  1311
//! 		OUTSTANDING
sl@0
  1312
//! 		COMMAND		imageencoder1	~
sl@0
  1313
//! 	END_TEST_BLOCK	!PanicCode=0
sl@0
  1314
//! END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0059
sl@0
  1315
sl@0
  1316
//! START_TESTCASE 			MM-ICL-ENCDE-PublicApi-0060
sl@0
  1317
//! @SYMTestCaseID		MM-ICL-ENCDE-PublicApi-0060
sl@0
  1318
//! @SYMAPI			CImageEncoder
sl@0
  1319
//! @SYMAuthor			Louis Nayegon
sl@0
  1320
//! @SYMCreationDate		29/11/2005
sl@0
  1321
//! @SYMTestCaseDependencies	setup-MM-ICL-ENCDE-PublicApi.script
sl@0
  1322
//! @SYMTestCaseDesc		Encode to bmp from 16-bit image file giving a mime type, using a closed RFile.
sl@0
  1323
//!				Uses API elements: FileNewL(), Convert().
sl@0
  1324
//! @SYMTestActions    		1. Create encoder for bmp file image. 2. Encode image.
sl@0
  1325
//! @SYMTestStatus		Implemented
sl@0
  1326
//! @SYMTestPriority		Critical
sl@0
  1327
//! @SYMTestExpectedResults	Image encoded with no errors.
sl@0
  1328
//! @SYMTestType		CIT
sl@0
  1329
//! 	START_TEST_BLOCK	10		T_ImageEncoder	\multimedia\MM-ICL-ENCDE-PublicApi.ini
sl@0
  1330
//! 		CREATE_OBJECT	CImageEncoder	imageencoder1
sl@0
  1331
//! 		COMMAND		imageencoder1	FileNewL	MM-ICL-ENCDE-PublicApi-0060-001-FileNewL_command01
sl@0
  1332
//! 		COMMAND		imageencoder1	Convert		MM-ICL-ENCDE-PublicApi-0060-001-Convert_command02
sl@0
  1333
//! 		OUTSTANDING
sl@0
  1334
//! 		COMMAND		imageencoder1	~
sl@0
  1335
//! 	END_TEST_BLOCK	!PanicCode=0
sl@0
  1336
//! END_TESTCASE 			MM-ICL-ENCDE-PublicApi-0060