Bug 520422 - Listener methods of StyledText not covered by unit tests
Summary: Listener methods of StyledText not covered by unit tests
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.8   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 4.8 M2   Edit
Assignee: Arne Deutsch CLA
QA Contact: Leo Ufimtsev CLA
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2017-08-01 10:50 EDT by Arne Deutsch CLA
Modified: 2017-09-14 04:42 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Deutsch CLA 2017-08-01 10:50:32 EDT
The methods "addCaretListener" and "addWordMovementListener" of "StyledText" are not covered by tests that are inside the "AllWidgetsTests" suite. Especially they are not covered by any test case inside "Test_org_eclipse_swt_custom_StyledText". For better test coverage it would be good to add test cases that call these methods and verify that the listeners are called.
Comment 1 Eclipse Genie CLA 2017-08-01 10:52:22 EDT
New Gerrit change created: https://git.eclipse.org/r/102318
Comment 3 Leo Ufimtsev CLA 2017-08-09 16:00:32 EDT
Will review this and other jUnit patches tomorrow-ish.
Comment 4 Sravan Kumar Lakkimsetti CLA 2017-09-14 04:42:08 EDT
Verified in  I20170913-2000