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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user