Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIvan Furnadjiev2011-01-17 12:15:52 +0000
committerIvan Furnadjiev2011-01-17 12:15:52 +0000
commita7484b51c3297561c10275bb88e87409cfe7cdec (patch)
tree95214837c40aa6d7a123f3adc7ba65d6ebd1ff2a /tests
parent26346ed4ba0856c69cb69d060974db12cf60e814 (diff)
downloadorg.eclipse.rap-a7484b51c3297561c10275bb88e87409cfe7cdec.tar.gz
org.eclipse.rap-a7484b51c3297561c10275bb88e87409cfe7cdec.tar.xz
org.eclipse.rap-a7484b51c3297561c10275bb88e87409cfe7cdec.zip
Fixed - bug 334509: [GC] GCOperationWriter escapes newline with invalid HTML element
https://bugs.eclipse.org/bugs/show_bug.cgi?id=334509
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/canvaskit/GCOperationWriter_Test.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/canvaskit/GCOperationWriter_Test.java b/tests/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/canvaskit/GCOperationWriter_Test.java
index fc880a0895..93a2fa1cb8 100644
--- a/tests/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/canvaskit/GCOperationWriter_Test.java
+++ b/tests/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/canvaskit/GCOperationWriter_Test.java
@@ -19,13 +19,13 @@ public class GCOperationWriter_Test extends TestCase {
String text = "text with \ttab, \nnew line and &mnemonic";
int flags = SWT.DRAW_TAB | SWT.DRAW_DELIMITER | SWT.DRAW_MNEMONIC;
String expected
- = "text with &nbsp;&nbsp;&nbsp;&nbsp;tab, </br>new line and mnemonic";
+ = "text with &nbsp;&nbsp;&nbsp;&nbsp;tab, <br/>new line and mnemonic";
String result = GCOperationWriter.processText( text, flags );
assertEquals( expected, result );
flags = SWT.DRAW_TAB | SWT.DRAW_DELIMITER;
expected
- = "text with &nbsp;&nbsp;&nbsp;&nbsp;tab, </br>new line and &amp;mnemonic";
+ = "text with &nbsp;&nbsp;&nbsp;&nbsp;tab, <br/>new line and &amp;mnemonic";
result = GCOperationWriter.processText( text, flags );
assertEquals( expected, result );

Back to the top