Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 423458

Summary: Add more unit tests for API orion.compareUtils.mergeDiffBlocks.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: 5.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2013-12-06 12:16:47 EST
The unified diff viewer is consuming orion.compareUtils.mergeDiffBlocks in order to fake a merged textModel to represent deleted and added lines.
In bug 423442, we hit some corner cases where the original file has no line ending at EOF.
I've fixed bug 423442 but we need to add more unit tests on this API for that.