Closed debaj closed 7 years ago
Pull requests are welcome!
On Mon, Aug 7, 2017 at 6:53 AM debaj notifications@github.com wrote:
TransportController and TransportMediator classes were removed from support-v4 26.0.0 and their functionality was replaced with MediaControllerCompat. This is a breaking change as apps using the latest support library fail to compile, even when they are not using any of the above classes.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/square/assertj-android/issues/221, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEEEeGlymIVmMZMZEUEqXbDUg8oO1vxks5sVxbdgaJpZM4Ovd8N .
PR created, please review.
There is a workaround, albeit a hack. Simply create empty classes matching the removed classes into the src/test/java/android/support/v4/media/
directory:
package android.support.v4.media;
public class TransportController {}
package android.support.v4.media;
public class TransportMediator {}
Yeah we are doing a similar thing, we replaced the assertion class without the two missing support classes.
Released as 1.2.0
TransportController and TransportMediator classes were removed from support-v4 26.0.0 and their functionality was replaced with MediaControllerCompat. This is a breaking change as apps using the latest support library fail to compile with assertj, even when they are not using any of the above classes.