aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/virtualmethods.h
Commit message (Collapse)AuthorAgeFilesLines
* Updated license headers of the tests (cpp)Friedemann Kleint2016-09-231-21/+27
| | | | | Change-Id: I4e4a42131f9d27b4dda58d919328845a2a328a99 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Replaced Nokia copyrights in headerTeemu Kaukoranta2013-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Replaced old Nokia copyrights with Digia copyrights. Removed "All rights reserved" strings without leading copyrights were removed (for example, 'Copyright SomeCompany, all rights reserved remain untouched). Did NOT touch contact details, will change them later. Excluded folders that have '3rdparty' in path. Used command: find . -path '*/3rdparty/*' -prune -o -exec grep -ilI -E '.*Copyright.*Nokia.*' {} \; | tee >(xargs sed -i -r '1,10 s/([ \t#*]*)(.*Copyright.*Nokia.*)/ \1Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I') >(xargs sed -i -r '1,10 s/(^[ \t#*]*)(all rights reserved.*)/\1/I') This excludes binary files and retains whitespace and #* characters in the beginning of the edited lines. Change-Id: I0d49f991c3dbd45d804843f185714e8681bc6c51 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* Fixed injected code processing to avoid infinite recursion in virtual method ↵Marcelo Lira2012-03-081-0/+3
| | | | | | calls. Unit tests were also added.
* Fixed the argument conversion of modified virtual methods.Marcelo Lira2012-03-081-1/+20
| | | | | | | Wrong conversion code was being outputted to virtual method wrapper code when all arguments were removed. Unit tests were added as well.
* Change the license boiler plates of all LGPL files removing the special ↵Hugo Parente Lima2010-09-091-20/+8
| | | | | | | exception. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* API fixes.Renato Filho2010-05-181-1/+1
| | | | | | | | | * Export enums without macro * Declare virtual destructor on all classes with virtual functions * Fix extern "C" declaration scope Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Better error messages when reimplementing virtual methods.Hugo Parente Lima2010-04-081-0/+6
|
* Adds tests to type system modifications regarding reference to pointer type.Marcelo Lira2010-03-221-0/+4
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Expanded virtual methods tests with a case of reimplementation of a grand ↵Marcelo Lira2009-12-021-3/+11
| | | | parent method.
* Updated libsample classes that are missing the LIBSAMPLE_API macro.Marcelo Lira2009-11-241-1/+1
|
* Added tests for classes with virtual and non-virtual protected methods,Marcelo Lira2009-11-241-1/+3
| | | | | | for virtual protected destructors, and for non-virtual protected methods modified with signature removal, add-function and code injection. Also improved the tests for non-protected virtual destructors.
* Added unit test for virtual destructor.Marcelo Lira2009-11-241-0/+13
|
* Added visibility rules to libsample.Hugo Lima2009-11-231-1/+3
|
* Added a great deal of tests to virtual method modification cases.Marcelo Lira2009-11-231-0/+33
|
* Added LGPL copyright header to all libsample files.Hugo Lima2009-09-011-0/+34
|
* updated sample library with VirtualMethods class which containsMarcelo Lira2009-08-271-0/+21
a case of a virtual method that is reimplemented in Python and checked in the unit test Reference class and unit tests with cases of virtual methods that receive C++ references