messagingfw/msgtestfw/TestCases/ScriptedTestCases/ImapSearchTests/imap_sync.script
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/ImapSearchTests/imap_sync.script Mon Jan 18 20:36:02 2010 +0200
@@ -0,0 +1,49 @@
+//
+// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+RUN_UTILS DeleteFile c:\messaging.db
+LOAD_SUITE MessagingTestServer -SharedData
+
+RUN_TEST_STEP 100 MessagingTestServer BEGIN_TEST_CASE
+
+RUN_TEST_STEP 100 MessagingTestServer SETUP_TEST_CASE
+
+RUN_TEST_STEP 100 MessagingTestServer GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini GetConstants
+RUN_TEST_STEP 100 MessagingTestServer CreateSession c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini SessionId
+RUN_TEST_STEP 100 MessagingTestServer CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini CreateRegistry
+RUN_TEST_STEP 100 MessagingTestServer SetDefaultConfiguration c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini SetDefaultConfigurationIMAP
+RUN_TEST_STEP 100 MessagingTestServer CreateImap4Service c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini CreateImap4Service
+RUN_TEST_STEP 100 MessagingTestServer CreateImap4Mtm c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini CreateImap4Mtm
+RUN_TEST_STEP 100 MessagingTestServer SetImap4ServiceParameters c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini SetImap4ServiceParameters
+RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini CheckChildrenCount0
+
+RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE
+
+RUN_TEST_STEP 100 MessagingTestServer ConnectImap4Server c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini ConnectImap4Server0
+RUN_TEST_STEP 100 MessagingTestServer DoFullImap4Synchronisation c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini DoFullImap4Synchronisation0
+RUN_TEST_STEP 100 MessagingTestServer FindEntryByName c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini FindEntryByName0
+RUN_TEST_STEP 100 MessagingTestServer SetImap4FullDownloadLimits c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini SetImap4FullDownloadLimits
+RUN_TEST_STEP 100 MessagingTestServer CreateChildrenSelection c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini CreateChildrenSelection
+RUN_TEST_STEP 100 MessagingTestServer DoImap4Populate c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini DoImap4Populate
+
+RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS
+
+RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini CheckChildrenCount1
+RUN_TEST_STEP 100 MessagingTestServer FindEntryByName c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini FindEntryByName1
+RUN_TEST_STEP 100 MessagingTestServer FindEntryByName c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini FindEntryByName2
+RUN_TEST_STEP 100 MessagingTestServer DisconnectImap4Server c:\msgtest\TestFramework\ScriptedTestCases\ImapSearchTests\imap_sync.ini DisconnectImap4Server1
+
+RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE