java.lang.AssertionError: expected:<1> but was:<0>

tip

Check your pattern declaration or check your assert declaration.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Beast: unit test failure
    via GitHub by berryma4
    ,
  • GitHub comment 1871#242046164
    via GitHub by berryma4
    ,
  • GitHub comment 5453#150218665
    via GitHub by hasancelik
    ,
  • GitHub comment 5453#160567760
    via GitHub by hasancelik
    ,
  • GitHub comment 6966#161556501
    via GitHub by hasancelik
    ,
  • GitHub comment 5453#162447344
    via GitHub by hasancelik
    ,
  • GitHub comment 5453#167542816
    via GitHub by hasancelik
    ,
  • GitHub comment 5453#167740565
    via GitHub by hasancelik
    ,
    • java.lang.AssertionError: expected:<1> but was:<0> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.csstudio.alarm.beast.client.GUIUpdateThrottleUnitTest.testThrottle(GUIUpdateThrottleUnitTest.java:47)

    Users with the same issue

    jokester
    jokester2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    rocday
    rocday1 times, last one,
    musketyr
    musketyr10 times, last one,
    94 more bugmates