assertj-android v1.2.0 Release Notes
Release Date: 2017-08-26 // almost 6 years ago-
- Support libraries updated to 26.
- New assertions!
android.support.design.widget.TextInputLayout
android.support.v4.media.MediaMetadataCompat
- New:
ViewAssert
gains assertions forelevation
,z
, andtranslationZ
. - New:
TimePickerAssert
gains assertions forhour
andminute
. - New:
IntentAssert
gains assertions forpacakge
. - Fix:
ViewAssert.hasTag
now checks based on equality, not identity. - Fix:
BluetoothClassAssert.doesNotHave
to correctly assert negatively. - Fix:
BluetoothGattCharacteristicAssert.hasUuid
to assert against actual value. - Fix:
BluetoothGattDescriptorAssert.hasUuid
to assert against actual value. - Fix:
BluetoothGattServiceAssert.hasUuid
to assert against actual value. - Fix:
ViewAssert.canResolveTextAlignment
andcanNotResolveTextAlignment
to check the correct property. - Fix:
DisplayAssert.hasDisplayId
to assert against actual value. - Fix:
ToastAssert.hasGravity
to assert against actual value. - Fix:
AnimationAssert.hasStartTime
to assert against actual value. - Fix:
RecyclerViewLayoutManagerAssert.hasMinimumWidth
andhasMinimumHeight
to assert against actual value. - Fix:
MediaRouteDiscoveryRequestAssert
now assert against actual values.
Previous changes from v1.1.1
-
- Add assertion for
Uri
. - New: Overload for
IntentAssert.hasExtra
which takes a value to compare. - Fix:
NotificationAssert.hasFlags
now checks to see if the specified flags are set while allowing unspecified flags to also be set. UsehasOnlyFlags
to check for an exact match. - Fix:
TabLayoutAssert.hasTabMode
now correctly compares against the tab mode instead of count.
- Add assertion for