diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-26 18:34:32 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-26 22:15:52 -0200 |
commit | 59bf883ba7a3678ad11e9eed7ddc93636b4c3424 (patch) | |
tree | bbd3a8ec4a8fd35e0801ed1b39c39af078e0b631 /tests | |
parent | e5654bd14cc0d034192104bb4325ba639d4f043c (diff) |
writeMinimalConstructorCallArguments knowns about enums.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libother/otherderived.h | 1 | ||||
-rw-r--r-- | tests/libsample/abstract.h | 2 | ||||
-rw-r--r-- | tests/libsample/derived.h | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/libother/otherderived.h b/tests/libother/otherderived.h index 994aaca66..d980ec780 100644 --- a/tests/libother/otherderived.h +++ b/tests/libother/otherderived.h @@ -49,6 +49,7 @@ public: virtual ~OtherDerived(); virtual void pureVirtual(); virtual void unpureVirtual(); + virtual PrintFormat returnAnEnum() { return Short; } void useObjectTypeFromOtherModule(ObjectType*) {} void useValueTypeFromOtherModule(const Complex&) {} diff --git a/tests/libsample/abstract.h b/tests/libsample/abstract.h index 63ac59441..b9c0713c7 100644 --- a/tests/libsample/abstract.h +++ b/tests/libsample/abstract.h @@ -61,6 +61,8 @@ public: virtual void pureVirtual() = 0; virtual void unpureVirtual(); + virtual PrintFormat returnAnEnum() = 0; + void callPureVirtual(); void callUnpureVirtual(); diff --git a/tests/libsample/derived.h b/tests/libsample/derived.h index 9e0e33a82..29639bddd 100644 --- a/tests/libsample/derived.h +++ b/tests/libsample/derived.h @@ -56,6 +56,8 @@ public: virtual void pureVirtual(); virtual void unpureVirtual(); + virtual PrintFormat returnAnEnum() { return Short; } + // factory method static Abstract* createObject(); |