Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,
including the merge of `hdffv/hdf5/develop`, back to the branch that Vailin and I share. Now I need to put this branch on a fork with a less confusing name than vchoi_fork!
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
package test;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
@@ -211,4 +212,23 @@ public class TestH5Dplist {
|
||||
assertTrue("testH5Dset_extent - H5.H5Dread: ", extend_dset_data[4][8] == 99);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testH5P_dset_no_attrs_hint() {
|
||||
boolean ret_val_id = true;
|
||||
|
||||
_createPDataset(H5fid, H5dsid, "dset", HDF5Constants.H5P_DATASET_CREATE);
|
||||
|
||||
try {
|
||||
ret_val_id = H5.H5Pget_dset_no_attrs_hint(H5dcpl_id);
|
||||
assertFalse("H5P_dset_no_attrs_hint", ret_val_id);
|
||||
H5.H5Pset_dset_no_attrs_hint(H5dcpl_id, true);
|
||||
ret_val_id = H5.H5Pget_dset_no_attrs_hint(H5dcpl_id);
|
||||
assertTrue("H5P_dset_no_attrs_hint", ret_val_id);
|
||||
}
|
||||
catch (Throwable err) {
|
||||
err.printStackTrace();
|
||||
fail("H5P_dset_no_attrs_hint: " + err);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user