Bug 520442 - StyledText.handleMouseDown has low test coverage
Summary: StyledText.handleMouseDown has low test coverage
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: Leo Todo: review & merge
Keywords: test
Depends on:
Blocks:
 
Reported: 2017-08-02 03:44 EDT by Arne Deutsch CLA
Modified: 2017-09-14 04:45 EDT (History)
5 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-02 03:44:06 EDT
StyledText.handleMouseDown is a complex method but has nearly no test coverage through Test_org_eclipse_swt_custom_StyledText. Add unit tests to cover this code to a larger degree.
Comment 1 Eclipse Genie CLA 2017-08-02 03:49:25 EDT
New Gerrit change created: https://git.eclipse.org/r/102340
Comment 3 Leo Ufimtsev CLA 2017-08-10 15:15:40 EDT
Merged. Is this bug resolved?
Comment 4 Ian Pun CLA 2017-08-10 15:18:10 EDT
(In reply to Leo Ufimtsev from comment #3)
> Merged. Is this bug resolved?

The original report was just that there wasnt any coverage for SWT.MouseDown on StyledText. Since we've merged the new junits, there is enough coverage to satisfy closing this in my opinion.
Comment 5 Sravan Kumar Lakkimsetti CLA 2017-09-14 04:45:53 EDT
Verified in I20170913-2000