equal
deleted
inserted
replaced
81 TVerdict CTestStepImageDisplay::DoTestStepPreambleL() |
81 TVerdict CTestStepImageDisplay::DoTestStepPreambleL() |
82 { |
82 { |
83 //[ mark the heap and unmark at the end of postamble ] |
83 //[ mark the heap and unmark at the end of postamble ] |
84 __MM_HEAP_MARK; |
84 __MM_HEAP_MARK; |
85 |
85 |
|
86 User::LeaveIfError(FbsStartup()); |
|
87 User::LeaveIfError( RFbsSession::Connect() ); |
86 iScheduler = new(ELeave)CActiveScheduler; |
88 iScheduler = new(ELeave)CActiveScheduler; |
87 //[ push the scheduler on the stack ] |
89 //[ push the scheduler on the stack ] |
88 CleanupStack::PushL( iScheduler ); |
90 CleanupStack::PushL( iScheduler ); |
89 |
91 |
90 //[install the active scheduler ] |
92 //[install the active scheduler ] |
408 |
410 |
409 TVerdict CTestStepImgDisplayGeneric::DoTestStepFbsL() |
411 TVerdict CTestStepImgDisplayGeneric::DoTestStepFbsL() |
410 { |
412 { |
411 |
413 |
412 // [ connect to the bitmap server and check the error code] |
414 // [ connect to the bitmap server and check the error code] |
|
415 User::LeaveIfError(FbsStartup()); |
413 User::LeaveIfError(RFbsSession::Connect()); |
416 User::LeaveIfError(RFbsSession::Connect()); |
414 iFbsConnection = ETrue; |
417 iFbsConnection = ETrue; |
415 |
418 |
416 TVerdict verdict = TestL(); |
419 TVerdict verdict = TestL(); |
417 |
420 |