From cfcae8d657cb7d13acf2de753bd0e6db117e27f7 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Mon, 1 Aug 2011 19:03:26 -0300 Subject: Improved and fixed the setter and getter writer functions. Also added an unit test to a protected container property. --- tests/libsample/protected.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/libsample') diff --git a/tests/libsample/protected.h b/tests/libsample/protected.h index 645dd93e9..1dc628d84 100644 --- a/tests/libsample/protected.h +++ b/tests/libsample/protected.h @@ -27,6 +27,7 @@ #include "objecttype.h" #include "point.h" #include +#include class ProtectedNonPolymorphic { @@ -128,6 +129,7 @@ public: {} protected: int protectedProperty; + std::list protectedContainerProperty; Event::EventType protectedEnumProperty; Point protectedValueTypeProperty; Point* protectedValueTypePointerProperty; @@ -135,4 +137,3 @@ protected: }; #endif // PROTECTED_H - -- cgit v1.2.3