Page MenuHomePhabricator

propertylisttestmac.patch

Authored By
fangerau
Sep 17 2010, 7:18 PM
Size
758 B
Referenced Files
None
Subscribers
None

propertylisttestmac.patch

Index: mitkPropertyListTest.cpp
===================================================================
--- mitkPropertyListTest.cpp (revision 25989)
+++ mitkPropertyListTest.cpp (working copy)
@@ -135,6 +135,8 @@
//else
// return EXIT_FAILURE;
+// templated METHOD GetPropertyValue<...> does NOT work currently on Macs, take it out of tests for now
+#if !(defined (__APPLE__) || defined(MACOSX))
std::cout << "Testing GetPropertyValue(bool): ";
mitk::BoolProperty::Pointer gpvTest = mitk::BoolProperty::New(true);
propList->SetProperty("gpvBool", gpvTest);
@@ -183,6 +185,7 @@
std::cout << "Exception thrown! [FAILED]" << std::endl;
return EXIT_FAILURE;
}
+#endif
{
std::cout << "Testing GetBoolProperty(): ";

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
499
Default Alt Text
propertylisttestmac.patch (758 B)

Event Timeline

disabling testing of the non-working templated method on macs