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

Bug 345399

Summary: [server][test] Identify git REST API code with low test coverage ratio
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: GitAssignee: Project Inbox <orion.git-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: janikpiotrek, Szymon.Brandys
Version: 0.2Keywords: test
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 343496, 347639, 349014, 351826    
Bug Blocks:    

Description Tomasz Zarna CLA 2011-05-11 07:11:09 EDT
1. Localize pieces of code in git REST API which are not covered with tests at a reliable level (eg. run EclEmma tool[1])
2. Open bugs for each area
3. Fix them

[1] http://www.eclemma.org/
Comment 1 Tomasz Zarna CLA 2011-05-16 05:38:35 EDT
Another area which definitely misses unit tests is the new way of creating clones (bug 339854). Some cases I can think of:
* create a project with subfolder, clone repository into that subfolder
* create a project, no subfolder, try to clone repository into a subfolder
* try to clone a project using an empty location/path
* clone a repository using a project name when the project exists and when it doesn't
* try to clone a project using an empty name
Comment 2 John Arthorne CLA 2015-05-05 15:49:47 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Comment 3 John Arthorne CLA 2015-05-05 16:02:36 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html