messagingfw/msgtestfw/TestCases/ScriptedTestCases/Capabilities/Cap_CreateMultipleEntryInDrafts.Script
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     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 //
       
    17 // Note Requires TCB Caps to operate.
       
    18 // Must reset the caps after this has been called.
       
    19 
       
    20 
       
    21 
       
    22 // Note dependecies on MessagingTestServer
       
    23 
       
    24 
       
    25 LOAD_SUITE MessagingTestServer -SharedData
       
    26 
       
    27 RUN_TEST_STEP 100 MessagingTestServer BEGIN_TEST_CASE
       
    28 RUN_TEST_STEP 100 MessagingTestServer SETUP_TEST_CASE
       
    29 RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE
       
    30 
       
    31 
       
    32 RUN_TEST_STEP 100 MessagingTestServer GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini GetBaseConstants
       
    33 RUN_TEST_STEP 100 MessagingTestServer CreateSession	c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini CreateSession
       
    34 RUN_TEST_STEP 100 MessagingTestServer ResetMessageStore	c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini ResetMessageStore
       
    35 	// Empty message store.
       
    36 
       
    37 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini CheckChildrenCount0
       
    38 	// Check nothing in the inbox.
       
    39 
       
    40 RUN_TEST_STEP 100 MessagingTestServer CreateImap4Service c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini CreateImap4Service
       
    41 RUN_TEST_STEP 100 MessagingTestServer CreateSmtpService	c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini CreateSmtpService
       
    42 
       
    43 RUN_TEST_STEP 100 MessagingTestServer CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	CreateRegistry
       
    44 
       
    45 RUN_TEST_STEP 100 MessagingTestServer SetDefaultConfiguration c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	SetDefaultConfiguration0
       
    46 RUN_TEST_STEP 100 MessagingTestServer SetDefaultConfiguration c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	SetDefaultConfiguration1
       
    47 RUN_TEST_STEP 100 MessagingTestServer SetDefaultConfiguration c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	SetDefaultConfiguration2
       
    48 
       
    49 RUN_TEST_STEP 100 MessagingTestServer SetImap4ServiceParameters	c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	SetImap4ServiceParameters
       
    50 RUN_TEST_STEP 100 MessagingTestServer SetSmtpServiceParameters	c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	SetSmtpServiceParameters
       
    51 RUN_TEST_STEP 100 MessagingTestServer CreateSmtpMessageFromEmailFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	CreateSmtpMessageFromEmailFile0
       
    52 RUN_TEST_STEP 100 MessagingTestServer Sleep c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini SleepDelay
       
    53 
       
    54 
       
    55 RUN_TEST_STEP 100 MessagingTestServer CreateSmsService c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	CreateSmsService
       
    56 RUN_TEST_STEP 100 MessagingTestServer GetEntryTypeConstants	c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	GetEntryTypeConstants
       
    57 RUN_TEST_STEP 100 MessagingTestServer GetSmsConstants c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	GetSmsConstants
       
    58 
       
    59 RUN_TEST_STEP 100 MessagingTestServer CreateEntry c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	CreateEntry
       
    60 
       
    61 RUN_TEST_STEP 100 MessagingTestServer SaveMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	SaveMsvIdParamToFile1
       
    62 RUN_TEST_STEP 100 MessagingTestServer SaveMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini	SaveMsvIdParamToFile2
       
    63 
       
    64 
       
    65 RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS
       
    66 
       
    67 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CreateMultipleEntryInDrafts.ini CheckChildrenCount1
       
    68 	// Test to see if addition okay
       
    69 
       
    70 
       
    71 RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE
       
    72 
       
    73