]> git.basschouten.com Git - openhab-addons.git/commit
[nanoleaf] Fix LayoutTest failing on Windows (#12563)
authorWouter Born <github@maindrain.net>
Sun, 3 Apr 2022 08:44:28 +0000 (10:44 +0200)
committerGitHub <noreply@github.com>
Sun, 3 Apr 2022 08:44:28 +0000 (10:44 +0200)
commit0f56369b2a2b0d32299049666206bb9daa74c620
tree0a7557676a7f9874d26f7faaeae6a7960993e346
parent5712de5e630fd1e40990cf7625b62d95b1ff6b3a
[nanoleaf] Fix LayoutTest failing on Windows (#12563)

On Windows the view has different line endings causing some tests to fail.
For readability the big strings have also been moved into files.

Signed-off-by: Wouter Born <github@maindrain.net>
bundles/org.openhab.binding.nanoleaf/src/test/java/org/openhab/binding/nanoleaf/internal/LayoutTest.java
bundles/org.openhab.binding.nanoleaf/src/test/resources/inconsistent-layout-view [new file with mode: 0644]
bundles/org.openhab.binding.nanoleaf/src/test/resources/inconsistent-layout.json [new file with mode: 0644]
bundles/org.openhab.binding.nanoleaf/src/test/resources/right-layout-view [new file with mode: 0644]
bundles/org.openhab.binding.nanoleaf/src/test/resources/right-layout.json [new file with mode: 0644]