equal
deleted
inserted
replaced
23 |
23 |
24 bool stubAsyncCallPossible = true; |
24 bool stubAsyncCallPossible = true; |
25 int stubViewCount = 1; |
25 int stubViewCount = 1; |
26 int stubLeaveWithError = KErrNone; |
26 int stubLeaveWithError = KErrNone; |
27 int stubViewFlagsValue = 0; |
27 int stubViewFlagsValue = 0; |
|
28 QString stubLastCalledFunc; |
28 |
29 |
29 // ---------------------------------------------------------------------------- |
30 // ---------------------------------------------------------------------------- |
30 // LogClientStubsHelper |
31 // LogClientStubsHelper |
31 // ---------------------------------------------------------------------------- |
32 // ---------------------------------------------------------------------------- |
32 // |
33 // |
33 void LogClientStubsHelper::reset() |
34 void LogClientStubsHelper::reset() |
34 { |
35 { |
35 stubAsyncCallPossible = true; |
36 stubAsyncCallPossible = true; |
36 stubLeaveWithError = KErrNone; |
37 stubLeaveWithError = KErrNone; |
37 stubViewFlagsValue = 0; |
38 stubViewFlagsValue = 0; |
|
39 stubLastCalledFunc.clear(); |
38 } |
40 } |
39 |
41 |
40 void LogClientStubsHelper::createEvents(int numEvents) |
42 void LogClientStubsHelper::createEvents(int numEvents) |
41 { |
43 { |
42 |
44 |
58 } |
60 } |
59 |
61 |
60 int LogClientStubsHelper::stubViewFlags() |
62 int LogClientStubsHelper::stubViewFlags() |
61 { |
63 { |
62 return stubViewFlagsValue; |
64 return stubViewFlagsValue; |
|
65 } |
|
66 |
|
67 QString LogClientStubsHelper::lastCalledFunc() |
|
68 { |
|
69 return stubLastCalledFunc; |
63 } |
70 } |
64 |
71 |
65 // ---------------------------------------------------------------------------- |
72 // ---------------------------------------------------------------------------- |
66 // CLogActive |
73 // CLogActive |
67 // ---------------------------------------------------------------------------- |
74 // ---------------------------------------------------------------------------- |
188 |
195 |
189 } |
196 } |
190 |
197 |
191 void CLogClient::ClearLog(const TTime& /*aDate*/, TRequestStatus& aStatus) |
198 void CLogClient::ClearLog(const TTime& /*aDate*/, TRequestStatus& aStatus) |
192 { |
199 { |
|
200 stubLastCalledFunc = "ClearLog"; |
193 aStatus = KRequestPending; |
201 aStatus = KRequestPending; |
194 User::RequestComplete( &aStatus, KErrNone ); |
202 User::RequestComplete( &aStatus, KErrNone ); |
195 } |
203 } |
196 |
204 |
197 void CLogClient::ClearLog(TInt /*aRecentList*/, TRequestStatus& aStatus) |
205 void CLogClient::ClearLog(TInt /*aRecentList*/, TRequestStatus& aStatus) |
198 { |
206 { |
|
207 stubLastCalledFunc = "ClearLogRecentList"; |
199 aStatus = KRequestPending; |
208 aStatus = KRequestPending; |
200 User::RequestComplete( &aStatus, KErrNone ); |
209 User::RequestComplete( &aStatus, KErrNone ); |
201 } |
210 } |
202 |
211 |
203 void CLogClient::CLogBase_Reserved1() |
212 void CLogClient::CLogBase_Reserved1() |