summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-04-01Changed the way to use the option -t in ./test.shvalmat
Now you can specify several options -t, listing the files one by one: ./test.sh -t "file1.phpt" -t "file2.phpt" The old way (./test.sh -t "file1.phpt file2.phpt") is still working
2014-04-01Fix: run tests without compilevalmat
2014-03-29activated all tests, and slightly modified one test which has wrong expected ↵Emiel Bruijntjes
output in the test script
2014-03-29Fixed test: variables/003-value-typesvalmat
2014-03-28new test: Test class with static property and class constantvalmat
2014-03-28add test: 018-calling-php-functionsvalmat
2014-03-28add new tests: Test call functionvalmat
2014-03-28Changed the structure of the test file. With the increasing number of tests ↵valmat
the old structure became uncomfortable.
2014-03-28add test: 004-static-funct.phpt (Test class with static function)valmat
2014-03-28add test: class_obj/003-comparable.phptvalmat
2014-03-28add test variables/005-cast-objects-to-scalars.phptvalmat
2014-03-27add test: 007-Iterate-internal-array.phptvalmat
Iterate internal array
2014-03-27Fix test value-casting-operatorsvalmat
2014-03-27Minor changes to allow the use to tests and extension `.phpt-`valmat
2014-03-27see diffvalmat
2014-03-27in test.sh added option -tvalmat
in the script tests/test.sh added option -t (the full list of options, see ./test.sh -h) - allows you to run individual tests For example: `./test.sh -t "php/phpt/variables/010-value-object2.phpt php/phpt/base/001.phpt"` `./test.sh -nt php/phpt/variables/010-value-object2.phpt`
2014-03-27Added new tests.valmat
Due to support zts broke the ability to run tests without installation - fixed.
2014-03-21test was broken, real output was correct, expected output was wrongEmiel Bruijntjes
2014-03-21Small improvementsvalmat
Regained the ability to run the tests (script tests/test.sh) with option -m (Valgrind) added option -q (Quiet) Full range of options, see $ ./test.sh -h Some other improvements (see diff)
2014-03-19removed: tests/1.shvalmat
2014-03-19Fixed issues #46valmat
2014-03-18Cannot accidentally delete :)valmat
2014-03-18Some improvements unit testvalmat
2014-03-18Unit tests. For description see ↵valmat
https://github.com/CopernicaMarketingSoftware/PHP-CPP/pull/25#issuecomment-37882236
2013-11-28Moved tests to ExamplesJasperVanEck
2013-10-22Initial setup for dealing with object propertiesEmiel Bruijntjes
2013-10-20long types have been replaced with int16, int32 and int64 types to make code ↵Emiel Bruijntjes
more readable and easier portable between architectures longType and decimalType have been replace by numericType and floatType Many arithmetic operators have been added to the value class Solved various issues with copying and moving value objects
2013-10-15Calling custom member methods is now functionalEmiel Bruijntjes
2013-10-14Initial attempt to register native C++ class methods directly to PHPEmiel Bruijntjes
2013-09-30Work in progress on adding public and protected properties to classesEmiel Bruijntjes
2013-09-25{auto} PHP objects can now be implemented in C++. Constructors and ↵Emiel Bruijntjes
destructors get called at the appropriate time, but not yet any of the other methods
2013-09-25Constructor gets almost called when object is constructedEmiel Bruijntjes
2013-09-25Work in progress on implementing classesEmiel Bruijntjes
2013-09-15Added Environment::call() method that makes it possible to call PHP functionsEmiel Bruijntjes
2013-09-12It now is possible to access global variables, using environment[varname], ↵Emiel Bruijntjes
and to set global variable using environment[varname] = "value"
2013-09-10When registering functions, it now is also possible to specify the signature ↵Emiel Bruijntjes
of the parameters
2013-09-10Fixed various crashes because hidden pointers were not persistently storedEmiel Bruijntjes
Copying the result value of a function has been fixed New C++ nullptr type is supported for Php::Value
2013-09-09work in progressEmiel Bruijntjes
2013-09-09added test.cpp file to testsEmiel Bruijntjes
2013-09-08Refactoring function class, and making it even more easy to directly enable ↵Emiel Bruijntjes
native C functions in PHP
2013-08-31Work in progress on a simpler apiEmiel Bruijntjes
2013-08-31{auto} work in progressEmiel Bruijntjes
2013-08-29working with arrays is now almost as simple as it is in PHPEmiel Bruijntjes
2013-08-28added parameter handling, and return value handlingEmiel Bruijntjes
2013-08-25By hiding a pointer to the callable object in front of the function name we ↵Emiel Bruijntjes
have managed to retrieve back the callable object, so we can pass all callbacks to one single function, which will further deliver them to the appropriate function object
2013-08-25{more work in progress: the function that was defined with c++ now gets ↵Emiel Bruijntjes
calls, but it does not yet call the actual implementation
2013-08-25{auto} requests are added as objectsEmiel Bruijntjes
2013-08-24The extension::initialize() and extension::finalize() methods are called at ↵Emiel Bruijntjes
the appropriate time
2013-08-24initial setup for libraryEmiel Bruijntjes