mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Cosmetics.
This commit is contained in:
parent
27808358a3
commit
a6685ef272
1 changed files with 3 additions and 3 deletions
|
@ -156,15 +156,15 @@ public class BaseTestCase extends TestCase {
|
|||
}
|
||||
|
||||
if (statusLog.size() != fExpectedLoggedNonOK) {
|
||||
StringBuffer msg= new StringBuffer("Expected number ("+fExpectedLoggedNonOK+") of ");
|
||||
msg.append("non-OK status objects differs from actual ("+statusLog.size()+").\n");
|
||||
StringBuffer msg= new StringBuffer("Expected number (" + fExpectedLoggedNonOK + ") of ");
|
||||
msg.append("non-OK status objects differs from actual (" + statusLog.size() + ").\n");
|
||||
Throwable cause= null;
|
||||
if (!statusLog.isEmpty()) {
|
||||
for (IStatus status : statusLog) {
|
||||
IStatus[] ss= {status};
|
||||
ss= status instanceof MultiStatus ? ((MultiStatus) status).getChildren() : ss;
|
||||
for (IStatus s : ss) {
|
||||
msg.append("\t" + s.getMessage()+" ");
|
||||
msg.append("\t" + s.getMessage() + " ");
|
||||
|
||||
Throwable t= s.getException();
|
||||
cause= cause != null ? cause : t;
|
||||
|
|
Loading…
Add table
Reference in a new issue