aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testconversionoperator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Adds many tests regarding default copy constructors.Marcelo Lira2012-03-091-5/+5
| | | | | | | Also updated other tests dealing with constructor counting. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Fix conversionoperator test code.Hugo Lima2010-03-041-5/+6
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
* Disable debug output about typesystem on conversionoperatortest.Hugo Lima2010-03-031-3/+3
|
* Don't add external conversion operators that were removed on type system file.Marcelo Lira2010-03-011-8/+57
| | | | | | With tests, of course. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Added method AbstractMetaBuilder::fixReturnTypeOfConversionOperator(func).Marcelo Lira2010-02-261-0/+71
The new method fixes the return type of conversion operators: they should return the target of the conversion as type and not the type of its owner class. fixReturnTypeOfConversionOperator is used in traverseFunctions. An unit test was added for this case. Note that this behaviour could be fixed in the parser. I dare you!