summaryrefslogtreecommitdiffstats
path: root/tests/libsample/protected.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/protected.h')
-rw-r--r--tests/libsample/protected.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/libsample/protected.h b/tests/libsample/protected.h
index bf4dea04..645dd93e 100644
--- a/tests/libsample/protected.h
+++ b/tests/libsample/protected.h
@@ -24,6 +24,8 @@
#define PROTECTED_H
#include "libsamplemacros.h"
+#include "objecttype.h"
+#include "point.h"
#include <string>
class ProtectedNonPolymorphic
@@ -117,9 +119,19 @@ protected:
class ProtectedProperty
{
public:
- ProtectedProperty() : protectedProperty(0) {}
+ ProtectedProperty()
+ : protectedProperty(0),
+ protectedEnumProperty(Event::NO_EVENT),
+ protectedValueTypeProperty(Point(0, 0)),
+ protectedValueTypePointerProperty(0),
+ protectedObjectTypeProperty(0)
+ {}
protected:
int protectedProperty;
+ Event::EventType protectedEnumProperty;
+ Point protectedValueTypeProperty;
+ Point* protectedValueTypePointerProperty;
+ ObjectType* protectedObjectTypeProperty;
};
#endif // PROTECTED_H