|
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 */ |
|
17 |
|
18 |
|
19 #ifndef __UT_MUSENGURIPARSER_H__ |
|
20 #define __UT_MUSENGURIPARSER_H__ |
|
21 |
|
22 |
|
23 // EXTERNAL INCLUDES |
|
24 #include <digia/eunit/ceunittestsuiteclass.h> |
|
25 #include <digia/eunit/eunitmacros.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 |
|
30 #ifndef NONSHARABLE_CLASS |
|
31 #define NONSHARABLE_CLASS(x) class x |
|
32 #endif |
|
33 |
|
34 // CLASS DEFINITION |
|
35 /** |
|
36 * Tester class for TMusEngUriParser. |
|
37 * |
|
38 */ |
|
39 NONSHARABLE_CLASS( UT_TMusEngUriParser ): public CEUnitTestSuiteClass |
|
40 { |
|
41 public: // Constructors and destructors |
|
42 |
|
43 /** |
|
44 * Two phase construction |
|
45 */ |
|
46 static UT_TMusEngUriParser* NewL(); |
|
47 static UT_TMusEngUriParser* NewLC(); |
|
48 |
|
49 /** |
|
50 * Destructor |
|
51 */ |
|
52 ~UT_TMusEngUriParser(); |
|
53 |
|
54 private: // Constructors and destructors |
|
55 |
|
56 UT_TMusEngUriParser(); |
|
57 void ConstructL(); |
|
58 |
|
59 private: // Test case setup and teardown |
|
60 |
|
61 void SetupL(); |
|
62 |
|
63 void Teardown(); |
|
64 |
|
65 private: // Test methdods |
|
66 |
|
67 void UT_TMusEngUriParser_TMusEngUriParserL(); |
|
68 void UT_TMusEngUriParser_GetUri8LL(); |
|
69 void UT_TMusEngUriParser_GetUri16LL(); |
|
70 void UT_TMusEngUriParser_ParseUriLL(); |
|
71 |
|
72 private: // Data |
|
73 |
|
74 |
|
75 |
|
76 EUNIT_DECLARE_TEST_TABLE; |
|
77 |
|
78 }; |
|
79 |
|
80 #endif // __UT_MUSENGURIPARSER_H__ |
|
81 |
|
82 // End of file |