diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-28 19:41:52 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-28 19:41:52 (GMT) |
commit | da2ec6163d4a8f76ef9c32518b5a0b5810f2d63f (patch) | |
tree | d8fc91b419d6597a0d1a29572629f5efdcd094f0 /java/test/TestH5P.java | |
parent | a7d74160d043310d3819692c0aff5074bf466b1a (diff) | |
download | hdf5-da2ec6163d4a8f76ef9c32518b5a0b5810f2d63f.zip hdf5-da2ec6163d4a8f76ef9c32518b5a0b5810f2d63f.tar.gz hdf5-da2ec6163d4a8f76ef9c32518b5a0b5810f2d63f.tar.bz2 |
Update libvers usage
Diffstat (limited to 'java/test/TestH5P.java')
-rw-r--r-- | java/test/TestH5P.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/test/TestH5P.java b/java/test/TestH5P.java index e46ed48..a85405b 100644 --- a/java/test/TestH5P.java +++ b/java/test/TestH5P.java @@ -209,12 +209,12 @@ public class TestH5P { @Test(expected = HDF5FunctionArgumentException.class) public void testH5Pset_libver_bounds_invalidlow() throws Throwable { - H5.H5Pset_libver_bounds(fapl_id, 5, HDF5Constants.H5F_LIBVER_LATEST); + H5.H5Pset_libver_bounds(fapl_id, HDF5Constants.H5F_LIBVER_EARLIEST-1, HDF5Constants.H5F_LIBVER_LATEST); } @Test(expected = HDF5FunctionArgumentException.class) public void testH5Pset_libver_bounds_invalidhigh() throws Throwable { - H5.H5Pset_libver_bounds(fapl_id, HDF5Constants.H5F_LIBVER_V112, HDF5Constants.H5F_LIBVER_V112+1); + H5.H5Pset_libver_bounds(fapl_id, HDF5Constants.H5F_LIBVER_LATEST, HDF5Constants.H5F_LIBVER_LATEST+1); } @Test |