doesNotHaveVisibleDrawable

Tests all views in the hierarchy under the root, for which the path is visible, do not have the requested drawable by the given resource id. For this assertion to work, Robolectric must be immediately available and be able to load the drawable corresponding to this resource id.

Return

the assertions object

Parameters

resourceId

the resource id of the drawable to look for


Tests all views in the hierarchy under the root, for which the path is visible, are not displaying the requested drawable

Return

the assertions object

Parameters

drawable

the drawable to look for