sl@0: // sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: // sl@0: //! @file sl@0: //! @SYMTestSuiteName MM-ICL-ENCDE-PublicApi sl@0: //! @SYMScriptTestEnvironment This test script requires a basic ROM. sl@0: //////////////////////////////////////////////////////////////////// sl@0: // T_ImageEncoder.script sl@0: // sl@0: // Tests all public elements of the CImageEncoder class sl@0: // as a means of confidence that the APIs work as expected. sl@0: // sl@0: // The purpose is to provide a regression test suite of PublishedAll APIs for CImageEncoder. sl@0: // The tests are fully automated. sl@0: ///////////////////////////////////////////////////////////////////// sl@0: sl@0: LOAD_SUITE T_ImageEncoder sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0001 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0001 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to bmp from 24-bit image file giving an image type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0001-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0001-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0001 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0002 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0002 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to bmp from 16-bit image file giving a mime type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0002-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0002-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0002 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0003 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0003 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to bmp from 8-bit image file giving an image type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0003-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0003-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0003 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0004 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0004 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to bmp from 4-bit image file giving a mime type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0004-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0004-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0004 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0005 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0005 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to bmp from 2-bit image in buffer giving an image type. sl@0: //! Uses API elements: DataNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file buffer. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0005-001-DataNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0005-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0005 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0006 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0006 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to bmp from 1-bit image in buffer giving a mime type. sl@0: //! Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid(). sl@0: //! @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: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0006-001-DataNewL_command01 sl@0: COMMAND imageencoder1 SetThumbnail MM-ICL-ENCDE-PublicApi-0006-001-SetThumbnail_command02 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0006-001-Convert_command03 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ImplementationUid sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0006 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0007 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0007 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Get list of file extensions that can be encoded and their corresponding MIME types. sl@0: //! Uses API elements: GetFileTypesL(). sl@0: //! @SYMTestActions 1. Get list of file extensions that can be encoded and their corresponding MIME types. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Information returned with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 GetFileTypesL sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0007 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0008 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0008 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Try to get list of image sub-types that can be encoded for an unsupported image type. sl@0: //! Uses API elements: GetImageSubTypesL(). sl@0: //! @SYMTestActions 1. Try to get list of image sub-types that can be encoded for an unsupported image type. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0008-001-GetImageSubTypesL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0008 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0009 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0009 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Get list of basic image types that can be encoded. sl@0: //! Uses API elements: GetImageTypesL(). sl@0: //! @SYMTestActions 1. Get list of basic image types that can be encoded. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Information returned with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 GetImageTypesL sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0009 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0010 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0010 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to gif from 24-bit image file giving an image type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for gif file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0010-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0010-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0010 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0011 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0011 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to gif from 16-bit image file giving a mime type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for gif file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0011-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0011-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0011 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0012 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0012 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to gif from 8-bit image file giving an image type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for gif file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0012-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0012-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0012 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0013 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0013 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to gif from 4-bit image file giving a mime type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for gif file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0013-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0013-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0013 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0014 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0014 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to gif from 2-bit image in buffer giving an image type. sl@0: //! Uses API elements: DataNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for gif file buffer. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0014-001-DataNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0014-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0014 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0015 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0015 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to gif from 1-bit image in buffer giving a mime type. sl@0: //! Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid(). sl@0: //! @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: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0015-001-DataNewL_command01 sl@0: COMMAND imageencoder1 SetThumbnail MM-ICL-ENCDE-PublicApi-0015-001-SetThumbnail_command02 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0015-001-Convert_command03 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ImplementationUid sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0015 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0016 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0016 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to jpg from 24-bit image file giving an image type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for jpg file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0016-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0016-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0016 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0017 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0017 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to jpg from 16-bit image file giving a mime type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for jpg file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0017-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0017-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0017 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0018 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0018 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to jpg from 8-bit image file giving an image type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for jpg file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0018-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0018-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0018 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0019 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0019 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to jpg from 4-bit image file giving a mime type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for jpg file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0019-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0019-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0019 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0020 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0020 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to jpg from 2-bit image in buffer giving an image type. sl@0: //! Uses API elements: DataNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for jpg file buffer. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0020-001-DataNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0020-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0020 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0021 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0021 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to jpg from 1-bit image in buffer giving a mime type. sl@0: //! Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid(). sl@0: //! @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: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0021-001-DataNewL_command01 sl@0: COMMAND imageencoder1 SetThumbnail MM-ICL-ENCDE-PublicApi-0021-001-SetThumbnail_command02 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0021-001-Convert_command03 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ImplementationUid sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0021 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0022 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0022 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to mbm from 24-bit image file giving an image type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for mbm file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0022-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0022-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0022 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0023 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0023 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to mbm from 16-bit image file giving a mime type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for mbm file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0023-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0023-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0023 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0024 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0024 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to mbm from 8-bit image file giving an image type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for mbm file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0024-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0024-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0024 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0025 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0025 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to mbm from 4-bit image file giving a mime type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for mbm file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0025-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0025-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0025 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0026 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0026 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to mbm from 2-bit image in buffer giving an image type. sl@0: //! Uses API elements: DataNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for mbm file buffer. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0026-001-DataNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0026-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0026 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0027 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0027 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to mbm from 1-bit image in buffer giving a mime type. sl@0: //! Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid(). sl@0: //! @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: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0027-001-DataNewL_command01 sl@0: COMMAND imageencoder1 SetThumbnail MM-ICL-ENCDE-PublicApi-0027-001-SetThumbnail_command02 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0027-001-Convert_command03 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ImplementationUid sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0027 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0028 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0028 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to png from 24-bit image file giving an image type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for png file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0028-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0028-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0028 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0029 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0029 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to png from 16-bit image file giving a mime type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for png file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0029-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0029-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0029 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0030 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0030 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to png from 8-bit image file giving an image type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for png file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0030-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0030-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0030 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0031 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0031 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to png from 4-bit image file giving a mime type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for png file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0031-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0031-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0031 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0032 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0032 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to png from 2-bit image in buffer giving an image type. sl@0: //! Uses API elements: DataNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for png file buffer. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0032-001-DataNewL_command01 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0032-001-Convert_command02 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0032 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0033 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0033 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to png from 1-bit image in buffer giving a mime type. sl@0: //! Uses API elements: DataNewL(), SetThumbnail(), Convert(), ImplementationUid(). sl@0: //! @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: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0033-001-DataNewL_command01 sl@0: COMMAND imageencoder1 SetThumbnail MM-ICL-ENCDE-PublicApi-0033-001-SetThumbnail_command02 sl@0: COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0033-001-Convert_command03 sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ImplementationUid sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0033 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0034 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0034 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Get list of gif image sub-types that can be encoded. sl@0: //! Uses API elements: GetImageSubTypesL(). sl@0: //! @SYMTestActions 1. Get list of gif image sub-types that can be encoded. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0034-001-GetImageSubTypesL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0034 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0035 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0035 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Get list of jpg image sub-types that can be encoded. sl@0: //! Uses API elements: GetImageSubTypesL(). sl@0: //! @SYMTestActions 1. Get list of jpg image sub-types that can be encoded. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0035-001-GetImageSubTypesL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0035 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0036 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0036 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Get list of mbm image sub-types that can be encoded. sl@0: //! Uses API elements: GetImageSubTypesL(). sl@0: //! @SYMTestActions 1. Get list of mbm image sub-types that can be encoded. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0036-001-GetImageSubTypesL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0036 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0037 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0037 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Get list of png image sub-types that can be encoded. sl@0: //! Uses API elements: GetImageSubTypesL(). sl@0: //! @SYMTestActions 1. Get list of png image sub-types that can be encoded. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0037-001-GetImageSubTypesL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0037 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0038 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0038 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Get list of bmp image sub-types that can be encoded. sl@0: //! Uses API elements: GetImageSubTypesL(). sl@0: //! @SYMTestActions 1. Get list of bmp image sub-types that can be encoded. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0037-001-GetImageSubTypesL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0038 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0039 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0039 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 17/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Begin encoding a bmp image file giving an image type, using RFile, then cancel the conversion. sl@0: //! Uses API elements: FileNewL(), Convert(), Cancel(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image. 3. Cancel conversion. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults Conversion cancelled with no errors. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0039-001-FileNewL_command01 sl@0: COMMAND !AsyncError=-3 imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0039-001-Convert_command02 sl@0: COMMAND imageencoder1 Cancel sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0039 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0040 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0040 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 17/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode an unloaded CFbsBitmap giving an image type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for corrupted file. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNone returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0040-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0040 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0041 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0041 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 27/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode a gif image giving an illegal mime type. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for gif file. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound is returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0041-001-FileNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0041 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0042 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0042 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 27/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode a bmp image giving an illegal mime type. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound is returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0042-001-FileNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0042 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0043 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0043 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 27/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode a jpg image giving an illegal mime type. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for jpg file. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound is returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0043-001-FileNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0043 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0044 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0044 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 27/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode a mbm image giving an illegal mime type. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for mbm file. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound is returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0044-001-FileNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0044 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0045 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0045 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 27/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode a png image giving an illegal mime type. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for png file. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound is returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0045-001-FileNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0045 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0046 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0046 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Open tif 24-bit image file giving an image type, using RFile. sl@0: //! Uses API elements: FileNewL(). sl@0: //! @SYMTestActions 1. Create encoder for tif file image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0046-001-FileNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0046 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0047 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0047 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Open tif 16-bit image file giving a mime type, using RFile. sl@0: //! Uses API elements: FileNewL(). sl@0: //! @SYMTestActions 1. Create encoder for tif file image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0047-001-FileNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0047 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0048 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0048 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Open tif 8-bit image file giving an image type, without using RFile. sl@0: //! Uses API elements: FileNewL(). sl@0: //! @SYMTestActions 1. Create encoder for tif file image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0048-001-FileNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0048 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0049 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0049 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Open tif 4-bit image file giving a mime type, without using RFile. sl@0: //! Uses API elements: FileNewL(). sl@0: //! @SYMTestActions 1. Create encoder for tif file image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0049-001-FileNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0049 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0050 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0050 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Open tif 2-bit image in buffer giving an image type. sl@0: //! Uses API elements: DataNewL(). sl@0: //! @SYMTestActions 1. Create encoder for tif file buffer. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0050-001-DataNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0050 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0051 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0051 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Open tif 1-bit image in buffer giving a mime type. sl@0: //! Uses API elements: DataNewL(). sl@0: //! @SYMTestActions 1. Create encoder for tif file buffer. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0051-001-DataNewL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0051 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0052 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0052 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 13/01/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Get list of tif image sub-types that can be encoded. sl@0: //! Uses API elements: GetImageSubTypesL(). sl@0: //! @SYMTestActions 1. Get list of tif image sub-types that can be encoded. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority High sl@0: //! @SYMTestExpectedResults KErrNotFound returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND !Error=-1 imageencoder1 GetImageSubTypesL MM-ICL-ENCDE-PublicApi-0052-001-GetImageSubTypesL_command01 sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0052 sl@0: sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0053 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0053 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 03/03/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Convert an unloaded CFbsBitmap giving an image type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Convert image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNone returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0053-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0053 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0054 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0054 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 03/03/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Convert an unloaded CFbsBitmap giving a mime type, using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Convert image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNone returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0054-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0054 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0055 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0055 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 03/03/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Convert an unloaded CFbsBitmap giving an image type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Convert image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNone returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0055-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0055 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0056 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0056 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 03/03/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Convert an unloaded CFbsBitmap giving a mime type, without using RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Convert image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNone returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0056-001-FileNewL_command01 sl@0: COMMAND imageencoder1 Convert sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0056 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0057 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0057 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 03/03/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Convert in buffer from an unloaded CFbsBitmap giving an image type. sl@0: //! Uses API elements: DataNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file buffer. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNone returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0057-001-DataNewL_command01 sl@0: COMMAND imageencoder1 Convert sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0057 sl@0: sl@0: START_TESTCASE MM-ICL-ENCDE-PublicApi-0058 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0058 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor James Mechen sl@0: //! @SYMCreationDate 03/03/2006 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Convert in buffer from an unloaded CFbsBitmap giving a mime type. sl@0: //! Uses API elements: DataNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file buffer. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults KErrNone returned. sl@0: //! @SYMTestType CIT sl@0: START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: CREATE_OBJECT CImageEncoder imageencoder1 sl@0: COMMAND imageencoder1 DataNewL MM-ICL-ENCDE-PublicApi-0058-001-DataNewL_command01 sl@0: COMMAND imageencoder1 Convert sl@0: OUTSTANDING sl@0: COMMAND imageencoder1 ~ sl@0: END_TEST_BLOCK sl@0: END_TESTCASE MM-ICL-ENCDE-PublicApi-0058 sl@0: sl@0: //! START_TESTCASE MM-ICL-ENCDE-PublicApi-0059 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0059 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to bmp from 24-bit image file giving an image type, using a closed RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: //! CREATE_OBJECT CImageEncoder imageencoder1 sl@0: //! COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0059-001-FileNewL_command01 sl@0: //! COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0059-001-Convert_command02 sl@0: //! OUTSTANDING sl@0: //! COMMAND imageencoder1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=0 sl@0: //! END_TESTCASE MM-ICL-ENCDE-PublicApi-0059 sl@0: sl@0: //! START_TESTCASE MM-ICL-ENCDE-PublicApi-0060 sl@0: //! @SYMTestCaseID MM-ICL-ENCDE-PublicApi-0060 sl@0: //! @SYMAPI CImageEncoder sl@0: //! @SYMAuthor Louis Nayegon sl@0: //! @SYMCreationDate 29/11/2005 sl@0: //! @SYMTestCaseDependencies setup-MM-ICL-ENCDE-PublicApi.script sl@0: //! @SYMTestCaseDesc Encode to bmp from 16-bit image file giving a mime type, using a closed RFile. sl@0: //! Uses API elements: FileNewL(), Convert(). sl@0: //! @SYMTestActions 1. Create encoder for bmp file image. 2. Encode image. sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestExpectedResults Image encoded with no errors. sl@0: //! @SYMTestType CIT sl@0: //! START_TEST_BLOCK 10 T_ImageEncoder \multimedia\MM-ICL-ENCDE-PublicApi.ini sl@0: //! CREATE_OBJECT CImageEncoder imageencoder1 sl@0: //! COMMAND imageencoder1 FileNewL MM-ICL-ENCDE-PublicApi-0060-001-FileNewL_command01 sl@0: //! COMMAND imageencoder1 Convert MM-ICL-ENCDE-PublicApi-0060-001-Convert_command02 sl@0: //! OUTSTANDING sl@0: //! COMMAND imageencoder1 ~ sl@0: //! END_TEST_BLOCK !PanicCode=0 sl@0: //! END_TESTCASE MM-ICL-ENCDE-PublicApi-0060