Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Loth2017-03-01 23:53:48 -0500
committerSarika Sinha2017-03-01 23:53:48 -0500
commit5875ab13fa7cbd511932f98efcdeb50447d49d99 (patch)
treeab4196c371c13995e97999d5b99f688127d90526 /org.eclipse.debug.tests
parentb880d44d7e2ff505bfed40ca37b130b24e60993d (diff)
downloadeclipse.platform.debug-5875ab13fa7cbd511932f98efcdeb50447d49d99.tar.gz
eclipse.platform.debug-5875ab13fa7cbd511932f98efcdeb50447d49d99.tar.xz
eclipse.platform.debug-5875ab13fa7cbd511932f98efcdeb50447d49d99.zip
Bug 507664 - IOConsoleOutputStream does not handle multi-byte characters
at buffer boundaries correctly Change-Id: Idfeabbcff7330541c5908ac4b3464a5cce1398ce Signed-off-by: Andreas Loth <andy_2639@justmail.de>
Diffstat (limited to 'org.eclipse.debug.tests')
-rw-r--r--org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ConsoleTests.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ConsoleTests.java b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ConsoleTests.java
index 3939c4d3a..f53a2a36c 100644
--- a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ConsoleTests.java
+++ b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ConsoleTests.java
@@ -55,6 +55,9 @@ public class ConsoleTests extends TestCase {
TestHelper.waitForJobs();
TestCase.assertEquals("whole test string should be written", testString, document.get()); //$NON-NLS-1$
}
+ // after closing the stream, the document content should still be the
+ // same
+ TestCase.assertEquals("closing the stream should not alter the document", testString, document.get()); //$NON-NLS-1$
}
}

Back to the top