From b17c6f4bc00082ed3b66bf1015414c7aa9e37d2a Mon Sep 17 00:00:00 2001 From: Matthew Wilber Date: Tue, 27 May 2003 00:48:53 +0000 Subject: [PATCH] added BApplication object to TranslationTest so that the call to system_colors() in TGATranslator would succeed git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3349 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../add-ons/translators/tgatranslator/TGATranslatorTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tests/add-ons/translators/tgatranslator/TGATranslatorTest.cpp b/src/tests/add-ons/translators/tgatranslator/TGATranslatorTest.cpp index 29cdd46278..ce46f6bad3 100644 --- a/src/tests/add-ons/translators/tgatranslator/TGATranslatorTest.cpp +++ b/src/tests/add-ons/translators/tgatranslator/TGATranslatorTest.cpp @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -362,6 +363,9 @@ TranslateTests(TGATranslatorTest *ptest, BTranslatorRoster *proster, void TGATranslatorTest::TranslateTest() { + BApplication + app("application/x-vnd.OpenBeOS-TGATranslatorTest"); + // Init NextSubTest(); status_t result = B_ERROR;