0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-31 22:31:52 +00:00
phpv8/tests
Stefan Siegl 2b897e8bc4 Export extra methods on ArrayAccess
This merges the distinct code path for the export of ArrayAccess
capable PHP objects back into the "common" PHP object export code.
Sole difference is that the ArrayAccess-style object has index
property handlers as well as property bridging to Array.prototype.
2014-11-29 20:35:32 +01:00
..
array_access_001.phpt Add test on ArrayAccess live binding 2014-11-29 13:25:01 +01:00
array_access_002.phpt Add ArrayAccess test with native JS push method 2014-11-29 13:41:35 +01:00
array_access_003.phpt Export extra methods on ArrayAccess 2014-11-29 20:35:32 +01:00
array_access_basic2.phpt Add array access offsetSet support 2014-11-25 23:43:21 +01:00
array_access.phpt Add slice call to array_access test 2014-11-25 21:18:00 +01:00
array_pass_flags.phpt When passing objects from JS to PHP with mixed keys, some of the keys 2014-03-20 10:35:05 +02:00
array_pass.phpt When passing objects from JS to PHP with mixed keys, some of the keys 2014-03-20 10:35:05 +02:00
basic.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
callbacks.phpt Initial import 2012-04-27 16:26:15 +00:00
checkstring_compile.phpt Deprecate V8Js::checkString() in favour of compileString() and add tests. 2014-09-16 17:10:15 +03:00
checkstring.phpt Deprecate V8Js::checkString() in favour of compileString() and add tests. 2014-09-16 17:10:15 +03:00
closures_basic.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
closures_dynamic.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
commonjs_modules.phpt commonjs_modules test requires json_encode. 2014-11-13 21:14:05 +01:00
commonjs_multiassign.phpt Fix module caching, closes #107 2014-09-19 22:36:27 +00:00
compile_string_isolate.phpt Added new functions V8Js::compileString() and V8Js::executeScript(). 2014-09-16 17:09:58 +03:00
compile_string.phpt Added new functions V8Js::compileString() and V8Js::executeScript(). 2014-09-16 17:09:58 +03:00
construct.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
context_preserving.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
context_separation.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
context_temp_creation.phpt Add test for regression pointed out in pull request #14 2013-07-07 23:04:19 +02:00
ctx_lifetime.phpt Use directory seperator pattern %e 2014-11-13 21:26:47 +01:00
datetime_pass.phpt Make datetime_pass.phpt run on PHP 5.3, refs #86 2014-03-23 00:39:45 +01:00
derived_class_properties_extra.phpt Test export of undeclared properties in derived classes 2013-10-19 02:36:19 +02:00
derived_class_properties_init.phpt Add test on initially initialized properties on V8Js object. 2013-10-19 02:15:37 +02:00
derived_class_properties_protected.phpt Add test on protected & private properties on derived classes 2013-10-19 02:17:10 +02:00
derived_class_properties.phpt Add test from issue #54 2013-10-18 23:57:26 +02:00
direct_construct.phpt Protect against direct invocation of new V8Object and new V8Function. 2013-10-29 15:37:04 -04:00
exception_clearing.phpt Fix exception_clearing test wrt. column numbers 2014-11-22 18:58:05 +01:00
exception_propagation_1.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
exception_propagation_2.phpt Add StartColumn/EndColumn properties to script exception, closes #126 2014-11-22 12:56:00 +01:00
exception_propagation_3.phpt Make sure all tests and samples use the new exception class name V8JsScriptException. 2013-04-14 00:36:31 +01:00
exception_start_column.phpt Add StartColumn/EndColumn properties to script exception, closes #126 2014-11-22 12:56:00 +01:00
exception.phpt Add StartColumn/EndColumn properties to script exception, closes #126 2014-11-22 12:56:00 +01:00
execute_flags_args.phpt Fix test cases which hard coded the object identity of returned objects. 2013-10-29 15:38:27 -04:00
execute_flags.phpt Fix test cases which hard coded the object identity of returned objects. 2013-10-29 15:38:27 -04:00
extensions_basic.phpt Initial import 2012-04-27 16:26:15 +00:00
extensions_circular_dependency.phpt Initial import 2012-04-27 16:26:15 +00:00
fatal_error_ignore_non_fatals.phpt Use directory seperator pattern %e 2014-11-13 21:26:47 +01:00
fatal_error_no_uninstall_inner_frame.phpt Use directory seperator pattern %e 2014-11-13 21:26:47 +01:00
fatal_error_recursive.phpt Adapt unwind tests for PHP 5.6 style error messages 2014-09-21 20:34:10 +00:00
fatal_error_rethrow.phpt Use directory seperator pattern %e 2014-11-13 21:26:47 +01:00
fatal_error_uninstall_in_first_frame.phpt Use directory seperator pattern %e 2014-11-13 21:26:47 +01:00
function_call.phpt Create temporary HandleScope to get & call methods likewise, closes #33 2013-10-03 01:15:51 +02:00
function_passback2.phpt Create temporary HandleScope while reading properties 2013-10-03 01:05:03 +02:00
function_passback.phpt Make test PHP 5.3 compatible 2013-10-07 14:55:01 +02:00
get_accessor.phpt Initial import 2012-04-27 16:26:15 +00:00
get_constructor.phpt Add test on constructor get-accessor. 2014-08-10 13:53:10 +02:00
has_property_after_dispose.phpt Test exception branch of php_v8js_v8_has_property. 2014-10-19 14:48:11 +00:00
issue_116-v8function-injection.phpt Reject V8Function passback to wrong isolate, closes #116 2014-10-31 23:35:28 +00:00
js-construct-basic.phpt Add tests. 2013-07-12 20:23:12 +02:00
js-construct-direct-call.phpt Handle non-construct call 2013-07-12 20:23:12 +02:00
js-construct-protected-ctor.phpt Add StartColumn/EndColumn properties to script exception, closes #126 2014-11-22 12:56:00 +01:00
js-construct-with-ctor.phpt Add tests. 2013-07-12 20:23:12 +02:00
leak-php-object.phpt Clear persistent cells with weak references correctly, refs #88 2014-03-22 17:41:00 +01:00
long.phpt Forgot to commit test for large number support. 2014-03-20 15:45:35 +02:00
magic_func.phpt Add a test of PHP magic functions. 2013-10-25 16:47:15 -04:00
memory_limit.phpt Slow down memory_limit test 2014-11-16 20:20:43 +01:00
multi-object.phpt Add isolate to key of template cache. 2013-10-02 23:38:26 +02:00
multi.phpt Add tests with multiple V8Js instances 2013-09-29 23:46:19 +02:00
null_byte_string.phpt Add null-byte passing test, make var_dump null-byte safe, closes #80 2014-03-23 00:28:53 +01:00
object_dom.phpt object_dom test requires DomDocument class 2014-11-13 21:24:22 +01:00
object_method_call.phpt Fix test cases which hard coded the object identity of returned objects. 2013-10-29 15:38:27 -04:00
object_passback.phpt Don't re-wrap PHP objects from V8 to V8Object 2013-10-21 20:00:58 +02:00
object_prototype.phpt Fix test cases which hard coded the object identity of returned objects. 2013-10-29 15:38:27 -04:00
object_reuse.phpt Initial import 2012-04-27 16:26:15 +00:00
object.phpt Rework JavaScript wrapper for PHP objects. 2013-10-25 16:47:15 -04:00
property_exists.phpt Implement property_exists()/isset()/empty() on wrapped JavaScript objects. 2013-10-05 11:56:42 -04:00
property_visibility__get.phpt Handle property visibility and __get, refs #79 2014-04-06 20:04:48 +02:00
property_visibility__set.phpt Call __set if JS accesses private/protected property 2014-04-07 00:53:46 +02:00
property_visibility-delete.phpt Don't unset non-public properties, just hide them. 2014-04-11 20:42:55 +02:00
property_visibility-enumerate.phpt Add test on visibility of properties on enumeration 2014-04-11 19:04:05 +02:00
property_visibility-has-property.phpt Add test on property visibility regarding hasOwnProperty 2014-04-11 20:50:36 +02:00
property_visibility-set.phpt Call __set if JS accesses private/protected property 2014-04-07 00:53:46 +02:00
property_visibility.phpt Handle property visibility and __get, refs #79 2014-04-06 20:04:48 +02:00
regression_121.phpt Set hidden data also on already know weak objects, closes #121 2014-10-30 22:02:13 +00:00
return_value.phpt Fix test cases which hard coded the object identity of returned objects. 2013-10-29 15:38:27 -04:00
skipif.inc Initial import 2012-04-27 16:26:15 +00:00
time_limit.phpt fixed tests using absolute urls 2013-05-19 17:56:54 +03:00
timezones.phpt Skip tests/timezones on Windows 2014-11-16 23:07:32 +01:00
use_after_dispose.phpt Keep track of V8Object/V8Function instances 2014-08-11 03:11:02 +02:00
v8_unset_property.phpt Add test on php_v8js_v8_unset_property. 2014-10-19 15:15:20 +00:00
v8_write_property.phpt Add test on php_v8js_v8_write_property. 2014-10-19 15:03:29 +00:00
var_dump.phpt Adapt var_dump test new php versions. 2014-09-21 19:49:24 +00:00
variable_passing.phpt Initial import 2012-04-27 16:26:15 +00:00