messagingfw/msgtestfw/TestCases/ScriptedTestCases/ImapSearchTests/2_GetSearchMessages.script
equal
deleted
inserted
replaced
|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 // Test script: 2_GetSearchMessages.script |
|
17 |
|
18 //!@file |
|
19 //! @SYMTestCaseID MSG-IMAP-712-2-CP |
|
20 //! @SYMTestType UT |
|
21 //! @SYMTestPriority Critical |
|
22 //! @SYMPREQ 712 |
|
23 //! @SYMTestCaseDesc Retrieves messages that match the specified search string on the IMAP account. |
|
24 //! @SYMTestActions First clean out the remote inbox and local message store, send the test emails, get messages matching the search string and check they were the only ones retrieved |
|
25 //! @SYMTestExpectedResults The number of emails retrieved should match the number of emails that were send and match the search string |
|
26 |
|
27 PRINT Running Test 2, search string is defined |
|
28 |
|
29 // First clean out the remote inbox and local message store |
|
30 RUN_SCRIPT c:\msgtest\testframework\scriptedtestcases\imapsearchtests\clean_all.script |
|
31 |
|
32 // Send the test emails |
|
33 RUN_SCRIPT c:\msgtest\testframework\scriptedtestcases\imapsearchtests\send_emails.script |
|
34 |
|
35 // get messages matching search string and check they we're the only ones retreived |
|
36 RUN_SCRIPT c:\msgtest\testframework\scriptedtestcases\imapsearchtests\imap_sync_search_enabled.script |