equal
deleted
inserted
replaced
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // |
14 // |
15 |
15 |
16 |
|
17 |
|
18 /** |
16 /** |
19 @file |
17 @file |
20 @test |
18 @test |
21 @internalComponent - Internal Symbian test code |
19 @internalComponent - Internal Symbian test code |
22 */ |
20 */ |
23 |
21 |
24 #if (!defined __T_MIMECONTENTPOLICY_STEP_H__) |
22 #if (!defined __T_MIMECONTENTPOLICY_STEP_H__) |
25 #define __T_MIMECONTENTPOLICY_STEP_H__ |
23 #define __T_MIMECONTENTPOLICY_STEP_H__ |
26 |
24 |
27 #include "testableapalssession.h" |
25 #include "testableapalssession.h" |
28 #include "appfwk_test_AppUi.h" |
26 #include "appfwk_test_appui.h" |
29 #include <ApfMimeContentPolicy.h> |
27 #include <apfmimecontentpolicy.h> |
30 |
28 |
31 _LIT(KT_MimeContentPolicyStep,"t_mimecontentpolicy"); |
29 _LIT(KT_MimeContentPolicyStep,"t_mimecontentpolicy"); |
32 |
30 |
33 class CT_MimeContentPolicyStep : public CTestStep |
31 class CT_MimeContentPolicyStep : public CTestStep |
34 { |
32 { |
46 void CCPTestIsDRMEnvelopeFileHandleL(); |
44 void CCPTestIsDRMEnvelopeFileHandleL(); |
47 void CCPTestIsClosedFileFileHandleL(); |
45 void CCPTestIsClosedFileFileHandleL(); |
48 // aIsDRMEnvelope is ETrue for DRM Envelope and EFalse for ClosedFile |
46 // aIsDRMEnvelope is ETrue for DRM Envelope and EFalse for ClosedFile |
49 TBool DoCCPTestUsingFileHandleL(const TDesC &aName, TBool aIsDRMEnvelope); |
47 TBool DoCCPTestUsingFileHandleL(const TDesC &aName, TBool aIsDRMEnvelope); |
50 void CCPOOMTestL(); |
48 void CCPOOMTestL(); |
|
49 void CCPTestIsClosedContentAndExtenstionInfoRepositoryReadOnlyL(); |
51 |
50 |
52 private: |
51 private: |
53 CApfMimeContentPolicy* iCcp; |
52 CApfMimeContentPolicy* iCcp; |
54 RTestableApaLsSession iApaLsSession; |
53 RTestableApaLsSession iApaLsSession; |
55 RFs iFs; |
54 RFs iFs; |