]> git.basschouten.com Git - openhab-addons.git/blob
4ac648d5ada6aeaf3844d242c7417f9c512d87b8
[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.astro.test.cases;
14
15 import java.math.BigDecimal;
16
17 /**
18  * Contains some test data used across different tests
19  *
20  * @author Svilen Valkanov - Initial implementation
21  * @author Christoph Weitkamp - Migrated tests to pure Java
22  */
23 public final class AstroBindingTestsData {
24
25     public static final String TEST_SUN_THING_ID = "testSunThingId";
26     public static final String TEST_MOON_THING_ID = "testMoonThingId";
27     public static final String TEST_ITEM_NAME = "testItem";
28     public static final String DEFAULT_IMEM_TYPE = "DateTime";
29
30     public static final String DEFAULT_TEST_CHANNEL_ID = "rise#start";
31     public static final String GEOLOCATION_PROPERTY = "geolocation";
32     public static final String GEOLOCATION_VALUE = "51.2,25.4";
33     public static final String INTERVAL_PROPERTY = "interval";
34     public static final BigDecimal INTERVAL_DEFAULT_VALUE = new BigDecimal(300);
35 }