diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2018-07-21 05:46:34 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2018-07-21 05:46:34 (GMT) |
commit | c983fc3c5bc3cab152ce80990536c2faf4642392 (patch) | |
tree | 307d2d51a10cbc86812c65768e121c69dd9051d2 /java/test/TestH5Lcreate.java | |
parent | 4f37cdcd36adb1bafcdf9af49b611180a64d157b (diff) | |
parent | 243a36911fb80931225e0044cc654ccbfec3ed10 (diff) | |
download | hdf5-c983fc3c5bc3cab152ce80990536c2faf4642392.zip hdf5-c983fc3c5bc3cab152ce80990536c2faf4642392.tar.gz hdf5-c983fc3c5bc3cab152ce80990536c2faf4642392.tar.bz2 |
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp4 into develop
Diffstat (limited to 'java/test/TestH5Lcreate.java')
-rw-r--r-- | java/test/TestH5Lcreate.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/java/test/TestH5Lcreate.java b/java/test/TestH5Lcreate.java index 646babc..06c4ac1 100644 --- a/java/test/TestH5Lcreate.java +++ b/java/test/TestH5Lcreate.java @@ -147,6 +147,13 @@ public class TestH5Lcreate { H5.H5Pset_link_creation_order(H5fcpl, HDF5Constants.H5P_CRT_ORDER_TRACKED+HDF5Constants.H5P_CRT_ORDER_INDEXED); H5fid = H5.H5Fcreate(H5_FILE, HDF5Constants.H5F_ACC_TRUNC, H5fcpl, HDF5Constants.H5P_DEFAULT); + } + catch (Throwable err) { + err.printStackTrace(); + fail("TestH5L.createH5file: " + err); + } + assertTrue("TestH5L.createH5file: H5.H5Fcreate: ",H5fid > 0); + try { H5dsid = H5.H5Screate_simple(2, H5dims, null); H5did1 = _createDataset(H5fid, H5dsid, "DS1", HDF5Constants.H5P_DEFAULT); H5gid = _createGroup(H5fid, "/G1"); @@ -154,9 +161,8 @@ public class TestH5Lcreate { } catch (Throwable err) { err.printStackTrace(); - fail("TestH5L.createH5file: " + err); + fail("TestH5L.createH5objs: " + err); } - assertTrue("TestH5L.createH5file: H5.H5Fcreate: ",H5fid > 0); assertTrue("TestH5L.createH5file: H5.H5Screate_simple: ",H5dsid > 0); assertTrue("TestH5L.createH5file: H5.H5Gcreate: ",H5gid > 0); |