diff options
Diffstat (limited to 'sonar-batch/src/test/java/org/sonar/batch/debt/SqaleRatingGridTest.java')
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/debt/SqaleRatingGridTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/debt/SqaleRatingGridTest.java b/sonar-batch/src/test/java/org/sonar/batch/debt/SqaleRatingGridTest.java index 830b6319e15..15ef8398d69 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/debt/SqaleRatingGridTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/debt/SqaleRatingGridTest.java @@ -41,7 +41,7 @@ public class SqaleRatingGridTest { } @Test - public void return_grade_lower_bound() throws Exception { + public void return_grade_lower_bound() { assertThat(ratingGrid.getGradeLowerBound(SqaleRatingGrid.SqaleRating.A)).isEqualTo(0); assertThat(ratingGrid.getGradeLowerBound(SqaleRatingGrid.SqaleRating.B)).isEqualTo(0.1); assertThat(ratingGrid.getGradeLowerBound(SqaleRatingGrid.SqaleRating.C)).isEqualTo(0.2); @@ -50,7 +50,7 @@ public class SqaleRatingGridTest { } @Test - public void return_rating_matching_density() throws Exception { + public void return_rating_matching_density() { assertThat(ratingGrid.getRatingForDensity(0)).isEqualTo(1); assertThat(ratingGrid.getRatingForDensity(0.05)).isEqualTo(1); assertThat(ratingGrid.getRatingForDensity(0.1)).isEqualTo(2); @@ -64,7 +64,7 @@ public class SqaleRatingGridTest { } @Test - public void fail_on_invalid_density() throws Exception { + public void fail_on_invalid_density() { throwable.expect(RuntimeException.class); ratingGrid.getRatingForDensity(-1); |