Convert project from 'fest-android' to 'assertj-android'.
- New: Add-on modules!
- Support library (v4)
- Google Play Services
- AppCompat (v7)
- Media Router (v7)
- Grid Layout (v7)
- Recycler View (v7)
- Card View (v7)
- Pallete (v7)
NOTE: The following change log is from the 'fest-android' releases which remain a part of this repository history.
- New assertions:
android.content.SharedPreferences
- Added
hasItem
anddoesNotHaveItem
check toAdapter
. - Added
hasRequestedOrientation
check toActivity
. - Fix:
TextView
'sendsWith
now properly matches the end of text instead of start.
- Added check for input method target for
TextView
. - Fix:
TextView
empty check uses emptyString
instead of emptyCharSequence
. - Fix: Correct missing format arguments on some error strings.
- Added checks for the absence of fragments by ID or tag on
FragmentManager
. - Added component name and data check for
Intent
. - Fix: Correct missing format arguments on some error strings.
- Added bitmap and paint check to
BitmapDrawble
. - Added map-liked assertions for
ContentValues
.
- Added custom view check for
ActionBar
. - Added flag assert for
Intent
. - Added regex 'matches' and 'does not match' for
TextView
.
- Update to FEST 2.0M10 which resolves a potential Android incompatibility.
- New assertions:
android.content.ContentValues
- Added negative assertions to
CursorLoader
. - Added
String
text assertion toTextView
. - Generation script now supports Python 3.
- 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.
Initial release.