1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

java: test: use assertNotNull and assertFalse

This commit is contained in:
Ahmed Ashour
2019-05-24 10:45:09 +02:00
parent 1810702bf0
commit f9564e053d
9 changed files with 30 additions and 30 deletions
@@ -607,7 +607,7 @@ public class OpenCVTestCase extends TestCase {
message = TAG + " :: " + "could not instantiate " + cname + "! Exception: " + ex.getMessage();
}
assertTrue(message, instance!=null);
assertNotNull(message, instance);
return instance;
}