Fix mostly java warnings, and cpp cast (#2134)
This commit is contained in:
@@ -168,6 +168,7 @@ public class TestH5Oparams {
|
||||
H5.H5Ovisit_by_name(-1, "Bogus", -1, -1, null, null, 0, -1);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Test(expected = HDF5LibraryException.class)
|
||||
public void testH5Oset_comment_invalid() throws Throwable
|
||||
{
|
||||
@@ -180,12 +181,14 @@ public class TestH5Oparams {
|
||||
H5.H5Oget_comment(-1);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Test(expected = HDF5LibraryException.class)
|
||||
public void testH5Oset_comment_by_name_invalid() throws Throwable
|
||||
{
|
||||
H5.H5Oset_comment_by_name(-1, "Bogus", null, -1);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Test(expected = NullPointerException.class)
|
||||
public void testH5Oset_comment_by_name_null() throws Throwable
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user