Restore checks for globals in php testcases

This commit is contained in:
Olly Betts 2021-04-14 11:15:43 +12:00
commit 8cb0c185ac
38 changed files with 99 additions and 58 deletions

View file

@ -3,11 +3,11 @@
require "tests.php";
require "director_abstract.php";
// No new functions
// New functions
check::functions(array('foo_ping','foo_pong','example0_getxsize','example0_color','example0_get_color','example1_getxsize','example1_color','example1_get_color','example2_getxsize','example2_color','example2_get_color','example4_getxsize','example4_color','example4_get_color','example3_i_color','example3_i_get_color','g','a_f'));
// No new classes
// New classes
check::classes(array('director_abstract','Foo','Example0','Example1','Example2','Example4','Example3_i','A'));
// now new vars
// No new vars
check::globals(array());
class MyFoo extends Foo {