aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/test
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-08-02 18:18:07 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-08-02 18:18:07 +0200
commit1f5682409af97410aca5e545ccbd40b6b037e6a9 (patch)
treeba9f1fe3c26d994b9aaafe9a09d5cf528fc21a41 /sonar-ws-client/src/test
parent6e38de82d91aed63e200f0b45f54a4a2a7875941 (diff)
downloadsonarqube-1f5682409af97410aca5e545ccbd40b6b037e6a9.tar.gz
sonarqube-1f5682409af97410aca5e545ccbd40b6b037e6a9.zip
Fix new violations
Diffstat (limited to 'sonar-ws-client/src/test')
-rw-r--r--sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ManualMeasureUnmarshallerTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ManualMeasureUnmarshallerTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ManualMeasureUnmarshallerTest.java
index cc6667bc4f9..dcd7b6c4150 100644
--- a/sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ManualMeasureUnmarshallerTest.java
+++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ManualMeasureUnmarshallerTest.java
@@ -21,9 +21,7 @@ package org.sonar.wsclient.unmarshallers;
import org.junit.Test;
import org.sonar.wsclient.services.ManualMeasure;
-import org.sonar.wsclient.services.Metric;
-import java.util.Collection;
import java.util.List;
import static org.hamcrest.CoreMatchers.nullValue;
@@ -45,7 +43,7 @@ public class ManualMeasureUnmarshallerTest extends UnmarshallerTestCase {
assertThat(measure.getResourceKey(), is("org.apache.struts:struts-parent"));
assertThat(measure.getValue(), is(302.5));
assertThat(measure.getUserLogin(), is("admin"));
- assertThat(measure.getUserName(), is("Administrator"));
+ assertThat(measure.getUsername(), is("Administrator"));
assertThat(measure.getCreatedAt().getDate(), is(27));
assertThat(measure.getUpdatedAt().getDate(), is(3));
}