summaryrefslogtreecommitdiffstats
path: root/java/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-06-14 23:07:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-06-14 23:07:03 (GMT)
commitd3396a79532601bf22e385f94b12e55dfb2c3bd0 (patch)
treededf3566ea2ebf40c2d7475e8a50a3f2f0d57774 /java/test
parent7a9e13afdb134bafc070cf8bd2087a84fd0d2334 (diff)
downloadhdf5-d3396a79532601bf22e385f94b12e55dfb2c3bd0.zip
hdf5-d3396a79532601bf22e385f94b12e55dfb2c3bd0.tar.gz
hdf5-d3396a79532601bf22e385f94b12e55dfb2c3bd0.tar.bz2
[svn-r30075] Description:
Bring object/dataset/group/named datatype features from revise_chunks branch to trunk. Also CMake support for h5format_convert and a bunch of misc. cleanups. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
Diffstat (limited to 'java/test')
-rw-r--r--java/test/JUnit-interface.txt10
-rw-r--r--java/test/TestH5Dparams.java10
-rw-r--r--java/test/TestH5Gbasic.java10
-rw-r--r--java/test/TestH5Oparams.java10
-rw-r--r--java/test/TestH5Tparams.java10
5 files changed, 49 insertions, 1 deletions
diff --git a/java/test/JUnit-interface.txt b/java/test/JUnit-interface.txt
index 12e67ad..cbd93e0 100644
--- a/java/test/JUnit-interface.txt
+++ b/java/test/JUnit-interface.txt
@@ -105,7 +105,9 @@ JUnit version 4.11
.testH5Gcreate_null
.testH5Gget_info_by_idx_fileid
.testH5Gclose_invalid
+.testH5Gflush_invalid
.testH5Gopen_invalid
+.testH5Grefresh_invalid
.testH5Gget_info_invalid
.testH5Gcreate_invalid
.testH5Gcreate_exists
@@ -232,9 +234,11 @@ JUnit version 4.11
.testH5Tget_nmembers_invalid
.testH5Tarray_create_value_null
.testH5Tset_size_invalid
+.testH5Tflush_invalid
.testH5Tenum_insert_invalid
.testH5Tget_array_dims_null
.testH5Tget_member_index_null
+.testH5Trefresh_invalid
.testH5Tset_sign_invalid
.testH5Tenum_insert_name_null
.testH5Tequal_not
@@ -270,6 +274,8 @@ JUnit version 4.11
.testH5Dvlen_reclaim_invalid
.testH5Dopen_invalid
.testH5Dclose_invalid
+.testH5Dflush_invalid
+.testH5Drefresh_invalid
.testH5Dget_storage_size_invalid
.testH5Dget_space_invalid
.testH5Dopen_null
@@ -564,7 +570,9 @@ JUnit version 4.11
.testH5Oset_comment_by_name_invalid
.testH5Oopen_null
.testH5Oclose_invalid
+.testH5Oflush_invalid
.testH5Oget_comment_by_name_invalid
+.testH5Orefresh_invalid
.testH5Ocopy_null_dest
.testH5Olink_invalid
.testH5Oget_info_by_idx_invalid
@@ -626,7 +634,7 @@ JUnit version 4.11
Time: XXXX
-OK (624 tests)
+OK (632 tests)
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#000: (file name) line (number) in H5Fopen(): can't set access and transfer property lists
diff --git a/java/test/TestH5Dparams.java b/java/test/TestH5Dparams.java
index f056027..2cdd121 100644
--- a/java/test/TestH5Dparams.java
+++ b/java/test/TestH5Dparams.java
@@ -131,4 +131,14 @@ public class TestH5Dparams {
H5.H5Dget_storage_size(-1);
}
+ @Test(expected = HDF5LibraryException.class)
+ public void testH5Dflush_invalid() throws Throwable {
+ H5.H5Dflush(-1);
+ }
+
+ @Test(expected = HDF5LibraryException.class)
+ public void testH5Drefresh_invalid() throws Throwable {
+ H5.H5Drefresh(-1);
+ }
+
}
diff --git a/java/test/TestH5Gbasic.java b/java/test/TestH5Gbasic.java
index 70acef4..b049e15 100644
--- a/java/test/TestH5Gbasic.java
+++ b/java/test/TestH5Gbasic.java
@@ -368,4 +368,14 @@ public class TestH5Gbasic {
assertNotNull(info);
}
+ @Test(expected = HDF5LibraryException.class)
+ public void testH5Gflush_invalid() throws Throwable {
+ H5.H5Gflush(-1);
+ }
+
+ @Test(expected = HDF5LibraryException.class)
+ public void testH5Grefresh_invalid() throws Throwable {
+ H5.H5Grefresh(-1);
+ }
+
}
diff --git a/java/test/TestH5Oparams.java b/java/test/TestH5Oparams.java
index ced66f5..9398940 100644
--- a/java/test/TestH5Oparams.java
+++ b/java/test/TestH5Oparams.java
@@ -151,4 +151,14 @@ public class TestH5Oparams {
H5.H5Oget_comment_by_name(-1, null, -1);
}
+ @Test(expected = HDF5LibraryException.class)
+ public void testH5Oflush_invalid() throws Throwable {
+ H5.H5Oflush(-1);
+ }
+
+ @Test(expected = HDF5LibraryException.class)
+ public void testH5Orefresh_invalid() throws Throwable {
+ H5.H5Orefresh(-1);
+ }
+
}
diff --git a/java/test/TestH5Tparams.java b/java/test/TestH5Tparams.java
index 15cc6af..4ebeea7 100644
--- a/java/test/TestH5Tparams.java
+++ b/java/test/TestH5Tparams.java
@@ -386,4 +386,14 @@ public class TestH5Tparams {
H5.H5Tget_native_type(-1);
}
+ @Test(expected = HDF5LibraryException.class)
+ public void testH5Tflush_invalid() throws Throwable {
+ H5.H5Tflush(-1);
+ }
+
+ @Test(expected = HDF5LibraryException.class)
+ public void testH5Trefresh_invalid() throws Throwable {
+ H5.H5Trefresh(-1);
+ }
+
}