-
Blog moved to http://david.gardiner.net.au
I’ve decided to move my blog to a custom URL. It is still hosted by blogger, and the old address should continue to redirect to http://david.gardiner.net.au. If you are subscribed via a feed, then you shouldn’t need to change anything either.
I wonder what that will do to my page rank?
-
How to mock a serial port
This question came up on the Rhino Mocks list recently, and it interested me as the application we’re working on has to talk to serial ports too.
Two common themes emerged:
- Write a “thin” interface for serial port operations and create a thin wrapper class that implements this interface and calls SerialPort directly. You can then mock out the interface easily.
- To test the wrapper, you can make use of the com0com null-modem emulator.
I suspect there would still be a bit of effort to get the com0com emulator working properly, but it sounds promising.
-
What a funny old fellow..
Ok, I thought the GFC was pretty bad, but this really indicates how tough things have got.
I really hope that’s not a “goodbye” wave :-(