summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/test/TestH5Plist.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/java/test/TestH5Plist.java b/java/test/TestH5Plist.java
index c4dee01..e87909e 100644
--- a/java/test/TestH5Plist.java
+++ b/java/test/TestH5Plist.java
@@ -337,7 +337,7 @@ public class TestH5Plist {
err.printStackTrace();
fail("H5Pexist plist_class_id: " + err);
}
- assertTrue("H5Pexist plist_class_id "+PROP1_NAME, status == 1);
+ assertTrue("H5Pexist plist_class_id "+PROP1_NAME, status > 0);
// Check the size of the first property
try {
@@ -388,7 +388,7 @@ public class TestH5Plist {
err.printStackTrace();
fail("H5Pexist plist_class_id: " + err);
}
- assertTrue("H5Pexist plist_class_id "+PROP2_NAME, status == 1);
+ assertTrue("H5Pexist plist_class_id "+PROP2_NAME, status > 0);
// Check the size of the second property
try {
@@ -429,7 +429,7 @@ public class TestH5Plist {
err.printStackTrace();
fail("H5Pexist plist_class_id: " + err);
}
- assertTrue("H5Pexist plist_class_id "+PROP3_NAME, status == 1);
+ assertTrue("H5Pexist plist_class_id "+PROP3_NAME, status > 0);
// Check the size of the third property
try {
@@ -725,7 +725,7 @@ public class TestH5Plist {
err.printStackTrace();
fail("H5Pexist plist_class_id: " + err);
}
- assertTrue("H5Pexist lid1 "+PROP1_NAME, status == 1);
+ assertTrue("H5Pexist lid1 "+PROP1_NAME, status > 0);
try {
status = H5.H5Pexist(lid1, PROP2_NAME);
}
@@ -733,7 +733,7 @@ public class TestH5Plist {
err.printStackTrace();
fail("H5Pexist plist_class_id: " + err);
}
- assertTrue("H5Pexist lid1 "+PROP2_NAME, status == 1);
+ assertTrue("H5Pexist lid1 "+PROP2_NAME, status > 0);
try {
status = H5.H5Pexist(lid1, PROP3_NAME);
}
@@ -741,7 +741,7 @@ public class TestH5Plist {
err.printStackTrace();
fail("H5Pexist plist_class_id: " + err);
}
- assertTrue("H5Pexist lid1 "+PROP3_NAME, status == 1);
+ assertTrue("H5Pexist lid1 "+PROP3_NAME, status > 0);
try {
status = H5.H5Pexist(lid1, PROP4_NAME);
}
@@ -749,7 +749,7 @@ public class TestH5Plist {
err.printStackTrace();
fail("H5Pexist plist_class_id: " + err);
}
- assertTrue("H5Pexist lid1 "+PROP4_NAME, status == 1);
+ assertTrue("H5Pexist lid1 "+PROP4_NAME, status > 0);
}
finally {