0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-19 15:25:19 +00:00
phpv8/tests
Stefan Siegl 67269ddfc4 Adapt test expectations to V8 error message changes
V8 5.1 uses slightly changed SyntaxError messages.
This adapts our tests as needed (for support of V8 5.1 as well
as older versions)
2016-03-05 17:11:52 +01: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
ctx_lifetime.phpt Throw V8JsException if source is not a script 2014-12-11 18:05:37 +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
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 Initial import 2012-04-27 16:26:15 +00:00
extensions_error.phpt skip extensions_error test for v8 version < 3.30 2015-07-25 18:16:04 +02: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 Fix path seperator for Windows 2014-12-10 19:46:15 +01: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
fatal_error_v8function.phpt Unwind stack after fatal error in V8Function, closes #130 2014-12-09 22:40:53 +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
function_properties.phpt Experiment to see if #172 is easy to fix 2015-11-03 17:35:30 +00: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 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 Adapt tests V8 3.24 also 2016-01-09 21:45:10 +01:00
issue_183_002.phpt Adapt tests V8 3.24 also 2016-01-09 21:45:10 +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 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 Correct name of memory limit test. 2014-12-09 22:53:06 +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
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 tests/php_exceptions_005.phpt 2015-08-23 19:30:47 +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 Fix multi-threading, initialize V8 only once 2015-09-26 18:58:12 +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
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_memory_limit_001.phpt Use prologues for V8Function calls, closes #129 2014-12-07 15:19:47 +01:00
set_memory_limit_003.phpt Allow to impose memory & time limits 2014-12-07 16:44:54 +01:00
set_memory_limit_basic.phpt Add setMemoryLimit & setTimeLimit setter methods 2014-12-07 13:25:52 +01:00
set_time_limit_001.phpt Use prologues for V8Function calls, closes #129 2014-12-07 15:19:47 +01:00
set_time_limit_002.phpt increase time limit to start engine 2014-12-10 19:27:04 +01:00
set_time_limit_003.phpt Allow to impose memory & time limits 2014-12-07 16:44:54 +01:00
set_time_limit_004.phpt Use isolate->RequestInterrupt to get heap size 2014-12-09 01:08:16 +01:00
set_time_limit_basic.phpt Add setMemoryLimit & setTimeLimit setter methods 2014-12-07 13:25:52 +01: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 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