junit.framework.AssertionFailedError: expected:<?> but was:<?>

poi-dev | avik.sengupta@itellix.com | 1 decade ago
  1. 0

    Re: HPSF Testcase on HEAD

    poi-dev | 1 decade ago | avik.sengupta@itellix.com
    junit.framework.AssertionFailedError: expected:<?> but was:<?>
  2. 0

    Re: HPSF Testcase on HEAD

    poi-dev | 1 decade ago | avik.sengupta@itellix.com
    junit.framework.AssertionFailedError: expected:<?> but was:<?>
  3. 0

    Confusion about column types in dbunit and creating dtd for datasets

    Stack Overflow | 5 years ago | jimgardener
    junit.framework.AssertionFailedError: expected:&lt;org.dbunit.dataset.DefaultTable@12d8ecd&gt; but was:&lt;org.dbunit.database.CachedResultSetTable@1fa5e5e&gt;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unit testing for EditTextView. How do I do it?

    Stack Overflow | 5 years ago | Hick
    junit.framework.AssertionFailedError: expected:&lt;hello&gt; but was:&lt;&gt;
  6. 0

    java.hudson.devel - AW: Re: Problem with locale/language in resource bundles - msg#00165 - Recent Discussion OSDir.com

    osdir.com | 5 months ago
    junit.framework.AssertionFailedError: expected:<SUCCESS> but was:<FAILURE>

  1. tzrlk 2 times, last 3 months ago
7 unregistered visitors
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. junit.framework.AssertionFailedError

    expected:<?> but was:<?>

    at junit.framework.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. junit.framework.Assert.fail(Assert.java:47)
    2. junit.framework.Assert.failNotEquals(Assert.java:282)
    3. junit.framework.Assert.assertEquals(Assert.java:64)
    4. junit.framework.Assert.assertEquals(Assert.java:71)
    4 frames