My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 187: Eclipse plugin mislabels 'expected' and 'actual' results when comparing failed test results
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Jun 2010


 
Reported by RichardD...@gmail.com, May 4, 2010
What steps will reproduce the problem?

1. Use the Eclipse MXUnit text runner plugin to run a test that will fail.
2. The 'Tag Context' pane will report the failed test result.
3. Click the compare icon to compare the actual result with the expected
result.
4. Eclipse opens a compare window, highlighting the differences between the
two results. 


What is the expected output? What do you see instead?

The results are mislabeled. The actual result is labeled 'expected result'
and the expected result is labeled 'actual result'.


What version of the product are you using? On what operating system?

Eclipse 3.5.2 with MXUnit Test Runner 1.3.0.201004040614 on Windows XP
May 4, 2010
Project Member #1 marc.es...@gmail.com
I believe you have the order of arguments wrong in your CF code. Because when I type:

assertEquals("a", "b")

and run that in the plugin, "a" is in the "expected" pane and "b" is in the "actual" 
pane
May 4, 2010
#2 RichardD...@gmail.com
Aaahh! You're correct... I totally didn't even think of checking that--how silly of
me. Thanks!
Jun 30, 2010
Project Member #3 virtix
closed
Status: Invalid

Powered by Google Project Hosting