diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-01-14 04:17:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-14 04:17:59 (GMT) |
commit | a0c2b2e8d430b8622cb6e0ff67b3b0317dd8fe48 (patch) | |
tree | 277abecd672e06284f8194f6b6f608f00b15c7b5 /java/test/TestH5P.java | |
parent | 94fd05b9742cf21130bc0a6b6db9c4b034640ce3 (diff) | |
download | hdf5-a0c2b2e8d430b8622cb6e0ff67b3b0317dd8fe48.zip hdf5-a0c2b2e8d430b8622cb6e0ff67b3b0317dd8fe48.tar.gz hdf5-a0c2b2e8d430b8622cb6e0ff67b3b0317dd8fe48.tar.bz2 |
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
Diffstat (limited to 'java/test/TestH5P.java')
-rw-r--r-- | java/test/TestH5P.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/test/TestH5P.java b/java/test/TestH5P.java index 3879128..6ae93d9 100644 --- a/java/test/TestH5P.java +++ b/java/test/TestH5P.java @@ -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(); |