diff options
| author | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-10-10 19:33:57 (GMT) |
|---|---|---|
| committer | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-10-10 19:33:57 (GMT) |
| commit | fc479b4012dac1f3c62b49a0543352b7015d680a (patch) | |
| tree | 22d1fb23d99669b62e0fec7cb4e3a25b9215b733 /java/test/TestH5Tparams.java | |
| parent | 2d8096c73550da203c55587b24e1f47046ac7296 (diff) | |
| parent | 93f509a2f2d5143450a0e6753325557b2bb8b707 (diff) | |
| download | hdf5-fc479b4012dac1f3c62b49a0543352b7015d680a.zip hdf5-fc479b4012dac1f3c62b49a0543352b7015d680a.tar.gz hdf5-fc479b4012dac1f3c62b49a0543352b7015d680a.tar.bz2 | |
Merge pull request #1998 in HDFFV/hdf5 from ~JHENDERSON/hdf5:bugfix/H5Dvlen_reclaim_ref_fix to develop
* commit '93f509a2f2d5143450a0e6753325557b2bb8b707':
Fix various Java issues when deprecated symbols are disabled
Diffstat (limited to 'java/test/TestH5Tparams.java')
| -rw-r--r-- | java/test/TestH5Tparams.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/java/test/TestH5Tparams.java b/java/test/TestH5Tparams.java index 53d3a37..8baccd1 100644 --- a/java/test/TestH5Tparams.java +++ b/java/test/TestH5Tparams.java @@ -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 { |
