email/pop3andsmtpmtm/imapservermtm/test/scripts/T_ImapBadlyFormedAddress.script
changeset 25 84d9eb65b26f
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
       
     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 //! @file
       
    17 //! @SYMTestCaseID DEF079017
       
    18 //! @SYMTestType UT
       
    19 //! @SYMTestPriority High
       
    20 //! @SYMDEF DEF079017
       
    21 //! @SYMTestCaseDesc IMAP spoof server test. Checks that a response containing a text atom which itself contains
       
    22 //! end of atom characters is handled correctly.
       
    23 //! The server connects and syncs. During the sync phase, the server returns an OK [PARSE] response to indicate
       
    24 //! that an email address is invalid. The text field after this then contains the end of atome characters ')', ']'. '>'
       
    25 //! @SYMTestActions 1. The Server is started and listens on port 143.
       
    26 //! 2. The client connects to the server, and performs a sync.
       
    27 //! 3. During the sync, a OK [PARSE] response is returned containing end of atom characters.
       
    28 //! 4. Two email headers are fetched during the sync
       
    29 //! 5. The client disconnects
       
    30 //! @SYMTestExpectedResults Client should have fetched two message headers
       
    31 
       
    32 PRINT Run T_ImapBadlyFormedAddress Test 
       
    33 LOAD_SUITE T_ImapBadlyFormedAddress -SharedData
       
    34 
       
    35 RUN_TEST_STEP 1000 T_ImapBadlyFormedAddress TestImapBadlyFormedAddress c:\msgtest\imap\ImapBadlyFormedAddressTest.ini Section1