lukhnos/syrup — pull request #1 by dryman (2011-11-15 07:41:06+00:00)
Title: Add IMK Controller Test

Use OCUnit to test IMK controller behaviors.
To test an event, use CGEventCreateKeyboardEvent to create a virtual keyboard event, then use [NSEvent eventWithCGEvent:(CGEventRef)] and forward the event to corresponding handler.

The testing target is not linked to system event loop, so running gdb won't hang Xcode or system. This will speed up prototyping custom IM's behavior.