0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 22:51:51 +00:00
phpv8/tests
Stefan Siegl b8726409f4 Throw V8JsException if v8 context cannot be created
We used to reset This to NULL, which never reallt was supposed to work
and PHP doc explicitly tell to not touch EX(This)
2015-10-03 00:01:12 +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 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_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_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
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 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 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 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 Throw V8JsException if v8 context cannot be created 2015-10-03 00:01:12 +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 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 Remove hard-coded full pathnames from test 2015-10-02 22:29:27 +02: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
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
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 Rename constructor functions to __construct 2015-09-28 22:56:22 +02: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
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
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