1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmtestenv/mmtesttools/Scripts/runmmfsubtitleunittests.bat Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,84 @@
1.4 +rem Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +rem All rights reserved.
1.6 +rem This component and the accompanying materials are made available
1.7 +rem under the terms of "Eclipse Public License v1.0"
1.8 +rem which accompanies this distribution, and is available
1.9 +rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +rem
1.11 +rem Initial Contributors:
1.12 +rem Nokia Corporation - initial contribution.
1.13 +rem
1.14 +rem Contributors:
1.15 +rem
1.16 +rem Description:
1.17 +rem rummmfsubtitleunittests.bat
1.18 +rem
1.19 +rem
1.20 +
1.21 +del E:\Logs\TestResults\*
1.22 +md E:\Logs
1.23 +md E:\Logs\TestResults\
1.24 +
1.25 +REM **********************************************************
1.26 +REM **************** SUBTITLE UNIT TESTS *********************
1.27 +REM **********************************************************
1.28 +
1.29 +md C:\mm\
1.30 +md C:\mm\mmf\
1.31 +md C:\mm\mmf\testfiles\
1.32 +md C:\mm\mmf\testfiles\avictrl\
1.33 +md C:\mm\mmf\testfiles\vclnt\
1.34 +md C:\mm\mmf\testfiles\subtitlegraphic\
1.35 +md C:\mm\mmf\testfiles\devsubtitle\
1.36 +
1.37 +REM avictrl data:
1.38 +copy E:\unittest\mmf\avictrl\video_only.avi C:\mm\mmf\testfiles\avictrl\video_only.avi
1.39 +copy E:\unittest\mmf\avictrl\srt_available.avi C:\mm\mmf\testfiles\avictrl\srt_available.avi
1.40 +copy E:\unittest\mmf\avictrl\srt_available.srt C:\mm\mmf\testfiles\avictrl\srt_available.srt
1.41 +
1.42 +REM vclnt data:
1.43 +copy E:\unittest\mmf\vclnt\mm\clock2.dummy C:\mm\mmf\testfiles\vclnt\clock2.dummy
1.44 +copy E:\unittest\mmf\vclnt\mm\clock.dummy C:\mm\mmf\testfiles\vclnt\clock.dummy
1.45 +
1.46 +REM subtitle graphic data:
1.47 +copy E:\unittest\mmf\subtitlegraphic\subtitletestdata.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata.png
1.48 +copy E:\unittest\mmf\subtitlegraphic\subtitletestdata2.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata2.png
1.49 +copy E:\unittest\mmf\subtitlegraphic\subtitletestdata3.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata3.png
1.50 +
1.51 +REM devsubtitle data:
1.52 +copy E:\unittest\mmf\devsubtitle\devsubtitle.srt C:\mm\mmf\testfiles\devsubtitle\devsubtitle.srt
1.53 +copy E:\unittest\mmf\devsubtitle\subtitletestdata.png C:\mm\mmf\testfiles\devsubtitle\subtitletestdata.png
1.54 +copy E:\unittest\mmf\devsubtitle\subtitletestdata2.png C:\mm\mmf\testfiles\devsubtitle\subtitletestdata2.png
1.55 +
1.56 +REM srt decoder data:
1.57 +copy E:\unittest\mmf\subtitle\subtitle1.srt C:\mm\subtitle1.srt
1.58 +copy E:\unittest\mmf\subtitle\subtitle2.srt C:\mm\subtitle2.srt
1.59 +copy E:\unittest\mmf\subtitle\subtitlebmp0.mbm C:\mm\subtitlebmp0.mbm
1.60 +copy E:\unittest\mmf\subtitle\subtitlebmp1.mbm C:\mm\subtitlebmp1.mbm
1.61 +copy E:\unittest\mmf\subtitle\subtitlebmp2.mbm C:\mm\subtitlebmp2.mbm
1.62 +copy E:\unittest\mmf\subtitle\subtitlebmp3.mbm C:\mm\subtitlebmp3.mbm
1.63 +copy E:\unittest\mmf\subtitle\subtitlebmp4.mbm C:\mm\subtitlebmp4.mbm
1.64 +copy E:\unittest\mmf\subtitle\subtitlebmp5.mbm C:\mm\subtitlebmp5.mbm
1.65 +copy E:\unittest\mmf\subtitle\subtitlebmp6.mbm C:\mm\subtitlebmp6.mbm
1.66 +copy E:\unittest\mmf\subtitle\subtitlebmp7.mbm C:\mm\subtitlebmp7.mbm
1.67 +copy E:\unittest\mmf\subtitle\subtitlebmp8.mbm C:\mm\subtitlebmp8.mbm
1.68 +copy E:\unittest\mmf\subtitle\subtitlebmp9.mbm C:\mm\subtitlebmp9.mbm
1.69 +
1.70 +
1.71 +REM Run test scripts
1.72 +testframework tsu_mmf_ctlfrm_subtitles.script
1.73 +testframework tsu_mmf_avictrl_subtitle.script
1.74 +testframework tsu_mmf_vclnt_u_01_subtitle_gce_on.script
1.75 +testframework tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script
1.76 +testframework tsu_mmf_subtitlegraphic.script
1.77 +testframework tsu_mmf_devsubtitle_panic.script
1.78 +testframework tsu_mmf_devsubtitle.script
1.79 +testframework \mm\tsu_mmf_subtitledecoder.script
1.80 +
1.81 +copy C:\Logs\TestResults\*.htm E:\Logs\TestResults\
1.82 +copy C:\Logs\TestResults\mm\*.htm E:\Logs\TestResults\
1.83 +
1.84 +del C:\mm\mmf\testfiles\avictrl\*
1.85 +del C:\mm\mmf\testfiles\vclnt\*
1.86 +del C:\mm\mmf\testfiles\subtitlegraphic\*
1.87 +del C:\mm\mmf\testfiles\devsubtitle\*
1.88 \ No newline at end of file