]> source.dussan.org Git - sonarqube.git/commit
SONAR-3543 Fail analysis if a project has no files
authorFabrice Bellingard <bellingard@gmail.com>
Thu, 5 Jul 2012 16:00:16 +0000 (18:00 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Thu, 5 Jul 2012 16:00:59 +0000 (18:00 +0200)
commit8dc62acc9f20e1400af64f8073fd4cb77d78cc14
tree9135b1433367903975feac25f26485b2b7cdd7d2
parent0c4f2bbafbe616e95d73b983c3e7b5be29644720
SONAR-3543 Fail analysis if a project has no files

=> The Sonar analysis must fail when a project has been analysed
   but the measure 'files' is 0.
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/FilesDecorator.java
plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/sensors/FilesDecoratorTest.java [new file with mode: 0644]