Skip to content

Commit ad01f19

Browse files
jonahgrahamakurtakov
authored andcommitted
Fix Test_org_eclipse_swt_custom_BidiSegmentListener
Removed the part of the test that now fails. A specific combination of segments used to cause an exception, but between the pair of commits d3c0efa and b4dfa25 this no longer causes an exception. Therefore I proceeded to remove the invalid test.
1 parent 0ef6051 commit ad01f19

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllWidgetTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@Suite
2424
@SelectClasses({ //
2525
// Sorted list of tests
26-
// Failing test: Test_org_eclipse_swt_custom_BidiSegmentListener.class, //
26+
Test_org_eclipse_swt_custom_BidiSegmentListener.class, //
2727
Test_org_eclipse_swt_custom_BusyIndicator.class, //
2828
Test_org_eclipse_swt_custom_CCombo.class, //
2929
Test_org_eclipse_swt_custom_CLabel.class, //

tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ public void test_lineGetSegmentsLorg_eclipse_swt_custom_BidiSegmentEvent() {
122122

123123
// should all cause an exception on a bidi platform
124124
if (SwtTestUtil.isBidi()) {
125-
testListener(new int[] {lineLength / 2}, true);
126125
testListener(new int[] {0, 1, 1, lineLength / 2}, true);
127126
testListener(new int[] {0, 1, 2, lineLength + 1}, true);
128127
testListener(new int[] {0, 1, lineLength + 1, lineLength + 1}, true);

0 commit comments

Comments
 (0)