summaryrefslogtreecommitdiffstats
path: root/java/test
diff options
context:
space:
mode:
Diffstat (limited to 'java/test')
-rw-r--r--java/test/JUnit-interface.txt9
-rw-r--r--java/test/TestH5P.java53
-rw-r--r--java/test/TestH5Pfapl.java14
-rw-r--r--java/test/TestH5Pvirtual.java33
4 files changed, 2 insertions, 107 deletions
diff --git a/java/test/JUnit-interface.txt b/java/test/JUnit-interface.txt
index 91ea286..ab2f3b1 100644
--- a/java/test/JUnit-interface.txt
+++ b/java/test/JUnit-interface.txt
@@ -415,7 +415,6 @@ JUnit version 4.11
.testH5PH5Pset_shared_mesg_phase_change_HighMaxlistValue
.testH5P_layout
.testH5Pget_link_creation_order
-.testH5Pget_efile_prefix
.testH5Pset_shared_mesg_nindexes_InvalidHIGHnindexes
.testH5P_file_space_page_size
.testH5Pget_shared_mesg_index_Invalid_indexnum
@@ -445,7 +444,6 @@ JUnit version 4.11
.testH5Pset_est_link_info_InvalidValues
.testH5Pset_local_heap_size_hint
.testH5Pget_est_link_info
-.testH5Pset_efile_prefix_null
.testH5Pset_scaleoffset
.testH5Pset_create_intermediate_group_invalidobject
.testH5PH5Pset_shared_mesg_phase_change_HighMinbtreeValue
@@ -468,7 +466,6 @@ JUnit version 4.11
.testH5Pget_sym_k_null
.testH5Pset_nlinks
.testH5P_obj_track_times
-.testH5Pset_efile_prefix
.testH5P_userblock
.testH5Pget_local_heap_size_hint
.testH5Pset_shared_mesg_index_Invalid_indexnum
@@ -507,7 +504,6 @@ JUnit version 4.11
.testH5Pset_mdc_config
.testH5P_small_data_block_size
.testH5Pset_fapl_log
-.testH5P_evict_on_close
.testH5Pset_libver_bounds
.testH5P_sieve_buf_size
.testH5P_elink_file_cache_size
@@ -534,14 +530,11 @@ JUnit version 4.11
.testH5Pget_source_datasetname
.testH5Pvirtual_storage
.testH5Pget_selection_source_dataset
-.testH5Pget_virtual_prefix
.testH5Pget_source_filename
.testH5Pset_get_virtual_printf_gap
.testH5Pget_virtual_count
-.testH5Pset_virtual_prefix
.testH5Pset_get_virtual_view
.testH5Pget_mapping_parameters
-.testH5Pset_virtual_prefix_null
.testH5P_genprop_basic_class
.testH5P_genprop_class_iter
.testH5P_genprop_basic_class_prop
@@ -647,7 +640,7 @@ JUnit version 4.11
Time: XXXX
-OK (645 tests)
+OK (638 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/TestH5P.java b/java/test/TestH5P.java
index 9e45e4c..5aafb5b 100644
--- a/java/test/TestH5P.java
+++ b/java/test/TestH5P.java
@@ -28,7 +28,6 @@ import hdf.hdf5lib.exceptions.HDF5LibraryException;
import org.junit.After;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
@@ -853,7 +852,7 @@ public class TestH5P {
}
catch (Throwable err) {
err.printStackTrace();
- fail("H5Pset_elink_prefix: " + err);
+ fail("H5Pset_est_link_info: " + err);
}
assertTrue("H5Pset_elink_prefix", ret_val >= 0);
}
@@ -1233,54 +1232,4 @@ public class TestH5P {
fail("testH5P_file_space_page_size: " + err);
}
}
-
- @Test
- public void testH5Pset_efile_prefix() {
- String prefix = "tmp";
- try {
- H5.H5Pset_efile_prefix(lapl_id, prefix);
- }
- catch (Throwable err) {
- err.printStackTrace();
- fail("H5Pset_efile_prefix: " + err);
- }
- }
-
- @Test(expected = NullPointerException.class)
- public void testH5Pset_efile_prefix_null() throws Throwable{
- H5.H5Pset_efile_prefix(lapl_id, null);
- }
-
- @Test
- public void testH5Pget_efile_prefix() {
- String prefix = "tmp";
- String pre = "";
-
- try {
- H5.H5Pset_efile_prefix(lapl_id, prefix);
- pre = H5.H5Pget_efile_prefix(lapl_id);
- }
- catch (Throwable err) {
- err.printStackTrace();
- fail("H5Pget_efile_prefix: " + err);
- }
- assertTrue("The prefix: ", prefix.equals(pre));
- }
-
- @Ignore
- public void testH5P_chunk_opts() {
- int chunk_opts = -1;
-
- try {
- chunk_opts = H5.H5Pget_chunk_opts(ocpl_id);
- assertTrue("chunk_opts: "+chunk_opts, chunk_opts == 0);
- H5.H5Pset_chunk_opts(ocpl_id, HDF5Constants.H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS);
- chunk_opts = H5.H5Pget_chunk_opts(ocpl_id);
- assertTrue("chunk_opts: "+chunk_opts, chunk_opts == HDF5Constants.H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS);
- }
- catch (Throwable err) {
- err.printStackTrace();
- fail("H5Pget_lchunk_opts: " + err);
- }
- }
}
diff --git a/java/test/TestH5Pfapl.java b/java/test/TestH5Pfapl.java
index 48a5986..d4a2231 100644
--- a/java/test/TestH5Pfapl.java
+++ b/java/test/TestH5Pfapl.java
@@ -1376,18 +1376,4 @@ 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);
- }
- }
}
diff --git a/java/test/TestH5Pvirtual.java b/java/test/TestH5Pvirtual.java
index ff2e4dc..40cfbac 100644
--- a/java/test/TestH5Pvirtual.java
+++ b/java/test/TestH5Pvirtual.java
@@ -429,37 +429,4 @@ public class TestH5Pvirtual {
try {H5.H5Dclose(H5did);} catch (Exception ex) {}
}
}
-
- @Test
- public void testH5Pset_virtual_prefix() {
- String prefix = "tmp";
- try {
- H5.H5Pset_virtual_prefix(H5dapl_id, prefix);
- }
- catch (Throwable err) {
- err.printStackTrace();
- fail("H5Pset_virtual_prefix: " + err);
- }
- }
-
- @Test(expected = NullPointerException.class)
- public void testH5Pset_virtual_prefix_null() throws Throwable{
- H5.H5Pset_virtual_prefix(H5dapl_id, null);
- }
-
- @Test
- public void testH5Pget_virtual_prefix() {
- String prefix = "tmp";
- String pre = "";
-
- try {
- H5.H5Pset_virtual_prefix(H5dapl_id, prefix);
- pre = H5.H5Pget_virtual_prefix(H5dapl_id);
- }
- catch (Throwable err) {
- err.printStackTrace();
- fail("H5Pget_virtual_prefix: " + err);
- }
- assertTrue("The prefix: ", prefix.equals(pre));
- }
}