equal
deleted
inserted
replaced
2280 // Send a IPC command to set the font's height with the font's handle |
2280 // Send a IPC command to set the font's height with the font's handle |
2281 TEST(KErrNone == iFbs->SendCommand(EFbsMessSetTwipsHeight, fontHandle, 49)); |
2281 TEST(KErrNone == iFbs->SendCommand(EFbsMessSetTwipsHeight, fontHandle, 49)); |
2282 // In a second thread, send a IPC command to set the font's height with the |
2282 // In a second thread, send a IPC command to set the font's height with the |
2283 // bitmap's handle. Should panic with FBServ -6. |
2283 // bitmap's handle. Should panic with FBServ -6. |
2284 _LIT(KTestName, "TestInvalidHandlesInIpcCall"); |
2284 _LIT(KTestName, "TestInvalidHandlesInIpcCall"); |
2285 CreateSecondThreadAndCheckPanicL(SecondThreadPanicInvalidHandleInIpcCallL, KErrArgument, KFbsPanicCategory, KTestName); |
2285 CreateSecondThreadAndCheckPanicL(&CTFbs::SecondThreadPanicInvalidHandleInIpcCallL, KErrArgument, KFbsPanicCategory, KTestName); |
2286 |
2286 |
2287 iTs->ReleaseFont(font); |
2287 iTs->ReleaseFont(font); |
2288 delete bmp; |
2288 delete bmp; |
2289 } |
2289 } |
2290 |
2290 |