|
27 | 27 | import io.sloeber.providers.ESP8266;
|
28 | 28 | import io.sloeber.providers.MCUBoard;
|
29 | 29 |
|
30 |
| -@SuppressWarnings("nls") |
| 30 | +@SuppressWarnings({"nls","static-method"}) |
31 | 31 | public class RegressionTest {
|
32 | 32 | private static final boolean reinstall_boards_and_libraries = false;
|
33 | 33 |
|
@@ -64,7 +64,6 @@ public static void installAdditionalBoards() {
|
64 | 64 | * make sure when switching between a board with variant file and without
|
65 | 65 | * the build still succeeds
|
66 | 66 | */
|
67 |
| - @SuppressWarnings("static-method") |
68 | 67 | @Test
|
69 | 68 | public void issue555() {
|
70 | 69 | if (MySystem.getTeensyPlatform().isEmpty()) {
|
@@ -123,7 +122,6 @@ public void issue555() {
|
123 | 122 | * support void loop{};
|
124 | 123 | * @throws Exception
|
125 | 124 | */
|
126 |
| - @SuppressWarnings("static-method") |
127 | 125 | @Test
|
128 | 126 | public void issue687() throws Exception {
|
129 | 127 | Arduino.installLatestAVRBoards();
|
@@ -157,7 +155,6 @@ public void issue687() throws Exception {
|
157 | 155 | * support void loop{};
|
158 | 156 | * @throws Exception
|
159 | 157 | */
|
160 |
| - @SuppressWarnings("static-method") |
161 | 158 | @Test
|
162 | 159 | public void issue1047_Board_Names_Can_Be_used_as_Strings() throws Exception {
|
163 | 160 | MCUBoard unoBoard = ESP8266.nodeMCU();
|
@@ -191,7 +188,6 @@ public void issue1047_Board_Names_Can_Be_used_as_Strings() throws Exception {
|
191 | 188 | * code checks whether these defines are set properly
|
192 | 189 | * @throws Exception
|
193 | 190 | */
|
194 |
| - @SuppressWarnings("static-method") |
195 | 191 | @Test
|
196 | 192 | public void are_jantjes_options_taken_into_account() throws Exception {
|
197 | 193 | Arduino.installLatestAVRBoards();
|
@@ -234,7 +230,6 @@ public void are_jantjes_options_taken_into_account() throws Exception {
|
234 | 230 | * properly by the ino to cpp parser
|
235 | 231 | * @throws Exception
|
236 | 232 | */
|
237 |
| - @SuppressWarnings("static-method") |
238 | 233 | @Test
|
239 | 234 | public void are_defines_before_includes_taken_into_account() throws Exception {
|
240 | 235 | Arduino.installLatestAVRBoards();
|
@@ -271,7 +266,6 @@ public void are_defines_before_includes_taken_into_account() throws Exception {
|
271 | 266 | * be handled properly by the ino to cpp parser
|
272 | 267 | * @throws Exception
|
273 | 268 | */
|
274 |
| - @SuppressWarnings("static-method") |
275 | 269 | @Test
|
276 | 270 | public void is_extern_C_taken_into_account() throws Exception {
|
277 | 271 | Arduino.installLatestAVRBoards();
|
|
0 commit comments