TestHandlerThread tester = new BaseTestHandler() {
public void go() {
super.go();
long now = SystemClock.uptimeMillis() + 200;
mLastMessage = 4;
mCount = 0;
mHandler.sendMessageAtTime(mHandler.obtainMessage(2), now + 1);
mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now + 2);
mHandler.sendMessageAtTime(mHandler.obtainMessage(4), now + 2);
mHandler.sendMessageAtTime(mHandler.obtainMessage(0), now + 0);
mHandler.sendMessageAtTime(mHandler.obtainMessage(1), now + 0);
}
};
tester.doTest(1000);