os/ossrv/genericservices/mimerecognitionfw/tef/scripts/emimetest_T_Mstr.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericservices/mimerecognitionfw/tef/scripts/emimetest_T_Mstr.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,42 @@
     1.4 +//
     1.5 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +//
    1.19 +//! @file
    1.20 +//! @SYMTestCaseID		API-APPFWK-T_MstrStep_doMenuL-0001
    1.21 +//! @SYMTestCaseDesc 		Tests data type storage
    1.22 +//! @SYMTestPriority 		High
    1.23 +//! @SYMTestStatus 		3. Released
    1.24 +//! @SYMTestActions  		The test creates a storage manager object, which is filled with some mapings.
    1.25 +//!				The first thing to verify is the correct insertion of these mappings, checking the type, uid
    1.26 +//!				and priority. Then the mappings are stored in an INI file, and restored from there to a new 
    1.27 +//!				storage manager object. The test checks that this new object is correct and equal to the
    1.28 +//!				previous one. The test also tries to find a non-existing app mapping, which gives a 0 Uid.
    1.29 +//!				API Calls:	
    1.30 +//!				CTypeStoreManager::NewL(RFs& aFs);
    1.31 +//!				CTypeStoreManager::InsertDataMappingL(const TDataType& aDataType, TDataTypePriority aPriority, TUid aUid);
    1.32 +//!				CTypeStoreManager::DeleteDataMapping(const TDataType& aDataType);
    1.33 +//!				CTypeStoreManager::GetAppByDataType(const TDataType& aDataType, TUid& aUid) const;
    1.34 +//!				CTypeStoreManager::StoreL();
    1.35 +//!				CTypeStoreManager::ReStoreL();
    1.36 +//! @SYMTestExpectedResults 	Test should complete without any panic.
    1.37 +
    1.38 +START_TESTCASE API-APPFWK-T_MstrStep_doMenuL-0001
    1.39 +
    1.40 +PRINT Run T_Mstr Emime test
    1.41 +//
    1.42 +LOAD_SUITE TEmimeTestServer
    1.43 +RUN_TEST_STEP 100 TEmimeTestServer T_Mstr
    1.44 +
    1.45 +END_TESTCASE API-APPFWK-T_MstrStep_doMenuL-0001