From 9ff7894ef1eeff001f3ddc1a1caec18176428fa1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Aug 2016 20:26:16 +0300 Subject: Add some cleanup calls in unit tests. --- src/gui/widgets/browserbox_unittest.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/widgets/browserbox_unittest.cc') diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc index 9aadeac09..e0ff9e13d 100644 --- a/src/gui/widgets/browserbox_unittest.cc +++ b/src/gui/widgets/browserbox_unittest.cc @@ -27,6 +27,8 @@ #include "gui/widgets/browserbox.h" +#include "resources/resourcemanager/resourcemanager.h" + #include "resources/sdlimagehelper.h" #include @@ -43,6 +45,7 @@ TEST_CASE("BrowserBox tests", "browserbox") logger = new Logger(); imageHelper = new SDLImageHelper(); theme = new Theme; + ResourceManager::init(); ActorSprite::load(); Widget::setGlobalFont(new Font("/usr/share/fonts/truetype/" "ttf-dejavu/DejaVuSans-Oblique.ttf", 18)); -- cgit v1.2.3-70-g09d2