Java 17 features (itests) (#15583)
- replace Collections by List.of and Set.of - instanceof - SAT warnings Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -40,7 +40,7 @@ import org.openhab.core.types.State;
|
||||
* <p>
|
||||
* This class tests the commands for the astro thing.
|
||||
*
|
||||
* @author Petar Valchev - Initial implementation
|
||||
* @author Petar Valchev - Initial contribution
|
||||
* @author Svilen Valkanov - Reworked to plain unit tests
|
||||
* @author Christoph Weitkamp - Migrated tests to pure Java
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.openhab.core.thing.binding.ThingHandlerCallback;
|
||||
* <p>
|
||||
* This class tests the required configuration for the astro thing.
|
||||
*
|
||||
* @author Petar Valchev - Initial implementation
|
||||
* @author Petar Valchev - Initial contribution
|
||||
* @author Svilen Valkanov - Reworked to plain unit tests, removed irrelevant tests
|
||||
* @author Christoph Weitkamp - Migrated tests to pure Java
|
||||
*/
|
||||
|
||||
@@ -40,7 +40,7 @@ import org.openhab.core.types.State;
|
||||
* Tests for the Astro Channels state
|
||||
*
|
||||
* @See {@link AstroParametrizedTestCases}
|
||||
* @author Petar Valchev - Initial implementation
|
||||
* @author Petar Valchev - Initial contribution
|
||||
* @author Svilen Valkanov - Reworked to plain unit tests
|
||||
* @author Erdoan Hadzhiyusein - Adapted the class to work with the new DateTimeType
|
||||
* @author Christoph Weitkamp - Migrated tests to pure Java
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.math.BigDecimal;
|
||||
/**
|
||||
* Contains some test data used across different tests
|
||||
*
|
||||
* @author Svilen Valkanov - Initial implementation
|
||||
* @author Svilen Valkanov - Initial contribution
|
||||
* @author Christoph Weitkamp - Migrated tests to pure Java
|
||||
*/
|
||||
public final class AstroBindingTestsData {
|
||||
|
||||
Reference in New Issue
Block a user