messagingfw/msgtestfw/TestCases/ScriptedTestCases/Performance/heap.script
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     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 //	This script downloads n-1 emails
       
    18 //	over pop3 and simulates a low memory condition
       
    19 //	The aim to test the stability of messaging
       
    20 //	before the downloaded headers have been committed
       
    21 //	'n' will typically equal 16
       
    22 //
       
    23 RUN_UTILS DeleteFile c:\messaging.db
       
    24 LOAD_SUITE MessagingTestServer -SharedData
       
    25 //CED c:\msgtest\TestFramework\Configurations\CommDbSettings\NtRasLongIdleTimeout.cfg
       
    26 RUN_TEST_STEP -1 MessagingTestServer BEGIN_TEST_CASE
       
    27 RUN_TEST_STEP -1 MessagingTestServer SETUP_TEST_CASE
       
    28 //	download a bunch of emails
       
    29 RUN_TEST_STEP -1 MessagingTestServer GetBaseConstants			c:\perf\heap.ini GetBaseConstants
       
    30 RUN_TEST_STEP -1 MessagingTestServer InitNtRas					c:\perf\heap.ini InitNtRas
       
    31 RUN_TEST_STEP -1 MessagingTestServer CreateSession				c:\perf\heap.ini CreateSession
       
    32 RUN_TEST_STEP -1 MessagingTestServer ResetMessageStore			c:\perf\heap.ini ResetMessageStore
       
    33 RUN_TEST_STEP -1 MessagingTestServer CreateRegistry				c:\perf\heap.ini CreateRegistry
       
    34 RUN_TEST_STEP -1 MessagingTestServer SetDefaultConfiguration	c:\perf\heap.ini SetDefaultConfigurationPOP3
       
    35 RUN_TEST_STEP -1 MessagingTestServer CreatePop3Service			c:\perf\heap.ini CreatePop3Service
       
    36 RUN_TEST_STEP -1 MessagingTestServer CreatePop3Mtm				c:\perf\heap.ini CreatePop3Mtm
       
    37 RUN_TEST_STEP -1 MessagingTestServer SetPop3ServiceParameters	c:\perf\heap.ini SetPop3ServiceParameters
       
    38 RUN_TEST_STEP -1 MessagingTestServer EXECUTE_TEST_CASE
       
    39 RUN_TEST_STEP -1 MessagingTestServer ConnectPop3Server 			c:\perf\heap.ini ConnectPop3Server
       
    40 RUN_TEST_STEP -1 MessagingTestServer CreateChildrenSelection	c:\perf\heap.ini CreateChildrenSelection
       
    41 RUN_TEST_STEP -1 MessagingTestServer CopySelection				c:\perf\heap.ini CopySelection
       
    42 RUN_TEST_STEP -1 MessagingTestServer DisconnectPop3Server		c:\perf\heap.ini DisconnectPop3Server
       
    43 // connection to mail server terminated
       
    44 RUN_TEST_STEP -1 MessagingTestServer SetHeapFailure 			c:\perf\heap.ini SetHeapFailure
       
    45 RUN_TEST_STEP -1 MessagingTestServer CHECK_POSTCONDITIONS
       
    46 RUN_TEST_STEP -1 MessagingTestServer CheckChildrenCount			c:\perf\heap.ini CheckChildrenCount_15
       
    47 RUN_TEST_STEP -1 MessagingTestServer END_TEST_CASE