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
hasItemanddoesNotHaveItemcheck toAdapter. - Added
hasRequestedOrientationcheck toActivity. - Fix:
TextView'sendsWithnow properly matches the end of text instead of start.
- Added check for input method target for
TextView. - Fix:
TextViewempty check uses emptyStringinstead 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
Stringtext assertion toTextView. - Generation script now supports Python 3.
- New assertions:
android.app.Instrumentation.ActivityMonitorandroid.app.Instrumentation.ActivityResultandroid.app.ListActivityandroid.preference.CheckBoxPreferenceandroid.preference.DialogPreferenceandroid.preference.EditTextPreferenceandroid.preference.ListPreferenceandroid.preference.MultiSelectListPreferenceandroid.preference.PreferenceActivityandroid.preference.Preferenceandroid.preference.PreferenceGroupandroid.preference.PreferenceScreenandroid.preference.RingtonePreferenceandroid.preference.SwitchPreferenceandroid.preference.TwoStatePreferenceandroid.util.AttributeSetandroid.util.Pair
- Added convenience methods for orientations to
Display,LinearLayout, andGridLayout. - Added error and ellipsis checks for
TextView. - Added column name checks for
Cursor. LinearLayoutandAdapterViewassertions now correctly extend fromViewGroupassertions.- Added
TextViewtext assertions for empty, contains, starts with, and ends with. - Added general
hasVisibility(int)assertion forView. - Correct spelling of
isNotInvisibleassertions forView. - Support for generics by assertions classes (e.g.,
LruCacheAssert<K, V>). - Support using string resource ID for most text assertions.
Initial release.