sl@0: rem Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: rem All rights reserved. sl@0: rem This component and the accompanying materials are made available sl@0: rem under the terms of "Eclipse Public License v1.0" sl@0: rem which accompanies this distribution, and is available sl@0: rem at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: rem sl@0: rem Initial Contributors: sl@0: rem Nokia Corporation - initial contribution. sl@0: rem sl@0: rem Contributors: sl@0: rem sl@0: rem Description: sl@0: rem rummmfsubtitleunittests.bat sl@0: rem sl@0: rem sl@0: sl@0: del E:\Logs\TestResults\* sl@0: md E:\Logs sl@0: md E:\Logs\TestResults\ sl@0: sl@0: REM ********************************************************** sl@0: REM **************** SUBTITLE UNIT TESTS ********************* sl@0: REM ********************************************************** sl@0: sl@0: md C:\mm\ sl@0: md C:\mm\mmf\ sl@0: md C:\mm\mmf\testfiles\ sl@0: md C:\mm\mmf\testfiles\avictrl\ sl@0: md C:\mm\mmf\testfiles\vclnt\ sl@0: md C:\mm\mmf\testfiles\subtitlegraphic\ sl@0: md C:\mm\mmf\testfiles\devsubtitle\ sl@0: sl@0: REM avictrl data: sl@0: copy E:\unittest\mmf\avictrl\video_only.avi C:\mm\mmf\testfiles\avictrl\video_only.avi sl@0: copy E:\unittest\mmf\avictrl\srt_available.avi C:\mm\mmf\testfiles\avictrl\srt_available.avi sl@0: copy E:\unittest\mmf\avictrl\srt_available.srt C:\mm\mmf\testfiles\avictrl\srt_available.srt sl@0: sl@0: REM vclnt data: sl@0: copy E:\unittest\mmf\vclnt\mm\clock2.dummy C:\mm\mmf\testfiles\vclnt\clock2.dummy sl@0: copy E:\unittest\mmf\vclnt\mm\clock.dummy C:\mm\mmf\testfiles\vclnt\clock.dummy sl@0: sl@0: REM subtitle graphic data: sl@0: copy E:\unittest\mmf\subtitlegraphic\subtitletestdata.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata.png sl@0: copy E:\unittest\mmf\subtitlegraphic\subtitletestdata2.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata2.png sl@0: copy E:\unittest\mmf\subtitlegraphic\subtitletestdata3.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata3.png sl@0: sl@0: REM devsubtitle data: sl@0: copy E:\unittest\mmf\devsubtitle\devsubtitle.srt C:\mm\mmf\testfiles\devsubtitle\devsubtitle.srt sl@0: copy E:\unittest\mmf\devsubtitle\subtitletestdata.png C:\mm\mmf\testfiles\devsubtitle\subtitletestdata.png sl@0: copy E:\unittest\mmf\devsubtitle\subtitletestdata2.png C:\mm\mmf\testfiles\devsubtitle\subtitletestdata2.png sl@0: sl@0: REM srt decoder data: sl@0: copy E:\unittest\mmf\subtitle\subtitle1.srt C:\mm\subtitle1.srt sl@0: copy E:\unittest\mmf\subtitle\subtitle2.srt C:\mm\subtitle2.srt sl@0: copy E:\unittest\mmf\subtitle\subtitlebmp0.mbm C:\mm\subtitlebmp0.mbm sl@0: copy E:\unittest\mmf\subtitle\subtitlebmp1.mbm C:\mm\subtitlebmp1.mbm sl@0: copy E:\unittest\mmf\subtitle\subtitlebmp2.mbm C:\mm\subtitlebmp2.mbm sl@0: copy E:\unittest\mmf\subtitle\subtitlebmp3.mbm C:\mm\subtitlebmp3.mbm sl@0: copy E:\unittest\mmf\subtitle\subtitlebmp4.mbm C:\mm\subtitlebmp4.mbm sl@0: copy E:\unittest\mmf\subtitle\subtitlebmp5.mbm C:\mm\subtitlebmp5.mbm sl@0: copy E:\unittest\mmf\subtitle\subtitlebmp6.mbm C:\mm\subtitlebmp6.mbm sl@0: copy E:\unittest\mmf\subtitle\subtitlebmp7.mbm C:\mm\subtitlebmp7.mbm sl@0: copy E:\unittest\mmf\subtitle\subtitlebmp8.mbm C:\mm\subtitlebmp8.mbm sl@0: copy E:\unittest\mmf\subtitle\subtitlebmp9.mbm C:\mm\subtitlebmp9.mbm sl@0: sl@0: sl@0: REM Run test scripts sl@0: testframework tsu_mmf_ctlfrm_subtitles.script sl@0: testframework tsu_mmf_avictrl_subtitle.script sl@0: testframework tsu_mmf_vclnt_u_01_subtitle_gce_on.script sl@0: testframework tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script sl@0: testframework tsu_mmf_subtitlegraphic.script sl@0: testframework tsu_mmf_devsubtitle_panic.script sl@0: testframework tsu_mmf_devsubtitle.script sl@0: testframework \mm\tsu_mmf_subtitledecoder.script sl@0: sl@0: copy C:\Logs\TestResults\*.htm E:\Logs\TestResults\ sl@0: copy C:\Logs\TestResults\mm\*.htm E:\Logs\TestResults\ sl@0: sl@0: del C:\mm\mmf\testfiles\avictrl\* sl@0: del C:\mm\mmf\testfiles\vclnt\* sl@0: del C:\mm\mmf\testfiles\subtitlegraphic\* sl@0: del C:\mm\mmf\testfiles\devsubtitle\*