pivotal/robolectric — pull request #260 by xaethos (2012-05-14 15:29:10+00:00)
Title: MatrixCursor.getBlob and Number casting

Implements getBlob() on ShadowMatrixCursor. Also, number getters (e.g. getInt, getFloat) now first to Number and then call the appropriate value method (e.g. intValue, floatValue). This allows for a bit more flexibility when setting the cursor rows. Finally, getString calls toString on whatever is on the column.

This is closer to the real MatrixCursor behavior, which in addition to all this does null checks and returns sensible values.