Fix various Java issues when deprecated symbols are disabled

This commit is contained in:
Jordan Henderson
2019-10-10 13:37:18 -05:00
parent 3506207344
commit 93f509a2f2
11 changed files with 131 additions and 27 deletions

View File

@@ -113,17 +113,6 @@ public class TestH5Dparams {
H5.H5Dvlen_get_buf_size(-1, -1, -1);
}
@Test(expected = HDF5LibraryException.class)
public void testH5Dvlen_reclaim_invalid() throws Throwable {
byte[] buf = new byte[2];
H5.H5Dvlen_reclaim(-1, -1, -1, buf);
}
@Test(expected = NullPointerException.class)
public void testH5Dvlen_reclaim_null() throws Throwable {
H5.H5Dvlen_reclaim(-1, -1, -1, null);
}
@Test(expected = IllegalArgumentException.class)
public void testH5Dget_storage_size_invalid() throws Throwable {
H5.H5Dget_storage_size(-1);