summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5E.java
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-04-10 18:01:49 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-04-10 18:01:49 (GMT)
commitc4ff69d26b77989f795651384a33e3647a1086d3 (patch)
treea58f50274f8809dc9fbdd93550c6eff7956cafdb /java/test/TestH5E.java
parenta9662ba9fbe29c53d86f7bd2d1ec0547b2a154ac (diff)
downloadhdf5-c4ff69d26b77989f795651384a33e3647a1086d3.zip
hdf5-c4ff69d26b77989f795651384a33e3647a1086d3.tar.gz
hdf5-c4ff69d26b77989f795651384a33e3647a1086d3.tar.bz2
Whitespace and test reclassify
Diffstat (limited to 'java/test/TestH5E.java')
-rw-r--r--java/test/TestH5E.java18
1 files changed, 6 insertions, 12 deletions
diff --git a/java/test/TestH5E.java b/java/test/TestH5E.java
index aefddfa..dfa2064 100644
--- a/java/test/TestH5E.java
+++ b/java/test/TestH5E.java
@@ -47,8 +47,7 @@ public class TestH5E {
hdf_java_classid = -1;
try {
- hdf_java_classid = H5.H5Eregister_class("HDF-Java-Error",
- "hdf-java", "2.5");
+ hdf_java_classid = H5.H5Eregister_class("HDF-Java-Error", "hdf-java", "2.5");
current_stackid = H5.H5Eget_current_stack();
}
catch (Throwable err) {
@@ -82,18 +81,15 @@ public class TestH5E {
int[] error_msg_type = { HDF5Constants.H5E_MAJOR };
String msg = null;
try {
- msg = H5.H5Eget_msg(hdferr.getMajorErrorNumber(),
- error_msg_type);
+ msg = H5.H5Eget_msg(hdferr.getMajorErrorNumber(), error_msg_type);
}
catch (Throwable err) {
err.printStackTrace();
fail("H5.H5Eget_msg: " + err);
}
assertNotNull("H5.H5Eget_msg: " + msg, msg);
- assertEquals("H5.H5Eget_msg: ", "Object atom",
- msg);
- assertEquals("H5.H5Eget_msg: ", HDF5Constants.H5E_MAJOR,
- error_msg_type[0]);
+ assertEquals("H5.H5Eget_msg: ", "Object atom", msg);
+ assertEquals("H5.H5Eget_msg: ", HDF5Constants.H5E_MAJOR, error_msg_type[0]);
}
catch (Throwable err) {
err.printStackTrace();
@@ -110,8 +106,7 @@ public class TestH5E {
int[] error_msg_type = { HDF5Constants.H5E_MINOR };
String msg = null;
try {
- msg = H5.H5Eget_msg(hdferr.getMinorErrorNumber(),
- error_msg_type);
+ msg = H5.H5Eget_msg(hdferr.getMinorErrorNumber(), error_msg_type);
}
catch (Throwable err) {
err.printStackTrace();
@@ -119,8 +114,7 @@ public class TestH5E {
}
assertNotNull("H5.H5Eget_msg: " + msg, msg);
assertEquals("H5.H5Eget_msg: ", "Unable to find atom information (already closed?)", msg);
- assertEquals("H5.H5Eget_msg: ", HDF5Constants.H5E_MINOR,
- error_msg_type[0]);
+ assertEquals("H5.H5Eget_msg: ", HDF5Constants.H5E_MINOR, error_msg_type[0]);
}
catch (Throwable err) {
err.printStackTrace();