|
1 rem Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 rem All rights reserved. |
|
3 rem This component and the accompanying materials are made available |
|
4 rem under the terms of "Eclipse Public License v1.0" |
|
5 rem which accompanies this distribution, and is available |
|
6 rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 rem |
|
8 rem Initial Contributors: |
|
9 rem Nokia Corporation - initial contribution. |
|
10 rem |
|
11 rem Contributors: |
|
12 rem |
|
13 rem Description: |
|
14 rem rummmfsubtitleunittests.bat |
|
15 rem |
|
16 rem |
|
17 |
|
18 del E:\Logs\TestResults\* |
|
19 md E:\Logs |
|
20 md E:\Logs\TestResults\ |
|
21 |
|
22 REM ********************************************************** |
|
23 REM **************** SUBTITLE UNIT TESTS ********************* |
|
24 REM ********************************************************** |
|
25 |
|
26 md C:\mm\ |
|
27 md C:\mm\mmf\ |
|
28 md C:\mm\mmf\testfiles\ |
|
29 md C:\mm\mmf\testfiles\avictrl\ |
|
30 md C:\mm\mmf\testfiles\vclnt\ |
|
31 md C:\mm\mmf\testfiles\subtitlegraphic\ |
|
32 md C:\mm\mmf\testfiles\devsubtitle\ |
|
33 |
|
34 REM avictrl data: |
|
35 copy E:\unittest\mmf\avictrl\video_only.avi C:\mm\mmf\testfiles\avictrl\video_only.avi |
|
36 copy E:\unittest\mmf\avictrl\srt_available.avi C:\mm\mmf\testfiles\avictrl\srt_available.avi |
|
37 copy E:\unittest\mmf\avictrl\srt_available.srt C:\mm\mmf\testfiles\avictrl\srt_available.srt |
|
38 |
|
39 REM vclnt data: |
|
40 copy E:\unittest\mmf\vclnt\mm\clock2.dummy C:\mm\mmf\testfiles\vclnt\clock2.dummy |
|
41 copy E:\unittest\mmf\vclnt\mm\clock.dummy C:\mm\mmf\testfiles\vclnt\clock.dummy |
|
42 |
|
43 REM subtitle graphic data: |
|
44 copy E:\unittest\mmf\subtitlegraphic\subtitletestdata.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata.png |
|
45 copy E:\unittest\mmf\subtitlegraphic\subtitletestdata2.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata2.png |
|
46 copy E:\unittest\mmf\subtitlegraphic\subtitletestdata3.png C:\mm\mmf\testfiles\subtitlegraphic\subtitletestdata3.png |
|
47 |
|
48 REM devsubtitle data: |
|
49 copy E:\unittest\mmf\devsubtitle\devsubtitle.srt C:\mm\mmf\testfiles\devsubtitle\devsubtitle.srt |
|
50 copy E:\unittest\mmf\devsubtitle\subtitletestdata.png C:\mm\mmf\testfiles\devsubtitle\subtitletestdata.png |
|
51 copy E:\unittest\mmf\devsubtitle\subtitletestdata2.png C:\mm\mmf\testfiles\devsubtitle\subtitletestdata2.png |
|
52 |
|
53 REM srt decoder data: |
|
54 copy E:\unittest\mmf\subtitle\subtitle1.srt C:\mm\subtitle1.srt |
|
55 copy E:\unittest\mmf\subtitle\subtitle2.srt C:\mm\subtitle2.srt |
|
56 copy E:\unittest\mmf\subtitle\subtitlebmp0.mbm C:\mm\subtitlebmp0.mbm |
|
57 copy E:\unittest\mmf\subtitle\subtitlebmp1.mbm C:\mm\subtitlebmp1.mbm |
|
58 copy E:\unittest\mmf\subtitle\subtitlebmp2.mbm C:\mm\subtitlebmp2.mbm |
|
59 copy E:\unittest\mmf\subtitle\subtitlebmp3.mbm C:\mm\subtitlebmp3.mbm |
|
60 copy E:\unittest\mmf\subtitle\subtitlebmp4.mbm C:\mm\subtitlebmp4.mbm |
|
61 copy E:\unittest\mmf\subtitle\subtitlebmp5.mbm C:\mm\subtitlebmp5.mbm |
|
62 copy E:\unittest\mmf\subtitle\subtitlebmp6.mbm C:\mm\subtitlebmp6.mbm |
|
63 copy E:\unittest\mmf\subtitle\subtitlebmp7.mbm C:\mm\subtitlebmp7.mbm |
|
64 copy E:\unittest\mmf\subtitle\subtitlebmp8.mbm C:\mm\subtitlebmp8.mbm |
|
65 copy E:\unittest\mmf\subtitle\subtitlebmp9.mbm C:\mm\subtitlebmp9.mbm |
|
66 |
|
67 |
|
68 REM Run test scripts |
|
69 testframework tsu_mmf_ctlfrm_subtitles.script |
|
70 testframework tsu_mmf_avictrl_subtitle.script |
|
71 testframework tsu_mmf_vclnt_u_01_subtitle_gce_on.script |
|
72 testframework tsu_mmf_vclnt_u_01_subtitle_gce_on_udeb.script |
|
73 testframework tsu_mmf_subtitlegraphic.script |
|
74 testframework tsu_mmf_devsubtitle_panic.script |
|
75 testframework tsu_mmf_devsubtitle.script |
|
76 testframework \mm\tsu_mmf_subtitledecoder.script |
|
77 |
|
78 copy C:\Logs\TestResults\*.htm E:\Logs\TestResults\ |
|
79 copy C:\Logs\TestResults\mm\*.htm E:\Logs\TestResults\ |
|
80 |
|
81 del C:\mm\mmf\testfiles\avictrl\* |
|
82 del C:\mm\mmf\testfiles\vclnt\* |
|
83 del C:\mm\mmf\testfiles\subtitlegraphic\* |
|
84 del C:\mm\mmf\testfiles\devsubtitle\* |