aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/test/java/org/sonar/batch/index
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-02-25 09:51:01 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-02-25 09:51:01 +0100
commit53a1b8acbd4e5ea5ac04396fa8eb2212ce479f57 (patch)
tree8250940a8b42d3d3d5c32dc5cd0979219ac42617 /sonar-batch/src/test/java/org/sonar/batch/index
parent587bcefa00f9d57afb2bd684209f05165b7e8619 (diff)
downloadsonarqube-53a1b8acbd4e5ea5ac04396fa8eb2212ce479f57.tar.gz
sonarqube-53a1b8acbd4e5ea5ac04396fa8eb2212ce479f57.zip
Rename "resource" to "component" in logs of MeasurePersister
Diffstat (limited to 'sonar-batch/src/test/java/org/sonar/batch/index')
-rw-r--r--sonar-batch/src/test/java/org/sonar/batch/index/MeasurePersisterTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/index/MeasurePersisterTest.java b/sonar-batch/src/test/java/org/sonar/batch/index/MeasurePersisterTest.java
index 82b7abe50c3..372a863bd88 100644
--- a/sonar-batch/src/test/java/org/sonar/batch/index/MeasurePersisterTest.java
+++ b/sonar-batch/src/test/java/org/sonar/batch/index/MeasurePersisterTest.java
@@ -94,7 +94,7 @@ public class MeasurePersisterTest extends AbstractDaoTestCase {
Measure measure = new Measure(ncloc()).setValue(1234.0).setAlertText(TOO_LONG);
thrown.expect(SonarException.class);
- thrown.expectMessage("Unable to save measure for metric [ncloc] on resource [foo]");
+ thrown.expectMessage("Unable to save measure for metric [ncloc] on component [foo]");
measurePersister.saveMeasure(project, measure);
}
@@ -213,7 +213,7 @@ public class MeasurePersisterTest extends AbstractDaoTestCase {
measurePersister.saveMeasure(project, new Measure(ncloc()).setValue(1234.0).setData(SHORT).setAlertText(TOO_LONG));
thrown.expect(SonarException.class);
- thrown.expectMessage("Unable to save measure for metric [ncloc] on resource [foo]");
+ thrown.expectMessage("Unable to save measure for metric [ncloc] on component [foo]");
measurePersister.dump();
}