os/mm/mmapitest/mmsvs/suite/icl/T_ImageEncoder/scripts/MM-ICL-ENCDE-PublicApi.script
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmapitest/mmsvs/suite/icl/T_ImageEncoder/scripts/MM-ICL-ENCDE-PublicApi.script Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,1336 @@
1.4 +//
1.5 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// under the terms of "Eclipse Public License v1.0"
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +//
1.20 +//! @file
1.21 +//! @SYMTestSuiteName MM-ICL-ENCDE-PublicApi
1.22 +//! @SYMScriptTestEnvironment This test script requires a basic ROM.
1.23 +////////////////////////////////////////////////////////////////////
1.24 +// T_ImageEncoder.script
1.25 +//
1.26 +// Tests all public elements of the CImageEncoder class
1.27 +// as a means of confidence that the APIs work as expected.
1.28 +//
1.29 +// The purpose is to provide a regression test suite of PublishedAll APIs for CImageEncoder.
1.30 +// The tests are fully automated.
1.31 +/////////////////////////////////////////////////////////////////////
1.32 +
1.33 +LOAD_SUITE T_ImageEncoder
1.34 +
1.35 +
1.36 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0001
1.37 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0001
1.38 +//! @SYMAPI CImageEncoder
1.39 +//! @SYMAuthor Louis Nayegon
1.40 +//! @SYMCreationDate 29/11/2005
1.41 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.42 +//! @SYMTestCaseDesc Encode to bmp from 24-bit image file giving an image type, using RFile.
1.43 +//! Uses API elements: FileNewL(), Convert().
1.44 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image.
1.45 +//! @SYMTestStatus Implemented
1.46 +//! @SYMTestPriority Critical
1.47 +//! @SYMTestExpectedResults Image encoded with no errors.
1.48 +//! @SYMTestType CIT
1.49 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.50 + CREATE_OBJECT CImageEncoder imageencoder1
1.51 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0001-001-FileNewL_command01
1.52 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0001-001-Convert_command02
1.53 + OUTSTANDING
1.54 + COMMAND imageencoder1 ~
1.55 + END_TEST_BLOCK
1.56 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0001
1.57 +
1.58 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0002
1.59 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0002
1.60 +//! @SYMAPI CImageEncoder
1.61 +//! @SYMAuthor Louis Nayegon
1.62 +//! @SYMCreationDate 29/11/2005
1.63 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.64 +//! @SYMTestCaseDesc Encode to bmp from 16-bit image file giving a mime type, using RFile.
1.65 +//! Uses API elements: FileNewL(), Convert().
1.66 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image.
1.67 +//! @SYMTestStatus Implemented
1.68 +//! @SYMTestPriority Critical
1.69 +//! @SYMTestExpectedResults Image encoded with no errors.
1.70 +//! @SYMTestType CIT
1.71 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.72 + CREATE_OBJECT CImageEncoder imageencoder1
1.73 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0002-001-FileNewL_command01
1.74 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0002-001-Convert_command02
1.75 + OUTSTANDING
1.76 + COMMAND imageencoder1 ~
1.77 + END_TEST_BLOCK
1.78 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0002
1.79 +
1.80 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0003
1.81 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0003
1.82 +//! @SYMAPI CImageEncoder
1.83 +//! @SYMAuthor Louis Nayegon
1.84 +//! @SYMCreationDate 29/11/2005
1.85 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.86 +//! @SYMTestCaseDesc Encode to bmp from 8-bit image file giving an image type, without using RFile.
1.87 +//! Uses API elements: FileNewL(), Convert().
1.88 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image.
1.89 +//! @SYMTestStatus Implemented
1.90 +//! @SYMTestPriority Critical
1.91 +//! @SYMTestExpectedResults Image encoded with no errors.
1.92 +//! @SYMTestType CIT
1.93 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.94 + CREATE_OBJECT CImageEncoder imageencoder1
1.95 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0003-001-FileNewL_command01
1.96 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0003-001-Convert_command02
1.97 + OUTSTANDING
1.98 + COMMAND imageencoder1 ~
1.99 + END_TEST_BLOCK
1.100 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0003
1.101 +
1.102 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0004
1.103 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0004
1.104 +//! @SYMAPI CImageEncoder
1.105 +//! @SYMAuthor Louis Nayegon
1.106 +//! @SYMCreationDate 29/11/2005
1.107 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.108 +//! @SYMTestCaseDesc Encode to bmp from 4-bit image file giving a mime type, without using RFile.
1.109 +//! Uses API elements: FileNewL(), Convert().
1.110 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image.
1.111 +//! @SYMTestStatus Implemented
1.112 +//! @SYMTestPriority Critical
1.113 +//! @SYMTestExpectedResults Image encoded with no errors.
1.114 +//! @SYMTestType CIT
1.115 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.116 + CREATE_OBJECT CImageEncoder imageencoder1
1.117 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0004-001-FileNewL_command01
1.118 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0004-001-Convert_command02
1.119 + OUTSTANDING
1.120 + COMMAND imageencoder1 ~
1.121 + END_TEST_BLOCK
1.122 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0004
1.123 +
1.124 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0005
1.125 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0005
1.126 +//! @SYMAPI CImageEncoder
1.127 +//! @SYMAuthor Louis Nayegon
1.128 +//! @SYMCreationDate 29/11/2005
1.129 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.130 +//! @SYMTestCaseDesc Encode to bmp from 2-bit image in buffer giving an image type.
1.131 +//! Uses API elements: DataNewL(), Convert().
1.132 +//! @SYMTestActions 1. Create encoder for bmp file buffer. 2. Encode image.
1.133 +//! @SYMTestStatus Implemented
1.134 +//! @SYMTestPriority Critical
1.135 +//! @SYMTestExpectedResults Image encoded with no errors.
1.136 +//! @SYMTestType CIT
1.137 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.138 + CREATE_OBJECT CImageEncoder imageencoder1
1.139 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0005-001-DataNewL_command01
1.140 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0005-001-Convert_command02
1.141 + OUTSTANDING
1.142 + COMMAND imageencoder1 ~
1.143 + END_TEST_BLOCK
1.144 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0005
1.145 +
1.146 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0006
1.147 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0006
1.148 +//! @SYMAPI CImageEncoder
1.149 +//! @SYMAuthor Louis Nayegon
1.150 +//! @SYMCreationDate 29/11/2005
1.151 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.152 +//! @SYMTestCaseDesc Encode to bmp from 1-bit image in buffer giving a mime type.
1.153 +//! Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid().
1.154 +//! @SYMTestActions 1. Create encoder for bmp file buffer. 2. Set to encode thumbnail. 3. Encode image. 4. Get implementation UID of encoder used.
1.155 +//! @SYMTestStatus Implemented
1.156 +//! @SYMTestPriority Critical
1.157 +//! @SYMTestExpectedResults Image encoded with no errors.
1.158 +//! @SYMTestType CIT
1.159 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.160 + CREATE_OBJECT CImageEncoder imageencoder1
1.161 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0006-001-DataNewL_command01
1.162 + COMMAND imageencoder1 SetThumbnail MM-ICL-ENCDE-PublicApi-0006-001-SetThumbnail_command02
1.163 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0006-001-Convert_command03
1.164 + OUTSTANDING
1.165 + COMMAND imageencoder1 ImplementationUid
1.166 + COMMAND imageencoder1 ~
1.167 + END_TEST_BLOCK
1.168 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0006
1.169 +
1.170 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0007
1.171 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0007
1.172 +//! @SYMAPI CImageEncoder
1.173 +//! @SYMAuthor Louis Nayegon
1.174 +//! @SYMCreationDate 29/11/2005
1.175 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.176 +//! @SYMTestCaseDesc Get list of file extensions that can be encoded and their corresponding MIME types.
1.177 +//! Uses API elements: GetFileTypesL().
1.178 +//! @SYMTestActions 1. Get list of file extensions that can be encoded and their corresponding MIME types.
1.179 +//! @SYMTestStatus Implemented
1.180 +//! @SYMTestPriority High
1.181 +//! @SYMTestExpectedResults Information returned with no errors.
1.182 +//! @SYMTestType CIT
1.183 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.184 + CREATE_OBJECT CImageEncoder imageencoder1
1.185 + COMMAND imageencoder1 GetFileTypesL
1.186 + COMMAND imageencoder1 ~
1.187 + END_TEST_BLOCK
1.188 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0007
1.189 +
1.190 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0008
1.191 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0008
1.192 +//! @SYMAPI CImageEncoder
1.193 +//! @SYMAuthor Louis Nayegon
1.194 +//! @SYMCreationDate 29/11/2005
1.195 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.196 +//! @SYMTestCaseDesc Try to get list of image sub-types that can be encoded for an unsupported image type.
1.197 +//! Uses API elements: GetImageSubTypesL().
1.198 +//! @SYMTestActions 1. Try to get list of image sub-types that can be encoded for an unsupported image type.
1.199 +//! @SYMTestStatus Implemented
1.200 +//! @SYMTestPriority High
1.201 +//! @SYMTestExpectedResults KErrNotFound returned.
1.202 +//! @SYMTestType CIT
1.203 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.204 + CREATE_OBJECT CImageEncoder imageencoder1
1.205 + COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0008-001-GetImageSubTypesL_command01
1.206 + COMMAND imageencoder1 ~
1.207 + END_TEST_BLOCK
1.208 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0008
1.209 +
1.210 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0009
1.211 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0009
1.212 +//! @SYMAPI CImageEncoder
1.213 +//! @SYMAuthor Louis Nayegon
1.214 +//! @SYMCreationDate 29/11/2005
1.215 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.216 +//! @SYMTestCaseDesc Get list of basic image types that can be encoded.
1.217 +//! Uses API elements: GetImageTypesL().
1.218 +//! @SYMTestActions 1. Get list of basic image types that can be encoded.
1.219 +//! @SYMTestStatus Implemented
1.220 +//! @SYMTestPriority High
1.221 +//! @SYMTestExpectedResults Information returned with no errors.
1.222 +//! @SYMTestType CIT
1.223 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.224 + CREATE_OBJECT CImageEncoder imageencoder1
1.225 + COMMAND imageencoder1 GetImageTypesL
1.226 + COMMAND imageencoder1 ~
1.227 + END_TEST_BLOCK
1.228 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0009
1.229 +
1.230 +
1.231 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0010
1.232 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0010
1.233 +//! @SYMAPI CImageEncoder
1.234 +//! @SYMAuthor James Mechen
1.235 +//! @SYMCreationDate 13/01/2006
1.236 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.237 +//! @SYMTestCaseDesc Encode to gif from 24-bit image file giving an image type, using RFile.
1.238 +//! Uses API elements: FileNewL(), Convert().
1.239 +//! @SYMTestActions 1. Create encoder for gif file image. 2. Encode image.
1.240 +//! @SYMTestStatus Implemented
1.241 +//! @SYMTestPriority Critical
1.242 +//! @SYMTestExpectedResults Image encoded with no errors.
1.243 +//! @SYMTestType CIT
1.244 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.245 + CREATE_OBJECT CImageEncoder imageencoder1
1.246 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0010-001-FileNewL_command01
1.247 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0010-001-Convert_command02
1.248 + OUTSTANDING
1.249 + COMMAND imageencoder1 ~
1.250 + END_TEST_BLOCK
1.251 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0010
1.252 +
1.253 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0011
1.254 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0011
1.255 +//! @SYMAPI CImageEncoder
1.256 +//! @SYMAuthor James Mechen
1.257 +//! @SYMCreationDate 13/01/2006
1.258 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.259 +//! @SYMTestCaseDesc Encode to gif from 16-bit image file giving a mime type, using RFile.
1.260 +//! Uses API elements: FileNewL(), Convert().
1.261 +//! @SYMTestActions 1. Create encoder for gif file image. 2. Encode image.
1.262 +//! @SYMTestStatus Implemented
1.263 +//! @SYMTestPriority Critical
1.264 +//! @SYMTestExpectedResults Image encoded with no errors.
1.265 +//! @SYMTestType CIT
1.266 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.267 + CREATE_OBJECT CImageEncoder imageencoder1
1.268 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0011-001-FileNewL_command01
1.269 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0011-001-Convert_command02
1.270 + OUTSTANDING
1.271 + COMMAND imageencoder1 ~
1.272 + END_TEST_BLOCK
1.273 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0011
1.274 +
1.275 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0012
1.276 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0012
1.277 +//! @SYMAPI CImageEncoder
1.278 +//! @SYMAuthor James Mechen
1.279 +//! @SYMCreationDate 13/01/2006
1.280 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.281 +//! @SYMTestCaseDesc Encode to gif from 8-bit image file giving an image type, without using RFile.
1.282 +//! Uses API elements: FileNewL(), Convert().
1.283 +//! @SYMTestActions 1. Create encoder for gif file image. 2. Encode image.
1.284 +//! @SYMTestStatus Implemented
1.285 +//! @SYMTestPriority Critical
1.286 +//! @SYMTestExpectedResults Image encoded with no errors.
1.287 +//! @SYMTestType CIT
1.288 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.289 + CREATE_OBJECT CImageEncoder imageencoder1
1.290 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0012-001-FileNewL_command01
1.291 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0012-001-Convert_command02
1.292 + OUTSTANDING
1.293 + COMMAND imageencoder1 ~
1.294 + END_TEST_BLOCK
1.295 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0012
1.296 +
1.297 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0013
1.298 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0013
1.299 +//! @SYMAPI CImageEncoder
1.300 +//! @SYMAuthor James Mechen
1.301 +//! @SYMCreationDate 13/01/2006
1.302 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.303 +//! @SYMTestCaseDesc Encode to gif from 4-bit image file giving a mime type, without using RFile.
1.304 +//! Uses API elements: FileNewL(), Convert().
1.305 +//! @SYMTestActions 1. Create encoder for gif file image. 2. Encode image.
1.306 +//! @SYMTestStatus Implemented
1.307 +//! @SYMTestPriority Critical
1.308 +//! @SYMTestExpectedResults Image encoded with no errors.
1.309 +//! @SYMTestType CIT
1.310 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.311 + CREATE_OBJECT CImageEncoder imageencoder1
1.312 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0013-001-FileNewL_command01
1.313 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0013-001-Convert_command02
1.314 + OUTSTANDING
1.315 + COMMAND imageencoder1 ~
1.316 + END_TEST_BLOCK
1.317 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0013
1.318 +
1.319 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0014
1.320 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0014
1.321 +//! @SYMAPI CImageEncoder
1.322 +//! @SYMAuthor James Mechen
1.323 +//! @SYMCreationDate 13/01/2006
1.324 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.325 +//! @SYMTestCaseDesc Encode to gif from 2-bit image in buffer giving an image type.
1.326 +//! Uses API elements: DataNewL(), Convert().
1.327 +//! @SYMTestActions 1. Create encoder for gif file buffer. 2. Encode image.
1.328 +//! @SYMTestStatus Implemented
1.329 +//! @SYMTestPriority Critical
1.330 +//! @SYMTestExpectedResults Image encoded with no errors.
1.331 +//! @SYMTestType CIT
1.332 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.333 + CREATE_OBJECT CImageEncoder imageencoder1
1.334 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0014-001-DataNewL_command01
1.335 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0014-001-Convert_command02
1.336 + OUTSTANDING
1.337 + COMMAND imageencoder1 ~
1.338 + END_TEST_BLOCK
1.339 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0014
1.340 +
1.341 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0015
1.342 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0015
1.343 +//! @SYMAPI CImageEncoder
1.344 +//! @SYMAuthor James Mechen
1.345 +//! @SYMCreationDate 13/01/2006
1.346 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.347 +//! @SYMTestCaseDesc Encode to gif from 1-bit image in buffer giving a mime type.
1.348 +//! Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid().
1.349 +//! @SYMTestActions 1. Create encoder for gif file buffer. 2. Set to encode thumbnail. 3. Encode image. 4. Get implementation UID of encoder used.
1.350 +//! @SYMTestStatus Implemented
1.351 +//! @SYMTestPriority Critical
1.352 +//! @SYMTestExpectedResults Image encoded with no errors.
1.353 +//! @SYMTestType CIT
1.354 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.355 + CREATE_OBJECT CImageEncoder imageencoder1
1.356 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0015-001-DataNewL_command01
1.357 + COMMAND imageencoder1 SetThumbnail MM-ICL-ENCDE-PublicApi-0015-001-SetThumbnail_command02
1.358 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0015-001-Convert_command03
1.359 + OUTSTANDING
1.360 + COMMAND imageencoder1 ImplementationUid
1.361 + COMMAND imageencoder1 ~
1.362 + END_TEST_BLOCK
1.363 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0015
1.364 +
1.365 +
1.366 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0016
1.367 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0016
1.368 +//! @SYMAPI CImageEncoder
1.369 +//! @SYMAuthor James Mechen
1.370 +//! @SYMCreationDate 13/01/2006
1.371 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.372 +//! @SYMTestCaseDesc Encode to jpg from 24-bit image file giving an image type, using RFile.
1.373 +//! Uses API elements: FileNewL(), Convert().
1.374 +//! @SYMTestActions 1. Create encoder for jpg file image. 2. Encode image.
1.375 +//! @SYMTestStatus Implemented
1.376 +//! @SYMTestPriority Critical
1.377 +//! @SYMTestExpectedResults Image encoded with no errors.
1.378 +//! @SYMTestType CIT
1.379 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.380 + CREATE_OBJECT CImageEncoder imageencoder1
1.381 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0016-001-FileNewL_command01
1.382 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0016-001-Convert_command02
1.383 + OUTSTANDING
1.384 + COMMAND imageencoder1 ~
1.385 + END_TEST_BLOCK
1.386 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0016
1.387 +
1.388 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0017
1.389 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0017
1.390 +//! @SYMAPI CImageEncoder
1.391 +//! @SYMAuthor James Mechen
1.392 +//! @SYMCreationDate 13/01/2006
1.393 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.394 +//! @SYMTestCaseDesc Encode to jpg from 16-bit image file giving a mime type, using RFile.
1.395 +//! Uses API elements: FileNewL(), Convert().
1.396 +//! @SYMTestActions 1. Create encoder for jpg file image. 2. Encode image.
1.397 +//! @SYMTestStatus Implemented
1.398 +//! @SYMTestPriority Critical
1.399 +//! @SYMTestExpectedResults Image encoded with no errors.
1.400 +//! @SYMTestType CIT
1.401 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.402 + CREATE_OBJECT CImageEncoder imageencoder1
1.403 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0017-001-FileNewL_command01
1.404 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0017-001-Convert_command02
1.405 + OUTSTANDING
1.406 + COMMAND imageencoder1 ~
1.407 + END_TEST_BLOCK
1.408 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0017
1.409 +
1.410 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0018
1.411 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0018
1.412 +//! @SYMAPI CImageEncoder
1.413 +//! @SYMAuthor James Mechen
1.414 +//! @SYMCreationDate 13/01/2006
1.415 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.416 +//! @SYMTestCaseDesc Encode to jpg from 8-bit image file giving an image type, without using RFile.
1.417 +//! Uses API elements: FileNewL(), Convert().
1.418 +//! @SYMTestActions 1. Create encoder for jpg file image. 2. Encode image.
1.419 +//! @SYMTestStatus Implemented
1.420 +//! @SYMTestPriority Critical
1.421 +//! @SYMTestExpectedResults Image encoded with no errors.
1.422 +//! @SYMTestType CIT
1.423 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.424 + CREATE_OBJECT CImageEncoder imageencoder1
1.425 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0018-001-FileNewL_command01
1.426 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0018-001-Convert_command02
1.427 + OUTSTANDING
1.428 + COMMAND imageencoder1 ~
1.429 + END_TEST_BLOCK
1.430 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0018
1.431 +
1.432 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0019
1.433 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0019
1.434 +//! @SYMAPI CImageEncoder
1.435 +//! @SYMAuthor James Mechen
1.436 +//! @SYMCreationDate 13/01/2006
1.437 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.438 +//! @SYMTestCaseDesc Encode to jpg from 4-bit image file giving a mime type, without using RFile.
1.439 +//! Uses API elements: FileNewL(), Convert().
1.440 +//! @SYMTestActions 1. Create encoder for jpg file image. 2. Encode image.
1.441 +//! @SYMTestStatus Implemented
1.442 +//! @SYMTestPriority Critical
1.443 +//! @SYMTestExpectedResults Image encoded with no errors.
1.444 +//! @SYMTestType CIT
1.445 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.446 + CREATE_OBJECT CImageEncoder imageencoder1
1.447 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0019-001-FileNewL_command01
1.448 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0019-001-Convert_command02
1.449 + OUTSTANDING
1.450 + COMMAND imageencoder1 ~
1.451 + END_TEST_BLOCK
1.452 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0019
1.453 +
1.454 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0020
1.455 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0020
1.456 +//! @SYMAPI CImageEncoder
1.457 +//! @SYMAuthor James Mechen
1.458 +//! @SYMCreationDate 13/01/2006
1.459 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.460 +//! @SYMTestCaseDesc Encode to jpg from 2-bit image in buffer giving an image type.
1.461 +//! Uses API elements: DataNewL(), Convert().
1.462 +//! @SYMTestActions 1. Create encoder for jpg file buffer. 2. Encode image.
1.463 +//! @SYMTestStatus Implemented
1.464 +//! @SYMTestPriority Critical
1.465 +//! @SYMTestExpectedResults Image encoded with no errors.
1.466 +//! @SYMTestType CIT
1.467 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.468 + CREATE_OBJECT CImageEncoder imageencoder1
1.469 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0020-001-DataNewL_command01
1.470 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0020-001-Convert_command02
1.471 + OUTSTANDING
1.472 + COMMAND imageencoder1 ~
1.473 + END_TEST_BLOCK
1.474 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0020
1.475 +
1.476 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0021
1.477 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0021
1.478 +//! @SYMAPI CImageEncoder
1.479 +//! @SYMAuthor James Mechen
1.480 +//! @SYMCreationDate 13/01/2006
1.481 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.482 +//! @SYMTestCaseDesc Encode to jpg from 1-bit image in buffer giving a mime type.
1.483 +//! Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid().
1.484 +//! @SYMTestActions 1. Create encoder for jpg file buffer. 2. Set to encode thumbnail. 3. Encode image. 4. Get implementation UID of encoder used.
1.485 +//! @SYMTestStatus Implemented
1.486 +//! @SYMTestPriority Critical
1.487 +//! @SYMTestExpectedResults Image encoded with no errors.
1.488 +//! @SYMTestType CIT
1.489 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.490 + CREATE_OBJECT CImageEncoder imageencoder1
1.491 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0021-001-DataNewL_command01
1.492 + COMMAND imageencoder1 SetThumbnail MM-ICL-ENCDE-PublicApi-0021-001-SetThumbnail_command02
1.493 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0021-001-Convert_command03
1.494 + OUTSTANDING
1.495 + COMMAND imageencoder1 ImplementationUid
1.496 + COMMAND imageencoder1 ~
1.497 + END_TEST_BLOCK
1.498 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0021
1.499 +
1.500 +
1.501 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0022
1.502 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0022
1.503 +//! @SYMAPI CImageEncoder
1.504 +//! @SYMAuthor James Mechen
1.505 +//! @SYMCreationDate 13/01/2006
1.506 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.507 +//! @SYMTestCaseDesc Encode to mbm from 24-bit image file giving an image type, using RFile.
1.508 +//! Uses API elements: FileNewL(), Convert().
1.509 +//! @SYMTestActions 1. Create encoder for mbm file image. 2. Encode image.
1.510 +//! @SYMTestStatus Implemented
1.511 +//! @SYMTestPriority Critical
1.512 +//! @SYMTestExpectedResults Image encoded with no errors.
1.513 +//! @SYMTestType CIT
1.514 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.515 + CREATE_OBJECT CImageEncoder imageencoder1
1.516 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0022-001-FileNewL_command01
1.517 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0022-001-Convert_command02
1.518 + OUTSTANDING
1.519 + COMMAND imageencoder1 ~
1.520 + END_TEST_BLOCK
1.521 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0022
1.522 +
1.523 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0023
1.524 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0023
1.525 +//! @SYMAPI CImageEncoder
1.526 +//! @SYMAuthor James Mechen
1.527 +//! @SYMCreationDate 13/01/2006
1.528 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.529 +//! @SYMTestCaseDesc Encode to mbm from 16-bit image file giving a mime type, using RFile.
1.530 +//! Uses API elements: FileNewL(), Convert().
1.531 +//! @SYMTestActions 1. Create encoder for mbm file image. 2. Encode image.
1.532 +//! @SYMTestStatus Implemented
1.533 +//! @SYMTestPriority Critical
1.534 +//! @SYMTestExpectedResults Image encoded with no errors.
1.535 +//! @SYMTestType CIT
1.536 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.537 + CREATE_OBJECT CImageEncoder imageencoder1
1.538 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0023-001-FileNewL_command01
1.539 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0023-001-Convert_command02
1.540 + OUTSTANDING
1.541 + COMMAND imageencoder1 ~
1.542 + END_TEST_BLOCK
1.543 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0023
1.544 +
1.545 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0024
1.546 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0024
1.547 +//! @SYMAPI CImageEncoder
1.548 +//! @SYMAuthor James Mechen
1.549 +//! @SYMCreationDate 13/01/2006
1.550 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.551 +//! @SYMTestCaseDesc Encode to mbm from 8-bit image file giving an image type, without using RFile.
1.552 +//! Uses API elements: FileNewL(), Convert().
1.553 +//! @SYMTestActions 1. Create encoder for mbm file image. 2. Encode image.
1.554 +//! @SYMTestStatus Implemented
1.555 +//! @SYMTestPriority Critical
1.556 +//! @SYMTestExpectedResults Image encoded with no errors.
1.557 +//! @SYMTestType CIT
1.558 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.559 + CREATE_OBJECT CImageEncoder imageencoder1
1.560 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0024-001-FileNewL_command01
1.561 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0024-001-Convert_command02
1.562 + OUTSTANDING
1.563 + COMMAND imageencoder1 ~
1.564 + END_TEST_BLOCK
1.565 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0024
1.566 +
1.567 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0025
1.568 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0025
1.569 +//! @SYMAPI CImageEncoder
1.570 +//! @SYMAuthor James Mechen
1.571 +//! @SYMCreationDate 13/01/2006
1.572 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.573 +//! @SYMTestCaseDesc Encode to mbm from 4-bit image file giving a mime type, without using RFile.
1.574 +//! Uses API elements: FileNewL(), Convert().
1.575 +//! @SYMTestActions 1. Create encoder for mbm file image. 2. Encode image.
1.576 +//! @SYMTestStatus Implemented
1.577 +//! @SYMTestPriority Critical
1.578 +//! @SYMTestExpectedResults Image encoded with no errors.
1.579 +//! @SYMTestType CIT
1.580 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.581 + CREATE_OBJECT CImageEncoder imageencoder1
1.582 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0025-001-FileNewL_command01
1.583 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0025-001-Convert_command02
1.584 + OUTSTANDING
1.585 + COMMAND imageencoder1 ~
1.586 + END_TEST_BLOCK
1.587 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0025
1.588 +
1.589 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0026
1.590 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0026
1.591 +//! @SYMAPI CImageEncoder
1.592 +//! @SYMAuthor James Mechen
1.593 +//! @SYMCreationDate 13/01/2006
1.594 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.595 +//! @SYMTestCaseDesc Encode to mbm from 2-bit image in buffer giving an image type.
1.596 +//! Uses API elements: DataNewL(), Convert().
1.597 +//! @SYMTestActions 1. Create encoder for mbm file buffer. 2. Encode image.
1.598 +//! @SYMTestStatus Implemented
1.599 +//! @SYMTestPriority Critical
1.600 +//! @SYMTestExpectedResults Image encoded with no errors.
1.601 +//! @SYMTestType CIT
1.602 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.603 + CREATE_OBJECT CImageEncoder imageencoder1
1.604 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0026-001-DataNewL_command01
1.605 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0026-001-Convert_command02
1.606 + OUTSTANDING
1.607 + COMMAND imageencoder1 ~
1.608 + END_TEST_BLOCK
1.609 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0026
1.610 +
1.611 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0027
1.612 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0027
1.613 +//! @SYMAPI CImageEncoder
1.614 +//! @SYMAuthor James Mechen
1.615 +//! @SYMCreationDate 13/01/2006
1.616 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.617 +//! @SYMTestCaseDesc Encode to mbm from 1-bit image in buffer giving a mime type.
1.618 +//! Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid().
1.619 +//! @SYMTestActions 1. Create encoder for mbm file buffer. 2. Set to encode thumbnail. 3. Encode image. 4. Get implementation UID of encoder used.
1.620 +//! @SYMTestStatus Implemented
1.621 +//! @SYMTestPriority Critical
1.622 +//! @SYMTestExpectedResults Image encoded with no errors.
1.623 +//! @SYMTestType CIT
1.624 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.625 + CREATE_OBJECT CImageEncoder imageencoder1
1.626 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0027-001-DataNewL_command01
1.627 + COMMAND imageencoder1 SetThumbnail MM-ICL-ENCDE-PublicApi-0027-001-SetThumbnail_command02
1.628 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0027-001-Convert_command03
1.629 + OUTSTANDING
1.630 + COMMAND imageencoder1 ImplementationUid
1.631 + COMMAND imageencoder1 ~
1.632 + END_TEST_BLOCK
1.633 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0027
1.634 +
1.635 +
1.636 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0028
1.637 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0028
1.638 +//! @SYMAPI CImageEncoder
1.639 +//! @SYMAuthor James Mechen
1.640 +//! @SYMCreationDate 13/01/2006
1.641 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.642 +//! @SYMTestCaseDesc Encode to png from 24-bit image file giving an image type, using RFile.
1.643 +//! Uses API elements: FileNewL(), Convert().
1.644 +//! @SYMTestActions 1. Create encoder for png file image. 2. Encode image.
1.645 +//! @SYMTestStatus Implemented
1.646 +//! @SYMTestPriority Critical
1.647 +//! @SYMTestExpectedResults Image encoded with no errors.
1.648 +//! @SYMTestType CIT
1.649 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.650 + CREATE_OBJECT CImageEncoder imageencoder1
1.651 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0028-001-FileNewL_command01
1.652 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0028-001-Convert_command02
1.653 + OUTSTANDING
1.654 + COMMAND imageencoder1 ~
1.655 + END_TEST_BLOCK
1.656 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0028
1.657 +
1.658 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0029
1.659 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0029
1.660 +//! @SYMAPI CImageEncoder
1.661 +//! @SYMAuthor James Mechen
1.662 +//! @SYMCreationDate 13/01/2006
1.663 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.664 +//! @SYMTestCaseDesc Encode to png from 16-bit image file giving a mime type, using RFile.
1.665 +//! Uses API elements: FileNewL(), Convert().
1.666 +//! @SYMTestActions 1. Create encoder for png file image. 2. Encode image.
1.667 +//! @SYMTestStatus Implemented
1.668 +//! @SYMTestPriority Critical
1.669 +//! @SYMTestExpectedResults Image encoded with no errors.
1.670 +//! @SYMTestType CIT
1.671 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.672 + CREATE_OBJECT CImageEncoder imageencoder1
1.673 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0029-001-FileNewL_command01
1.674 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0029-001-Convert_command02
1.675 + OUTSTANDING
1.676 + COMMAND imageencoder1 ~
1.677 + END_TEST_BLOCK
1.678 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0029
1.679 +
1.680 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0030
1.681 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0030
1.682 +//! @SYMAPI CImageEncoder
1.683 +//! @SYMAuthor James Mechen
1.684 +//! @SYMCreationDate 13/01/2006
1.685 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.686 +//! @SYMTestCaseDesc Encode to png from 8-bit image file giving an image type, without using RFile.
1.687 +//! Uses API elements: FileNewL(), Convert().
1.688 +//! @SYMTestActions 1. Create encoder for png file image. 2. Encode image.
1.689 +//! @SYMTestStatus Implemented
1.690 +//! @SYMTestPriority Critical
1.691 +//! @SYMTestExpectedResults Image encoded with no errors.
1.692 +//! @SYMTestType CIT
1.693 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.694 + CREATE_OBJECT CImageEncoder imageencoder1
1.695 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0030-001-FileNewL_command01
1.696 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0030-001-Convert_command02
1.697 + OUTSTANDING
1.698 + COMMAND imageencoder1 ~
1.699 + END_TEST_BLOCK
1.700 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0030
1.701 +
1.702 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0031
1.703 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0031
1.704 +//! @SYMAPI CImageEncoder
1.705 +//! @SYMAuthor James Mechen
1.706 +//! @SYMCreationDate 13/01/2006
1.707 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.708 +//! @SYMTestCaseDesc Encode to png from 4-bit image file giving a mime type, without using RFile.
1.709 +//! Uses API elements: FileNewL(), Convert().
1.710 +//! @SYMTestActions 1. Create encoder for png file image. 2. Encode image.
1.711 +//! @SYMTestStatus Implemented
1.712 +//! @SYMTestPriority Critical
1.713 +//! @SYMTestExpectedResults Image encoded with no errors.
1.714 +//! @SYMTestType CIT
1.715 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.716 + CREATE_OBJECT CImageEncoder imageencoder1
1.717 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0031-001-FileNewL_command01
1.718 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0031-001-Convert_command02
1.719 + OUTSTANDING
1.720 + COMMAND imageencoder1 ~
1.721 + END_TEST_BLOCK
1.722 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0031
1.723 +
1.724 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0032
1.725 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0032
1.726 +//! @SYMAPI CImageEncoder
1.727 +//! @SYMAuthor James Mechen
1.728 +//! @SYMCreationDate 13/01/2006
1.729 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.730 +//! @SYMTestCaseDesc Encode to png from 2-bit image in buffer giving an image type.
1.731 +//! Uses API elements: DataNewL(), Convert().
1.732 +//! @SYMTestActions 1. Create encoder for png file buffer. 2. Encode image.
1.733 +//! @SYMTestStatus Implemented
1.734 +//! @SYMTestPriority Critical
1.735 +//! @SYMTestExpectedResults Image encoded with no errors.
1.736 +//! @SYMTestType CIT
1.737 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.738 + CREATE_OBJECT CImageEncoder imageencoder1
1.739 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0032-001-DataNewL_command01
1.740 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0032-001-Convert_command02
1.741 + OUTSTANDING
1.742 + COMMAND imageencoder1 ~
1.743 + END_TEST_BLOCK
1.744 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0032
1.745 +
1.746 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0033
1.747 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0033
1.748 +//! @SYMAPI CImageEncoder
1.749 +//! @SYMAuthor James Mechen
1.750 +//! @SYMCreationDate 13/01/2006
1.751 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.752 +//! @SYMTestCaseDesc Encode to png from 1-bit image in buffer giving a mime type.
1.753 +//! Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid().
1.754 +//! @SYMTestActions 1. Create encoder for png file buffer. 2. Set to encode thumbnail. 3. Encode image. 4. Get implementation UID of encoder used.
1.755 +//! @SYMTestStatus Implemented
1.756 +//! @SYMTestPriority Critical
1.757 +//! @SYMTestExpectedResults Image encoded with no errors.
1.758 +//! @SYMTestType CIT
1.759 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.760 + CREATE_OBJECT CImageEncoder imageencoder1
1.761 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0033-001-DataNewL_command01
1.762 + COMMAND imageencoder1 SetThumbnail MM-ICL-ENCDE-PublicApi-0033-001-SetThumbnail_command02
1.763 + COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0033-001-Convert_command03
1.764 + OUTSTANDING
1.765 + COMMAND imageencoder1 ImplementationUid
1.766 + COMMAND imageencoder1 ~
1.767 + END_TEST_BLOCK
1.768 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0033
1.769 +
1.770 +
1.771 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0034
1.772 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0034
1.773 +//! @SYMAPI CImageEncoder
1.774 +//! @SYMAuthor James Mechen
1.775 +//! @SYMCreationDate 13/01/2006
1.776 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.777 +//! @SYMTestCaseDesc Get list of gif image sub-types that can be encoded.
1.778 +//! Uses API elements: GetImageSubTypesL().
1.779 +//! @SYMTestActions 1. Get list of gif image sub-types that can be encoded.
1.780 +//! @SYMTestStatus Implemented
1.781 +//! @SYMTestPriority High
1.782 +//! @SYMTestExpectedResults KErrNotFound returned.
1.783 +//! @SYMTestType CIT
1.784 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.785 + CREATE_OBJECT CImageEncoder imageencoder1
1.786 + COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0034-001-GetImageSubTypesL_command01
1.787 + COMMAND imageencoder1 ~
1.788 + END_TEST_BLOCK
1.789 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0034
1.790 +
1.791 +
1.792 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0035
1.793 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0035
1.794 +//! @SYMAPI CImageEncoder
1.795 +//! @SYMAuthor James Mechen
1.796 +//! @SYMCreationDate 13/01/2006
1.797 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.798 +//! @SYMTestCaseDesc Get list of jpg image sub-types that can be encoded.
1.799 +//! Uses API elements: GetImageSubTypesL().
1.800 +//! @SYMTestActions 1. Get list of jpg image sub-types that can be encoded.
1.801 +//! @SYMTestStatus Implemented
1.802 +//! @SYMTestPriority High
1.803 +//! @SYMTestExpectedResults KErrNotFound returned.
1.804 +//! @SYMTestType CIT
1.805 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.806 + CREATE_OBJECT CImageEncoder imageencoder1
1.807 + COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0035-001-GetImageSubTypesL_command01
1.808 + COMMAND imageencoder1 ~
1.809 + END_TEST_BLOCK
1.810 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0035
1.811 +
1.812 +
1.813 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0036
1.814 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0036
1.815 +//! @SYMAPI CImageEncoder
1.816 +//! @SYMAuthor James Mechen
1.817 +//! @SYMCreationDate 13/01/2006
1.818 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.819 +//! @SYMTestCaseDesc Get list of mbm image sub-types that can be encoded.
1.820 +//! Uses API elements: GetImageSubTypesL().
1.821 +//! @SYMTestActions 1. Get list of mbm image sub-types that can be encoded.
1.822 +//! @SYMTestStatus Implemented
1.823 +//! @SYMTestPriority High
1.824 +//! @SYMTestExpectedResults KErrNotFound returned.
1.825 +//! @SYMTestType CIT
1.826 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.827 + CREATE_OBJECT CImageEncoder imageencoder1
1.828 + COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0036-001-GetImageSubTypesL_command01
1.829 + COMMAND imageencoder1 ~
1.830 + END_TEST_BLOCK
1.831 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0036
1.832 +
1.833 +
1.834 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0037
1.835 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0037
1.836 +//! @SYMAPI CImageEncoder
1.837 +//! @SYMAuthor James Mechen
1.838 +//! @SYMCreationDate 13/01/2006
1.839 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.840 +//! @SYMTestCaseDesc Get list of png image sub-types that can be encoded.
1.841 +//! Uses API elements: GetImageSubTypesL().
1.842 +//! @SYMTestActions 1. Get list of png image sub-types that can be encoded.
1.843 +//! @SYMTestStatus Implemented
1.844 +//! @SYMTestPriority High
1.845 +//! @SYMTestExpectedResults KErrNotFound returned.
1.846 +//! @SYMTestType CIT
1.847 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.848 + CREATE_OBJECT CImageEncoder imageencoder1
1.849 + COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0037-001-GetImageSubTypesL_command01
1.850 + COMMAND imageencoder1 ~
1.851 + END_TEST_BLOCK
1.852 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0037
1.853 +
1.854 +
1.855 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0038
1.856 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0038
1.857 +//! @SYMAPI CImageEncoder
1.858 +//! @SYMAuthor James Mechen
1.859 +//! @SYMCreationDate 13/01/2006
1.860 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.861 +//! @SYMTestCaseDesc Get list of bmp image sub-types that can be encoded.
1.862 +//! Uses API elements: GetImageSubTypesL().
1.863 +//! @SYMTestActions 1. Get list of bmp image sub-types that can be encoded.
1.864 +//! @SYMTestStatus Implemented
1.865 +//! @SYMTestPriority High
1.866 +//! @SYMTestExpectedResults KErrNotFound returned.
1.867 +//! @SYMTestType CIT
1.868 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.869 + CREATE_OBJECT CImageEncoder imageencoder1
1.870 + COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0037-001-GetImageSubTypesL_command01
1.871 + COMMAND imageencoder1 ~
1.872 + END_TEST_BLOCK
1.873 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0038
1.874 +
1.875 +
1.876 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0039
1.877 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0039
1.878 +//! @SYMAPI CImageEncoder
1.879 +//! @SYMAuthor James Mechen
1.880 +//! @SYMCreationDate 17/01/2006
1.881 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.882 +//! @SYMTestCaseDesc Begin encoding a bmp image file giving an image type, using RFile, then cancel the conversion.
1.883 +//! Uses API elements: FileNewL(), Convert(), Cancel().
1.884 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image. 3. Cancel conversion.
1.885 +//! @SYMTestStatus Implemented
1.886 +//! @SYMTestPriority High
1.887 +//! @SYMTestExpectedResults Conversion cancelled with no errors.
1.888 +//! @SYMTestType CIT
1.889 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.890 + CREATE_OBJECT CImageEncoder imageencoder1
1.891 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0039-001-FileNewL_command01
1.892 + COMMAND !AsyncError=-3 imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0039-001-Convert_command02
1.893 + COMMAND imageencoder1 Cancel
1.894 + OUTSTANDING
1.895 + COMMAND imageencoder1 ~
1.896 + END_TEST_BLOCK
1.897 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0039
1.898 +
1.899 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0040
1.900 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0040
1.901 +//! @SYMAPI CImageEncoder
1.902 +//! @SYMAuthor James Mechen
1.903 +//! @SYMCreationDate 17/01/2006
1.904 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.905 +//! @SYMTestCaseDesc Encode an unloaded CFbsBitmap giving an image type, using RFile.
1.906 +//! Uses API elements: FileNewL(), Convert().
1.907 +//! @SYMTestActions 1. Create encoder for corrupted file. 2. Encode image.
1.908 +//! @SYMTestStatus Implemented
1.909 +//! @SYMTestPriority High
1.910 +//! @SYMTestExpectedResults KErrNone returned.
1.911 +//! @SYMTestType CIT
1.912 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.913 + CREATE_OBJECT CImageEncoder imageencoder1
1.914 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0040-001-FileNewL_command01
1.915 + COMMAND imageencoder1 Convert
1.916 + OUTSTANDING
1.917 + COMMAND imageencoder1 ~
1.918 + END_TEST_BLOCK
1.919 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0040
1.920 +
1.921 +
1.922 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0041
1.923 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0041
1.924 +//! @SYMAPI CImageEncoder
1.925 +//! @SYMAuthor James Mechen
1.926 +//! @SYMCreationDate 27/01/2006
1.927 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.928 +//! @SYMTestCaseDesc Encode a gif image giving an illegal mime type.
1.929 +//! Uses API elements: FileNewL(), Convert().
1.930 +//! @SYMTestActions 1. Create encoder for gif file. 2. Encode image.
1.931 +//! @SYMTestStatus Implemented
1.932 +//! @SYMTestPriority Critical
1.933 +//! @SYMTestExpectedResults KErrNotFound is returned.
1.934 +//! @SYMTestType CIT
1.935 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.936 + CREATE_OBJECT CImageEncoder imageencoder1
1.937 + COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0041-001-FileNewL_command01
1.938 + COMMAND imageencoder1 ~
1.939 + END_TEST_BLOCK
1.940 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0041
1.941 +
1.942 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0042
1.943 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0042
1.944 +//! @SYMAPI CImageEncoder
1.945 +//! @SYMAuthor James Mechen
1.946 +//! @SYMCreationDate 27/01/2006
1.947 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.948 +//! @SYMTestCaseDesc Encode a bmp image giving an illegal mime type.
1.949 +//! Uses API elements: FileNewL(), Convert().
1.950 +//! @SYMTestActions 1. Create encoder for bmp file. 2. Encode image.
1.951 +//! @SYMTestStatus Implemented
1.952 +//! @SYMTestPriority Critical
1.953 +//! @SYMTestExpectedResults KErrNotFound is returned.
1.954 +//! @SYMTestType CIT
1.955 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.956 + CREATE_OBJECT CImageEncoder imageencoder1
1.957 + COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0042-001-FileNewL_command01
1.958 + COMMAND imageencoder1 ~
1.959 + END_TEST_BLOCK
1.960 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0042
1.961 +
1.962 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0043
1.963 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0043
1.964 +//! @SYMAPI CImageEncoder
1.965 +//! @SYMAuthor James Mechen
1.966 +//! @SYMCreationDate 27/01/2006
1.967 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.968 +//! @SYMTestCaseDesc Encode a jpg image giving an illegal mime type.
1.969 +//! Uses API elements: FileNewL(), Convert().
1.970 +//! @SYMTestActions 1. Create encoder for jpg file. 2. Encode image.
1.971 +//! @SYMTestStatus Implemented
1.972 +//! @SYMTestPriority Critical
1.973 +//! @SYMTestExpectedResults KErrNotFound is returned.
1.974 +//! @SYMTestType CIT
1.975 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.976 + CREATE_OBJECT CImageEncoder imageencoder1
1.977 + COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0043-001-FileNewL_command01
1.978 + COMMAND imageencoder1 ~
1.979 + END_TEST_BLOCK
1.980 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0043
1.981 +
1.982 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0044
1.983 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0044
1.984 +//! @SYMAPI CImageEncoder
1.985 +//! @SYMAuthor James Mechen
1.986 +//! @SYMCreationDate 27/01/2006
1.987 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.988 +//! @SYMTestCaseDesc Encode a mbm image giving an illegal mime type.
1.989 +//! Uses API elements: FileNewL(), Convert().
1.990 +//! @SYMTestActions 1. Create encoder for mbm file. 2. Encode image.
1.991 +//! @SYMTestStatus Implemented
1.992 +//! @SYMTestPriority Critical
1.993 +//! @SYMTestExpectedResults KErrNotFound is returned.
1.994 +//! @SYMTestType CIT
1.995 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.996 + CREATE_OBJECT CImageEncoder imageencoder1
1.997 + COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0044-001-FileNewL_command01
1.998 + COMMAND imageencoder1 ~
1.999 + END_TEST_BLOCK
1.1000 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0044
1.1001 +
1.1002 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0045
1.1003 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0045
1.1004 +//! @SYMAPI CImageEncoder
1.1005 +//! @SYMAuthor James Mechen
1.1006 +//! @SYMCreationDate 27/01/2006
1.1007 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1008 +//! @SYMTestCaseDesc Encode a png image giving an illegal mime type.
1.1009 +//! Uses API elements: FileNewL(), Convert().
1.1010 +//! @SYMTestActions 1. Create encoder for png file. 2. Encode image.
1.1011 +//! @SYMTestStatus Implemented
1.1012 +//! @SYMTestPriority Critical
1.1013 +//! @SYMTestExpectedResults KErrNotFound is returned.
1.1014 +//! @SYMTestType CIT
1.1015 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1016 + CREATE_OBJECT CImageEncoder imageencoder1
1.1017 + COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0045-001-FileNewL_command01
1.1018 + COMMAND imageencoder1 ~
1.1019 + END_TEST_BLOCK
1.1020 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0045
1.1021 +
1.1022 +
1.1023 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0046
1.1024 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0046
1.1025 +//! @SYMAPI CImageEncoder
1.1026 +//! @SYMAuthor James Mechen
1.1027 +//! @SYMCreationDate 13/01/2006
1.1028 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1029 +//! @SYMTestCaseDesc Open tif 24-bit image file giving an image type, using RFile.
1.1030 +//! Uses API elements: FileNewL().
1.1031 +//! @SYMTestActions 1. Create encoder for tif file image.
1.1032 +//! @SYMTestStatus Implemented
1.1033 +//! @SYMTestPriority Critical
1.1034 +//! @SYMTestExpectedResults KErrNotFound returned.
1.1035 +//! @SYMTestType CIT
1.1036 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1037 + CREATE_OBJECT CImageEncoder imageencoder1
1.1038 + COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0046-001-FileNewL_command01
1.1039 + COMMAND imageencoder1 ~
1.1040 + END_TEST_BLOCK
1.1041 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0046
1.1042 +
1.1043 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0047
1.1044 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0047
1.1045 +//! @SYMAPI CImageEncoder
1.1046 +//! @SYMAuthor James Mechen
1.1047 +//! @SYMCreationDate 13/01/2006
1.1048 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1049 +//! @SYMTestCaseDesc Open tif 16-bit image file giving a mime type, using RFile.
1.1050 +//! Uses API elements: FileNewL().
1.1051 +//! @SYMTestActions 1. Create encoder for tif file image.
1.1052 +//! @SYMTestStatus Implemented
1.1053 +//! @SYMTestPriority Critical
1.1054 +//! @SYMTestExpectedResults KErrNotFound returned.
1.1055 +//! @SYMTestType CIT
1.1056 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1057 + CREATE_OBJECT CImageEncoder imageencoder1
1.1058 + COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0047-001-FileNewL_command01
1.1059 + COMMAND imageencoder1 ~
1.1060 + END_TEST_BLOCK
1.1061 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0047
1.1062 +
1.1063 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0048
1.1064 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0048
1.1065 +//! @SYMAPI CImageEncoder
1.1066 +//! @SYMAuthor James Mechen
1.1067 +//! @SYMCreationDate 13/01/2006
1.1068 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1069 +//! @SYMTestCaseDesc Open tif 8-bit image file giving an image type, without using RFile.
1.1070 +//! Uses API elements: FileNewL().
1.1071 +//! @SYMTestActions 1. Create encoder for tif file image.
1.1072 +//! @SYMTestStatus Implemented
1.1073 +//! @SYMTestPriority Critical
1.1074 +//! @SYMTestExpectedResults KErrNotFound returned.
1.1075 +//! @SYMTestType CIT
1.1076 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1077 + CREATE_OBJECT CImageEncoder imageencoder1
1.1078 + COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0048-001-FileNewL_command01
1.1079 + COMMAND imageencoder1 ~
1.1080 + END_TEST_BLOCK
1.1081 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0048
1.1082 +
1.1083 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0049
1.1084 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0049
1.1085 +//! @SYMAPI CImageEncoder
1.1086 +//! @SYMAuthor James Mechen
1.1087 +//! @SYMCreationDate 13/01/2006
1.1088 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1089 +//! @SYMTestCaseDesc Open tif 4-bit image file giving a mime type, without using RFile.
1.1090 +//! Uses API elements: FileNewL().
1.1091 +//! @SYMTestActions 1. Create encoder for tif file image.
1.1092 +//! @SYMTestStatus Implemented
1.1093 +//! @SYMTestPriority Critical
1.1094 +//! @SYMTestExpectedResults KErrNotFound returned.
1.1095 +//! @SYMTestType CIT
1.1096 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1097 + CREATE_OBJECT CImageEncoder imageencoder1
1.1098 + COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0049-001-FileNewL_command01
1.1099 + COMMAND imageencoder1 ~
1.1100 + END_TEST_BLOCK
1.1101 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0049
1.1102 +
1.1103 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0050
1.1104 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0050
1.1105 +//! @SYMAPI CImageEncoder
1.1106 +//! @SYMAuthor James Mechen
1.1107 +//! @SYMCreationDate 13/01/2006
1.1108 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1109 +//! @SYMTestCaseDesc Open tif 2-bit image in buffer giving an image type.
1.1110 +//! Uses API elements: DataNewL().
1.1111 +//! @SYMTestActions 1. Create encoder for tif file buffer.
1.1112 +//! @SYMTestStatus Implemented
1.1113 +//! @SYMTestPriority Critical
1.1114 +//! @SYMTestExpectedResults KErrNotFound returned.
1.1115 +//! @SYMTestType CIT
1.1116 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1117 + CREATE_OBJECT CImageEncoder imageencoder1
1.1118 + COMMAND !Error=-1 imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0050-001-DataNewL_command01
1.1119 + COMMAND imageencoder1 ~
1.1120 + END_TEST_BLOCK
1.1121 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0050
1.1122 +
1.1123 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0051
1.1124 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0051
1.1125 +//! @SYMAPI CImageEncoder
1.1126 +//! @SYMAuthor James Mechen
1.1127 +//! @SYMCreationDate 13/01/2006
1.1128 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1129 +//! @SYMTestCaseDesc Open tif 1-bit image in buffer giving a mime type.
1.1130 +//! Uses API elements: DataNewL().
1.1131 +//! @SYMTestActions 1. Create encoder for tif file buffer.
1.1132 +//! @SYMTestStatus Implemented
1.1133 +//! @SYMTestPriority Critical
1.1134 +//! @SYMTestExpectedResults KErrNotFound returned.
1.1135 +//! @SYMTestType CIT
1.1136 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1137 + CREATE_OBJECT CImageEncoder imageencoder1
1.1138 + COMMAND !Error=-1 imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0051-001-DataNewL_command01
1.1139 + COMMAND imageencoder1 ~
1.1140 + END_TEST_BLOCK
1.1141 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0051
1.1142 +
1.1143 +
1.1144 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0052
1.1145 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0052
1.1146 +//! @SYMAPI CImageEncoder
1.1147 +//! @SYMAuthor James Mechen
1.1148 +//! @SYMCreationDate 13/01/2006
1.1149 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1150 +//! @SYMTestCaseDesc Get list of tif image sub-types that can be encoded.
1.1151 +//! Uses API elements: GetImageSubTypesL().
1.1152 +//! @SYMTestActions 1. Get list of tif image sub-types that can be encoded.
1.1153 +//! @SYMTestStatus Implemented
1.1154 +//! @SYMTestPriority High
1.1155 +//! @SYMTestExpectedResults KErrNotFound returned.
1.1156 +//! @SYMTestType CIT
1.1157 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1158 + CREATE_OBJECT CImageEncoder imageencoder1
1.1159 + COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0052-001-GetImageSubTypesL_command01
1.1160 + COMMAND imageencoder1 ~
1.1161 + END_TEST_BLOCK
1.1162 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0052
1.1163 +
1.1164 +
1.1165 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0053
1.1166 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0053
1.1167 +//! @SYMAPI CImageEncoder
1.1168 +//! @SYMAuthor James Mechen
1.1169 +//! @SYMCreationDate 03/03/2006
1.1170 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1171 +//! @SYMTestCaseDesc Convert an unloaded CFbsBitmap giving an image type, using RFile.
1.1172 +//! Uses API elements: FileNewL(), Convert().
1.1173 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Convert image.
1.1174 +//! @SYMTestStatus Implemented
1.1175 +//! @SYMTestPriority Critical
1.1176 +//! @SYMTestExpectedResults KErrNone returned.
1.1177 +//! @SYMTestType CIT
1.1178 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1179 + CREATE_OBJECT CImageEncoder imageencoder1
1.1180 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0053-001-FileNewL_command01
1.1181 + COMMAND imageencoder1 Convert
1.1182 + OUTSTANDING
1.1183 + COMMAND imageencoder1 ~
1.1184 + END_TEST_BLOCK
1.1185 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0053
1.1186 +
1.1187 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0054
1.1188 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0054
1.1189 +//! @SYMAPI CImageEncoder
1.1190 +//! @SYMAuthor James Mechen
1.1191 +//! @SYMCreationDate 03/03/2006
1.1192 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1193 +//! @SYMTestCaseDesc Convert an unloaded CFbsBitmap giving a mime type, using RFile.
1.1194 +//! Uses API elements: FileNewL(), Convert().
1.1195 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Convert image.
1.1196 +//! @SYMTestStatus Implemented
1.1197 +//! @SYMTestPriority Critical
1.1198 +//! @SYMTestExpectedResults KErrNone returned.
1.1199 +//! @SYMTestType CIT
1.1200 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1201 + CREATE_OBJECT CImageEncoder imageencoder1
1.1202 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0054-001-FileNewL_command01
1.1203 + COMMAND imageencoder1 Convert
1.1204 + OUTSTANDING
1.1205 + COMMAND imageencoder1 ~
1.1206 + END_TEST_BLOCK
1.1207 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0054
1.1208 +
1.1209 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0055
1.1210 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0055
1.1211 +//! @SYMAPI CImageEncoder
1.1212 +//! @SYMAuthor James Mechen
1.1213 +//! @SYMCreationDate 03/03/2006
1.1214 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1215 +//! @SYMTestCaseDesc Convert an unloaded CFbsBitmap giving an image type, without using RFile.
1.1216 +//! Uses API elements: FileNewL(), Convert().
1.1217 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Convert image.
1.1218 +//! @SYMTestStatus Implemented
1.1219 +//! @SYMTestPriority Critical
1.1220 +//! @SYMTestExpectedResults KErrNone returned.
1.1221 +//! @SYMTestType CIT
1.1222 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1223 + CREATE_OBJECT CImageEncoder imageencoder1
1.1224 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0055-001-FileNewL_command01
1.1225 + COMMAND imageencoder1 Convert
1.1226 + OUTSTANDING
1.1227 + COMMAND imageencoder1 ~
1.1228 + END_TEST_BLOCK
1.1229 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0055
1.1230 +
1.1231 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0056
1.1232 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0056
1.1233 +//! @SYMAPI CImageEncoder
1.1234 +//! @SYMAuthor James Mechen
1.1235 +//! @SYMCreationDate 03/03/2006
1.1236 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1237 +//! @SYMTestCaseDesc Convert an unloaded CFbsBitmap giving a mime type, without using RFile.
1.1238 +//! Uses API elements: FileNewL(), Convert().
1.1239 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Convert image.
1.1240 +//! @SYMTestStatus Implemented
1.1241 +//! @SYMTestPriority Critical
1.1242 +//! @SYMTestExpectedResults KErrNone returned.
1.1243 +//! @SYMTestType CIT
1.1244 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1245 + CREATE_OBJECT CImageEncoder imageencoder1
1.1246 + COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0056-001-FileNewL_command01
1.1247 + COMMAND imageencoder1 Convert
1.1248 + OUTSTANDING
1.1249 + COMMAND imageencoder1 ~
1.1250 + END_TEST_BLOCK
1.1251 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0056
1.1252 +
1.1253 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0057
1.1254 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0057
1.1255 +//! @SYMAPI CImageEncoder
1.1256 +//! @SYMAuthor James Mechen
1.1257 +//! @SYMCreationDate 03/03/2006
1.1258 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1259 +//! @SYMTestCaseDesc Convert in buffer from an unloaded CFbsBitmap giving an image type.
1.1260 +//! Uses API elements: DataNewL(), Convert().
1.1261 +//! @SYMTestActions 1. Create encoder for bmp file buffer. 2. Encode image.
1.1262 +//! @SYMTestStatus Implemented
1.1263 +//! @SYMTestPriority Critical
1.1264 +//! @SYMTestExpectedResults KErrNone returned.
1.1265 +//! @SYMTestType CIT
1.1266 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1267 + CREATE_OBJECT CImageEncoder imageencoder1
1.1268 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0057-001-DataNewL_command01
1.1269 + COMMAND imageencoder1 Convert
1.1270 + OUTSTANDING
1.1271 + COMMAND imageencoder1 ~
1.1272 + END_TEST_BLOCK
1.1273 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0057
1.1274 +
1.1275 +START_TESTCASE MM-ICL-ENCDE-PublicApi-0058
1.1276 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0058
1.1277 +//! @SYMAPI CImageEncoder
1.1278 +//! @SYMAuthor James Mechen
1.1279 +//! @SYMCreationDate 03/03/2006
1.1280 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1281 +//! @SYMTestCaseDesc Convert in buffer from an unloaded CFbsBitmap giving a mime type.
1.1282 +//! Uses API elements: DataNewL(), Convert().
1.1283 +//! @SYMTestActions 1. Create encoder for bmp file buffer. 2. Encode image.
1.1284 +//! @SYMTestStatus Implemented
1.1285 +//! @SYMTestPriority Critical
1.1286 +//! @SYMTestExpectedResults KErrNone returned.
1.1287 +//! @SYMTestType CIT
1.1288 + START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1289 + CREATE_OBJECT CImageEncoder imageencoder1
1.1290 + COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0058-001-DataNewL_command01
1.1291 + COMMAND imageencoder1 Convert
1.1292 + OUTSTANDING
1.1293 + COMMAND imageencoder1 ~
1.1294 + END_TEST_BLOCK
1.1295 +END_TESTCASE MM-ICL-ENCDE-PublicApi-0058
1.1296 +
1.1297 +//! START_TESTCASE MM-ICL-ENCDE-PublicApi-0059
1.1298 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0059
1.1299 +//! @SYMAPI CImageEncoder
1.1300 +//! @SYMAuthor Louis Nayegon
1.1301 +//! @SYMCreationDate 29/11/2005
1.1302 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1303 +//! @SYMTestCaseDesc Encode to bmp from 24-bit image file giving an image type, using a closed RFile.
1.1304 +//! Uses API elements: FileNewL(), Convert().
1.1305 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image.
1.1306 +//! @SYMTestStatus Implemented
1.1307 +//! @SYMTestPriority Critical
1.1308 +//! @SYMTestExpectedResults Image encoded with no errors.
1.1309 +//! @SYMTestType CIT
1.1310 +//! START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1311 +//! CREATE_OBJECT CImageEncoder imageencoder1
1.1312 +//! COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0059-001-FileNewL_command01
1.1313 +//! COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0059-001-Convert_command02
1.1314 +//! OUTSTANDING
1.1315 +//! COMMAND imageencoder1 ~
1.1316 +//! END_TEST_BLOCK !PanicCode=0
1.1317 +//! END_TESTCASE MM-ICL-ENCDE-PublicApi-0059
1.1318 +
1.1319 +//! START_TESTCASE MM-ICL-ENCDE-PublicApi-0060
1.1320 +//! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0060
1.1321 +//! @SYMAPI CImageEncoder
1.1322 +//! @SYMAuthor Louis Nayegon
1.1323 +//! @SYMCreationDate 29/11/2005
1.1324 +//! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script
1.1325 +//! @SYMTestCaseDesc Encode to bmp from 16-bit image file giving a mime type, using a closed RFile.
1.1326 +//! Uses API elements: FileNewL(), Convert().
1.1327 +//! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image.
1.1328 +//! @SYMTestStatus Implemented
1.1329 +//! @SYMTestPriority Critical
1.1330 +//! @SYMTestExpectedResults Image encoded with no errors.
1.1331 +//! @SYMTestType CIT
1.1332 +//! START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini
1.1333 +//! CREATE_OBJECT CImageEncoder imageencoder1
1.1334 +//! COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0060-001-FileNewL_command01
1.1335 +//! COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0060-001-Convert_command02
1.1336 +//! OUTSTANDING
1.1337 +//! COMMAND imageencoder1 ~
1.1338 +//! END_TEST_BLOCK !PanicCode=0
1.1339 +//! END_TESTCASE MM-ICL-ENCDE-PublicApi-0060