diff options
| author | Allen Byrne <byrn@hdfgroup.org> | 2018-12-17 18:29:50 (GMT) |
|---|---|---|
| committer | Allen Byrne <byrn@hdfgroup.org> | 2018-12-17 18:29:50 (GMT) |
| commit | 59b23c198c4a1b3e91bb6ff540c949c761057c32 (patch) | |
| tree | 715f7f03e45e1b173b4c95ae0d6dd00928219351 /java/test/TestH5Fbasic.java | |
| parent | 339aebc69a3e3493922b58f292a5bf6d3f3f983d (diff) | |
| parent | 8dbadb41a3b23d6d74effee7bef0302fd81b80a6 (diff) | |
| download | hdf5-59b23c198c4a1b3e91bb6ff540c949c761057c32.zip hdf5-59b23c198c4a1b3e91bb6ff540c949c761057c32.tar.gz hdf5-59b23c198c4a1b3e91bb6ff540c949c761057c32.tar.bz2 | |
Merge pull request #1385 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '8dbadb41a3b23d6d74effee7bef0302fd81b80a6':
HDFFV-10663 add new function H5Fis_accessible
Diffstat (limited to 'java/test/TestH5Fbasic.java')
| -rw-r--r-- | java/test/TestH5Fbasic.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/test/TestH5Fbasic.java b/java/test/TestH5Fbasic.java index 11d6644..a5afb6e 100644 --- a/java/test/TestH5Fbasic.java +++ b/java/test/TestH5Fbasic.java @@ -81,6 +81,19 @@ public class TestH5Fbasic { assertTrue(isH5 == true); } + @Test + public void testH5Fis_accessible() { + boolean isH5 = false; + + try { + isH5 = H5.H5Fis_accessible(H5_FILE, HDF5Constants.H5P_DEFAULT); + } + catch (Throwable err) { + fail("H5.H5Fis_accessible failed on " + H5_FILE + ": " + err); + } + assertTrue(isH5 == true); + } + @Test(expected = HDF5LibraryException.class) public void testH5Fcreate_EXCL() throws Throwable { H5.H5Fcreate(H5_FILE, HDF5Constants.H5F_ACC_EXCL, |
