diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-03-30 19:30:25 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:09:59 -0300 |
commit | 6acf826b4b2eab32237845f98228171bb8be213c (patch) | |
tree | 13dff04c39b74817851a5f8f99a483aff8adf040 /tests/testreverseoperators.h | |
parent | 458735ffaf282cf703698a86ec54f25a0df077d9 (diff) |
Adds reverse operator functions to the proper classes.
AbstractMetaBuilder::traverseOperatorFunction does additional checks
to avoid mistaken a class' reverse operator as a direct operator of
another class.
An unit test was added to check for this case.
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'tests/testreverseoperators.h')
-rw-r--r-- | tests/testreverseoperators.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testreverseoperators.h b/tests/testreverseoperators.h index 470e576cc..d5bdd9a1c 100644 --- a/tests/testreverseoperators.h +++ b/tests/testreverseoperators.h @@ -30,6 +30,7 @@ class TestReverseOperators : public QObject Q_OBJECT private slots: void testReverseSum(); + void testReverseSumWithAmbiguity(); }; #endif |