diff options
author | Godin <mandrikov@gmail.com> | 2010-12-07 17:42:40 +0000 |
---|---|---|
committer | Godin <mandrikov@gmail.com> | 2010-12-07 17:42:40 +0000 |
commit | 7fc9f662522fdd85f71b13e307f38a087a86f1ac (patch) | |
tree | c045e45badb9f0790bdfdf184b1d46c7ad1f5845 /plugins/sonar-squid-java-plugin | |
parent | 7b14f36d5afc4b1a1730307d2dd2b62700b16b59 (diff) | |
download | sonarqube-7fc9f662522fdd85f71b13e307f38a087a86f1ac.tar.gz sonarqube-7fc9f662522fdd85f71b13e307f38a087a86f1ac.zip |
SONAR-1829: Use severity instead of priority
Diffstat (limited to 'plugins/sonar-squid-java-plugin')
2 files changed, 11 insertions, 11 deletions
diff --git a/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/java/ast/visitor/AccessorVisitorTest.java b/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/java/ast/visitor/AccessorVisitorTest.java index c5cf6852919..9295075d836 100644 --- a/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/java/ast/visitor/AccessorVisitorTest.java +++ b/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/java/ast/visitor/AccessorVisitorTest.java @@ -19,17 +19,16 @@ */ package org.sonar.java.ast.visitor; -import static org.junit.Assert.assertEquals; -import static org.sonar.java.ast.SquidTestUtils.getFile; - import org.junit.Test; import org.sonar.java.ast.JavaAstScanner; import org.sonar.java.squid.JavaSquidConfiguration; import org.sonar.squid.Squid; import org.sonar.squid.api.SourceCode; -import org.sonar.squid.api.SquidConfiguration; import org.sonar.squid.measures.Metric; +import static org.junit.Assert.assertEquals; +import static org.sonar.java.ast.SquidTestUtils.getFile; + public class AccessorVisitorTest { private Squid squid; diff --git a/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/plugins/squid/bridges/FunctionComplexityDistributionBridgeTest.java b/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/plugins/squid/bridges/FunctionComplexityDistributionBridgeTest.java index 9b78844f544..d5203779f6a 100644 --- a/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/plugins/squid/bridges/FunctionComplexityDistributionBridgeTest.java +++ b/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/plugins/squid/bridges/FunctionComplexityDistributionBridgeTest.java @@ -21,17 +21,18 @@ package org.sonar.plugins.squid.bridges;
import org.junit.Test;
-import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.never;
-import static org.mockito.Matchers.*;
-import org.sonar.api.resources.JavaPackage;
-import org.sonar.api.resources.JavaFile;
import org.sonar.api.measures.CoreMetrics;
import org.sonar.api.measures.Measure;
+import org.sonar.api.resources.JavaFile;
+import org.sonar.api.resources.JavaPackage;
import org.sonar.api.test.IsMeasure;
-import static org.hamcrest.Matchers.any;
-public class FunctionComplexityDistributionBridgeTest extends BridgeTestCase{
+import static org.mockito.Matchers.argThat;
+import static org.mockito.Matchers.eq;
+import static org.mockito.Mockito.never;
+import static org.mockito.Mockito.verify;
+
+public class FunctionComplexityDistributionBridgeTest extends BridgeTestCase {
@Test
public void functionComplexityDistribution() {
|