File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Junit Testcase Array problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Junit Testcase Array problem" Watch "Junit Testcase Array problem" New topic

Junit Testcase Array problem

Zaid khan

Joined: Dec 07, 2008
Posts: 4
I have tried making Junit 4 testcase for arrays.Which means that My expected values varies from 0 to 100 and they will be tested with actual value 10.It shows me that test passes for 1 to 10 but fail from 11 to 100.I need help to make working.Here is my

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 45307
We can't work out what is going wrong from such scanty detail. What goes wrong? What is each method supposed to do?
Bert Bates

Joined: Oct 14, 2002
Posts: 8898
intermediate level...

Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
I agree. Here's the link:
subject: Junit Testcase Array problem
It's not a secret anymore!