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 #ifndef __UT_SPSBACKUPHELPERMONITOR_H__ |
|
19 #define __UT_SPSBACKUPHELPERMONITOR_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <CEUnitTestSuiteClass.h> |
|
23 #include <EUnitDecorators.h> |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class CSpsBackupHelperMonitor; |
|
27 |
|
28 // CLASS DEFINITION |
|
29 /** |
|
30 * Generated EUnit test suite class. |
|
31 */ |
|
32 NONSHARABLE_CLASS( Ut_CSpsBackupHelperMonitor ) |
|
33 : public CEUnitTestSuiteClass |
|
34 { |
|
35 public: // Constructors and destructor |
|
36 |
|
37 static Ut_CSpsBackupHelperMonitor* NewL(); |
|
38 |
|
39 ~Ut_CSpsBackupHelperMonitor(); |
|
40 |
|
41 private: // Constructors |
|
42 |
|
43 Ut_CSpsBackupHelperMonitor(); |
|
44 void ConstructL(); |
|
45 |
|
46 private: // New methods |
|
47 |
|
48 void SetupL(); |
|
49 |
|
50 void Teardown(); |
|
51 |
|
52 void Ut_ConstructL(); |
|
53 |
|
54 void Ut_FullBackupOngoingSetupL(); |
|
55 |
|
56 void Ut_PartialBackupOngoingSetupL(); |
|
57 |
|
58 void Ut_FullRestoreOngoingSetupL(); |
|
59 |
|
60 void Ut_PartialRestoreOngoingSetupL(); |
|
61 private: // Data |
|
62 |
|
63 CSpsBackupHelperMonitor* iMonitor; |
|
64 |
|
65 EUNIT_DECLARE_TEST_TABLE; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // __UT_SPSBACKUPHELPERMONITOR_H__ |
|