Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Loth2017-07-10 01:28:26 -0400
committerSarika Sinha2017-07-10 01:28:26 -0400
commit465c87e07610ac0a20f82045da689815deaaffb2 (patch)
tree0ecdaab20f8651d3f77f952e07caf0a20df17d26 /org.eclipse.debug.tests
parent37849a2dc5e14ae4a58bdc5699b77466db1b0b0a (diff)
downloadeclipse.platform.debug-465c87e07610ac0a20f82045da689815deaaffb2.tar.gz
eclipse.platform.debug-465c87e07610ac0a20f82045da689815deaaffb2.tar.xz
eclipse.platform.debug-465c87e07610ac0a20f82045da689815deaaffb2.zip
Bug 518909 - Regression: IOConsoleOutputStream.setEncoding(String)
cannot handle null argument anymore Change-Id: I5bb76e1c850a80b88f6f5e82a9e7fceacd6d6d8c 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.java7
1 files changed, 7 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 d0704a8d9..d1f315a62 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
@@ -137,4 +137,11 @@ public class ConsoleTests extends AbstractDebugTest {
}
}
+ public void testSetNullEncoding() throws IOException {
+ MessageConsole console = new MessageConsole("Test Console 6", null); //$NON-NLS-1$
+ try (IOConsoleOutputStream outStream = console.newOutputStream()) {
+ outStream.setEncoding(null);
+ }
+ }
+
}

Back to the top