|
1 /** Copyright (c) 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 the License "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 * |
|
15 */ |
|
16 #include <QDebug> |
|
17 #include <smcmockclassincludes.h> |
|
18 #include <mock_cpsetrefreshhandler.h> |
|
19 |
|
20 // ============================ MEMBER FUNCTIONS =============================== |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // CPSetRefreshHandlerMock::NewL |
|
24 // ----------------------------------------------------------------------------- |
|
25 // |
|
26 CPSetRefreshHandlerMock * CPSetRefreshHandlerMock::NewL( ) |
|
27 { |
|
28 SMC_MOCK_NEWL0( CPSetRefreshHandlerMock * ) |
|
29 |
|
30 CPSetRefreshHandlerMock* self = new( ELeave ) CPSetRefreshHandlerMock; |
|
31 CleanupStack::PushL( self ); |
|
32 //self->ConstructL() |
|
33 CleanupStack::Pop( self ); |
|
34 return self; |
|
35 } |
|
36 |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // CPSetRefreshHandlerMock::NotifyFileChangeL |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 void CPSetRefreshHandlerMock::NotifyFileChangeL( |
|
43 MSSSettingsRefreshObserver & aObserver, |
|
44 TSatElementaryFiles aObservedFile, |
|
45 TSatRefreshType aObservedRefreshType ) |
|
46 { |
|
47 SMC_MOCK_METHOD3( void, MSSSettingsRefreshObserver &, aObserver, |
|
48 TSatElementaryFiles, aObservedFile, |
|
49 TSatRefreshType, aObservedRefreshType ) |
|
50 } |
|
51 |
|
52 |
|
53 // ----------------------------------------------------------------------------- |
|
54 // CPSetRefreshHandlerMock::CancelNotify |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 void CPSetRefreshHandlerMock::CancelNotify( ) |
|
58 { |
|
59 SMC_MOCK_METHOD0( void ) |
|
60 } |
|
61 |
|
62 |
|
63 // ----------------------------------------------------------------------------- |
|
64 // CPSetRefreshHandlerMock::ChangedCspSettings |
|
65 // ----------------------------------------------------------------------------- |
|
66 // |
|
67 TInt CPSetRefreshHandlerMock::ChangedCspSettings( |
|
68 TPSetChangedCspSetting & aChangedCspSettings, |
|
69 TPSetChangedCspSetting & aNewValues ) |
|
70 { |
|
71 SMC_MOCK_METHOD2( TInt, TPSetChangedCspSetting &, aChangedCspSettings, |
|
72 TPSetChangedCspSetting &, aNewValues ) |
|
73 } |
|
74 // ----------------------------------------------------------------------------- |
|
75 // CPSetRefreshHandlerMock::ChangedCspSettings |
|
76 // ----------------------------------------------------------------------------- |
|
77 // |
|
78 CPSetRefreshHandlerMock::~CPSetRefreshHandlerMock() |
|
79 { |
|
80 } |
|
81 |