|
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 API-APPFWK-T-Maps-testTMappingDataTypeToAppL-0001 |
|
18 //! @SYMTestCaseDesc Tests TMappingDataTypeToApp class |
|
19 //! @SYMTestPriority High |
|
20 //! @SYMTestStatus 3. Released |
|
21 //! @SYMTestActions The test creates 3 different mappings, identified by a TUid, TDataType |
|
22 //! and TDataTypePriority, verifying that they are correctly created. The consitency of these |
|
23 //! mappings through the process of writing and reading to and from a stream is also checked. |
|
24 //! Also, a store of mappings is created, verifying the insertion, and the insertion depending |
|
25 //! on the TDataTypePriority, checking that it handles the insertion in accordance. |
|
26 //! API Calls: |
|
27 //! TMappingDataTypeToApp::TMappingDataTypeToApp(const TDataType& aDataType, TDataTypePriority aPriority, TUid aUid); |
|
28 //! CTypeStoreManager::NewL(RFs& aFs); |
|
29 //! CTypeStoreManager::InsertDataMappingL(const TDataType& aDataType, TDataTypePriority aPriority, TUid aUid); |
|
30 //! CTypeStoreManager::GetAppByDataType(const TDataType& aDataType, TUid& aUid) const; |
|
31 //! CTypeStoreManager::InsertIfHigherL(const TDataType& aDataType, TDataTypePriority aPriority, TUid aUid); |
|
32 //! @SYMTestExpectedResults Test should complete without any panic. |
|
33 |
|
34 START_TESTCASE API-APPFWK-T-Maps-testTMappingDataTypeToAppL-0001 |
|
35 |
|
36 PRINT Run T_Maps Emime test |
|
37 // |
|
38 LOAD_SUITE TEmimeTestServer |
|
39 RUN_TEST_STEP 100 TEmimeTestServer T_Maps |
|
40 |
|
41 END_TESTCASE API-APPFWK-T-Maps-testTMappingDataTypeToAppL-0001 |