aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/functions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed writeBaseConversion method to handle references to C++ primitives.Marcelo Lira2012-03-081-0/+11
| | | | Added test for a reference to integer as a function argument.
* 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>
* Adds test for C++ 'const char*' argument receiving a Python None as a null ↵Marcelo Lira2010-02-201-0/+3
| | | | | | | pointer. The test function 'countCharacters(const char*)' now returns -1 when receiving a null pointer.
* Fix bug on overflow check routines under 32 bits platforms.Hugo Lima2010-01-221-0/+6
|
* Tests for numerical implicit conversions and fixesLauro Neto2009-12-161-0/+29
| | | | | | | | | | | | Added a test for simple implicit numerical conversions involving doubles, signed and unsigned ints and longs. Some fixes to the converters were also made, mostly related to adding manual checks for boundaries with doubles for negative values Also put the overflow check in a single template Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
* Adds Overflow check to integer types conversions.Marcelo Lira2009-12-071-0/+6
| | | | | | Unit tests were added also. Reviewed by Hugo Lima <hugo.lima@openbossa.org>
* Uses __FUNCTION__ instead of __PRETTY_FUNCTION__, which is a GCC extension.Hugo Lima2009-11-231-2/+2
|
* Fixed C string toPython converter to return Py_None when a NULL pointerMarcelo Lira2009-11-181-1/+15
| | | | | is received. Fixed and improved the test for functions returning NULL pointer values.
* Use Py_RETURN_NONE for functions with null return.Renato Araujo Oliveira Filho2009-09-101-0/+4
| | | | fixes bug #45.
* renamed PolymorphicData class to OverloadData, this should represent correctlyMarcelo Lira2009-09-021-6/+6
| | | | the class' function; other relative renamings were also performed
* Added LGPL copyright header to all libsample files.Hugo Lima2009-09-011-0/+34
|
* The End Is the Beginning Is the EndMarcelo Lira2009-08-171-0/+85