aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-24 15:38:00 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-24 15:38:00 +0200
commitd01aa198c9a892315924452687a423441051f0fd (patch)
treea1ba38802ba8900ef35a06b8c9388d1500a519ab /src/test/java/org
parent60a6d239322c9d694bc12ab21c5d8f4d830da3d0 (diff)
downloadsonar-scanner-cli-d01aa198c9a892315924452687a423441051f0fd.tar.gz
sonar-scanner-cli-d01aa198c9a892315924452687a423441051f0fd.zip
Fix method name
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/sonar/runner/internal/batch/SonarProjectBuilderTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/sonar/runner/internal/batch/SonarProjectBuilderTest.java b/src/test/java/org/sonar/runner/internal/batch/SonarProjectBuilderTest.java
index c83889e..3c51885 100644
--- a/src/test/java/org/sonar/runner/internal/batch/SonarProjectBuilderTest.java
+++ b/src/test/java/org/sonar/runner/internal/batch/SonarProjectBuilderTest.java
@@ -417,11 +417,11 @@ public class SonarProjectBuilderTest {
props1.put("sonar.projectKey", "mod1");
root.addSubProject(ProjectDefinition.create(props1));
- // Check unicity of a new module: OK
+ // Check uniqueness of a new module: OK
Properties props2 = new Properties();
props2.put("sonar.projectKey", "mod2");
ProjectDefinition mod2 = ProjectDefinition.create(props2);
- SonarProjectBuilder.checkUnicityOfChildKey(mod2, root);
+ SonarProjectBuilder.checkUniquenessOfChildKey(mod2, root);
// Now, add it and check again
root.addSubProject(mod2);
@@ -429,7 +429,7 @@ public class SonarProjectBuilderTest {
thrown.expect(RunnerException.class);
thrown.expectMessage("Project 'root' can't have 2 modules with the following key: mod2");
- SonarProjectBuilder.checkUnicityOfChildKey(mod2, root);
+ SonarProjectBuilder.checkUniquenessOfChildKey(mod2, root);
}
@Test