|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // TSI_ICL_FRM_00_RFILE.script |
|
15 // |
|
16 // |
|
17 |
|
18 PRINT Testing for Image Converter |
|
19 // |
|
20 PRINT |
|
21 |
|
22 //MULTITHREAD |
|
23 |
|
24 // |
|
25 LOAD_SUITE TSI_ICL_FRM_00.dll |
|
26 |
|
27 //MS 3.4 File Handles API |
|
28 //Positive tests |
|
29 //Read a JPEG,not specifying file type. Decode and verify JPEG. |
|
30 //! @SYMTestCaseID MM-ICL-FRM-I-0701-CP |
|
31 |
|
32 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-0701-CP \ICL\TSI_ICL_FRM_00.ini |
|
33 TEST_COMPLETE |
|
34 |
|
35 //Read a JPEG,specifying MIME type. Decode and verify JPEG. |
|
36 //! @SYMTestCaseID MM-ICL-FRM-I-0702-CP |
|
37 |
|
38 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-0702-CP \ICL\TSI_ICL_FRM_00.ini |
|
39 TEST_COMPLETE |
|
40 |
|
41 //Read a OTA, specifying image type. Decode and verify OTA. |
|
42 //! @SYMTestCaseID MM-ICL-FRM-I-0703-CP |
|
43 |
|
44 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-0703-CP \ICL\TSI_ICL_FRM_00.ini |
|
45 TEST_COMPLETE |
|
46 |
|
47 //Read a WBMP, specifying the Decoder UID. Decode and verify WBMP. |
|
48 //! @SYMTestCaseID MM-ICL-FRM-I-0704-CP |
|
49 |
|
50 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-0704-CP \ICL\TSI_ICL_FRM_00.ini |
|
51 TEST_COMPLETE |
|
52 |
|
53 //Encode an image from bitmap to a file, not specifying the file type. |
|
54 //! @SYMTestCaseID MM-ICL-FRM-I-0705-CP |
|
55 |
|
56 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-0705-CP \ICL\TSI_ICL_FRM_00.ini |
|
57 TEST_COMPLETE |
|
58 |
|
59 //Encode an image from bitmap to a file, given the MIME Type |
|
60 //! @SYMTestCaseID MM-ICL-FRM-I-0706-CP |
|
61 |
|
62 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-0706-CP \ICL\TSI_ICL_FRM_00.ini |
|
63 TEST_COMPLETE |
|
64 |
|
65 //Encode an image from bitmap to a file, given the Image Type |
|
66 //! @SYMTestCaseID MM-ICL-FRM-I-0707-CP |
|
67 |
|
68 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-0707-CP \ICL\TSI_ICL_FRM_00.ini |
|
69 TEST_COMPLETE |
|
70 |
|
71 //Encode an image from bitmap to a file, given the Encoder UID. |
|
72 //! @SYMTestCaseID MM-ICL-FRM-I-0708-CP |
|
73 |
|
74 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-0708-CP \ICL\TSI_ICL_FRM_00.ini |
|
75 TEST_COMPLETE |
|
76 |
|
77 //Negative tests |
|
78 //Read, decode and verify JPEG, with an invalid MIME Type. |
|
79 //! @SYMTestCaseID MM-ICL-FRM-I-1701-HP |
|
80 |
|
81 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-1701-HP \ICL\TSI_ICL_FRM_00.ini |
|
82 TEST_COMPLETE |
|
83 |
|
84 //Read, decode and verify JPEG, with an invalid Image Type. |
|
85 //! @SYMTestCaseID MM-ICL-FRM-I-1702-HP |
|
86 |
|
87 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-1702-HP \ICL\TSI_ICL_FRM_00.ini |
|
88 TEST_COMPLETE |
|
89 |
|
90 //Decode a file containing text data. |
|
91 //! @SYMTestCaseID MM-ICL-FRM-I-1703-HP |
|
92 |
|
93 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-1703-HP \ICL\TSI_ICL_FRM_00.ini |
|
94 TEST_COMPLETE |
|
95 |
|
96 |
|
97 //Encode an image from bitmap to a file, specifying an invalid MIME type. |
|
98 //! @SYMTestCaseID MM-ICL-FRM-I-1704-HP |
|
99 |
|
100 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-1704-HP \ICL\TSI_ICL_FRM_00.ini |
|
101 TEST_COMPLETE |
|
102 |
|
103 //Encode an image from bitmap to a file, specifying an invalid image type. |
|
104 //! @SYMTestCaseID MM-ICL-FRM-I-1705-HP |
|
105 |
|
106 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-1705-HP \ICL\TSI_ICL_FRM_00.ini |
|
107 TEST_COMPLETE |
|
108 |
|
109 //Encode to a jpg file containing text data. |
|
110 //! @SYMTestCaseID MM-ICL-FRM-I-1706-HP |
|
111 |
|
112 RUN_TEST_STEP 360000 TSI_ICL_FRM_00 MM-ICL-FRM-I-1706-HP \ICL\TSI_ICL_FRM_00.ini |
|
113 TEST_COMPLETE |