]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixed BrowseContext test code to work headlessly 84/484/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 5 May 2017 10:41:01 +0000 (13:41 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 5 May 2017 11:20:36 +0000 (14:20 +0300)
Previous code invoked JFaceResources.getDefaultFontDescriptor which
eventually invoked Display.getCurrent which would assert out in a
headless test environment.

refs #7184

Change-Id: I59349b8845b8f41d96356764972abcac44d35022
(cherry picked from commit 53e9b3dac5648f360cd91478d9e6e7a495631b08)


No differences found