|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // The following test case is used to test whether untrusted applications |
|
15 // are able to override MIME types mappings using InsertDataMappingIfHigher API. |
|
16 // It is to ensure that priority checking mechanism (downgrading priority of |
|
17 // untrusted apps) works as was designed. |
|
18 // |
|
19 // |
|
20 |
|
21 |
|
22 |
|
23 /** |
|
24 @file |
|
25 @internalComponent - Internal Symbian test code |
|
26 */ |
|
27 |
|
28 #if !defined(__T_DATATYPEMAPPINGWITHSID1_H__) |
|
29 #define __T_DATATYPEMAPPINGWITHSID1_H__ |
|
30 |
|
31 #include "ApparcTestServer.h" |
|
32 #include "appfwk_test_AppUi.h" |
|
33 |
|
34 class RApaLsSession; |
|
35 |
|
36 //! CT_DataTypeMappingWithSid1 |
|
37 /** |
|
38 This class is used to test priority checks in InsertDataMappingIfHigher API |
|
39 */ |
|
40 class CT_DataTypeMappingWithSid1 : public CTestStep |
|
41 { |
|
42 public: |
|
43 CT_DataTypeMappingWithSid1(); |
|
44 virtual TVerdict doTestStepL(); |
|
45 void ExecuteL(RApaLsSession& aLs); |
|
46 private: |
|
47 ~CT_DataTypeMappingWithSid1(); |
|
48 private: |
|
49 }; |
|
50 |
|
51 _LIT(KT_DataTypeMappingWithSid1, "T_DataTypeMappingWithSid1"); |
|
52 |
|
53 #endif // __T_DATATYPEMAPPINGWITHSID1_H__ |