diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/test/TestH5.java | 6 | ||||
-rw-r--r-- | java/test/testfiles/JUnit-TestH5.txt | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/java/test/TestH5.java b/java/test/TestH5.java index 6a860f3..3021ed2 100644 --- a/java/test/TestH5.java +++ b/java/test/TestH5.java @@ -80,7 +80,7 @@ public class TestH5 { private final long _createDataset(long fid, long dsid, String name, long dapl) { long did = -1; try { - did = H5.H5Dcreate(fid, name, HDF5Constants.H5T_STD_I32BE, dsid, + did = H5.H5Dcreate(fid, name, HDF5Constants.H5T_STD_I32LE, dsid, HDF5Constants.H5P_DEFAULT, HDF5Constants.H5P_DEFAULT, dapl); } catch (Throwable err) { @@ -364,9 +364,9 @@ public class TestH5 { try { if (H5did >= 0) - H5.H5Dwrite(H5did, HDF5Constants.H5T_NATIVE_INT, + H5.H5Dwrite(H5did, HDF5Constants.H5T_STD_I32LE, HDF5Constants.H5S_ALL, HDF5Constants.H5S_ALL, - HDF5Constants.H5P_DEFAULT, dset_data[0]); + HDF5Constants.H5P_DEFAULT, dset_data); } catch (Exception e) { e.printStackTrace(); diff --git a/java/test/testfiles/JUnit-TestH5.txt b/java/test/testfiles/JUnit-TestH5.txt index b282a91..4bab633 100644 --- a/java/test/testfiles/JUnit-TestH5.txt +++ b/java/test/testfiles/JUnit-TestH5.txt @@ -1,6 +1,7 @@ JUnit version 4.11 .testH5get_libversion_null_param .testJ2C +.testH5export_dataset .testIsSerializable .testH5garbage_collect .testH5error_off @@ -12,5 +13,5 @@ JUnit version 4.11 Time: XXXX -OK (10 tests) +OK (11 tests) |