diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-09-19 13:06:05 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-09-19 13:06:05 (GMT) |
commit | fe418f6c2389122bbab2404046513fac9d6dab7e (patch) | |
tree | a46acd97641a8e550052de42b62e623cc0b59e9d /java/test/TestH5E.java | |
parent | ec53237fb849042b4a5b276a3e66a98ebb3710ee (diff) | |
download | hdf5-fe418f6c2389122bbab2404046513fac9d6dab7e.zip hdf5-fe418f6c2389122bbab2404046513fac9d6dab7e.tar.gz hdf5-fe418f6c2389122bbab2404046513fac9d6dab7e.tar.bz2 |
Use constants for test comparisons
Diffstat (limited to 'java/test/TestH5E.java')
-rw-r--r-- | java/test/TestH5E.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/test/TestH5E.java b/java/test/TestH5E.java index 656069a..7810c74 100644 --- a/java/test/TestH5E.java +++ b/java/test/TestH5E.java @@ -168,7 +168,7 @@ public class TestH5E { fail("H5.H5Epop: " + err); } - assertTrue("H5.H5Epop #:" + num_msg, num_msg == 4); + assertTrue("H5.H5Epop #:" + num_msg, num_msg == 3); try { H5.H5Epop(current_stackid, 1); @@ -186,7 +186,7 @@ public class TestH5E { fail("H5.H5Epop: " + err); } - assertTrue("H5.H5Epop", num_msg == 3); + assertTrue("H5.H5Epop", num_msg == 2); } @Test @@ -314,7 +314,7 @@ public class TestH5E { err.printStackTrace(); fail("testH5Ewalk:H5Eget_num " + err); } - assertTrue("testH5Ewalk #:" + num_msg, num_msg == 4); + assertTrue("testH5Ewalk #:" + num_msg, num_msg == 3); try { H5.H5Ewalk2(current_stackid, HDF5Constants.H5E_WALK_UPWARD, walk_cb, walk_data); |