assertj-android v1.0.1 Release Notes
Release Date: 2015-07-23 // over 8 years ago-
- New assertions:
android.app.Instrumentation.ActivityMonitor
android.app.Instrumentation.ActivityResult
android.app.ListActivity
android.preference.CheckBoxPreference
android.preference.DialogPreference
android.preference.EditTextPreference
android.preference.ListPreference
android.preference.MultiSelectListPreference
android.preference.PreferenceActivity
android.preference.Preference
android.preference.PreferenceGroup
android.preference.PreferenceScreen
android.preference.RingtonePreference
android.preference.SwitchPreference
android.preference.TwoStatePreference
android.util.AttributeSet
android.util.Pair
- Added convenience methods for orientations to
Display
,LinearLayout
, andGridLayout
. - Added error and ellipsis checks for
TextView
. - Added column name checks for
Cursor
. LinearLayout
andAdapterView
assertions now correctly extend fromViewGroup
assertions.- Added
TextView
text assertions for empty, contains, starts with, and ends with. - Added general
hasVisibility(int)
assertion forView
. - Correct spelling of
isNotInvisible
assertions forView
. - Support for generics by assertions classes (e.g.,
LruCacheAssert<K, V>
). - Support using string resource ID for most text assertions.
- New assertions: