|
1 /* |
|
2 * Copyright (c) 2010- 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 the License "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 #ifndef __UT_CSWHANDLERPLUGIN_H__ |
|
19 #define __UT_CSWHANDLERPLUGIN_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <digia/eunit/ceunittestsuiteclass.h> |
|
23 #include <digia/eunit/eunitdecorators.h> |
|
24 |
|
25 #include "swhandlerplugin.h" |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 |
|
30 // CLASS DEFINITION |
|
31 /** |
|
32 * Generated EUnit test suite class. |
|
33 */ |
|
34 NONSHARABLE_CLASS( UT_CSwHandlerPlugin ) |
|
35 : public CEUnitTestSuiteClass |
|
36 { |
|
37 public: // Constructors and destructor |
|
38 |
|
39 static UT_CSwHandlerPlugin* NewL(); |
|
40 static UT_CSwHandlerPlugin* NewLC(); |
|
41 ~UT_CSwHandlerPlugin(); |
|
42 |
|
43 private: // Constructors |
|
44 |
|
45 UT_CSwHandlerPlugin(); |
|
46 void ConstructL(); |
|
47 |
|
48 private: // New methods |
|
49 |
|
50 void SetupL(); |
|
51 |
|
52 void Teardown(); |
|
53 |
|
54 void T_Global_HandleUrlEmbeddedLL(); |
|
55 |
|
56 void T_Global_HandleUrlStandaloneLL(); |
|
57 |
|
58 void T_Global_ObserverL(); |
|
59 |
|
60 |
|
61 private: // Data |
|
62 |
|
63 CSwHandlerPlugin* iCSwHandlerPlugin; |
|
64 |
|
65 EUNIT_DECLARE_TEST_TABLE; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // __UT_CSWHANDLERPLUGIN_H__ |