|
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 "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-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 @file |
|
23 @internalComponent - Internal Symbian test code |
|
24 */ |
|
25 |
|
26 #if !defined(__T_DATATYPEMAPPINGWITHSID1_H__) |
|
27 #define __T_DATATYPEMAPPINGWITHSID1_H__ |
|
28 |
|
29 #include "apparctestserver.h" |
|
30 #include "appfwk_test_appui.h" |
|
31 |
|
32 class RApaLsSession; |
|
33 |
|
34 //! CT_DataTypeMappingWithSid1 |
|
35 /** |
|
36 This class is used to test priority checks in InsertDataMappingIfHigher API |
|
37 */ |
|
38 class CT_DataTypeMappingWithSid1 : public CTestStep |
|
39 { |
|
40 public: |
|
41 CT_DataTypeMappingWithSid1(); |
|
42 virtual TVerdict doTestStepL(); |
|
43 void ExecuteL(RApaLsSession& aLs); |
|
44 private: |
|
45 ~CT_DataTypeMappingWithSid1(); |
|
46 private: |
|
47 }; |
|
48 |
|
49 _LIT(KT_DataTypeMappingWithSid1, "T_DataTypeMappingWithSid1"); |
|
50 |
|
51 #endif // __T_DATATYPEMAPPINGWITHSID1_H__ |