]> source.dussan.org Git - sonarqube.git/commit
SONAR-2371 Rework UnitTestDecorator and SurefireSensor
authorEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 3 May 2011 21:47:38 +0000 (01:47 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 4 May 2011 15:09:54 +0000 (19:09 +0400)
commit86de4c3aff2d4eac1c7944e3658367c19784230c
tree1b02995dd22422803c18f9732b720054190dfa61
parent1ae9da926fecb5e2eac4bb9f2f21c60db30320b4
SONAR-2371 Rework UnitTestDecorator and SurefireSensor

* UnitTestDecorator should not save zero value for tests metric

* SurefireSensor should save zero when no reports and project do not
  contain any modules
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/UnitTestDecorator.java
plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/sensors/UnitTestDecoratorTest.java
plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/api/AbstractSurefireParser.java
plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/SurefireSensorTest.java
plugins/sonar-surefire-plugin/src/test/java/org/sonar/plugins/surefire/api/AbstractSurefireParserTest.java