equal
deleted
inserted
replaced
22 #include <e32base.h> |
22 #include <e32base.h> |
23 #include <e32std.h> |
23 #include <e32std.h> |
24 |
24 |
25 #include <test/testexecutestepbase.h> |
25 #include <test/testexecutestepbase.h> |
26 |
26 |
27 |
|
28 void CheckForObserverEventTestsL(TTimeIntervalMicroSeconds32 aTimeout, CTestStep& aStep) |
27 void CheckForObserverEventTestsL(TTimeIntervalMicroSeconds32 aTimeout, CTestStep& aStep) |
29 { |
28 { |
30 class CTimeout : public CTimer |
29 class CTimeout : public CTimer |
31 { |
30 { |
32 CTestStep& iStep; |
31 CTestStep& iStep; |
33 |
32 |
34 void RunL() |
33 void RunL() |
35 { |
34 { |
36 iStep.SetTestStepError(KErrTimedOut); |
35 iStep.SetTestStepError(KErrTimedOut); |
37 CActiveScheduler::Stop(); |
36 CActiveScheduler::Stop(); |
38 } |
37 } |
39 |
38 |
40 CTimeout(CTestStep& aTestStep) : CTimer(EPriorityLow), iStep(aTestStep) { ; } |
39 CTimeout(CTestStep& aTestStep) : CTimer(EPriorityLow), iStep(aTestStep) { ; } |
41 |
40 |