//
// 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 EXECUTE_TEST_CASE

RUN_TEST_STEP 100 MessagingTestServer CreateSession			c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini SessionId
RUN_TEST_STEP 100 MessagingTestServer DeInstallMtmGroup		c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini InstallGoodMtmGroup
RUN_TEST_STEP 100 MessagingTestServer InstallMtmGroup		c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini InstallGoodMtmGroup
RUN_TEST_STEP 100 MessagingTestServer GetBaseConstants		c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini GetBaseConstants
RUN_TEST_STEP 100 MessagingTestServer GetPigeonMtmConstant	c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini GetPigeonMtmConstant
RUN_TEST_STEP 100 MessagingTestServer SetDefaultSmsSettings	c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini SetSettingsFile
RUN_TEST_STEP 100 MessagingTestServer CreateSession 		c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini SessionId
RUN_TEST_STEP 100 MessagingTestServer DeleteExistingService	c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini DeleteExistingService
RUN_TEST_STEP 100 MessagingTestServer CreateService			c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini CreateService
RUN_TEST_STEP 100 MessagingTestServer SetSchSendSettings 	c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini SetSchSendSettings
RUN_TEST_STEP 100 MessagingTestServer DeleteChildren 		c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini EmptyOutbox
RUN_TEST_STEP 100 MessagingTestServer DeleteChildren 		c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini EmptySent
RUN_TEST_STEP 100 MessagingTestServer CreatePigeonMessage	c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini CreatePigeonMessage
RUN_TEST_STEP 100 MessagingTestServer SchedulePigeonMessage	c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini SchedulePigeonMessage
RUN_TEST_STEP 100 MessagingTestServer Sleep 				c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini Sleep

RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS

RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount	c:\msgtest\TestFramework\ScriptedTestCases\Corruption\Corruption.ini CheckChildrenCount

RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE
