summaryrefslogtreecommitdiffstats
path: root/java/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-03-15 19:39:40 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-03-15 19:39:56 (GMT)
commitcc089dbb15d9562ff226f091cc3481013af2481e (patch)
treef270d16c6acafe66674371a090463b0d46ef3022 /java/test
parentf398e7770774841570832617b0e4f8ea85f6d693 (diff)
downloadhdf5-cc089dbb15d9562ff226f091cc3481013af2481e.zip
hdf5-cc089dbb15d9562ff226f091cc3481013af2481e.tar.gz
hdf5-cc089dbb15d9562ff226f091cc3481013af2481e.tar.bz2
Merge from develop
Diffstat (limited to 'java/test')
-rw-r--r--java/test/TestH5P.java6
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