Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » DateChooserCombo unit testing problem
DateChooserCombo unit testing problem [message #593058] Tue, 30 December 2008 15:40
Jacek Kolodziejczyk is currently offline Jacek KolodziejczykFriend
Messages: 37
Registered: July 2009

The following code in DateChooserCombo breaks unit testing:

static {
buttonImage = new Image(Display.getCurrent(),

I reset it in my TestCase.setUp() method by using reflection as a work
around. But in my opinion setImage(Image) should recreate the image if
image.getDevice().isDisposed() == true.

Is it a known/fixed issue or I should post a bug?

Previous Topic:Grid - background and foreground color
Next Topic:DateChooserCombo unit testing problem
Goto Forum:

Current Time: Tue Oct 06 12:24:03 GMT 2015

Powered by FUDForum. Page generated in 0.01510 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software