org.junit.ComparisonFailure: [before recycle] expected:<[1]> but was:<[0]> org.robolectric.shadows.ShadowObjectAnimatorTest > start_shouldRunAnimation[17] FAILED Wanted but not invoked: animatorListener.onAnimationEnd( ObjectAnimator@10a15fd6, target org.robolectric.shadows.ShadowObjectAnimatorTest$AnimatorTarget@529ae321 transparency: 0 1 2 3 4 ); -> at org.robolectric.shadows.ShadowObjectAnimatorTest.start_shouldRunAnimation(ShadowObjectAnimatorTest.java:33) However, there were other interactions with this mock: -> at android.animation.ValueAnimator.$$robo$$notifyStartListeners(ValueAnimator.java:881)

GitHub | xian | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 2542#230068779

    GitHub | 9 months ago | xian
    org.junit.ComparisonFailure: [before recycle] expected:<[1]> but was:<[0]> org.robolectric.shadows.ShadowObjectAnimatorTest > start_shouldRunAnimation[17] FAILED Wanted but not invoked: animatorListener.onAnimationEnd( ObjectAnimator@10a15fd6, target org.robolectric.shadows.ShadowObjectAnimatorTest$AnimatorTarget@529ae321 transparency: 0 1 2 3 4 ); -> at org.robolectric.shadows.ShadowObjectAnimatorTest.start_shouldRunAnimation(ShadowObjectAnimatorTest.java:33) However, there were other interactions with this mock: -> at android.animation.ValueAnimator.$$robo$$notifyStartListeners(ValueAnimator.java:881)

    Root Cause Analysis

    1. org.junit.ComparisonFailure

      [before recycle] expected:<[1]> but was:<[0]> org.robolectric.shadows.ShadowObjectAnimatorTest > start_shouldRunAnimation[17] FAILED Wanted but not invoked: animatorListener.onAnimationEnd( ObjectAnimator@10a15fd6, target org.robolectric.shadows.ShadowObjectAnimatorTest$AnimatorTarget@529ae321 transparency: 0 1 2 3 4 ); -> at org.robolectric.shadows.ShadowObjectAnimatorTest.start_shouldRunAnimation(ShadowObjectAnimatorTest.java:33) However, there were other interactions with this mock: -> at android.animation.ValueAnimator.$$robo$$notifyStartListeners(ValueAnimator.java:881)

      at org.robolectric.shadows.ShadowObjectAnimatorTest.start_shouldRunAnimation()
    2. Roboelectric HTTP
      ShadowObjectAnimatorTest.start_shouldRunAnimation
      1. org.robolectric.shadows.ShadowObjectAnimatorTest.start_shouldRunAnimation(ShadowObjectAnimatorTest.java:33)
      1 frame