]> git.basschouten.com Git - openhab-addons.git/commit
[ahawastecollection] Fixed unstable test (#13864)
authorSönke Küper <soenkekueper@outlook.de>
Wed, 7 Dec 2022 09:22:51 +0000 (10:22 +0100)
committerGitHub <noreply@github.com>
Wed, 7 Dec 2022 09:22:51 +0000 (10:22 +0100)
commit72efc1cfed4e7aed994fe84b69508d2247d245df
tree3ab55d03c6042a2fab86f35d94125645d7b52594
parent4c931257238f28e51f4cced4c853c523ac7ab612
[ahawastecollection] Fixed unstable test (#13864)

* Added Constructor parameter to pass custom ScheduledExecutorService, that allows deterministic execution in test cases.
* Fixed some codestyles.

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaWasteCollectionHandler.java
bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaWasteCollectionHandlerFactory.java
bundles/org.openhab.binding.ahawastecollection/src/test/java/org/openhab/binding/ahawastecollection/internal/AhaWasteCollectionHandlerTest.java