Merge pull request #18 from stalker314314/fixing-tests-on-different-environments
Fixing tests on different environments
This commit is contained in:
commit
1e492f2e12
@ -10,6 +10,6 @@ try {
|
|||||||
var_dump($e->getMessage());
|
var_dump($e->getMessage());
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--EXPECT--
|
--EXPECTF--
|
||||||
Warning: dlib_chinese_whispers() expects parameter 1 to be array, string given in /home/branko/pdlib/tests/chinese_whispers_wrong_arg_type_error.php on line 3
|
Warning: dlib_chinese_whispers() expects parameter 1 to be array, string given in %s on line 3
|
||||||
string(46) "Unable to parse edges in dlib_chinese_whispers"
|
string(46) "Unable to parse edges in dlib_chinese_whispers"
|
||||||
|
@ -10,6 +10,6 @@ try {
|
|||||||
var_dump($e->getMessage());
|
var_dump($e->getMessage());
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--EXPECT--
|
--EXPECTF--
|
||||||
Warning: CnnFaceDetection::__construct() expects exactly 1 parameter, 0 given in /home/branko/pdlib/tests/cnn_face_detection_ctor_error.php on line 3
|
Warning: CnnFaceDetection::__construct() expects exactly 1 parameter, 0 given in %s on line 3
|
||||||
string(41) "Unable to parse face_detection_model_path"
|
string(41) "Unable to parse face_detection_model_path"
|
||||||
|
@ -15,7 +15,7 @@ try {
|
|||||||
var_dump($e->getMessage());
|
var_dump($e->getMessage());
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--EXPECT--
|
--EXPECTF--
|
||||||
Warning: FaceLandmarkDetection::__construct() expects exactly 1 parameter, 0 given in /home/branko/pdlib/tests/face_landmark_detection_ctor_error.php on line 3
|
Warning: FaceLandmarkDetection::__construct() expects exactly 1 parameter, 0 given in %s on line 3
|
||||||
string(41) "Unable to parse shape_predictor_file_path"
|
string(41) "Unable to parse shape_predictor_file_path"
|
||||||
string(45) "Unable to open non-existent file for reading."
|
string(45) "Unable to open non-existent file for reading."
|
||||||
|
@ -10,6 +10,6 @@ try {
|
|||||||
var_dump($e->getMessage());
|
var_dump($e->getMessage());
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--EXPECT--
|
--EXPECTF--
|
||||||
Warning: FaceRecognition::__construct() expects exactly 1 parameter, 0 given in /home/branko/pdlib/tests/face_recognition_ctor_error.php on line 3
|
Warning: FaceRecognition::__construct() expects exactly 1 parameter, 0 given in %s on line 3
|
||||||
string(43) "Unable to parse face_recognition_model_path"
|
string(43) "Unable to parse face_recognition_model_path"
|
||||||
|
Loading…
Reference in New Issue
Block a user