diff options
| author | Allen Byrne <byrn@hdfgroup.org> | 2018-03-15 19:40:27 (GMT) |
|---|---|---|
| committer | Allen Byrne <byrn@hdfgroup.org> | 2018-03-15 19:40:27 (GMT) |
| commit | 7aa4eb1b04014f1ad7e1c857ca6509aeeb6c0ae7 (patch) | |
| tree | 503ba66c8f4b5039ff67c68957109745b6543bc6 /java/test | |
| parent | 02a9433fa0aac34ae81ab5f0d5b97a7934881215 (diff) | |
| parent | 57e468aba7ba66bba1f9a1736450ed4295a6c25d (diff) | |
| download | hdf5-7aa4eb1b04014f1ad7e1c857ca6509aeeb6c0ae7.zip hdf5-7aa4eb1b04014f1ad7e1c857ca6509aeeb6c0ae7.tar.gz hdf5-7aa4eb1b04014f1ad7e1c857ca6509aeeb6c0ae7.tar.bz2 | |
Merge pull request #967 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '57e468aba7ba66bba1f9a1736450ed4295a6c25d':
Change max value
Chnage values so test will fail when new latest is added
Exception changed
Exception type changed
Correct constant var names
Java constants for new lib verbounds values
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 |
