Add class method check in Test Cases.
Currently they check flat functions at check::functions()
This commit is contained in:
parent
6b8aae188f
commit
2e5f0fac52
11 changed files with 610 additions and 12 deletions
|
|
@ -3,10 +3,11 @@
|
|||
require "tests.php";
|
||||
require "casts.php";
|
||||
|
||||
// No new functions
|
||||
check::functions(array(new_a,a_hello,new_b));
|
||||
// No new classes
|
||||
check::classes(array(A,B));
|
||||
// New functions
|
||||
check::classmethods(A,array(__construct,__set,__isset,__get,hello));
|
||||
check::classmethods(B,array(__construct,__set,__isset,__get,hello));
|
||||
// now new vars
|
||||
check::globals(array());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue