Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
student:eclipse:eclemma [2020/01/17 14:27] – [Accessibility Settings] doongsstudent:eclipse:eclemma [2023/04/23 13:48] bernstdh
Line 1: Line 1:
- 
  
 ===== The EclEmma Code Coverage Tool for Eclipse ===== ===== The EclEmma Code Coverage Tool for Eclipse =====
Line 84: Line 83:
  
  
-Java adds an automatic constructor to all classes that do not    have a constructor, including utility classes. So, unless you go    out of your way to do so, your test suite will not cover the    automatic constructor which means that the declaration of the    class may appear to be uncovered. If you want, you can construct    an instance of the utility class in one of your tests (and, so,    cover the automatic constructor).+Java adds an automatic constructor to all classes that do not have a constructor, including utility classes. So, unless you go    out of your way to do so, your test suite will not cover the  automatic constructor which means that the declaration of the    class may appear to be uncovered. To get complete coverage you can
 +  * Construct  an instance of the utility class in one of your tests (and, so,    cover the automatic constructor); or 
 +  * Add a private default constructor to the utility class.
  
 ==== Accessibility Settings ==== ==== Accessibility Settings ====
Line 90: Line 91:
 To change the color settings (for those who have difficulty with red/green colorblindness): To change the color settings (for those who have difficulty with red/green colorblindness):
  
-Window -> Preferences -> General -> Editors -> Text Editors -Annotations+<key>Window+Preferences+General+Editors+Text Editors+Annotations</key>
  
 The settings for code coverage highlighting can be found within The settings for code coverage highlighting can be found within