fbs/fontandbitmapserver/tfbs/TFBS.CPP
changeset 194 18f84489a694
parent 152 9f1c3fea0f87
equal deleted inserted replaced
183:6a1564a2f3e6 194:18f84489a694
  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