1.12 Merge Add tests for H5Ocopy of new object refs (#1339)
* Add tests for H5Ocopy of new object refs * Correct class name * Skip test because of issue with debug assertions * Update reference file * Fix object examples for new refs and spelling fixs * Fix ref try-catch blocks
This commit is contained in:
@@ -1173,12 +1173,12 @@ public class TestH5P {
|
||||
strategy = H5.H5Pget_file_space_strategy(fcpl_id, persist, threshold);
|
||||
assertTrue("strategy(default): "+strategy, strategy == HDF5Constants.H5F_FSPACE_STRATEGY_FSM_AGGR);
|
||||
assertTrue("persist(default): "+persist[0], persist[0] == false);
|
||||
assertTrue("theshold(default): "+threshold[0], threshold[0] == 1);
|
||||
assertTrue("threshold(default): "+threshold[0], threshold[0] == 1);
|
||||
H5.H5Pset_file_space_strategy(fcpl_id, HDF5Constants.H5F_FSPACE_STRATEGY_PAGE, true, 1);
|
||||
strategy = H5.H5Pget_file_space_strategy(fcpl_id, persist, threshold);
|
||||
assertTrue("strategy: "+strategy, strategy == HDF5Constants.H5F_FSPACE_STRATEGY_PAGE);
|
||||
assertTrue("persist: "+persist[0], persist[0] == true);
|
||||
assertTrue("theshold: "+threshold[0], threshold[0] == 1);
|
||||
assertTrue("threshold: "+threshold[0], threshold[0] == 1);
|
||||
}
|
||||
catch (Throwable err) {
|
||||
err.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user