|
1 // Copyright (c) 2007-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 the License "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalTechnology |
|
21 @released |
|
22 */ |
|
23 |
|
24 #ifndef __TIMMOBILITYTESTMTMSTATE_H__ |
|
25 #define __TIMMOBILITYTESTMTMSTATE_H__ |
|
26 |
|
27 /** |
|
28 Defines the set of states where the MTM will make a call into the test |
|
29 framework to see whether some mobility action should be performed. |
|
30 |
|
31 Note that if you add to this, you also need to add to the lists which |
|
32 are found in .... |
|
33 */ |
|
34 enum TImMobilityTestMtmState |
|
35 { |
|
36 KMobilityTestMtmStateNone, |
|
37 KMobilityTestMtmStateInitialReject, |
|
38 |
|
39 // IMAP MTM states |
|
40 KMobilityTestMtmStateImapConnect, |
|
41 KMobilityTestMtmStateImapIdle, // this is the first IDLE call after bg sync completes |
|
42 |
|
43 KMobilityTestMtmStateImapCopyFromLocal1, // APPEND message |
|
44 KMobilityTestMtmStateImapCopyFromLocal2, // SELECT destination folder |
|
45 KMobilityTestMtmStateImapCopyFromLocal3, // sync'ing destination folder |
|
46 |
|
47 KMobilityTestMtmStateImapCopyToLocal1, // SELECT source folder |
|
48 KMobilityTestMtmStateImapCopyToLocal2, // FETCHing the message |
|
49 KMobilityTestMtmStateImapCopyToLocal3, // local async copy |
|
50 KMobilityTestMtmStateImapCopyToLocal4, //(10) STORE /deleted flag (move only) |
|
51 KMobilityTestMtmStateImapCopyToLocal5, // EXPUNGE (move only) |
|
52 KMobilityTestMtmStateImapCopyToLocal6, // CLOSE FOLDER (move only) |
|
53 KMobilityTestMtmStateImapCopyToLocal7, // SELECT FOLDER (move only) |
|
54 |
|
55 KMobilityTestMtmStateImapCopyWithinService1,// SELECT source mailbox |
|
56 KMobilityTestMtmStateImapCopyWithinService2,// COPY message(s) |
|
57 KMobilityTestMtmStateImapCopyWithinService3,// STORE /deleted flag (move only) |
|
58 KMobilityTestMtmStateImapCopyWithinService4,// EXPUNGE source folder (move only) |
|
59 KMobilityTestMtmStateImapCopyWithinService5,// SELECT destination folder |
|
60 KMobilityTestMtmStateImapCopyWithinService6,// sync'ing destination folder |
|
61 KMobilityTestMtmStateImapCopyWithinService7,//(20) CLOSE folder to delete messages |
|
62 KMobilityTestMtmStateImapCopyWithinService8,// SELECT folder after close to delete messages |
|
63 |
|
64 KMobilityTestMtmStateImapCreateFolder, // CREATE command issued |
|
65 |
|
66 KMobilityTestMtmStateImapDelete1, // SELECT source folder |
|
67 KMobilityTestMtmStateImapDelete2, // STORE /deleted command |
|
68 KMobilityTestMtmStateImapDelete3, // EXPUNGE following a delete |
|
69 KMobilityTestMtmStateImapDelete4, // CLOSE FOLDER following a delete |
|
70 KMobilityTestMtmStateImapDelete5, // SELECT FOLDER following close to delete |
|
71 |
|
72 KMobilityTestMtmStateImapDeleteFolder1, // SELECT source folder |
|
73 KMobilityTestMtmStateImapDeleteFolder2, // STORE /deleted (all messages) |
|
74 KMobilityTestMtmStateImapDeleteFolder3, //(30) CLOSE folder |
|
75 KMobilityTestMtmStateImapDeleteFolder4, // DELETE folder |
|
76 |
|
77 KMobilityTestMtmStateImapDisconnect1, // sync'ing late deletes |
|
78 KMobilityTestMtmStateImapDisconnect2, // LOGOUT etc |
|
79 |
|
80 KMobilityTestMtmStateImapRename1, // RENAME issued |
|
81 KMobilityTestMtmStateImapRename2, // SUBSCRIBE issued |
|
82 |
|
83 KMobilityTestMtmStateImapSyncFolder1, // SELECT issued |
|
84 KMobilityTestMtmStateImapSyncFolder2, // sync'ing the folder |
|
85 |
|
86 KMobilityTestMtmStateImapSyncFolderTree, // sync'ing the folder tree |
|
87 |
|
88 KMobilityTestMtmImapSyncEInboxEarlyDeletes, |
|
89 KMobilityTestMtmImapSyncEInboxEarlyExpunge, //(40) |
|
90 KMobilityTestMtmImapSyncEInboxSync, |
|
91 KMobilityTestMtmImapSyncESyncTree, |
|
92 KMobilityTestMtmImapSyncESyncSubscriptions, |
|
93 KMobilityTestMtmImapSyncEFolderEarlyDeletes, |
|
94 KMobilityTestMtmImapSyncEFolderEarlyExpunge, |
|
95 KMobilityTestMtmImapSyncESyncFolder, |
|
96 KMobilityTestMtmImapEInboxLateDeletes, |
|
97 KMobilityTestMtmImapSyncEFolderLateDeletes, |
|
98 KMobilityTestMtmImapSyncEFolderLateExpunge, |
|
99 |
|
100 // POP MTM states |
|
101 KMobilityTestMtmStatePopConnecting = 300, |
|
102 KMobilityTestMtmStatePopRefreshing, |
|
103 KMobilityTestMtmStatePopTidying, |
|
104 KMobilityTestMtmStatePopFindingFirstOfflineOp, |
|
105 KMobilityTestMtmStatePopCancellingOfflineOps, |
|
106 KMobilityTestMtmStatePopCopying, |
|
107 KMobilityTestMtmStatePopMoving, |
|
108 KMobilityTestMtmStatePopPopulating, |
|
109 KMobilityTestMtmStatePopTopPopulating, |
|
110 KMobilityTestMtmStatePopDeleting, |
|
111 KMobilityTestMtmStatePopConnectedAndIdle, |
|
112 KMobilityTestMtmStatePopQuitting, |
|
113 KMobilityTestMtmStatePopRetrieving, |
|
114 |
|
115 //SMTP MTM states |
|
116 KMobilityTestMtmStateSmtpConnectingToSmtp = 500, |
|
117 KMobilityTestMtmStateSmtpWaitingForReply, |
|
118 KMobilityTestMtmStateSmtpAuthorisingSmtp, |
|
119 KMobilityTestMtmStateSmtpAuthInProgress, |
|
120 KMobilityTestMtmStateSmtpSendingStartTls, |
|
121 KMobilityTestMtmStateSmtpSettingSecurity, |
|
122 KMobilityTestMtmStateSmtpResetSmtp, |
|
123 KMobilityTestMtmStateSmtpClosingSmtp, |
|
124 KMobilityTestMtmStateSmtpSendFile |
|
125 |
|
126 // Do not put any values at 1000 or above as this range is used |
|
127 // elsewhere in the test framework |
|
128 }; |
|
129 |
|
130 #endif //__TIMMOBILITYTESTMTMSTATE_H__ |