File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
fixtures/java_source_version
src/test/java/integration Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ build.dependsOn(infra)
3333test. dependsOn(infra)
3434
3535dependencies {
36- compile(" com.github.codeclimate:codeclimate-ss-analyzer-wrapper:master -SNAPSHOT" )
36+ compile(" com.github.codeclimate:codeclimate-ss-analyzer-wrapper:channel-sonar-5-14 -SNAPSHOT" )
3737
3838 // Plugins
39- compile(" org.sonarsource.java:sonar-java-plugin:4 .14.0.11784 " )
39+ compile(" org.sonarsource.java:sonar-java-plugin:5 .14.0.18788 " )
4040
4141 testCompile(" org.assertj:assertj-core:2.8.0" )
4242 testCompile(" org.skyscreamer:jsonassert:1.5.0" )
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