diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-03-15 19:39:40 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-03-15 19:39:56 (GMT) |
commit | cc089dbb15d9562ff226f091cc3481013af2481e (patch) | |
tree | f270d16c6acafe66674371a090463b0d46ef3022 /java/test | |
parent | f398e7770774841570832617b0e4f8ea85f6d693 (diff) | |
download | hdf5-cc089dbb15d9562ff226f091cc3481013af2481e.zip hdf5-cc089dbb15d9562ff226f091cc3481013af2481e.tar.gz hdf5-cc089dbb15d9562ff226f091cc3481013af2481e.tar.bz2 |
Merge from develop
Diffstat (limited to 'java/test')
-rw-r--r-- | java/test/TestH5P.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/test/TestH5P.java b/java/test/TestH5P.java index 9e45e4c..521a53c 100644 --- a/java/test/TestH5P.java +++ b/java/test/TestH5P.java @@ -206,14 +206,14 @@ public class TestH5P { assertEquals(nlinks, 20L); } - @Test(expected = IllegalArgumentException.class) + @Test(expected = HDF5FunctionArgumentException.class) public void testH5Pset_libver_bounds_invalidlow() throws Throwable { H5.H5Pset_libver_bounds(fapl_id, 5, HDF5Constants.H5F_LIBVER_LATEST); } - @Test(expected = IllegalArgumentException.class) + @Test(expected = HDF5FunctionArgumentException.class) public void testH5Pset_libver_bounds_invalidhigh() throws Throwable { - H5.H5Pset_libver_bounds(fapl_id, HDF5Constants.H5F_LIBVER_LATEST, 5); + H5.H5Pset_libver_bounds(fapl_id, HDF5Constants.H5F_LIBVER_V110, HDF5Constants.H5F_LIBVER_V110+1); } @Test |