Reenable check::classes() and check::classmethods()
This commit is contained in:
parent
836258b9d3
commit
40906ae856
2 changed files with 2 additions and 6 deletions
|
|
@ -2,11 +2,9 @@
|
|||
require "tests.php";
|
||||
require "import_nomodule.php";
|
||||
|
||||
// No new functions
|
||||
check::functions(array('create_foo','delete_foo','test1','is_python_builtin'));
|
||||
// No new classes
|
||||
check::classes(array('import_nomodule','Bar'));
|
||||
// now new vars
|
||||
check::classes(array('import_nomodule'));
|
||||
// No new globals
|
||||
check::globals(array());
|
||||
|
||||
// SWIGPHP doesn't currently support the "violation of the type system" which
|
||||
|
|
|
|||
|
|
@ -91,7 +91,6 @@ class check {
|
|||
}
|
||||
|
||||
static function classmethods($classname,$methods) {
|
||||
return TRUE;
|
||||
if (is_object($classname)) $classname=get_class($classname);
|
||||
$classmethods=array_flip(get_class_methods($classname));
|
||||
$message=NULL;
|
||||
|
|
@ -146,7 +145,6 @@ class check {
|
|||
}
|
||||
|
||||
static function classes($classes) {
|
||||
return TRUE;
|
||||
if (! is_array($classes)) $classes=array($classes);
|
||||
$message=array();
|
||||
$missing=array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue