aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-08-01 19:03:26 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:07 -0300
commitcfcae8d657cb7d13acf2de753bd0e6db117e27f7 (patch)
tree5c808a8bec68dd12606598a2ad66c3feab11c376 /tests/libsample
parent22c7b2e24212b41fc941121f8df83eb238f8e0d3 (diff)
Improved and fixed the setter and getter writer functions.
Also added an unit test to a protected container property.
Diffstat (limited to 'tests/libsample')
-rw-r--r--tests/libsample/protected.h3
1 files changed, 2 insertions, 1 deletions
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 <string>
+#include <list>
class ProtectedNonPolymorphic
{
@@ -128,6 +129,7 @@ public:
{}
protected:
int protectedProperty;
+ std::list<int> protectedContainerProperty;
Event::EventType protectedEnumProperty;
Point protectedValueTypeProperty;
Point* protectedValueTypePointerProperty;
@@ -135,4 +137,3 @@ protected:
};
#endif // PROTECTED_H
-