mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
Cosmetics.
This commit is contained in:
parent
73a74679fe
commit
a3962a9bd8
1 changed files with 3 additions and 3 deletions
|
@ -187,7 +187,7 @@ public class BaseTestCase extends TestCase {
|
|||
}
|
||||
};
|
||||
final CCorePlugin corePlugin = CCorePlugin.getDefault();
|
||||
if (corePlugin != null) { //Iif we don't run a JUnit Plugin Test
|
||||
if (corePlugin != null) { // Iff we don't run as a JUnit Plugin Test.
|
||||
corePlugin.getLog().addLogListener(logListener);
|
||||
}
|
||||
|
||||
|
@ -200,8 +200,8 @@ public class BaseTestCase extends TestCase {
|
|||
}
|
||||
|
||||
if (statusLog.size() != fExpectedLoggedNonOK) {
|
||||
StringBuffer msg= new StringBuffer("Expected number (" + fExpectedLoggedNonOK + ") of ");
|
||||
msg.append("non-OK status objects in log differs from actual (" + statusLog.size() + ").\n");
|
||||
StringBuilder msg= new StringBuilder("Expected number (" + fExpectedLoggedNonOK + ") of ");
|
||||
msg.append("Non-OK status objects in log differs from actual (" + statusLog.size() + ").\n");
|
||||
Throwable cause= null;
|
||||
if (!statusLog.isEmpty()) {
|
||||
synchronized (statusLog) {
|
||||
|
|
Loading…
Add table
Reference in a new issue