Hi,
I'm using the cobertura plugin for maven in a java project where 100% code coverage has to be reached.
A part of the project is to play streaming audio files in java; thus the play method involves a LineUnavailableException when reading the stream.
This exception is impossible (?) to test & simulate in a unit test so to reach 100% coverage I'm looking for a way (tag or something) to tell cobertura to ignore that specific line in my source code.
I have found ways to make cobertura ignore total classes, but how do I make it ignore single lines of my source code? Is there an argument ®ex that I can place after mvn cobertura:cobertura?
Thanks!
Cedric Cuypers
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Cobertura-devel mailing list
Cobertura-devel@...
https://lists.sourceforge.net/lists/listinfo/cobertura-devel