Skip to content

Commit

Permalink
v1.2.11-rc11
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Falque committed Feb 10, 2018
1 parent 6394778 commit 33dbc63
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<!-- it's recommended to follow the pattern "sonar-{key}-plugin", for example
"sonar-php-plugin" -->
<artifactId>sonar-golang-plugin</artifactId>
<version>1.2.11-rc10</version>
<version>1.2.11-rc11</version>

<name>Golang</name>
<description>Golang Plugin for SonarQube: Golang, Golint </description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

import java.util.List;

import org.sonar.api.CoreProperties;
import org.sonar.api.config.PropertyDefinition;

public class GoProperties {
Expand Down Expand Up @@ -62,10 +61,7 @@ public static List<PropertyDefinition> getProperties() {
.description("false if you want disabled the DTD verification for coverage file").build(),
PropertyDefinition.builder(HIGHLIGHTING_KEY).defaultValue(HIGHLIGHTING_DEFAULT).category("Go")
.name("Boolean for highlighting verification")
.description("false if you want disabled the highlighting").build(),
PropertyDefinition.builder(CoreProperties.PROJECT_INCLUSIONS_PROPERTY).defaultValue("**/**.go").build(),
PropertyDefinition.builder(CoreProperties.PROJECT_TEST_INCLUSIONS_PROPERTY)
.defaultValue("**/**_test.go").build());
.description("false if you want disabled the highlighting").build());

}
}
2 changes: 1 addition & 1 deletion src/test/java/fr/univartois/sonargo/GoPluginTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void test() {

javaPlugin.define(context);

assertEquals(15, context.getExtensions().size());
assertEquals(13, context.getExtensions().size());

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class GoPropertiesTest {
@Test
public void test() {
List<PropertyDefinition> l = GoProperties.getProperties();
assertEquals(7, l.size());
assertEquals(5, l.size());
assertEquals(GoProperties.REPORT_PATH_DEFAULT, l.get(0).defaultValue());
assertEquals(GoProperties.COVERAGE_REPORT_PATH_DEFAULT, l.get(1).defaultValue());
assertEquals(GoProperties.JUNIT_REPORT_PATH_DEFAULT, l.get(2).defaultValue());
Expand Down

0 comments on commit 33dbc63

Please sign in to comment.