0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-23 13:51:52 +00:00
phpv8/tests
2024-09-29 19:47:13 +02:00
..
array_access_001.phpt eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02:00
array_access_002.phpt skip array_access_002 test, broken on V8 11.3.244.8 2024-09-29 19:47:13 +02:00
array_access_003.phpt eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02:00
array_access_004.phpt eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02:00
array_access_005.phpt eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02:00
array_access_006.phpt eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02:00
array_access_007.phpt eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02:00
array_access_008.phpt eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02:00
array_access_basic2.phpt eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02:00
array_access.phpt eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02: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
array_recursive.phpt break recursion immediately on PHP <= 7.2 as well 2018-07-13 15:52:41 +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 2010-12-30 14:04:51 +00:00
checkstring_compile.phpt Adapt test expectations to V8 error message changes 2016-03-05 17:11:52 +01:00
closures_basic.phpt relax expectations on V8 toString conversions (broken by V8 8.4), refs #444 2020-08-21 10:10:56 +02:00
closures_dynamic.phpt relax expectations on V8 toString conversions (broken by V8 8.4), refs #444 2020-08-21 10:10:56 +02: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_exception_001.phpt forward exceptions thrown in module loader 2016-07-03 22:52:50 +02:00
commonjs_exception_002.phpt forward exceptions thrown in module normaliser 2016-07-03 22:57:11 +02: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_native_basic.phpt support native modules 2018-01-05 21:44:40 +01:00
commonjs_node_compat_001.phpt use "this = module.exports" for modules 2017-11-12 16:20:24 +01:00
commonjs_node_compat_002.phpt allow modules to return arbitrary values 2017-11-12 16:26:18 +01:00
commonjs_node_compat_003.phpt test "delete module.exports" 2017-11-12 16:27:50 +01:00
commonjs_node_compat_basic.phpt use "this = module.exports" for modules 2017-11-12 16:20:24 +01: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 Remove support for uncaught exceptions. Use try/catch. 2022-05-31 09:53:09 +02:00
ctx_lifetime.phpt Adapt ctx_lifetime test to PHP7: changed exception handling 2015-08-29 20:19:22 +02:00
datetime_pass.phpt relax expectations on V8 toString conversions (broken by V8 8.4), refs #444 2020-08-21 10:10:56 +02: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_filter_001.phpt rename to setExceptionFilter 2022-06-24 12:04:11 +02:00
exception_filter_002.phpt rename to setExceptionFilter 2022-06-24 12:04:11 +02:00
exception_filter_003.phpt rename to setExceptionFilter 2022-06-24 12:04:11 +02:00
exception_filter_004.phpt document (re-)throwing behaviour from exception filter 2022-06-24 13:15:40 +02:00
exception_filter_005.phpt add test on uninstallation of exception filter 2022-06-24 12:55:08 +02:00
exception_filter_006.phpt document (re-)throwing behaviour from exception filter 2022-06-24 13:15:40 +02:00
exception_filter_basic.phpt rename to setExceptionFilter 2022-06-24 12:04:11 +02:00
exception_start_column.phpt make exception_start_column.phpt green again, closes #302 2017-03-14 07:28:24 +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
fatal_error_ignore_non_fatals.phpt optimize redundancy code and fix some unit test 2021-08-20 20:08:45 +08: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 optimize redundancy code and fix some unit test 2021-08-20 20:08:45 +08: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
global_object_basic.phpt add test so that 'this === global' 2017-11-12 15:28:44 +01:00
has_property_after_dispose.phpt * Added AllowDynamicPropertis on V8Js, V8Object and V8Function 2023-02-18 10:18:36 -03: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_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 Remove support for uncaught exceptions. Use try/catch. 2022-05-31 09:53:09 +02: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
issue_246_001.phpt Handle Z_TYPE == IS_REFERENCE well, fixes #246 2016-08-11 18:54:38 +02:00
issue_250_001.phpt * Added AllowDynamicPropertis on V8Js, V8Object and V8Function 2023-02-18 10:18:36 -03:00
issue_250_002.phpt Fix refcounting, use zval_ptr_dtor, closes #250 2016-08-12 01:02:56 +02:00
issue_306_basic.phpt Relax test to work on V8 without i18n support 2017-04-14 22:48:39 +02:00
issue_316_basic.phpt Add test for #316 2017-06-08 23:15:06 +02:00
issue_349_basic.phpt pass module_base directly via FunctionTemplate, closes #349 2018-02-01 19:39:26 +01:00
issue_410_basic.phpt add test, refs #410 2019-06-22 18:59:41 +02:00
issue_472_basic.phpt hold extra reference on v8 instance as long as we call into V8, closes #472 2022-05-29 21:48:47 +02:00
issue_497_001.phpt When FLAG_PROPAGATE_PHP_EXCEPTIONS is set, check for unwind or graceful exit before propagate 2023-01-16 17:35:07 -03:00
issue_504_001.phpt empty() test 2023-02-18 15:12:29 +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 PHP 8.2 compatibility 2023-02-20 08:09:13 -03: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_int64.phpt skip long_int64 test on 32bit PHP versions 2017-03-08 07:58:38 +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 load ext-dom for test, if available, refs #270 2017-03-12 10:09:59 +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 relax expectations on V8 toString conversions (broken by V8 8.4), refs #444 2020-08-21 10:10:56 +02:00
php_exceptions_007.phpt * Added test tests/php_exceptions_007.phpt 2023-02-20 14:59:41 -03: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 * Added AllowDynamicPropertis on V8Js, V8Object and V8Function 2023-02-18 10:18:36 -03:00
property_visibility-set.phpt * Added AllowDynamicPropertis on V8Js, V8Object and V8Function 2023-02-18 10:18:36 -03: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 * tests/timezones.phpt - added LC_ALL=C to prevent test failing when another locale is set as default 2023-02-20 07:13:41 -03:00
tojson_001.phpt Added tests/tojson_001.phpt 2023-02-21 09:02:39 -03:00
unicode.phpt Remove support for uncaught exceptions. Use try/catch. 2022-05-31 09:53:09 +02:00
use_after_dispose.phpt * Added AllowDynamicPropertis on V8Js, V8Object and V8Function 2023-02-18 10:18:36 -03: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 Optimize and fix test reference from @redbullmarky 2022-05-27 10:47:44 +08:00
variable_passing.phpt Initial import 2012-04-27 16:26:15 +00:00