diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-12-16 14:08:29 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:12:49 -0300 |
commit | 36c80e6daab7b8d69458c1a8154f4a17ee1ea303 (patch) | |
tree | ec11e8808640f67d27530f8f3ac18d62f1463751 /tests/samplebinding/global.h | |
parent | 18fedbce6893ee76c3dce04f0aaf814c93d57a34 (diff) |
Added tests to check the release of ownership of objects returned from Python.
The ObjectModel test class was introduced to check if the transference
of ownership of objects returned from Python to C++ through a virtual
method is working properly.
Also updated the other test that uses the ObjectView class.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/samplebinding/global.h')
-rw-r--r-- | tests/samplebinding/global.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/samplebinding/global.h b/tests/samplebinding/global.h index d027b0f57..90cae0835 100644 --- a/tests/samplebinding/global.h +++ b/tests/samplebinding/global.h @@ -20,6 +20,7 @@ #include "multiple_derived.h" #include "noimplicitconversion.h" #include "nondefaultctor.h" +#include "objectmodel.h" #include "objecttype.h" #include "objecttypelayout.h" #include "objecttypereference.h" |