|
1 // Copyright (c) 2004-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 // This file contains testing steps for the integration test of ImageDecoder. |
|
15 // The enabling of agent's user interface feature is tested. |
|
16 // |
|
17 // |
|
18 |
|
19 #ifndef __TEST_IMAGEDECODERDRM_H__ |
|
20 #define __TEST_IMAGEDECODERDRM_H__ |
|
21 |
|
22 #include "TestStepConversion.h" |
|
23 |
|
24 // Positive Test |
|
25 |
|
26 /** |
|
27 * |
|
28 * Enable agent's user interface for errors and confirmation requests property. |
|
29 * Read and decode a protected image, a JPEG, from a file for VIEW intent and |
|
30 * specifying MIME type. |
|
31 * |
|
32 * @lib "TSI_ICL_FRM_00.lib" |
|
33 * |
|
34 * @class CTestImageDecDrmEnableAgentUI |
|
35 * |
|
36 */ |
|
37 class CTestImageDecDrmEnableAgentUI : public CTestStepConversion |
|
38 { |
|
39 public: |
|
40 static CTestImageDecDrmEnableAgentUI* NewL(const TDesC& aTestName); |
|
41 |
|
42 // from RTestStep |
|
43 virtual TVerdict DoTestStepL(); |
|
44 |
|
45 private: |
|
46 CTestImageDecDrmEnableAgentUI(const TDesC& aTestName); |
|
47 |
|
48 TVerdict TestStep_I_0761L(); |
|
49 |
|
50 void OpenImageAndDecodeFromFileSourceL( |
|
51 const TDesC& aFileName, |
|
52 const TDesC& aUniqueId, |
|
53 ContentAccess::TIntent aIntent); |
|
54 }; |
|
55 |
|
56 #endif //__TEST_IMAGEDECODERDRM_H__ |