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

@@ -274,6 +274,17 @@ public class TestH5Tparams {
public void testH5Tpack_invalid() throws Throwable {
H5.H5Tpack(-1);
}
@Test(expected = HDF5LibraryException.class)
public void testH5Treclaim_invalid() throws Throwable {
byte[] buf = new byte[2];
H5.H5Treclaim(-1, -1, -1, buf);
}
@Test(expected = NullPointerException.class)
public void testH5Treclaim_null() throws Throwable {
H5.H5Treclaim(-1, -1, -1, null);
}
@Test(expected = HDF5LibraryException.class)
public void testH5Tvlen_create_invalid() throws Throwable {