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 | 5 months ago
  1. 0

    GitHub comment 2542#230068779

    GitHub | 5 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)
  2. 0

    GitHub comment 9#261239007

    GitHub | 3 weeks ago | bpburns
    org.junit.ComparisonFailure: failure - strings are not equal expected:<[{"0":"[Apples","1":{"0":["Fruit"],"1":[3],"2":[ 42],"3":["WA"],"length":4},"length":2},{"0":"Oranges","1": {"0":["Fruit","Citrus"],"1":[2],"2":[21],"3":["FL]"],"length":4},"leng...> but was:<[{"0":"[Oranges","1":{"0":["Fruit","Citrus"],"1":[2]," 2":[21],"3":["FL"],"length":4},"length":2},{"0":"Apples","1" :{"0":["Fruit"],"1":[3],"2":[42],"3":["WA]"],"length":4},"leng...>
  3. 0

    GitHub comment 40#251768148

    GitHub | 2 months ago | pboyer
    org.junit.ComparisonFailure: expected:<[@0,0:[4=''xxx'',<1>,1:0] [@1],5:4='<EOF>',<-1>,1:...> but was:<[@0,0:[0=''',<2>,1:0] [@3],5:4='<EOF>',<-1>,1:...>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 9#261239007

    GitHub | 3 weeks ago | bpburns
    org.junit.ComparisonFailure: failure - strings are not equal expected:<...1},"length":2},{"0":[{"0":5,"1":3,"length":2}," 1":{"2":1},"length":2},{"0":5,"1":{"1]":1},"length":2}]> but was:<...1},"length":2},{"0":[5,"1":{"1":1},"length":2},{"0" :{"0":5,"1":3,"length":2},"1":{"2]":1},"length":2}]>
  6. 0

    GitHub comment 9#261195278

    GitHub | 3 weeks ago | rosale
    org.junit.ComparisonFailure: failure - strings are not equal expected:<[{"0":"[Apples","1":{"0":["Fruit"],"1":[3],"2":[42],"3":["WA"],"length":4},"length":2},{"0":"Oranges","1":{"0":["Fruit","Citrus"],"1":[2],"2":[21],"3":["FL]"],"length":4},"leng...> but was:<[{"0":"[Oranges","1":{"0":["Fruit","Citrus"],"1":[2],"2":[21],"3":["FL"],"length":4},"length":2},{"0":"Apples","1":{"0":["Fruit"],"1":[3],"2":[42],"3":["WA]"],"length":4},"leng...>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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