Restore checks for globals in php testcases
This commit is contained in:
parent
50f92dca08
commit
8cb0c185ac
38 changed files with 99 additions and 58 deletions
|
|
@ -3,10 +3,12 @@
|
|||
require "tests.php";
|
||||
require "director_string.php";
|
||||
|
||||
// No new functions
|
||||
// New functions
|
||||
check::functions(array('a_get_first','a_call_get_first','a_string_length','a_process_text','a_call_process_func','stringvector_size','stringvector_is_empty','stringvector_clear','stringvector_push','stringvector_pop','stringvector_capacity','stringvector_reserve'));
|
||||
// No new classes
|
||||
// New classes
|
||||
check::classes(array('A','StringVector'));
|
||||
// No new vars
|
||||
check::globals(array());
|
||||
|
||||
class B extends A {
|
||||
function get_first() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue