summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5P.java
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-07-28 19:41:52 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-07-28 19:41:52 (GMT)
commitda2ec6163d4a8f76ef9c32518b5a0b5810f2d63f (patch)
treed8fc91b419d6597a0d1a29572629f5efdcd094f0 /java/test/TestH5P.java
parenta7d74160d043310d3819692c0aff5074bf466b1a (diff)
downloadhdf5-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.java4
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