FavoritesViewTest fails

Tell us what you think about our book and report any errata. Sample chapters are available at http://www.qualityeclipse.com/

(Note: Previous Editions were called "Eclipse: Building Commercial Quality Plugins")

Moderators: Eric Clayberg, Dan Rubel

FavoritesViewTest fails

Postby ckh0295 » Thu Nov 02, 2006 8:15 pm

In 2nd edition section 2.8 P.95 the testView() method fails when testing the content.

junit.framework.AssertionFailedError: expected:<[Ljava.lang.Object;@82acef> but was:<[Ljava.lang.String;@127a20c>
at junit.framework.Assert.fail(Assert.java:47)

I pasted the code from the source webpage and checked it several times so I am fairly certain my code is the same as on P95.

Should the code:

be in a loop like the code for the label test?
Posts: 1
Joined: Thu Nov 02, 2006 8:02 pm

Return to Book: Eclipse Plug-Ins (3rd Edition)

Who is online

Users browsing this forum: No registered users and 1 guest