diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-10 11:17:11 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-15 14:01:38 -0300 |
commit | 752c22056f4ba61961a01819992f9af71a3b0416 (patch) | |
tree | de1531dc76801c6d7fdc6688be3879b920f95975 /tests/testabstractmetaclass.h | |
parent | 2bf0c409590c15b72a960d693fad4ac48ce4b8a6 (diff) |
Fix a bug related to function default values.
ApiExtractor tries to modify the defaultValue every time, so then return value of
originalDefaultValue() if diferent from the return value of defaultValue() when
they dont need to be.
Unit test included.
Diffstat (limited to 'tests/testabstractmetaclass.h')
-rw-r--r-- | tests/testabstractmetaclass.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testabstractmetaclass.h b/tests/testabstractmetaclass.h index 54336e7bf..c89cbc5d1 100644 --- a/tests/testabstractmetaclass.h +++ b/tests/testabstractmetaclass.h @@ -35,6 +35,8 @@ private slots: void testClassName(); void testClassNameUnderNamespace(); void testVirtualMethods(); + void testDefaultValues(); + void testModifiedDefaultValues(); }; #endif // TESTABSTRACTMETACLASS_H |