os/mm/mmplugins/lib3gpunittest/scripts/tsu_3gp_compose_oom_te.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmplugins/lib3gpunittest/scripts/tsu_3gp_compose_oom_te.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,277 @@
     1.4 +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// Unit tests for 3GP Library - Composer OOM Tests
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +//! @file
    1.22 +//! @SYMTestSuiteName tsu_3gp_compose_oom
    1.23 +//! @SYMScriptTestEnvironment 3GP library and necessary test files should be present
    1.24 +//! @SYMScriptInfo All tests contained in this suite are duplicates of OOM-applicable test cases from test suite tsu_3gp_compose_api (tsu_3gp_compose_api_te.script).  This allows the test suite tsu_3gp_compose_api to focus solely on functional testing.
    1.25 +
    1.26 +LOAD_SUITE tsu_3gplibrary
    1.27 +
    1.28 +RUN_UTILS DeleteDirectory C:\3gplibrary\temp\composer\
    1.29 +RUN_UTILS MKDir C:\3gplibrary\temp\
    1.30 +RUN_UTILS MKDir C:\3gplibrary\temp\composer\
    1.31 +
    1.32 +START_TESTCASE MM-3GP-COMP-U-0203-CP
    1.33 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0203-CP
    1.34 +//! @SYMTestCaseDesc 	Create a 3GP Composer with QCELP audio using 3GP or MP4 format.
    1.35 +//! @SYMPREQ 			PREQ2050
    1.36 +//! @SYMTestPriority 	3
    1.37 +//! @SYMTestActions 	1. Instantiate a 3GP Composer
    1.38 +//!						2. Setup composer with QCELP audio in 3GP format.
    1.39 +//!						3. Add the QCELP audio data and close the composer
    1.40 +//!						4. Setup composer with QCELP audio in MP4 format.
    1.41 +//!						5. Add the QCELP audio data and close the composer
    1.42 +//! @SYMTestExpectedResults		Output files created with major brand of '3g2a'.  
    1.43 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFileWithFileFormatCheck C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0003-CP-1
    1.44 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFileWithFileFormatCheck C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0003-CP-2
    1.45 +END_TESTCASE MM-3GP-COMP-U-0203-CP
    1.46 +
    1.47 +START_TESTCASE MM-3GP-COMP-U-0204-CP
    1.48 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0204-CP
    1.49 +//! @SYMTestCaseDesc 	Create a MP4 file with video and/or audio of ONLY the combinations of MPEG-4 video, MPEG-4 audio and/or AVC video.
    1.50 +//! @SYMPREQ 			PREQ2050
    1.51 +//! @SYMTestPriority 	3
    1.52 +//! @SYMTestActions 	1. Instantiate a 3GP Composer
    1.53 +//!						2. Setup composer with AMR audio and MPEG-4 video in MP4 format.
    1.54 +//!						3. Add both audio and video data to create the content and close the composer
    1.55 +//!						4. Setup composer with MPEG-4 audio and H263 video in MP4 format.
    1.56 +//!						5. Add both audio and video data to create the content and close the composer
    1.57 +//!						6. Setup composer with AMR audio and AVC video in MP4 format.
    1.58 +//!						7. Add both audio and video data to create the content and close the composer
    1.59 +//!						8. Exam the above output files and the major brand of both file should be '3gp4' instead of 'mp42'.
    1.60 +//!						9. Setup composer with MPEG-4 audio and AVC video in MP4 format.
    1.61 +//!						10. Add both audio and video data to create the content and close the composer
    1.62 +//!						11. Setup composer with MPEG-4 audio and MPEG-4 video in MP4 format.
    1.63 +//!						12. Add both audio and video data to create the content and close the composer
    1.64 +//!						13. Setup composer with MPEG-4 audio in MP4 format.
    1.65 +//!						14. Add both audio data to create the content and close the composer
    1.66 +//!						15. Setup composer with MPEG-4 video in MP4 format.
    1.67 +//!						16. Add both video data to create the content and close the composer
    1.68 +//!						17. Setup composer with AVC video in MP4 format.
    1.69 +//!						18. Add both video data to create the content and close the composer
    1.70 +//!						19. Exam the above output files and the major brand of both file should be of 'mp42'.
    1.71 +//! @SYMTestExpectedResults 	Test completes with no error.
    1.72 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFileWithFileFormatCheck C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0004-CP-1
    1.73 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFileWithFileFormatCheck C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0004-CP-2
    1.74 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFileWithFileFormatCheck C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0004-CP-3
    1.75 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFileWithFileFormatCheck C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0004-CP-4
    1.76 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFileWithFileFormatCheck C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0004-CP-5
    1.77 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFileWithFileFormatCheck C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0004-CP-6
    1.78 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFileWithFileFormatCheck C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0004-CP-7
    1.79 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFileWithFileFormatCheck C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0004-CP-8
    1.80 +END_TESTCASE MM-3GP-COMP-U-0204-CP
    1.81 +
    1.82 +START_TESTCASE MM-3GP-COMP-U-0205-CP
    1.83 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0205-CP
    1.84 +//! @SYMTestCaseDesc 	Set video stream properties of MP4/3GP/3G2 file with different video properties for different video types.
    1.85 +//! @SYMPREQ 			PREQ2050
    1.86 +//! @SYMTestPriority 	3
    1.87 +//! @SYMTestActions 	1. Instantiate a 3GP Composer 
    1.88 +//!						2. Setup the composer with 3GP/MP4/3G2 file format with one of the supported video types w/ different video properties.  Close the composer.
    1.89 +//!						3. Repeat with clips of different video properties: video length of 1 and big value, low frame rate & high frame rate, small video width -1 or large video width, small video height or large video height, small timescale or large.
    1.90 +//! @SYMTestExpectedResults 	Test completes with no error.
    1.91 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeVideoProperties C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0005-CP-1
    1.92 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeVideoProperties C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0005-CP-2
    1.93 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeVideoProperties C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0005-CP-3
    1.94 +END_TESTCASE MM-3GP-COMP-U-0205-CP
    1.95 +
    1.96 +START_TESTCASE MM-3GP-COMP-U-0206-CP
    1.97 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0206-CP
    1.98 +//! @SYMTestCaseDesc 	Create MP4 file with AVC video types specifying video frame dependencies.
    1.99 +//! @SYMPREQ 			PREQ2050
   1.100 +//! @SYMTestPriority 	3
   1.101 +//! @SYMTestActions 	1. Instantiate a 3GP Composer object with MP4 file format & AVC video source.
   1.102 +//!						2. Write each video frame with different combinations of dependencies & redundancies available.
   1.103 +//! @SYMTestExpectedResults 	Test completes with no error.	
   1.104 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeFrameDependency C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0006-CP-1
   1.105 +END_TESTCASE MM-3GP-COMP-U-0206-CP
   1.106 +
   1.107 +START_TESTCASE MM-3GP-COMP-U-0207-CP
   1.108 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0207-CP
   1.109 +//! @SYMTestCaseDesc 	Set audio stream properties of MP4/3GP/3G2 file with different audio properties for different audio types.
   1.110 +//! @SYMPREQ 			PREQ2050
   1.111 +//! @SYMTestPriority 	3
   1.112 +//! @SYMTestActions 	1. Instantiate a 3GP Composer 
   1.113 +//!						2. Setup the composer with 3GP/MP4/3G2 file format with one of the supported audio types w/ different audio properties.  Close the composer.
   1.114 +//!						3. Repeat with clips of different audio properties: audio length of 1 and big value, low frame rate & high frame rate, etc ...
   1.115 +//! @SYMTestExpectedResults 	Test completes with no error.	
   1.116 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeAudioProperties C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0007-CP-1
   1.117 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeAudioProperties C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0007-CP-2
   1.118 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeAudioProperties C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0007-CP-3
   1.119 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeAudioProperties C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0007-CP-4
   1.120 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeAudioProperties C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0007-CP-5
   1.121 +END_TESTCASE MM-3GP-COMP-U-0207-CP
   1.122 +
   1.123 +START_TESTCASE MM-3GP-COMP-U-0208-CP
   1.124 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0208-CP
   1.125 +//! @SYMTestCaseDesc	Set user atoms for mp4/3gp files. 
   1.126 +//! @SYMPREQ 			PREQ2050
   1.127 +//! @SYMTestPriority 	3
   1.128 +//! @SYMTestActions 	1. Instantiate a 3GP Composer object with a 3GP/MP4/3G2 file.
   1.129 +//!						2. Set the user atom for all 3 locations: movie, video track & audio track.
   1.130 +//! @SYMTestExpectedResults 	Test completes with no error.
   1.131 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeUserData C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0008-CP-1
   1.132 +END_TESTCASE MM-3GP-COMP-U-0208-CP
   1.133 +
   1.134 +START_TESTCASE MM-3GP-COMP-U-0209-CP
   1.135 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0209-CP
   1.136 +//! @SYMTestCaseDesc 	Set file buffer for the 3GP Composer.
   1.137 +//! @SYMPREQ 			PREQ2050
   1.138 +//! @SYMTestPriority 	3
   1.139 +//! @SYMTestActions 	1. Instantiate a 3GP Composer with data buffer of size 20000 and buffer count to 200
   1.140 +//!						2. Instantiate a 3GP Composer with data buffer of size 100 and buffer count to 10
   1.141 +//! @SYMTestExpectedResults 	Test completes with no error. 
   1.142 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeWithSpecificBufferSize C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0009-CP-1
   1.143 +END_TESTCASE MM-3GP-COMP-U-0209-CP
   1.144 +
   1.145 +START_TESTCASE MM-3GP-COMP-U-0210-CP
   1.146 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0210-CP
   1.147 +//! @SYMTestCaseDesc 	Use composer flags to compose file.
   1.148 +//! @SYMPREQ 			PREQ2050
   1.149 +//! @SYMTestPriority 	3
   1.150 +//! @SYMTestActions		1. Instantiate a 3GP Composer object supplying a composer flag, and compose a file.
   1.151 +//!						2. Try the test with all possible composer flag combinations. 
   1.152 +//! @SYMTestExpectedResults 	Test completes with no error. 
   1.153 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeWithFlag C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0010-CP-1
   1.154 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeWithFlag C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0010-CP-2
   1.155 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeWithFlag C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0010-CP-3
   1.156 +END_TESTCASE MM-3GP-COMP-U-0210-CP
   1.157 +
   1.158 +START_TESTCASE MM-3GP-COMP-U-0301-CP
   1.159 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0301-CP
   1.160 +//! @SYMTestCaseDesc 	Use of Composer API before the Composer has been initialised.
   1.161 +//! @SYMPREQ 			PREQ2050
   1.162 +//! @SYMTestPriority 	3
   1.163 +//! @SYMTestActions 	1. Instantiate a 3GP Composer without calling Open to setup the output destination.
   1.164 +//!						2. Call all composer API available except C3GPCompose::Open
   1.165 +//! @SYMTestExpectedResults 	All calls should fail with error KErrNotReady except C3GPCompose::Complete returns KErrNone.
   1.166 +RUN_TEST_STEP !OOM -1 tsu_3gplibrary 3GPComposeWithoutOpen
   1.167 +END_TESTCASE MM-3GP-COMP-U-0301-CP
   1.168 +
   1.169 +START_TESTCASE MM-3GP-COMP-U-0302-CP
   1.170 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0302-CP
   1.171 +//! @SYMTestCaseDesc 	Create composer to write to a file location with invalid file names.
   1.172 +//! @SYMPREQ 			PREQ2050
   1.173 +//! @SYMTestPriority 	3
   1.174 +//! @SYMTestActions 	1. Instantiate a 3GP Composer object
   1.175 +//!						2. Attempt to Open composer by supplying an empty file name.
   1.176 +//!						3. Attempt to Open composer by supplying a file name containing > max file path length.
   1.177 +//!						4. Attempt to Open composer by supplying a file name containing wildcards in the drive or in any directory name.
   1.178 +//!						5. Attempt to Open composer by supplying a file name containing double backslashes in the path.
   1.179 +//!						6. Attempt to Open composer by supplying a file name containing the following characters anywhere in the path: < > " / |	
   1.180 +//!						7. Attempt to Open composer by supplying a file name containing a colon not between the drive and path
   1.181 +//! 					8. Attempt to Open composer by supplying a file name containing solely of space characters, or of a single or double dot.
   1.182 +//! 					9. Attempt to Open composer by supplying a file name containing spaces between the drive, if specified, and the first directory in the path are illegal, although there may be spaces between other path components, for instance between directories. 
   1.183 +//! @SYMTestExpectedResults 	Setup fails with errors KErrUnderflow(-10) for the first case, and KErrAccessDenied(-21) for the rest.
   1.184 +RUN_TEST_STEP !OOM !Error=-10 -1 tsu_3gplibrary 3GPComposeFilename C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0102-CP-1
   1.185 +RUN_TEST_STEP !OOM !Error=-21 -1 tsu_3gplibrary 3GPComposeFilename C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0102-CP-2
   1.186 +RUN_TEST_STEP !OOM !Error=-21 -1 tsu_3gplibrary 3GPComposeFilename C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0102-CP-3
   1.187 +RUN_TEST_STEP !OOM !Error=-21 -1 tsu_3gplibrary 3GPComposeFilename C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0102-CP-4
   1.188 +RUN_TEST_STEP !OOM !Error=-21 -1 tsu_3gplibrary 3GPComposeFilename C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0102-CP-5
   1.189 +RUN_TEST_STEP !OOM !Error=-21 -1 tsu_3gplibrary 3GPComposeFilename C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0102-CP-6
   1.190 +RUN_TEST_STEP !OOM !Error=-21 -1 tsu_3gplibrary 3GPComposeFilename C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0102-CP-7
   1.191 +RUN_TEST_STEP !OOM !Error=-21 -1 tsu_3gplibrary 3GPComposeFilename C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0102-CP-8
   1.192 +END_TESTCASE MM-3GP-COMP-U-0302-CP
   1.193 +
   1.194 +START_TESTCASE MM-3GP-COMP-U-0303-CP
   1.195 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0303-CP
   1.196 +//! @SYMTestCaseDesc 	Setup composer with an invalid file format.
   1.197 +//! @SYMPREQ 			PREQ2050
   1.198 +//! @SYMTestPriority 	3
   1.199 +//! @SYMTestActions 	Supply an invalid file format value when setup a composer.
   1.200 +//! @SYMTestExpectedResults 	Open panics with error KErrArgument.
   1.201 +RUN_TEST_STEP !OOM !PanicCode=-6 -1 tsu_3gplibrary 3GPComposeUserData C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0103-CP-1
   1.202 +END_TESTCASE MM-3GP-COMP-U-0303-CP
   1.203 +
   1.204 +START_TESTCASE MM-3GP-COMP-U-0307-CP
   1.205 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0307-CP
   1.206 +//! @SYMTestCaseDesc	Composer setup by filepath writes to a file use exclusive mode.
   1.207 +//! @SYMPREQ 			PREQ2050
   1.208 +//! @SYMTestPriority 	3
   1.209 +//! @SYMTestActions 	1. Use RFile to open a file with EFileShareAny
   1.210 +//!						2. Initialise a 3GP Composer with file path pointing at the file opened in Step 1
   1.211 +//!						3. Close RFile in Step 1.  Reopen with EFileShareReadersOrWriters
   1.212 +//!						4. Repeat Step 2.
   1.213 +//! @SYMTestExpectedResults 	Composition fails with error -21.
   1.214 +RUN_TEST_STEP !OOM !Error=-21 -1 tsu_3gplibrary 3GPComposeOpenedFile C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0106-CP-1
   1.215 +END_TESTCASE MM-3GP-COMP-U-0307-CP
   1.216 +
   1.217 +START_TESTCASE MM-3GP-COMP-U-0308-CP
   1.218 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0308-CP
   1.219 +//! @SYMTestCaseDesc	Create composer to create a MP4/3GP/3G2 file specifying no video or audio type. 
   1.220 +//! @SYMPREQ 			PREQ2050
   1.221 +//! @SYMTestPriority 	3
   1.222 +//! @SYMTestActions		1. Instantiate a composer
   1.223 +//!						2. Call C3GPCompose::Open passing NULL for both video & audio input parameter. 
   1.224 +//! @SYMTestExpectedResults 	Fails with error .
   1.225 +RUN_TEST_STEP !OOM !Error=-6 -1 tsu_3gplibrary 3GPComposeWithNoAudioVideo C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0108-CP-1
   1.226 +END_TESTCASE MM-3GP-COMP-U-0308-CP
   1.227 +
   1.228 +START_TESTCASE MM-3GP-COMP-U-0309-CP
   1.229 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0309-CP
   1.230 +//! @SYMTestCaseDesc 	Write Audio Frames with invalid input parameters.
   1.231 +//! @SYMPREQ 			PREQ2050
   1.232 +//! @SYMTestPriority 	3
   1.233 +//! @SYMTestActions 	1. Initialise a 3GP Composer with file path / file handle
   1.234 +//!						2. Attempt to add audio frame with NULL frame data.
   1.235 +//!						3. Attempt to add audio frame to a video only composer setup.
   1.236 +//! @SYMTestExpectedResults 	The first 3 tests fails with KErrUnderFlow, and the last one fails with KErrNotSupported.
   1.237 +RUN_TEST_STEP !OOM !Error=-10 -1 tsu_3gplibrary 3GPComposeAudioFrames C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0109-CP-1
   1.238 +RUN_TEST_STEP !OOM !Error=-5 -1 tsu_3gplibrary 3GPComposeAudioFrames C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0109-CP-4
   1.239 +END_TESTCASE MM-3GP-COMP-U-0309-CP
   1.240 +
   1.241 +START_TESTCASE MM-3GP-COMP-U-0312-CP
   1.242 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0312-CP
   1.243 +//! @SYMTestCaseDesc 	Set the custom file buffer size to invalid values.
   1.244 +//! @SYMPREQ 			PREQ2050
   1.245 +//! @SYMTestPriority 	3
   1.246 +//! @SYMTestActions 	1. Instantiate a 3GP Composer with file path / file handle
   1.247 +//!						2. Set customer media write buffer to size 0 and max count to 10.  This should result in error.
   1.248 +//!						3. Set customer media write buffer to size 1000 and max count to 0.  This should result in error.
   1.249 +//!						4. Set customer media write buffer to size 1000 and max count to 5.  This should result in error."
   1.250 +//! @SYMTestExpectedResults 	Test should panic w/ error KErrArgument.
   1.251 +RUN_TEST_STEP !OOM !PanicCode=-6 -1 tsu_3gplibrary 3GPComposeWithSpecificBufferSize C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0112-CP-1
   1.252 +RUN_TEST_STEP !OOM !PanicCode=-6 -1 tsu_3gplibrary 3GPComposeWithSpecificBufferSize C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0112-CP-2
   1.253 +RUN_TEST_STEP !OOM !PanicCode=-6 -1 tsu_3gplibrary 3GPComposeWithSpecificBufferSize C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0112-CP-3
   1.254 +END_TESTCASE MM-3GP-COMP-U-0312-CP
   1.255 +
   1.256 +START_TESTCASE MM-3GP-COMP-U-0304-CP
   1.257 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0304-CP
   1.258 +//! @SYMTestCaseDesc 	Setup composer w/ invalid audio properties. 
   1.259 +//! @SYMPREQ 			PREQ2050
   1.260 +//! @SYMTestPriority 	3
   1.261 +//! @SYMTestActions 	1. Attempt to setup composer w/ audio timescale > 65536
   1.262 +//!						2. Attempt to setup composer w/ FPS > 256.
   1.263 +//! @SYMTestExpectedResults 	Both test should panic with KErrOverFlow
   1.264 +RUN_TEST_STEP !OOM !PanicCode=-9 -1 tsu_3gplibrary 3GPComposeAudioProperties C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0104-CP-1
   1.265 +RUN_TEST_STEP !OOM !PanicCode=-9 -1 tsu_3gplibrary 3GPComposeAudioProperties C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0104-CP-2
   1.266 +END_TESTCASE MM-3GP-COMP-U-0304-CP
   1.267 +
   1.268 +START_TESTCASE MM-3GP-COMP-U-0305-CP
   1.269 +//! @SYMTestCaseID 		MM-3GP-COMP-U-0305-CP
   1.270 +//! @SYMTestCaseDesc 	Use an opened Composer to compose another file.
   1.271 +//! @SYMPREQ 			PREQ2050
   1.272 +//! @SYMTestPriority 	3
   1.273 +//! @SYMTestActions 	1. Instantiate a 3GP Composer with file path / file handle with one of the supported audio and/or video types.
   1.274 +//!						2. Attempt to use the same composer to compose another file without closing it first.
   1.275 +//! @SYMTestExpectedResults 	Test should failed w/ error KErrInUse.
   1.276 +RUN_TEST_STEP !OOM !Error=-14 -1 tsu_3gplibrary 3GPComposeOpenAgain C:\mm\tsu_3gp_compose_api_te.ini MM-3GP-COMP-U-0105-CP-1
   1.277 +END_TESTCASE MM-3GP-COMP-U-0305-CP
   1.278 +
   1.279 +RUN_UTILS DeleteDirectory C:\3gplibrary\temp\composer\
   1.280 +