mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-10-01 04:03:33 +03:00
HDFFV-10663 add new function H5Fis_accessible
This commit is contained in:
1 parent
1e9efded02
commit
8dbadb41a3
7 files changed
+78
-3
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user