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