Community
Participate
Working Groups
Build Identifier: I20110613-1736 In earlier versions of Eclipse, if a JUnit 3 test failed with ComparisonFailure, you could double-click the failure in the Failure Trace pane of the JUnit view, and dialog would pop up showing you the expected and actual string in full, with differences in different colors. No longer. As of 3.7.? we're back to just seeing something like: expected:<...> but was:<...foo> which is pretty useless. This was supposed to be fixed long ago with https://bugs.eclipse.org/bugs/show_bug.cgi?id=45693, but it's back. Reproducible: Always Steps to Reproduce: 1. Write a JUnit 3 test containing assertEquals for two different strings. 2. Run the test. 3. Double click the failure in the JUnit view. Nothing happens.
(In reply to comment #0) > No longer. As of 3.7.? we're back to just seeing something like: > > expected:<...> but was:<...foo> This is surprising, I have been using the feature all week on the latest 3.8 builds and that too on Linux. - On Double click, the dialog showing the comparison did not open? Did you double click with the mouse pointer somewhere in "expected:<...> but was:<...foo>" ? - Is there something in the error log?
- Nothing in error log. - I did click in the "expected:<...>" area. - Actually, it's not working in 3.6 either. I think it may be related to the Android plugins. So could you close this bug for now please? I'll collect more info before, or if, refiling. Thanks, /rb
(In reply to comment #2) > So could you close this bug for now please? I'll collect more info before, or > if, refiling. Thanks for the update. Please reopen this bug when you have more info.
http://stackoverflow.com/questions/23100211/eclipse-junit-differencies-window https://github.com/junit-team/junit/pull/949/