]> git.basschouten.com Git - openhab-addons.git/blob
c1b73cecc766b776c3de34998097e09b342b5c2a
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.loxone.internal.controls;
14
15 import org.junit.jupiter.api.BeforeEach;
16 import org.junit.jupiter.api.Test;
17
18 /**
19  * Test class for (@link LxControlLeftRightDigital}
20  *
21  * @author Pawel Pieczul - initial contribution
22  *
23  */
24 public class LxControlLeftRightDigitalTest extends LxControlUpDownDigitalTest {
25     @Override
26     @BeforeEach
27     public void setup() {
28         upChannel = " / Left";
29         downChannel = " / Right";
30         setupControl("0fd08ca6-01a6-d72a-efff403fb0c34b9e", "0b734138-037d-034e-ffff403fb0c34b9e",
31                 "0b734138-033e-02d4-ffff403fb0c34b9e", "Second Floor Scene");
32     }
33
34     @Override
35     @Test
36     public void testControlCreation() {
37         testControlCreation(LxControlLeftRightDigital.class, 1, 0, 2, 2, 0);
38     }
39 }