This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse 3.2 and JUnit

 
Haakon Lind
Greenhorn
Posts: 22
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I`m migrating from Eclipse 3.1 to 3.2 and stumbled upon a strange problem with the integrated JUnit. In 3.2 I can`t get the "Compare Actual With Expected Test Result" to be enabled, where it is in 3.1 on the same test.

Is this feature not implemented in 3.2 or am I missing some configuration?

Thanks,
Haakon
 
Haakon Lind
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, this worked with an update, please delete.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34084
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Haakon,
We like to leave threads with answers. That way if someone has the same problem, they will know the solution.

Good to hear you got it working!
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get the same problem on Eclipse Juno (4.2):


Most answers I found report that this is the case if your assertion doesn't compare Strings, but my article.author is a String. Unfortunately it is null, and if it isn't, the comparison works as expected.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic