Wouter Born
11328bcc9a
Fix unstable ChannelTypesTest ( #1142 )
...
Most likely the test is unstable because the ChannelGroupTypeProvider is still processing the bundle XML. So using waitForAssert may fix this. It's also used like this to assert the channel types got added by the ChannelTypeProvider.
Fixes #1090
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-18 22:53:11 +02:00
Christoph Weitkamp
0fdd691c22
Removed superflous resources ( #1137 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-18 22:28:37 +02:00
Mark Hilbush
8396a17d2d
Add system profile for a 'rawbutton-on-off-switch' ( #1131 )
...
* Add `rawbutton-on-off-switch` profile and tests
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2019-10-14 22:22:18 +02:00
Wouter Born
b337e31621
Improve SafeCallerImplTest stability ( #1130 )
...
After some load testing these values improved the stability of the tests.
See: #1113
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-14 07:17:44 +02:00
Wouter Born
017302e3cf
Update Mockito to 3.1.0 ( #1127 )
...
Mockito 3 does not introduce any breaking API changes, but now requires Java 8 over Java 6 for Mockito 2.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-14 07:14:09 +02:00
Wouter Born
20faf1c63b
Fix unstable MDNSDiscoveryServiceOSGiTest ( #1123 )
...
Fixes #567
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-13 14:26:38 +02:00
Christoph Weitkamp
91617d8af8
Fixed POM XML Shema Definition path ( #1119 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-12 08:52:16 +02:00
Christoph Weitkamp
73d55a9fe9
Changed pid from 'org.eclipse.smarthome.core.i18nprovider' to 'org.eclipse.smarthome.i18n' ( #1112 )
...
* Changed pid from 'org.eclipse.smarthome.core.i18nprovider' to 'org.eclipse.smarthome.i18n'
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-11 19:50:04 +02:00
Wouter Born
12e8edc039
Use diamond operator ( #1114 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-11 02:29:47 -07:00
Wouter Born
998168698a
Fix SAT MethodNameCheck findings ( #1111 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-10 11:38:29 +02:00
Wouter Born
3d52c72a91
Fix SAT AuthorContributionDescriptionCheck findings ( #1110 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-10 11:36:05 +02:00
Wouter Born
90005e4a56
Fix NoEmptyLineSeparatorCheck and NewlineAtEndOfFileCheck SAT findings ( #1108 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-08 22:19:54 -07:00
Wouter Born
08a1f9a86d
Fix SAT constant/variable name findings ( #1106 )
...
Fixes wrong names identified by the following rules:
* ConstantNameCheck
* LocalFinalVariableNameCheck
* LocalVariableNameCheck
* StaticVariableNameCheck
Most mismatches identified by the MemberNameCheck have also been fixed except for those where the variables are used in events/DTOs etc which would cause issues.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-08 22:19:00 -07:00
Christoph Weitkamp
c86300e420
Fixed wrong trimmed properties ( #1105 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-08 09:52:14 -07:00
Wouter Born
12b3c1030f
Fix SAT "Initial contribution" warnings ( #1100 )
...
Fixes the SAT warning: First javadoc author should have "Initial contribution" contribution description.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-07 21:25:40 -07:00
Wouter Born
3dacba3510
Fix SAT ModifierOrderCheck findings by using JLS suggested modifier order ( #1103 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-07 21:24:16 -07:00
Christoph Weitkamp
c31a5aa7ef
[storage] Added nullness annotations ( #1099 )
...
* Added nullness annotations
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-07 20:50:39 +02:00
Wouter Born
9ae7bbe2e8
Move remaining unit tests ( #1095 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-04 21:35:13 -07:00
Christoph Weitkamp
2bb5cb7f64
[ephemeris] Adopted configuration for Ephemeris service ( #919 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-04 21:33:43 -07:00
Christoph Weitkamp
e1d2ae1c43
[config dispatch] Added support for values containing a list of configuration options ( #999 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-03 21:21:12 -07:00
Wouter Born
49f6afc72a
Move IO HTTP unit tests ( #1081 )
...
* Move IO HTTP unit tests
All IO HTTP tests are unit tests so there is no need for an itests project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 22:22:00 +02:00
Wouter Born
f5f58643f4
Move thing XML unit tests ( #1079 )
...
* Move thing XML unit tests
Moves the thing XML unit tests from the itests project to the bundle project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 22:21:10 +02:00
Wouter Born
eba9be756b
Move UI unit tests ( #1078 )
...
* Move UI unit tests
All UI tests are unit tests so there is no need for an itests project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 22:20:20 +02:00
Wouter Born
8c17753006
Move voice unit tests ( #1077 )
...
* Move voice unit tests
Moves the voice unit tests from the itests project to the bundle project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 22:19:30 +02:00
Wouter Born
8bed617a48
Move compat1x unit tests ( #1080 )
...
* Move compat1x unit tests
All compat1x tests are unit tests so there is no need for an itests project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 20:00:57 +02:00
Wouter Born
f1f0e9e52b
Move IO Net unit tests ( #1082 )
...
* Move IO Net unit tests
All IO Net tests are unit tests so there is no need for an itests project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 20:00:04 +02:00
Wouter Born
4e07b56279
Move magic unit tests ( #1083 )
...
* Move magic unit tests
All magic tests are unit tests so there is no need for an itests project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 19:59:02 +02:00
Wouter Born
28bc05e774
Move model LSP unit tests ( #1084 )
...
* Move model LSP unit tests
All model LSP tests are unit tests so there is no need for an itests project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 19:57:48 +02:00
Wouter Born
8af30cc53b
Move semantics unit tests ( #1085 )
...
* Move semantics unit tests
All semantics tests are unit tests so there is no need for an itests project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 19:57:01 +02:00
Wouter Born
7fc9fa65e9
Move transform unit tests ( #1076 )
...
* Move transform unit tests
All transform tests are unit tests so there is no need for an itests project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 19:54:20 +02:00
Wouter Born
c2c57dbf10
Move UI icon unit tests ( #1075 )
...
* Move UI icon unit tests
All UI icon tests are unit tests so there is no need for an itests project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 19:53:26 +02:00
Wouter Born
f53beab04c
Move thing unit tests ( #1074 )
...
* Move thing unit tests
Moves the thing unit tests from the itests project to the bundle project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 19:52:40 +02:00
Wouter Born
7926b2280e
Move core unit tests ( #1070 )
...
* Move core unit tests
Moves the core unit tests from the itests project to the bundle project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 19:51:53 +02:00
Wouter Born
41e95ac16b
Move audio unit tests ( #1068 )
...
* Move audio unit tests
All audio tests are unit tests so there is no need for an itests project.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-03 19:50:16 +02:00
Wouter Born
807593aa94
Reenable org.openhab.core.config.discovery.usbserial*.tests ( #1065 )
...
Fixes #698
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-02 10:00:08 +02:00
Wouter Born
eda0af1cd2
Fix ExpiringCacheAsyncTest.testFetchValue unreliability ( #1066 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-02 09:32:28 +02:00
Christoph Weitkamp
edc27847d1
Enable Model Script Tests ( #737 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-01 22:41:57 +02:00
Christoph Weitkamp
5c44d5f8fe
Enable Model Rule Tests ( #736 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-01 22:24:01 +02:00
Christoph Weitkamp
7a9be81c80
Enable Model Item Tests ( #735 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-01 22:22:04 +02:00
Wouter Born
871517008e
Reenable org.openhab.core.automation.integration.tests ( #1061 )
...
- Reenable org.openhab.core.automation.integration.tests (#1061 )
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-01 15:49:43 +02:00
Christoph Weitkamp
8e3a521083
Contructor injection; SAT findings ( #1036 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-10-01 15:20:50 +02:00
Wouter Born
14b24530b9
Reenable org.openhab.core.automation.module.*.tests ( #1062 )
...
Reenables:
* org.openhab.core.automation.module.core.tests
* org.openhab.core.automation.module.script.defaultscope.tests
* org.openhab.core.automation.module.script.tests
* org.openhab.core.automation.module.timer.tests
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-01 13:16:19 +02:00
Wouter Born
0b2de2bfea
Reenable org.openhab.core.io.transport.upnp.tests ( #1057 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-09-30 10:41:39 +02:00
Wouter Born
40418414b2
Reenable org.openhab.core.io.transport.mqtt.tests ( #1056 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-09-30 08:23:06 +02:00
Wouter Born
f721a30a36
Reenable org.openhab.core.io.rest.tests ( #1055 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-09-29 22:52:26 +02:00
Wouter Born
c9232d9651
Inject SchedulerImpl into DelegatedSchedulerImpl to fix waiting bundles ( #1054 )
...
Fixes #1053
Signed-off-by: Wouter Born <github@maindrain.net>
2019-09-29 16:47:19 +02:00
Christoph Weitkamp
978be4cf0f
Fixed activation of inbox ( #1051 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-28 22:24:05 +02:00
lolodomo
7b49f27823
Fix dynamic options in UI ( #1050 )
...
* Fix dynamic options in UI
* Added unit tests
Fixes #1040
Also-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-09-28 21:02:29 +02:00
Christoph Weitkamp
b9d9135771
Use constructor injection to simplify lifecycle ( #1037 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-27 12:19:50 +02:00
Christoph Weitkamp
3087c4a427
Moved test from integration to unit test ( #1044 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-25 22:19:01 +02:00