0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 22:51:51 +00:00
phpv8/tests
Stefan Siegl 802cdd350a Drop tests/magic_func.phpt which got flaky
Most recent PHP7.0 versions implicitly call __isset before __get, which
older ones don't.

The test needs some major refactoring, after all the file is huge
and better split into smaller pieces.
2016-05-22 23:28:02 +02:00
..
array_access_001.phpt Add test on ArrayAccess live binding 2014-11-29 13:25:01 +01:00
array_access_002.phpt Remove count() echo statements 2014-11-29 20:23:23 +00:00
array_access_003.phpt Test ArrayAccess prototype method overwriting 2014-11-29 21:28:21 +01:00
array_access_004.phpt Test export of properties on ArrayAccess object 2014-11-29 21:30:44 +01:00
array_access_005.phpt Test __invoke handling on ArrayAccess objects 2014-11-29 21:34:17 +01:00
array_access_006.phpt Improve ArrayAccess enumeration 2014-11-30 21:00:42 +01:00
array_access_007.phpt Implement delete behaviour on ArrayAccess objects 2014-11-30 22:31:27 +01:00
array_access_008.phpt Implement isset behaviour on ArrayAccess objects 2014-11-30 22:43:56 +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 Adapt test expectations to V8 error message changes 2016-03-05 17:11:52 +01:00
checkstring.phpt Adapt test expectations to V8 error message changes 2016-03-05 17:11:52 +01: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_caching_001.phpt test per isolate module cache seperation 2015-08-01 17:57:57 +02:00
commonjs_caching_002.phpt test per isolate module cache seperation 2015-08-01 17:57:57 +02:00
commonjs_cust_normalise_001.phpt Allow custom module normalisation 2015-12-06 13:55:13 +01:00
commonjs_cust_normalise_002.phpt Allow custom module normalisation 2015-12-06 13:55:13 +01:00
commonjs_cust_normalise_003.phpt Allow custom module normalisation 2015-12-06 13:55:13 +01:00
commonjs_cust_normalise_004.phpt Allow custom module normalisation 2015-12-06 13:55:13 +01:00
commonjs_fatal_error.phpt wrap module loading in zend_try/zend_catch, closes #178 2015-12-04 22:09:04 +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
commonjs_normalise_001.phpt Fix commonjs memory leaks (and increase test coverage to 100%) 2015-08-01 19:30:55 +02:00
commonjs_normalise_002.phpt Fix commonjs memory leaks (and increase test coverage to 100%) 2015-08-01 19:30:55 +02:00
commonjs_normalise_003.phpt v8js_commonjs_split_terms: use pointer comparison instead of strlen 2015-08-01 19:54:23 +02:00
commonjs_normalise_004.phpt Fix commonjs memory leaks (and increase test coverage to 100%) 2015-08-01 19:30:55 +02:00
commonjs_normalise_005.phpt Fix commonjs memory leaks (and increase test coverage to 100%) 2015-08-01 19:30:55 +02:00
commonjs_source_naming.phpt Use module id as JsFileName for V8 2015-12-04 21:46:54 +01: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
create_snapshot_basic.phpt Add testcase on V8Js::createSnapshot 2016-03-05 14:12:19 +01:00
ctx_lifetime.phpt Adapt ctx_lifetime test to PHP7: changed exception handling 2015-08-29 20:19:22 +02: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
die.phpt Add test on die() call, refs #122 2014-12-10 01:10:30 +01:00
direct_construct.phpt Throw V8JsException if source is not a script 2014-12-11 18:05:37 +01: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 Fix tests/exception_propagation_2.phpt 2015-08-23 18:05:46 +02: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 Correctly force to array on property writing, closes #137 2015-04-26 13:49:13 +02:00
execute_flags_property_writing.phpt Correctly force to array on property writing, closes #137 2015-04-26 13:49:13 +02:00
execute_flags.phpt Correctly force to array on property writing, closes #137 2015-04-26 13:49:13 +02:00
extensions_basic.phpt Initial import 2012-04-27 16:26:15 +00:00
extensions_circular_dependency.phpt Don't abort PHP on fatal V8 errors, just warn about it 2015-12-30 17:53:46 +01:00
extensions_error.phpt skip extensions_error.phpt on Windows 2016-01-06 13:26:55 +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 PHP7 adapt: changed fatal error messages 2015-08-29 21:21:43 +02:00
fatal_error_recursive.phpt PHP7 adapt: changed fatal error messages 2015-08-29 21:21:43 +02:00
fatal_error_rethrow.phpt Initialize libv8_platform for Windows as well 2016-01-06 11:58:40 +00:00
fatal_error_uninstall_in_first_frame.phpt PHP7 adapt: changed fatal error messages 2015-08-29 21:21:43 +02:00
fatal_error_v8function.phpt PHP7 adapt: changed fatal error messages 2015-08-29 21:21:43 +02: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
function_properties.phpt Experiment to see if #172 is easy to fix 2015-11-03 17:35:30 +00:00
generators_from_v8_001.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_from_v8_002.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_from_v8_003.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_from_v8_004.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_from_v8_005.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_from_v8_006.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_from_v8_007.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_from_v8_008.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_from_v8_009.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_from_v8_010.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_from_v8_basic.phpt Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
generators_to_v8_001.phpt Skip Generator export tests if not supported 2016-01-09 14:24:49 +01:00
generators_to_v8_002.phpt Skip Generator export tests if not supported 2016-01-09 14:24:49 +01:00
generators_to_v8_003.phpt Skip Generator export tests if not supported 2016-01-09 14:24:49 +01:00
generators_to_v8_004.phpt Skip Generator export tests if not supported 2016-01-09 14:24:49 +01:00
generators_to_v8_basic.phpt Skip Generator export tests if not supported 2016-01-09 14:24:49 +01:00
get_accessor.phpt Initial import 2012-04-27 16:26:15 +00:00
get_constructor.phpt Rename constructor functions to __construct 2015-09-28 22:56:22 +02:00
has_property_after_dispose.phpt Throw V8JsException if source is not a script 2014-12-11 18:05:37 +01:00
inheritance_basic.phpt introduce V8JsException class 2014-12-11 18:00:43 +01:00
issue_116-v8function-injection.phpt Reject V8Function passback to wrong isolate, closes #116 2014-10-31 23:35:28 +00:00
issue_127_001.phpt test issue_127_001.phpt doesn't depend on ext_json 2015-08-01 18:47:44 +02:00
issue_156_001.phpt Add v8js.compat_php_exceptions INI switch 2015-09-23 19:19:11 +02:00
issue_160_basic.phpt Make FLAG_FORCE_ARRAY not affect V8Function objects, #closes 160 2015-08-26 18:41:38 +02:00
issue_183_001.phpt Merge remote-tracking branch 'origin/master' into php7 2016-03-05 22:21:42 +01:00
issue_183_002.phpt Merge remote-tracking branch 'origin/master' into php7 2016-03-05 22:21:42 +01:00
issue_183_003.phpt Don't export methods of V8Js object to V8 2016-01-09 19:02:58 +01:00
issue_183_004.phpt Don't export V8Js methods even if overwritten 2016-01-09 19:11:30 +01:00
issue_183_005.phpt Add test that V8Js::__sleep and V8Js::__wakeup are final 2016-01-09 19:15:12 +01:00
issue_183_006.phpt Add test that V8Js::__sleep and V8Js::__wakeup are final 2016-01-09 19:15:12 +01:00
issue_183_basic.phpt add basic test on issue #183 2016-01-07 13:44:40 +01:00
issue_185_001.phpt Provide correct "this" on V8Object method invocation, closes #185 2015-12-26 12:16:17 +01:00
issue_185_002.phpt Provide correct "this" on V8Object method invocation, closes #185 2015-12-26 12:16:17 +01:00
issue_185_basic.phpt Provide correct "this" on V8Object method invocation, closes #185 2015-12-26 12:16:17 +01: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 Initialize libv8_platform for Windows as well 2016-01-06 11:58:40 +00: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
memory_limit.phpt skip time/memory limit tests on SKIP_SLOW_TESTS 2016-03-26 11:47:58 +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_002.phpt Pass back V8Object instances, don't re-wrap 2016-03-25 17:40:43 +01: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
php_exceptions_001.phpt Stop JS execution on PHP exceptions, refs #144 2015-08-21 15:55:52 +02:00
php_exceptions_002.phpt Stop JS execution on PHP exceptions, refs #144 2015-08-21 15:55:52 +02:00
php_exceptions_003.phpt Allow PHP exception to JS propagation 2015-08-22 15:16:02 +02:00
php_exceptions_004.phpt Improve PHP->JS->PHP exception back propagation 2015-08-23 15:09:21 +02:00
php_exceptions_005.phpt fix exception back-propagation on PHP7 2015-10-11 14:59:25 +02:00
php_exceptions_006.phpt Handle thrown PHP objects, that are no exceptions 2015-08-23 17:40:27 +02:00
php_exceptions_basic.phpt Stop JS execution on PHP exceptions, refs #144 2015-08-21 15:55:52 +02: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
pthreads_001.phpt tests/pthreads_001: don't test pthread ext internals 2015-12-04 19:22:29 +01:00
regression_121.phpt Set hidden data also on already know weak objects, closes #121 2014-10-30 22:02:13 +00:00
return_this_001.phpt Retain object identity on JS-side 'return this' 2016-03-25 22:15:05 +01:00
return_this_basic.phpt Retain object indentity on 'return $this' 2016-03-25 19:15:25 +01:00
return_value.phpt Fix test cases which hard coded the object identity of returned objects. 2013-10-29 15:38:27 -04:00
serialize_001.phpt Test unserialization with properties 2014-12-11 22:15:38 +01:00
serialize_002.phpt Catch serialization of V8Function instances 2014-12-11 22:28:01 +01:00
serialize_basic.phpt Test unserialization with properties 2014-12-11 22:15:38 +01:00
set_average_object_size_basic.phpt add V8Js::setAverageObjectSize method 2016-03-08 09:28:16 +01:00
set_memory_limit_001.phpt skip time/memory limit tests on SKIP_SLOW_TESTS 2016-03-26 11:47:58 +01:00
set_memory_limit_003.phpt skip time/memory limit tests on SKIP_SLOW_TESTS 2016-03-26 11:47:58 +01:00
set_memory_limit_basic.phpt skip time/memory limit tests on SKIP_SLOW_TESTS 2016-03-26 11:47:58 +01:00
set_time_limit_001.phpt skip time/memory limit tests on SKIP_SLOW_TESTS 2016-03-26 11:47:58 +01:00
set_time_limit_002.phpt Merge remote-tracking branch 'origin/master' into php7 2016-05-22 22:30:19 +02:00
set_time_limit_003.phpt skip time/memory limit tests on SKIP_SLOW_TESTS 2016-03-26 11:47:58 +01:00
set_time_limit_004.phpt Merge remote-tracking branch 'origin/master' into php7 2016-05-22 22:30:19 +02:00
set_time_limit_basic.phpt skip time/memory limit tests on SKIP_SLOW_TESTS 2016-03-26 11:47:58 +01:00
skipif.inc Initial import 2012-04-27 16:26:15 +00:00
time_limit.phpt skip time/memory limit tests on SKIP_SLOW_TESTS 2016-03-26 11:47:58 +01:00
timezones.phpt Skip tests/timezones on Windows 2014-11-16 23:07:32 +01:00
use_after_dispose.phpt Throw V8JsException if source is not a script 2014-12-11 18:05:37 +01:00
v8_unset_property.phpt Throw V8JsException if source is not a script 2014-12-11 18:05:37 +01:00
v8_write_property.phpt Throw V8JsException if source is not a script 2014-12-11 18:05:37 +01: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