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,11 +3,11 @@
|
|||
require "tests.php";
|
||||
require "director_detect.php";
|
||||
|
||||
// No new functions
|
||||
// New functions
|
||||
check::functions(array('foo_cloner','foo_get_value','foo_get_class','foo_just_do_it','bar_baseclass','bar_cloner','bar_get_value','bar_get_class','bar_just_do_it'));
|
||||
// No new classes
|
||||
// New classes
|
||||
check::classes(array('A','Foo','Bar'));
|
||||
// now new vars
|
||||
// No new vars
|
||||
check::globals(array());
|
||||
|
||||
class MyBar extends Bar {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue