File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
fixtures/java_source_version
src/test/java/integration Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ build.dependsOn(infra)
3333test. dependsOn(infra)
3434
3535dependencies {
36- compile(" com.github.codeclimate:codeclimate-ss-analyzer-wrapper:channel/ sonar-5-14-SNAPSHOT" )
36+ compile(" com.github.codeclimate:codeclimate-ss-analyzer-wrapper:channel- sonar-5-14-SNAPSHOT" )
3737
3838 // Plugins
3939 compile(" org.sonarsource.java:sonar-java-plugin:5.14.0.18788" )
Original file line number Diff line number Diff line change 1+ {
2+ "enabled" : true ,
3+ "config" : {
4+ "sonar.java.source" : " 11"
5+ }
6+ }
Original file line number Diff line number Diff line change @@ -11,4 +11,10 @@ public void specify_java_source_version_through_config() throws Exception {
1111 Shell .Process process = Shell .execute ("build/codeclimate-sonar fixtures/java_source_version fixtures/java_source_version/config.json" );
1212 assertThat (process .stderr ).contains ("Configured Java source version (sonar.java.source): 6" );
1313 }
14+
15+ @ Test
16+ public void specify_java_11_source_version_through_config () throws Exception {
17+ Shell .Process process = Shell .execute ("build/codeclimate-sonar fixtures/java_source_version fixtures/java_source_version/config_11.json" );
18+ assertThat (process .stderr ).contains ("Configured Java source version (sonar.java.source): 11" );
19+ }
1420}
You can’t perform that action at this time.
0 commit comments