summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5Oparams.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/TestH5Oparams.java')
-rw-r--r--java/test/TestH5Oparams.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/test/TestH5Oparams.java b/java/test/TestH5Oparams.java
index 280e9fd..296babc 100644
--- a/java/test/TestH5Oparams.java
+++ b/java/test/TestH5Oparams.java
@@ -168,6 +168,7 @@ public class TestH5Oparams {
H5.H5Ovisit_by_name(-1, "Bogus", -1, -1, null, null, 0, -1);
}
+ @SuppressWarnings("deprecation")
@Test(expected = HDF5LibraryException.class)
public void testH5Oset_comment_invalid() throws Throwable
{
@@ -180,12 +181,14 @@ public class TestH5Oparams {
H5.H5Oget_comment(-1);
}
+ @SuppressWarnings("deprecation")
@Test(expected = HDF5LibraryException.class)
public void testH5Oset_comment_by_name_invalid() throws Throwable
{
H5.H5Oset_comment_by_name(-1, "Bogus", null, -1);
}
+ @SuppressWarnings("deprecation")
@Test(expected = NullPointerException.class)
public void testH5Oset_comment_by_name_null() throws Throwable
{