summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwilk2011-05-26 19:57:21 (EDT)
committer Ryan D. Brooks2011-05-26 19:57:21 (EDT)
commitba71851449778fb96bc585fae93fc8a061db3d16 (patch)
treeef049cc36e6608fa88794d2d2f4dbf4bb7c26beb
parent7b97a7c9a9fca07c7bb53477552a8d7c2a23ba2f (diff)
downloadorg.eclipse.osee-ba71851449778fb96bc585fae93fc8a061db3d16.zip
org.eclipse.osee-ba71851449778fb96bc585fae93fc8a061db3d16.tar.gz
org.eclipse.osee-ba71851449778fb96bc585fae93fc8a061db3d16.tar.bz2
refactor: TestUtil small quality change
-rw-r--r--plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java15
1 files changed, 7 insertions, 8 deletions
diff --git a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java b/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java
index 9944ed1..6fb3430 100644
--- a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java
+++ b/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/TestUtil.java
@@ -107,15 +107,14 @@ public class TestUtil {
break;
}
}
- if (ignoreIt) {
- continue;
- }
- if (status.getException() != null) {
- System.err.println("SevereLogging Exception: " + Lib.exceptionToString(status.getException()));
- } else {
- System.err.println("SevereLogging Exception: " + status.getMessage());
+ if (!ignoreIt) {
+ if (status.getException() != null) {
+ System.err.println("SevereLogging Exception: " + Lib.exceptionToString(status.getException()));
+ } else {
+ System.err.println("SevereLogging Exception: " + status.getMessage());
+ }
+ numExceptions++;
}
- numExceptions++;
}
}
if (numExceptions > 0) {