|
1 /* =========================================================================== |
|
2 * Copyright © 2006-2007 Nokia Corporation. |
|
3 * This material, including documentation and any related |
|
4 * computer programs, is protected by copyright controlled by |
|
5 * Nokia Corporation. All rights are reserved. Copying, |
|
6 * including reproducing, storing, adapting or translating, any |
|
7 * or all of this material requires the prior written consent of |
|
8 * Nokia Corporation. This material also contains confidential |
|
9 * information which may not be disclosed to others without the |
|
10 * prior written consent of Nokia Corporation. |
|
11 * ============================================================================ |
|
12 */ |
|
13 |
|
14 // message-id fromarray subject sort-type uid-type start-date end-date positive/negative 0-negative 1-positive |
|
15 |
|
16 [Test] |
|
17 title Null Filter |
|
18 create get_message_async foobar |
|
19 foobar test_1 0 NULL NULL 0 NULL 0 0 1 |
|
20 delete foobar |
|
21 [Endtest] |
|
22 |
|
23 [Test] |
|
24 title Non existent Messageid |
|
25 create get_message_async foobar |
|
26 foobar test_1 128 NULL NULL 0 NULL 0 0 0 |
|
27 delete foobar |
|
28 [Endtest] |
|
29 |
|
30 [Test] |
|
31 title Invalid Messageid |
|
32 create get_message_async foobar |
|
33 foobar test_1 -657 NULL NULL 0 NULL 0 0 0 |
|
34 delete foobar |
|
35 [Endtest] |
|
36 |
|
37 [Test] |
|
38 title Valid Messageid |
|
39 create get_message_async foobar |
|
40 foobar test_1 1 NULL NULL 0 NULL 0 0 1 |
|
41 delete foobar |
|
42 [Endtest] |
|
43 |
|
44 |
|
45 [Test] |
|
46 title Valid FromArray |
|
47 create get_message_async foobar |
|
48 foobar test_1 0 20 AddrEnd NULL 0 NULL 0 0 1 |
|
49 delete foobar |
|
50 [Endtest] |
|
51 |
|
52 [Test] |
|
53 title Invalid FromArray |
|
54 create get_message_async foobar |
|
55 foobar test_1 0 -7 AddrEnd NULL 0 NULL 0 0 0 |
|
56 delete foobar |
|
57 [Endtest] |
|
58 |
|
59 [Test] |
|
60 title Non Existent FromArray |
|
61 create get_message_async foobar |
|
62 foobar test_1 0 917 AddrEnd NULL 0 NULL 0 0 0 |
|
63 delete foobar |
|
64 [Endtest] |
|
65 |
|
66 [Test] |
|
67 title Non Existent Subject |
|
68 create get_message_async foobar |
|
69 foobar test_1 0 NULL zd 0 NULL 0 0 0 |
|
70 delete foobar |
|
71 [Endtest] |
|
72 |
|
73 [Test] |
|
74 title Valid SortOrder |
|
75 create get_message_async foobar |
|
76 foobar test_1 0 NULL NULL 10 NULL 0 0 1 |
|
77 delete foobar |
|
78 [Endtest] |
|
79 |
|
80 [Test] |
|
81 title Valid uid(sms) |
|
82 create get_message_async foobar |
|
83 foobar test_1 0 NULL NULL 0 SMS MtmEnd 0 0 1 |
|
84 delete foobar |
|
85 [Endtest] |
|
86 |
|
87 |
|
88 [Test] |
|
89 title Valid uid(mms) |
|
90 create get_message_async foobar |
|
91 foobar test_1 0 NULL NULL 0 MMS MtmEnd 0 0 1 |
|
92 delete foobar |
|
93 [Endtest] |
|
94 |
|
95 [Test] |
|
96 title Start date>End date |
|
97 create get_message_async foobar |
|
98 foobar test_1 0 NULL NULL 0 NULL 1 2009 5 23 0 0 0 0 1 2009 5 22 0 0 0 0 0 |
|
99 delete foobar |
|
100 [Endtest] |
|
101 |
|
102 [Test] |
|
103 title Start date>Current date |
|
104 create get_message_async foobar |
|
105 foobar test_1 0 NULL NULL 0 NULL 1 2909 9 14 0 0 0 0 0 0 |
|
106 delete foobar |
|
107 [Endtest] |
|
108 |
|
109 |
|
110 [Test] |
|
111 title End date<Current date |
|
112 create get_message_async foobar |
|
113 foobar test_1 0 NULL NULL 0 NULL 0 1 2007 9 9 0 0 0 0 0 |
|
114 delete foobar |
|
115 [Endtest] |
|
116 |
|
117 [Test] |
|
118 title Start date eq End date |
|
119 create get_message_async foobar |
|
120 foobar test_1 0 NULL NULL 0 SMS MtmEnd 0 0 1 |
|
121 delete foobar |
|
122 [Endtest] |