]> source.dussan.org Git - sonarqube.git/commit
SONAR-2453 Update the way "false-positive" reviews are managed
authorEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 22 Jun 2011 08:58:16 +0000 (12:58 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Thu, 23 Jun 2011 10:33:05 +0000 (14:33 +0400)
commit2e69ab5a682768568f24c037480cd7a18d832459
tree55e998575e9ff417d9b7cbb60a20c6821e794fe6
parent9be8dbadcb5f991b6a9a507136efe61e60e9bc4d
SONAR-2453 Update the way "false-positive" reviews are managed

* The column REVIEWS.FALSE-POSITIVE should be renamed to
  REVIEWS.RESOLUTION, the value of this column should be FALSE-POSITIVE
  for false-positive reviews and FIXED for other RESOLVED reviews.

* The status of a false-positive reviews should be RESOLVED.
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/CloseReviewsDecorator.java
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/CloseReviewsDecoratorTest/fixture.xml
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/CloseReviewsDecoratorTest/shouldCloseReviewWithoutCorrespondingViolation-result.xml
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/CloseReviewsDecoratorTest/shouldReopenResolvedReviewWithNonFixedViolation-result.xml
plugins/sonar-dbcleaner-plugin/src/test/resources/org/sonar/plugins/dbcleaner/purges/PurgeOrphanReviewsTest/purgeOrphanReviews-result.xml
plugins/sonar-dbcleaner-plugin/src/test/resources/org/sonar/plugins/dbcleaner/purges/PurgeOrphanReviewsTest/purgeOrphanReviews.xml
sonar-server/src/main/webapp/WEB-INF/app/models/review.rb
sonar-server/src/main/webapp/WEB-INF/app/views/resource/_violation.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb
sonar-server/src/main/webapp/WEB-INF/db/migrate/201_change_false_positive_on_reviews.rb
sonar-testing-harness/src/main/resources/org/sonar/test/persistence/sonar-test.ddl