|
1 | 1 | /** |
2 | 2 | * Copyright (C) 2006-2026 Talend Inc. - www.talend.com |
3 | | - * <p> |
| 3 | + * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
6 | 6 | * You may obtain a copy of the License at |
7 | | - * <p> |
| 7 | + * |
8 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | | - * <p> |
| 9 | + * |
10 | 10 | * Unless required by applicable law or agreed to in writing, software |
11 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
12 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
@@ -244,7 +244,6 @@ void emptyFamily() { |
244 | 244 | assertEquals("Family can't be null", errorPayload.getDescription()); |
245 | 245 | } |
246 | 246 |
|
247 | | - |
248 | 247 | @Test |
249 | 248 | void emptyActionMeta() { |
250 | 249 | final String actionName = "notExistedAction"; |
@@ -292,37 +291,37 @@ void checkSchemaSerialization() { |
292 | 291 | .post(Entity.entity(emptyMap(), APPLICATION_JSON_TYPE), String.class); |
293 | 292 | final String expected = |
294 | 293 | """ |
295 | | - { |
296 | | - "entries":[ |
297 | | - { |
298 | | - "elementSchema":{ |
299 | | - "entries":[ |
300 | | - ], |
301 | | - "metadata":[ |
302 | | - ], |
303 | | - "props":{ |
304 | | - |
305 | | - }, |
306 | | - "type":"STRING" |
307 | | - }, |
308 | | - "errorCapable":false, |
309 | | - "metadata":false, |
310 | | - "name":"array", |
311 | | - "nullable":false, |
312 | | - "props":{ |
313 | | - |
314 | | - }, |
315 | | - "type":"ARRAY", |
316 | | - "valid":true |
317 | | - } |
318 | | - ], |
319 | | - "metadata":[ |
320 | | - ], |
321 | | - "props":{ |
322 | | - "talend.fields.order":"array" |
323 | | - }, |
324 | | - "type":"RECORD" |
325 | | - }"""; |
| 294 | + { |
| 295 | + "entries":[ |
| 296 | + { |
| 297 | + "elementSchema":{ |
| 298 | + "entries":[ |
| 299 | + ], |
| 300 | + "metadata":[ |
| 301 | + ], |
| 302 | + "props":{ |
| 303 | +
|
| 304 | + }, |
| 305 | + "type":"STRING" |
| 306 | + }, |
| 307 | + "errorCapable":false, |
| 308 | + "metadata":false, |
| 309 | + "name":"array", |
| 310 | + "nullable":false, |
| 311 | + "props":{ |
| 312 | +
|
| 313 | + }, |
| 314 | + "type":"ARRAY", |
| 315 | + "valid":true |
| 316 | + } |
| 317 | + ], |
| 318 | + "metadata":[ |
| 319 | + ], |
| 320 | + "props":{ |
| 321 | + "talend.fields.order":"array" |
| 322 | + }, |
| 323 | + "type":"RECORD" |
| 324 | + }"""; |
326 | 325 | assertEquals(expected, schema); |
327 | 326 | } |
328 | 327 |
|
@@ -366,7 +365,7 @@ void checkDiscoverProcessorSchema() { |
366 | 365 |
|
367 | 366 | @Disabled |
368 | 367 | @ParameterizedTest |
369 | | - @ValueSource(strings = {"en", "fr"}) |
| 368 | + @ValueSource(strings = { "en", "fr" }) |
370 | 369 | void i18nParameterized(final String lang) { |
371 | 370 | final Response error = base |
372 | 371 | .path("action/execute") |
@@ -415,7 +414,7 @@ void checkLangIsAvailable() { |
415 | 414 | } |
416 | 415 |
|
417 | 416 | private void assertAction(final String component, final String type, final String name, final int params, |
418 | | - final ActionItem value) { |
| 417 | + final ActionItem value) { |
419 | 418 | assertEquals(component, value.getComponent()); |
420 | 419 | assertEquals(type, value.getType()); |
421 | 420 | assertEquals(name, value.getName()); |
|
0 commit comments