xtremelabs/robolectric — pull request #10 by AndreGray (2014-07-30 13:20:57+00:00)
Title: Add check for width and height in createBitmap()

Checks width and height for negative or 0 value and throws IllegalArgumentException in error case. Follows original implementation in android.java.Bitmap.

This fixes issue #9 (xtremelabs#9).