summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5P.java
diff options
context:
space:
mode:
authorlrknox <lrknox>2017-12-22 18:28:24 (GMT)
committerlrknox <lrknox>2017-12-22 18:28:24 (GMT)
commit86d8a4c267eccbc66d6ee6120c9099788853c40f (patch)
tree53f3d57003fb1f19faea8ca3a9393d44c3cdda0d /java/test/TestH5P.java
parentb1223dd653e65e076af92b2dfe236f3704da81c8 (diff)
downloadhdf5-86d8a4c267eccbc66d6ee6120c9099788853c40f.zip
hdf5-86d8a4c267eccbc66d6ee6120c9099788853c40f.tar.gz
hdf5-86d8a4c267eccbc66d6ee6120c9099788853c40f.tar.bz2
Revert "Merge pull request #826 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop"
This reverts commit b1223dd653e65e076af92b2dfe236f3704da81c8, reversing changes made to b25f123f5f5e25c1447a6a02861cb7c7265c12f2.
Diffstat (limited to 'java/test/TestH5P.java')
-rw-r--r--java/test/TestH5P.java53
1 files changed, 1 insertions, 52 deletions
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);
- }
- }
}