summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5Pfapl.java
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-12-28 22:49:50 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-12-28 22:49:50 (GMT)
commitbd34c9e455988ab1d4e550ff16c0410b5624298a (patch)
treeb1514f2f775cf1329791dbb2a9e008256fb054d9 /java/test/TestH5Pfapl.java
parent732074d47e02c2e01fe794351c681d64b93a5f47 (diff)
downloadhdf5-bd34c9e455988ab1d4e550ff16c0410b5624298a.zip
hdf5-bd34c9e455988ab1d4e550ff16c0410b5624298a.tar.gz
hdf5-bd34c9e455988ab1d4e550ff16c0410b5624298a.tar.bz2
HDFFV-9724 Corrected files and verified tests
Diffstat (limited to 'java/test/TestH5Pfapl.java')
-rw-r--r--java/test/TestH5Pfapl.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/java/test/TestH5Pfapl.java b/java/test/TestH5Pfapl.java
index d4a2231..48a5986 100644
--- a/java/test/TestH5Pfapl.java
+++ b/java/test/TestH5Pfapl.java
@@ -1376,4 +1376,18 @@ public class TestH5Pfapl {
deleteH5file();
_deleteLogFile();
}
+
+ @Test
+ public void testH5P_evict_on_close() {
+ boolean ret_val_id = false;
+ try {
+ H5.H5Pset_evict_on_close(fapl_id, true);
+ ret_val_id = H5.H5Pget_evict_on_close(fapl_id);
+ assertTrue("H5P_evict_on_close", ret_val_id);
+ }
+ catch (Throwable err) {
+ err.printStackTrace();
+ fail("H5P_evict_on_close: " + err);
+ }
+ }
}