diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-07-25 22:44:53 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:19 -0300 |
commit | 35ab8b8e722b73a3a3ed9312379f6ab849252e19 (patch) | |
tree | 1411f293a32e125874b4b092bb96788b8f583d85 /tests/testconversionruletag.h | |
parent | e7fdca6465740132bd881ffd9d20e61be47472d0 (diff) |
Added improved functionality for the 'conversion-rule' tag.
It works for primitive, container and value types. Object types doesn't
have conversion rules because they can not have implicit conversions,
and the regular conversion is always the same (get C++ object held on
Python wrapper, and finding/creating a Python wrapper to a C++ pointer).
Unit tests were added.
Documentation was updated.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'tests/testconversionruletag.h')
-rw-r--r-- | tests/testconversionruletag.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/testconversionruletag.h b/tests/testconversionruletag.h index afab68889..8ab1481b1 100644 --- a/tests/testconversionruletag.h +++ b/tests/testconversionruletag.h @@ -29,7 +29,10 @@ class TestConversionRuleTag : public QObject { Q_OBJECT private slots: - void testConversionRuleTag(); + void testConversionRuleTagWithFile(); + void testConversionRuleTagReplace(); + void testConversionRuleTagAdd(); + void testConversionRuleTagWithInsertTemplate(); }; -#endif
\ No newline at end of file +#endif |