]> source.dussan.org Git - sonarqube.git/commit
SONAR-2371 SurefireSensor should not insert unit test measures when there is no reports
authorEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 19 Apr 2011 15:33:47 +0000 (19:33 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 19 Apr 2011 21:41:21 +0000 (01:41 +0400)
commit060c18523247bd07431ba5de664193247afa7b9a
treef21fbef3885ea97d64939454a7fb3420ab444270
parent5cc143c7351b3a5d8334a59b42720407232f4153
SONAR-2371 SurefireSensor should not insert unit test measures when there is no reports

- UnitTestDecorator should save zero for unit test measure for project, when there is
  no values for summarizing and type of analysis is reuse reports or dynamic

- Don't use pom.getPackaging() in AbstractSurefireParser
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/api/AbstractSurefireParserTest.java