HDFFV-10674, 10664, 10674
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
package test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.fail;
|
||||
@@ -315,4 +316,20 @@ public class TestH5Fbasic {
|
||||
fail("H5.H5Freset_mdc_hit_rate_stats: " + err);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testH5F_dset_no_attrs_hint() {
|
||||
boolean ret_val_id = true;
|
||||
try {
|
||||
ret_val_id = H5.H5Fget_dset_no_attrs_hint(H5fid);
|
||||
assertFalse("H5F_dset_no_attrs_hint", ret_val_id);
|
||||
H5.H5Fset_dset_no_attrs_hint(H5fid, true);
|
||||
ret_val_id = H5.H5Fget_dset_no_attrs_hint(H5fid);
|
||||
assertTrue("H5F_dset_no_attrs_hint", ret_val_id);
|
||||
}
|
||||
catch (Throwable err) {
|
||||
err.printStackTrace();
|
||||
fail("H5F_dset_no_attrs_hint: " + err);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user