I have a class that starts with:
public class GeneralID implements WritableComparable<GeneralID>{ ... }
One more thing:
public class LineValuesMapper<KI, VI, KO, VO> extends Mapper<LongWritable, Text, Text, IntWritable>{ ... }
All methods in these classes are covered. But not their headline. The title of both classes is yellow using EclEmma.
Covered instructions for these classes:
Element Coverage Covered Instructions Total Instructions LineValuesMapper.java 97.3 % 145 149 GeneralID.java 99.3 % 566 570
Is there anything I can do to completely cover the class header?
java unit-testing emma
Tiago veloso
source share