From 35ab8b8e722b73a3a3ed9312379f6ab849252e19 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Mon, 25 Jul 2011 22:44:53 -0300 Subject: Added improved functionality for the 'conversion-rule' tag. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed by Renato Araújo --- tests/testconversionruletag.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/testconversionruletag.h') 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 -- cgit v1.2.3