diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-03 21:00:52 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-10 08:42:22 -0300 |
commit | acdd27d2497bbc769025e3efe683f67378bd907e (patch) | |
tree | 0382dad9b4f76e35e21e4266e75b47e6ac801f70 /tests/libsample/abstract.h | |
parent | ec2b9250a03e0aa5778938ff7fc2441350cefc65 (diff) |
Adds tests for classes with public member variables.
Three kinds of types are represented: primitive, value and object types.
The unit tests also check for correct reference counting.
Diffstat (limited to 'tests/libsample/abstract.h')
-rw-r--r-- | tests/libsample/abstract.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/libsample/abstract.h b/tests/libsample/abstract.h index 99d9a1b78..06f8d983e 100644 --- a/tests/libsample/abstract.h +++ b/tests/libsample/abstract.h @@ -36,6 +36,9 @@ #define ABSTRACT_H #include "libsamplemacros.h" +#include "point.h" + +class ObjectType; class LIBSAMPLE_API Abstract { @@ -47,6 +50,10 @@ public: ClassNameAndId }; + int primitiveField; + Point valueTypeField; + ObjectType* objectTypeField; + Abstract(int id = -1); virtual ~Abstract(); |