Add class method check in Test Cases.

Currently they check flat functions at check::functions()
This commit is contained in:
Nihal 2017-07-23 12:09:01 +05:30
commit 2e5f0fac52
11 changed files with 610 additions and 12 deletions

View file

@ -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());