File tree 2 files changed +4
-2
lines changed
main/java/org/sonarsource/sonarlint/core/telemetry
test/java/org/sonarsource/sonarlint/core/telemetry
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -108,11 +108,11 @@ public boolean connectedModeSonarcloud() {
108
108
return connectedModeSonarcloud ;
109
109
}
110
110
111
- public String getOs () {
111
+ public String os () {
112
112
return os ;
113
113
}
114
114
115
- public String getJre () {
115
+ public String jre () {
116
116
return jre ;
117
117
}
118
118
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ public void testGenerationJson() {
60
60
assertThat (m .version ()).isEqualTo ("2.4" );
61
61
assertThat (m .connectedMode ()).isTrue ();
62
62
assertThat (m .analyses ()).hasSize (1 );
63
+ assertThat (m .os ()).isEqualTo ("Windows 10" );
64
+ assertThat (m .jre ()).isEqualTo ("1.8.0" );
63
65
assertThat (m .connectedModeSonarcloud ()).isTrue ();
64
66
assertThat (m .systemTime ()).isEqualTo (systemTime );
65
67
}
You can’t perform that action at this time.
0 commit comments