Results 1 to 15 of 15
Thread: JUnit errors
- 02-14-2013, 04:37 PM #1
Member
- Join Date
- Oct 2012
- Posts
- 64
- Rep Power
- 0
- 02-14-2013, 04:43 PM #2
Re: JUnit errors
Yes!
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 02-14-2013, 04:44 PM #3
Member
- Join Date
- Oct 2012
- Posts
- 64
- Rep Power
- 0
Re: JUnit errors
Yeah that really helps...
- 02-14-2013, 04:45 PM #4
Member
- Join Date
- Oct 2012
- Posts
- 64
- Rep Power
- 0
Re: JUnit errors
Answering "yes" to the question doesn't even make sense!
- 02-14-2013, 04:52 PM #5
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: JUnit errors
Neither does your question with the amount of information supplied.
You haven't said what errors you are getting, what your tests look like, what the code they're testing looks like.
"Yes" is about as meaningful an answer as can be expected.Please do not ask for code as refusal often offends.
** This space for rent **
- 02-14-2013, 04:57 PM #6
Member
- Join Date
- Oct 2012
- Posts
- 64
- Rep Power
- 0
Re: JUnit errors
That's the problem Eclipse won't tell me. If there's an error in the code it will always say when you highlight the big red X but this just tells me theres an error?
- 02-14-2013, 05:01 PM #7
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: JUnit errors
So it's not compiling?
Is that what you're saying?Please do not ask for code as refusal often offends.
** This space for rent **
- 02-14-2013, 05:19 PM #8
Member
- Join Date
- Oct 2012
- Posts
- 64
- Rep Power
- 0
Re: JUnit errors
I noticed underneath is says java.lang.ArrayIndexOutOfBoudsException: -1
But we haven't covered exceptions yet, so we wouldn't have to catch exceptions in this exercise?
- 02-14-2013, 05:22 PM #9
Re: JUnit errors
then you've got a programming error. An arry index of -1 is not possible. Either your test case is injecting invalid values into the code you're testing, or the actual code has flaws.
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 02-14-2013, 05:53 PM #10
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: JUnit errors
So back to my first post:
"You haven't said what errors you are getting, what your tests look like, what the code they're testing looks like."
You're expecting us to fly blind here.Please do not ask for code as refusal often offends.
** This space for rent **
- 02-15-2013, 10:21 AM #11
Re: JUnit errors
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 02-15-2013, 10:53 AM #12
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: JUnit errors
It's in with the mechanic to get repaired.
Please do not ask for code as refusal often offends.
** This space for rent **
- 02-15-2013, 04:10 PM #13
Member
- Join Date
- Oct 2012
- Posts
- 64
- Rep Power
- 0
Re: JUnit errors
Tolls I pm'd you have you seen it yet?
- 02-15-2013, 04:35 PM #14
Moderator
- Join Date
- Apr 2009
- Posts
- 13,541
- Rep Power
- 27
Re: JUnit errors
I don't do PMs.
This is an open forum.Please do not ask for code as refusal often offends.
** This space for rent **
- 02-15-2013, 06:14 PM #15
Member
- Join Date
- Oct 2012
- Posts
- 64
- Rep Power
- 0
Similar Threads
-
JUnit help please
By FIREDANCEXS in forum New To JavaReplies: 3Last Post: 04-25-2012, 04:44 AM -
junit 4 QTP
By limcy in forum Advanced JavaReplies: 0Last Post: 09-26-2011, 08:20 AM -
First Java Program-Compile Errors (errors are posted)-simple GUI
By cc11rocks in forum AWT / SwingReplies: 4Last Post: 01-04-2011, 01:36 AM -
What is the difference between Semantic Errors and Logical Errors?
By tlau3128 in forum New To JavaReplies: 3Last Post: 03-08-2009, 02:51 AM -
Junit
By Azndaddy in forum New To JavaReplies: 6Last Post: 06-15-2008, 07:47 AM
Bookmarks