From dd5f74defcfd5a0294d2ddbd48ad02008aacc361 Mon Sep 17 00:00:00 2001 From: Matthew Wilber Date: Mon, 1 Mar 2004 01:38:09 +0000 Subject: [PATCH] updated config message test to include new "ignore alpha" setting git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6831 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../add-ons/translators/tgatranslator/TGATranslatorTest.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tests/add-ons/translators/tgatranslator/TGATranslatorTest.cpp b/src/tests/add-ons/translators/tgatranslator/TGATranslatorTest.cpp index 455e1bcf8f..69070d09dd 100644 --- a/src/tests/add-ons/translators/tgatranslator/TGATranslatorTest.cpp +++ b/src/tests/add-ons/translators/tgatranslator/TGATranslatorTest.cpp @@ -555,6 +555,12 @@ TGATranslatorTest::ConfigMessageTest() bool brle; CPPUNIT_ASSERT(msg.FindBool("tga /rle", &brle) == B_OK); CPPUNIT_ASSERT(brle == true || brle == false); + + // "tga /ignore_alpha" + NextSubTest(); + bool balpha; + CPPUNIT_ASSERT(msg.FindBool("tga /ignore_alpha", &balpha) == B_OK); + CPPUNIT_ASSERT(balpha == true || balpha == false); } #if !TEST_R5