Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

assertNotSame pRmeters  RSS feed

 
sam liya
Ranch Hand
Posts: 1246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this example i got from internet.
it shows assertNotSame method takes one time two parameters and one time three parameters.
why is that
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you take a look at the JavaDoc?

http://junit.sourceforge.net/javadoc_40/org/junit/Assert.html#assertNotSame(java.lang.String,%20java.lang.Object,%20java.lang.Object)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!