JUnit Console-Output [message #68182] |
Thu, 26 June 2003 11:36  |
Eclipse User |
|
|
|
Hello,
if I get an AssertionFailedError during a JUnit test I get the following
output in the console:
testEntityGetAspectString(): getAspectString: expected:<User....> but
was:<...>
caused by the the fallowing assertion
assertEquals("getAspectString: ", "User.UserGroup",
group.getAspectString());
Why are the Strings cropped? Is this an issue of Eclipse or JUnit?
Thanks for any suggestions to solve this problem.
Michael Taege
|
|
|
Re: JUnit Console-Output [message #68392 is a reply to message #68182] |
Thu, 26 June 2003 17:38  |
Eclipse User |
|
|
|
Originally posted by: dcorbin.imperitek.com
Michael Taege wrote:
> Hello,
>
> if I get an AssertionFailedError during a JUnit test I get the following
> output in the console:
>
> testEntityGetAspectString(): getAspectString: expected:<User....>
> but was:<...>
>
> caused by the the fallowing assertion
>
> assertEquals("getAspectString: ", "User.UserGroup",
> group.getAspectString());
>
> Why are the Strings cropped? Is this an issue of Eclipse or JUnit?
>
> Thanks for any suggestions to solve this problem.
>
> Michael Taege
This is JUnit. I think it's done that way because the strings might be
many Kbytes long, so they just show you the difference. Some vague
memory tells me this is controlable throught a System setting, but I
could be wrong.
David
|
|
|
Powered by
FUDForum. Page generated in 0.03015 seconds