diff options
author | Jacob Smith <jake.smith@hdfgroup.org> | 2019-10-11 21:26:24 (GMT) |
---|---|---|
committer | Jacob Smith <jake.smith@hdfgroup.org> | 2019-10-11 21:26:24 (GMT) |
commit | a34ff89763ddf4998f6b1b8cfbfa38aa3d58468e (patch) | |
tree | 0cf682df6376db930f2fb86e99bf6eb39ccee868 /java/test/TestH5Tparams.java | |
parent | 72560d7ccd796aa9e378e78c06829159eb7832ba (diff) | |
parent | 1fa1ec619011a1ba13935a5c68f217e60f20c0a7 (diff) | |
download | hdf5-a34ff89763ddf4998f6b1b8cfbfa38aa3d58468e.zip hdf5-a34ff89763ddf4998f6b1b8cfbfa38aa3d58468e.tar.gz hdf5-a34ff89763ddf4998f6b1b8cfbfa38aa3d58468e.tar.bz2 |
Merge branch 'hdf5_1_12' of https://bitbucket.hdfgroup.org/scm/~jake.smith/hdf5 into hdf5_1_12
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 { |