Bug 564849 - [Tests] Fix unstable JUnit tests
OutputStreamMonitorTests
Two of the tests are explicit written for UTF-8 but the monitor is
initialized with default charset. Since many modern systems use UTF-8 as
default the test still works most of the times.
InputStreamMonitorTests
The closing test stops the input monitoring thread and immediately
checks if the thread is stopped. I saw a few random test failures
locally from this race condition.
BreakpointTests
Calling dispose on a view is not the right way to close the view.
Change-Id: I4e01475032dc5dd69810eedc467ba1ff3efb2ef3
Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
3 files changed