summaryrefslogtreecommitdiffstats
path: root/java/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-05 23:20:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-05 23:21:02 (GMT)
commite8ad5f6d1ad5eecf79168026f10899d1798451a0 (patch)
tree57e7598a72d8a2795a59021958b984b60429b7f8 /java/test
parent4747e2f2ad58bd00878a5c669df3ea7f02eabb5a (diff)
downloadhdf5-e8ad5f6d1ad5eecf79168026f10899d1798451a0.zip
hdf5-e8ad5f6d1ad5eecf79168026f10899d1798451a0.tar.gz
hdf5-e8ad5f6d1ad5eecf79168026f10899d1798451a0.tar.bz2
HDFFV-10876 Update dump to match DDL spec
Diffstat (limited to 'java/test')
-rw-r--r--java/test/TestH5.java6
-rw-r--r--java/test/testfiles/JUnit-TestH5.txt3
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)