Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposing a Language Server #4148

Merged
merged 2 commits into from Sep 25, 2017

Conversation

Projects
None yet
4 participants
@sjka
Copy link
Contributor

commented Aug 28, 2017

This is a first shot on the Language Server support so that we can jointly work on it.

The new bundle o.e.sh.model.lsp exposes a Language Server on (currently fixed) port 5007.

relates to openhab/openhab-vscode#31
fixes #3898
Signed-off-by: Simon Kaufmann simon.kfm@googlemail.com

@sjka

This comment has been minimized.

Copy link
Contributor Author

commented Aug 28, 2017

@kubawolanin would you mind having a look? My VSCode with openhab/openhab-vscode#31 (unchanged) connects successfully and also gets some validation complaints successfully from the server:

image

I'm not so sure though about the "content assist" completion proposals: they look exactly the same as before, but I'm not sure whether this is a flaw on runtime-side or if that's actually expected.

@sjka sjka force-pushed the sjka:lsp branch from dcd537a to bb4909c Aug 28, 2017

@kubawolanin

This comment has been minimized.

Copy link
Contributor

commented Aug 28, 2017

Wow @sjka this looks awesome! 😮
Really stoked to test this.

I'm not so sure though about the "content assist" completion proposals: they look exactly the same as before,

Current Completion provider gets a list of Item's completions directly from the REST response, see this file and the ItemsModel class.
I think I'll need to extend it to provide a collection of completions from LSP as well.
Just don't know how yet 😄
I'll work on this with your new bundle this week.

Can't emphasize enough how cool it is, man! 😎
Thank you!

@kubawolanin

This comment has been minimized.

Copy link
Contributor

commented Aug 28, 2017

Hey @sjka,

I'm trying to build your branch but there are tests that are failing:

/c/openhab2/git/smarthome (lsp)
$ git rev-parse HEAD
bb4909cac572cda0651cb071edb68cf8d8c8c49f

/c/openhab2/git/smarthome (lsp)
$ git status
On branch lsp
Your branch is up-to-date with 'sjka/lsp'.
nothing to commit, working directory clean
Click to expand build log for `mvn clean install` in `/smarthome/` directory
[INFO]
[INFO] --- tycho-p2-plugin:1.0.0:update-local-index (default-update-local-index) @ org.eclipse.smarthome.core.id.test ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Eclipse SmartHome Core Tests 0.9.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.eclipse.smarthome.core.test ---
[INFO] Deleting C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\target
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:build-qualifier (default-build-qualifier) @ org.eclipse.smarthome.core.test ---
[INFO] The project's OSGi version is 0.9.0.201708281745
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:validate-id (default-validate-id) @ org.eclipse.smarthome.core.test ---
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:validate-version (default-validate-version) @ org.eclipse.smarthome.core.test ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @ org.eclipse.smarthome.core.test ---
[INFO] Source directory: C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\src\main\groovy added.
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.eclipse.smarthome.core.test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\src\main\resources
[INFO]
[INFO] --- tycho-compiler-plugin:1.0.0:compile (default-compile) @ org.eclipse.smarthome.core.test ---
[INFO] Compiling 38 source files to C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\target\classes
[WARNING] C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\src\test\java\org\eclipse\smarthome\core\library\CoreItemFactoryTest.java:[35]
        GenericItem item = coreItemFactory.createItem(itemTypeName, itemTypeName.toLowerCase());
                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
Null type safety (type annotations): The expression of type 'String' needs unchecked conversion to conform to '@NonNull String'
[WARNING] C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\src\test\java\org\eclipse\smarthome\core\library\CoreItemFactoryTest.java:[38]
        assertThat(item.getName(), is(itemTypeName.toLowerCase()));
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
Null type safety (type annotations): The expression of type 'String' needs unchecked conversion to conform to '@NonNull String'
[WARNING] C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\src\test\java\org\eclipse\smarthome\core\library\types\ArithmeticGroupFunctionTest.java:[207]
        super("Test", name);
                      ^^^^
Null type safety (type annotations): The expression of type 'String' needs unchecked conversion to conform to '@NonNull String'
[WARNING] C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\src\test\groovy\org\eclipse\smarthome\core\items\TestItem.java:[23]
        super("Test", name);
                      ^^^^
Null type safety (type annotations): The expression of type 'String' needs unchecked conversion to conform to '@NonNull String'
4 problems (4 warnings)
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default) @ org.eclipse.smarthome.core.test ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- maven-scr-plugin:1.24.0:scr (generate-scr-scrdescriptor) @ org.eclipse.smarthome.core.test ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-test-source (add-test-source) @ org.eclipse.smarthome.core.test ---
[INFO] Test Source directory: C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\src\test\groovy added.
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ org.eclipse.smarthome.core.test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\src\test\resources
[INFO]
[INFO] --- tycho-source-plugin:1.0.0:plugin-source (plugin-source) @ org.eclipse.smarthome.core.test ---
[WARNING] bundle localization file C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\plugin.properties not found
[INFO] Building jar: C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\target\org.eclipse.smarthome.core.test-0.9.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- target-platform-configuration:1.0.0:target-platform (default-target-platform) @ org.eclipse.smarthome.core.test ---
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:package-plugin (default-package-plugin) @ org.eclipse.smarthome.core.test ---
[INFO] Building jar: C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\target\org.eclipse.smarthome.core.test-0.9.0-SNAPSHOT.jar
[INFO]
[INFO] --- tycho-p2-plugin:1.0.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.smarthome.core.test ---
[INFO]
[INFO] --- tycho-surefire-plugin:1.0.0:test (default-test) @ org.eclipse.smarthome.core.test ---
[INFO] Expected eclipse log file: C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\target\work\data\.metadata\.log
[INFO] Command line:
        [C:\Program Files\Java\jdk1.8.0_101\jre\bin\java.exe, -Dosgi.noShutdown=false, -Dosgi.os=win32, -Dosgi.ws=win32, -Dosgi.arch=x86_64, -Dosgi.clean=true, -jar, C:\Users\Kuba\.m2\repository\p2\osgi\bundle\org.eclipse.equinox.launcher\1.4.0.v20161219-1356\org.eclipse.equinox.launcher-1.4.0.v20161219-1356.jar, -data, C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\target\work\data, -install, C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\target\work, -configuration, C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\target\work\configuration, -application, org.eclipse.tycho.surefire.osgibooter.headlesstest, -testproperties, C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\target\surefire.properties]

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Running org.eclipse.smarthome.core.cache.ExpiringCacheMapTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.151 sec - in org.eclipse.smarthome.core.cache.ExpiringCacheMapTest
testExpired(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 2.103 sec
testClear(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 0 sec
testKeys(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 0 sec
testContainsKey(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 0 sec
testAddIllegalArgumentException1(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 0 sec
testAddIllegalArgumentException2(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 0 sec
testAddIllegalArgumentException3(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 0 sec
testRefresh(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 0 sec
testRemove(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 0 sec
testInvalidate(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 0 sec
testValues(org.eclipse.smarthome.core.cache.ExpiringCacheMapTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.cache.ExpiringCacheTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.102 sec - in org.eclipse.smarthome.core.cache.ExpiringCacheTest
testExpired(org.eclipse.smarthome.core.cache.ExpiringCacheTest)  Time elapsed: 2.1 sec
testGetValue(org.eclipse.smarthome.core.cache.ExpiringCacheTest)  Time elapsed: 0 sec
testIllegalArgumentException1(org.eclipse.smarthome.core.cache.ExpiringCacheTest)  Time elapsed: 0 sec
testRefresh(org.eclipse.smarthome.core.cache.ExpiringCacheTest)  Time elapsed: 0 sec
testInvalidate(org.eclipse.smarthome.core.cache.ExpiringCacheTest)  Time elapsed: 0.001 sec
Running org.eclipse.smarthome.core.common.osgi.ResourceBundleClassLoaderGroovyTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.506 sec - in org.eclipse.smarthome.core.common.osgi.ResourceBundleClassLoaderGroovyTest
testName(org.eclipse.smarthome.core.common.osgi.ResourceBundleClassLoaderGroovyTest)  Time elapsed: 0.19 sec
Running org.eclipse.smarthome.core.common.QueueingThreadPoolExecutorTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in org.eclipse.smarthome.core.common.QueueingThreadPoolExecutorTest testSetInvalidRejectionHandler(org.eclipse.smarthome.core.common.QueueingThreadPoolExecutorTest)  Time elapsed: 0.003 sec
testPoolWithBlankPoolName(org.eclipse.smarthome.core.common.QueueingThreadPoolExecutorTest)  Time elapsed: 0 sec
testCreateInstanceInvalidArgsPoolSizeMinus1(org.eclipse.smarthome.core.common.QueueingThreadPoolExecutorTest)  Time elapsed: 0 sec
testCreateInstanceInvalidArgsPoolSize0(org.eclipse.smarthome.core.common.QueueingThreadPoolExecutorTest)  Time elapsed: 0.001 sec
testQueuingTPEPoolSize2(org.eclipse.smarthome.core.common.QueueingThreadPoolExecutorTest)  Time elapsed: 0 sec
testCreateInstance(org.eclipse.smarthome.core.common.QueueingThreadPoolExecutorTest)  Time elapsed: 0 sec
testPoolWithEmptyPoolName(org.eclipse.smarthome.core.common.QueueingThreadPoolExecutorTest)  Time elapsed: 0 sec
testCreateInstanceInvalidArgsPoolNameNull(org.eclipse.smarthome.core.common.QueueingThreadPoolExecutorTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.common.SafeMethodCallerTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.766 sec - in org.eclipse.smarthome.core.common.SafeMethodCallerTest
call throws ExecutionException(org.eclipse.smarthome.core.common.SafeMethodCallerTest)  Time elapsed: 0.021 sec
call throws TimeoutException(org.eclipse.smarthome.core.common.SafeMethodCallerTest)  Time elapsed: 0.104 sec
call just logs TimeoutException(org.eclipse.smarthome.core.common.SafeMethodCallerTest)  Time elapsed: 0.104 sec
call executes method(org.eclipse.smarthome.core.common.SafeMethodCallerTest)  Time elapsed: 0.018 sec
call just logs ExecutionException(org.eclipse.smarthome.core.common.SafeMethodCallerTest)  Time elapsed: 0.002 sec
wrapped call executes directly(org.eclipse.smarthome.core.common.SafeMethodCallerTest)  Time elapsed: 0.007 sec
call does not throws TimeoutException if timeout is high enough(org.eclipse.smarthome.core.common.SafeMethodCallerTest)  Time elapsed: 0.501 sec

Running org.eclipse.smarthome.core.common.ThreadPoolManagerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec - in org.eclipse.smarthome.core.common.ThreadPoolManagerTest
get cached pool(org.eclipse.smarthome.core.common.ThreadPoolManagerTest)  Time elapsed: 0.042 sec
reconfiguring scheduled pool(org.eclipse.smarthome.core.common.ThreadPoolManagerTest)  Time elapsed: 0.011 sec
reconfiguring cached pool(org.eclipse.smarthome.core.common.ThreadPoolManagerTest)  Time elapsed: 0.001 sec
get configured scheduled pool(org.eclipse.smarthome.core.common.ThreadPoolManagerTest)  Time elapsed: 0 sec
get configured cached pool(org.eclipse.smarthome.core.common.ThreadPoolManagerTest)  Time elapsed: 0.001 sec
get scheduled pool(org.eclipse.smarthome.core.common.ThreadPoolManagerTest)  Time elapsed: 0.001 sec
Running org.eclipse.smarthome.core.events.AbstractEventFactoryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec - in org.eclipse.smarthome.core.events.AbstractEventFactoryTest
AbstractEventFactory validates arguments(org.eclipse.smarthome.core.events.AbstractEventFactoryTest)  Time elapsed: 0.006 sec
AbstractEventFactory throws exception for not supported event types(org.eclipse.smarthome.core.events.AbstractEventFactoryTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.internal.events.OSGiEventManagerOSGiTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.257 sec - in org.eclipse.smarthome.core.internal.events.OSGiEventManagerOSGiTest
OSGiEventManager validates events before posted(org.eclipse.smarthome.core.internal.events.OSGiEventManagerOSGiTest)  Time elapsed: 0.119 sec
OSGiEventManager dispatches diffent event types to corresponding subscribers correctly(org.eclipse.smarthome.core.internal.events.OSGiEventManagerOSGiTest)  Time elapsed: 0.064 sec
OSGiEventManager dispatches no event after subscriber unregistration(org.eclipse.smarthome.core.internal.events.OSGiEventManagerOSGiTest)  Time elapsed: 0.027 sec
OSGiEventManager dispatches no event after factory unregistration(org.eclipse.smarthome.core.internal.events.OSGiEventManagerOSGiTest)  Time elapsed: 0.021 sec
OSGiEventManager dispatches event data correctly(org.eclipse.smarthome.core.internal.events.OSGiEventManagerOSGiTest)  Time elapsed: 0.011 sec
Running org.eclipse.smarthome.core.internal.i18n.I18nProviderImplTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.271 sec - in org.eclipse.smarthome.core.internal.i18n.I18nProviderImplTest
assertThatDefaultLocaleWillBeUsed(org.eclipse.smarthome.core.internal.i18n.I18nProviderImplTest)  Time elapsed: 0.163 sec
assertThatConfigurationChangeWorks(org.eclipse.smarthome.core.internal.i18n.I18nProviderImplTest)  Time elapsed: 0.031 sec
assertThatConfigurationWasSet(org.eclipse.smarthome.core.internal.i18n.I18nProviderImplTest)  Time elapsed: 0.017 sec
assertThatActivateSetsLocaleAndLocation(org.eclipse.smarthome.core.internal.i18n.I18nProviderImplTest)  Time elapsed: 0.02 sec
assertThatDefaultLocaleWillBeUsedAndLocationIsSet(org.eclipse.smarthome.core.internal.i18n.I18nProviderImplTest)  Time elapsed: 0.017 sec
Running org.eclipse.smarthome.core.internal.i18n.TranslationProviderOSGiTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec - in org.eclipse.smarthome.core.internal.i18n.TranslationProviderOSGiTest
assertThatGetTextWithoutBundleIsWorkingProperly(org.eclipse.smarthome.core.internal.i18n.TranslationProviderOSGiTest)  Time elapsed: 0.002 sec
assertThatGetTextViaBundleIsWorkingProperly(org.eclipse.smarthome.core.internal.i18n.TranslationProviderOSGiTest)  Time elapsed: 0.027 sec
assertThatGetTextWithArgumentsViaBundleIsWorkingProperly(org.eclipse.smarthome.core.internal.i18n.TranslationProviderOSGiTest)  Time elapsed: 0.004 sec
assertThatGetTextWithArgumentsDelegatesProperlyToGetTextWithoutArguments(org.eclipse.smarthome.core.internal.i18n.TranslationProviderOSGiTest)
Time elapsed: 0.001 sec
Running org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.484 sec - in org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest
assert ItemRegistryEventSubscribers receive events about item changes(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.214 sec
assert getItemsByTag returns no item from registered ItemProvider(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.023 sec
assert getItemsOfType returns item from registered ItemProvider(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.01 sec
assert getItems returns item from registered ItemProvider(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.01 sec
assert itemRegistryChangeListeners are informed about item changes(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.022 sec
assert getItemsByTag can filter by class and tag(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.016 sec
assert getItemsByTag returns item from registered ItemProvider(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.013 sec
assert itemRegistry sets and removes members of GroupItems(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.055 sec
assert getItemsByTagAndType returns item from registered ItemProvider(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.005 sec
assert that a changed item still has an event publisher(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.009 sec
assert itemRegistry is thread safe(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.085 sec
assert getItemsByTag with two tags returns item from registered ItemProvider(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.005 sec
assert getItemsByTag can filter by class and tag with GenericItem(org.eclipse.smarthome.core.internal.ItemRegistryOSGiTest)  Time elapsed: 0.004 sec
Running org.eclipse.smarthome.core.internal.items.ItemUpdaterOSGiTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.266 sec - in org.eclipse.smarthome.core.internal.items.ItemUpdaterOSGiTest
assert ItemUpdater sets item state(org.eclipse.smarthome.core.internal.items.ItemUpdaterOSGiTest)  Time elapsed: 0.098 sec
assert ItemUpdater sends state changed event(org.eclipse.smarthome.core.internal.items.ItemUpdaterOSGiTest)  Time elapsed: 0.161 sec
Running org.eclipse.smarthome.core.internal.ItemTagTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec - in org.eclipse.smarthome.core.internal.ItemTagTest
assert tags are handled correctly(org.eclipse.smarthome.core.internal.ItemTagTest)  Time elapsed: 0.011 sec
Running org.eclipse.smarthome.core.items.events.AbstractItemEventSubscriberOSGiTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 sec - in org.eclipse.smarthome.core.items.events.AbstractItemEventSubscriberOSGiTest
AbstractItemEventSubscriber receives ItemCommandEvents and ItemUpdateEvents correctly(org.eclipse.smarthome.core.items.events.AbstractItemEventSubscriberOSGiTest)  Time elapsed: 0.13 sec
AbstractItemEventSubscriber do not receive events if event type is not supported(org.eclipse.smarthome.core.items.events.AbstractItemEventSubscriberOSGiTest)  Time elapsed: 0.027 sec
Running org.eclipse.smarthome.core.items.events.ItemEventFactoryTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.189 sec - in org.eclipse.smarthome.core.items.events.ItemEventFactoryTest
ItemEventFactory creates Event as ItemStateEvent OnOffType correctly(org.eclipse.smarthome.core.items.events.ItemEventFactoryTest)  Time elapsed: 0.003 sec
ItemEventFactory creates GroupItemStateChangedEvent correctly(org.eclipse.smarthome.core.items.events.ItemEventFactoryTest)  Time elapsed: 0.007 sec
ItemEventFactory creates Event as ItemAddedEvent correctly(org.eclipse.smarthome.core.items.events.ItemEventFactoryTest)  Time elapsed: 0.013 sec
ItemEventFactory creates ItemAddedEvent correctly(org.eclipse.smarthome.core.items.events.ItemEventFactoryTest)  Time elapsed: 0.001 sec
ItemEventFactory creates ItemStateEvent OnOffType correctly(org.eclipse.smarthome.core.items.events.ItemEventFactoryTest)  Time elapsed: 0.003 sec
ItemEventFactory creates GroupItemStateChangedEvent with RawTypes correctly(org.eclipse.smarthome.core.items.events.ItemEventFactoryTest)  Time elapsed: 0.003 sec
ItemEventFactory creates ItemCommandEvent OnOffType correctly(org.eclipse.smarthome.core.items.events.ItemEventFactoryTest)  Time elapsed: 0.004 sec
ItemEventFactory creates Event as ItemCommandEvent OnOffType correctly(org.eclipse.smarthome.core.items.events.ItemEventFactoryTest)  Time elapsed: 0.001 sec
ItemEventFactory creates ItemCommandEvent RefreshType correctly(org.eclipse.smarthome.core.items.events.ItemEventFactoryTest)  Time elapsed: 0.001 sec
ItemEventFactory creates ItemStateEvent UnDefType correctly(org.eclipse.smarthome.core.items.events.ItemEventFactoryTest)  Time elapsed: 0.001 sec
Running org.eclipse.smarthome.core.items.GenericItemTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec - in org.eclipse.smarthome.core.items.GenericItemTest
assert that getStateAs works with null(org.eclipse.smarthome.core.items.GenericItemTest)  Time elapsed: 0.012 sec
assert that getStateAs works with a different type for a Convertible(org.eclipse.smarthome.core.items.GenericItemTest)  Time elapsed: 0.006 sec assert that getStateAs works with the same type for a Convertible(org.eclipse.smarthome.core.items.GenericItemTest)  Time elapsed: 0.001 sec
assert that item posts events for updates and changes correctly(org.eclipse.smarthome.core.items.GenericItemTest)  Time elapsed: 0.013 sec
assert that null as group name is not allowed for addGroupName(org.eclipse.smarthome.core.items.GenericItemTest)  Time elapsed: 0.001 sec
assert that getStateAs works with the same type for a non-Convertible(org.eclipse.smarthome.core.items.GenericItemTest)  Time elapsed: 0 sec
assert that null as group name is not allowed for removeGroupName(org.eclipse.smarthome.core.items.GenericItemTest)  Time elapsed: 0.001 sec
assert that null as group name is not allowed for addGroupNames(org.eclipse.smarthome.core.items.GenericItemTest)  Time elapsed: 0.001 sec
Running org.eclipse.smarthome.core.items.GroupItemTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 2.135 sec - in org.eclipse.smarthome.core.items.GroupItemTest
assertThatGroupItemChangesRespectGroupFunctionOR(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.057 sec
testGetAllMembersWithCircleDependency(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.013 sec
assertThatGroupItemWithoutFunctionCanHaveAconvertibleState(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.003 sec
assertAcceptedCommandTypesOnGroupItemsReturnsSubsetOfCommandTypesSupportedByAllMembers(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.006 sec
assertThatGroupItemwithDimmeritemAcceptsGetsPercentTypeStateIfMembersHavePercentTypeStates(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.007 sec
testGetAllMembers(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.002 sec
assertThatGroupItemChangesRespectGroupFunctionAND(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.006 sec
assertThatGroupItemChangesDoNotAffectTheGroupStatusIfnoFunctionOrBaseItemAreDefined(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 1.014 sec
assertThatGroupItemChangesRespectGroupFunctionORwithUNDEF(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 1 sec
assertThatGroupItemWithDimmeritemBaseItemConversionWorks(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.002 sec
assertThatGroupItemWithColoritemBaseItemConversionWorks(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.003 sec
assertThatGroupItemPostsEventsForChangesCorrectly(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.004 sec
assertThatGroupItemWithRollershutterBaseItemConversionWorks(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.002 sec
testGetAllMembersWithFilter(org.eclipse.smarthome.core.items.GroupItemTest)  Time elapsed: 0.005 sec
testItemUpdateWithItemRegistry(org.eclipse.smarthome.core.items.GroupItemTest) skipped
Running org.eclipse.smarthome.core.library.CoreItemFactoryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.eclipse.smarthome.core.library.CoreItemFactoryTest
shouldReturnNullForUnsupportedItemTypeName(org.eclipse.smarthome.core.library.CoreItemFactoryTest)  Time elapsed: 0 sec
shouldCreateItems(org.eclipse.smarthome.core.library.CoreItemFactoryTest)  Time elapsed: 0.004 sec
Running org.eclipse.smarthome.core.library.items.CallItemTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in org.eclipse.smarthome.core.library.items.CallItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.CallItemTest)  Time elapsed: 0.006 sec
testSetStringListType(org.eclipse.smarthome.core.library.items.CallItemTest)  Time elapsed: 0.005 sec
testSetUndefType(org.eclipse.smarthome.core.library.items.CallItemTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.items.ColorItemTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.eclipse.smarthome.core.library.items.ColorItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.ColorItemTest)  Time elapsed: 0.002 sec
testSetStateWithPercentType(org.eclipse.smarthome.core.library.items.ColorItemTest)  Time elapsed: 0 sec
testUndefType(org.eclipse.smarthome.core.library.items.ColorItemTest)  Time elapsed: 0 sec
testUpdateStateWithPercentType(org.eclipse.smarthome.core.library.items.ColorItemTest)  Time elapsed: 0 sec
testSetStateWithOnOffType(org.eclipse.smarthome.core.library.items.ColorItemTest)  Time elapsed: 0 sec
testSetStateWithHSBType(org.eclipse.smarthome.core.library.items.ColorItemTest)  Time elapsed: 0.001 sec
Running org.eclipse.smarthome.core.library.items.ContactItemTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.eclipse.smarthome.core.library.items.ContactItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.ContactItemTest)  Time elapsed: 0.001 sec
testUndefType(org.eclipse.smarthome.core.library.items.ContactItemTest)  Time elapsed: 0 sec
testOpenCloseType(org.eclipse.smarthome.core.library.items.ContactItemTest)  Time elapsed: 0.001 sec
Running org.eclipse.smarthome.core.library.items.DateTimeItemTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.smarthome.core.library.items.DateTimeItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.DateTimeItemTest)  Time elapsed: 0 sec
testUndefType(org.eclipse.smarthome.core.library.items.DateTimeItemTest)  Time elapsed: 0 sec
testDateTimeType(org.eclipse.smarthome.core.library.items.DateTimeItemTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.items.DimmerItemTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in org.eclipse.smarthome.core.library.items.DimmerItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.DimmerItemTest)  Time elapsed: 0 sec
getAsPercentFromHSB(org.eclipse.smarthome.core.library.items.DimmerItemTest)  Time elapsed: 0 sec
getAsPercentFromOff(org.eclipse.smarthome.core.library.items.DimmerItemTest)  Time elapsed: 0 sec
getAsPercentFromPercent(org.eclipse.smarthome.core.library.items.DimmerItemTest)  Time elapsed: 0 sec
getAsPercentFromDummy(org.eclipse.smarthome.core.library.items.DimmerItemTest)  Time elapsed: 0 sec
testUndefType(org.eclipse.smarthome.core.library.items.DimmerItemTest)  Time elapsed: 0 sec
getAsPercentFromOn(org.eclipse.smarthome.core.library.items.DimmerItemTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.items.ImageItemTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.eclipse.smarthome.core.library.items.ImageItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.ImageItemTest)  Time elapsed: 0 sec
testUndefType(org.eclipse.smarthome.core.library.items.ImageItemTest)  Time elapsed: 0.004 sec
testRawType(org.eclipse.smarthome.core.library.items.ImageItemTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.items.LocationItemTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.eclipse.smarthome.core.library.items.LocationItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.LocationItemTest)  Time elapsed: 0.001 sec
testUndefType(org.eclipse.smarthome.core.library.items.LocationItemTest)  Time elapsed: 0.001 sec
testDistance(org.eclipse.smarthome.core.library.items.LocationItemTest)  Time elapsed: 0.001 sec
Running org.eclipse.smarthome.core.library.items.NumberItemTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.eclipse.smarthome.core.library.items.NumberItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.NumberItemTest)  Time elapsed: 0.001 sec
setHSBType(org.eclipse.smarthome.core.library.items.NumberItemTest)  Time elapsed: 0 sec
setPercentType(org.eclipse.smarthome.core.library.items.NumberItemTest)  Time elapsed: 0 sec
testUndefType(org.eclipse.smarthome.core.library.items.NumberItemTest)  Time elapsed: 0 sec
setDecimalType(org.eclipse.smarthome.core.library.items.NumberItemTest)  Time elapsed: 0.001 sec
Running org.eclipse.smarthome.core.library.items.PlayerItemTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.eclipse.smarthome.core.library.items.PlayerItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.PlayerItemTest)  Time elapsed: 0 sec
setRewindFastforward(org.eclipse.smarthome.core.library.items.PlayerItemTest)  Time elapsed: 0 sec
testUndefType(org.eclipse.smarthome.core.library.items.PlayerItemTest)  Time elapsed: 0 sec
setPlayPause(org.eclipse.smarthome.core.library.items.PlayerItemTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.items.RollershutterItemTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in org.eclipse.smarthome.core.library.items.RollershutterItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.RollershutterItemTest)  Time elapsed: 0.015 sec
setState_stateDown_returnPercent100(org.eclipse.smarthome.core.library.items.RollershutterItemTest)  Time elapsed: 0 sec
setState_stateHSB50_returnPercent50(org.eclipse.smarthome.core.library.items.RollershutterItemTest)  Time elapsed: 0 sec
setState_statePercent50_returnPercent50(org.eclipse.smarthome.core.library.items.RollershutterItemTest)  Time elapsed: 0 sec
setState_stateUndef(org.eclipse.smarthome.core.library.items.RollershutterItemTest)  Time elapsed: 0 sec
setState_stateUp_returnPercent0(org.eclipse.smarthome.core.library.items.RollershutterItemTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.items.StringItemTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in org.eclipse.smarthome.core.library.items.StringItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.StringItemTest)  Time elapsed: 0.016 sec
setStringType(org.eclipse.smarthome.core.library.items.StringItemTest)  Time elapsed: 0 sec
setDateTimeTypeType(org.eclipse.smarthome.core.library.items.StringItemTest)  Time elapsed: 0 sec
testUndefType(org.eclipse.smarthome.core.library.items.StringItemTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.items.SwitchItemTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in org.eclipse.smarthome.core.library.items.SwitchItemTest
testAcceptedStates(org.eclipse.smarthome.core.library.items.SwitchItemTest)  Time elapsed: 0 sec
getAsDecimalFromSwitch(org.eclipse.smarthome.core.library.items.SwitchItemTest)  Time elapsed: 0 sec
testUndefType(org.eclipse.smarthome.core.library.items.SwitchItemTest)  Time elapsed: 0 sec
getAsPercentFromSwitch(org.eclipse.smarthome.core.library.items.SwitchItemTest)  Time elapsed: 0 sec
getAsHSBFromSwitch(org.eclipse.smarthome.core.library.items.SwitchItemTest)  Time elapsed: 0.015 sec
Running org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest
testNAndFunction_negative(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testOrFunction_differntTypes(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testNOrFunction(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testNAndFunction(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testAndFunction_negative(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testSumFunction(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testAndFunction_justsOneItem(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testOrFunction(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testOrFunction_justsOneItem(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testNOrFunction_negative(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testOrFunction_negative(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
testAndFunction(org.eclipse.smarthome.core.library.types.ArithmeticGroupFunctionTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.types.DateTimeTypeTest
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec - in org.eclipse.smarthome.core.library.types.DateTimeTypeTest
serializationTest[0](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0.015 sec
equalityTest[0](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[0](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
serializationTest[1](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
equalityTest[1](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[1](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
serializationTest[2](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
equalityTest[2](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[2](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
serializationTest[3](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
equalityTest[3](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[3](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
serializationTest[4](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
equalityTest[4](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[4](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0.016 sec
serializationTest[5](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
equalityTest[5](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[5](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
serializationTest[6](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
equalityTest[6](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[6](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
serializationTest[7](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
equalityTest[7](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[7](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
serializationTest[8](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
equalityTest[8](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[8](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
serializationTest[9](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
equalityTest[9](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[9](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
serializationTest[10](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
equalityTest[10](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
createDate[10](org.eclipse.smarthome.core.library.types.DateTimeTypeTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.types.DecimalTypeTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.smarthome.core.library.types.DecimalTypeTest
testConversionToOnOffType(org.eclipse.smarthome.core.library.types.DecimalTypeTest)  Time elapsed: 0 sec
testConversionToOpenCloseType(org.eclipse.smarthome.core.library.types.DecimalTypeTest)  Time elapsed: 0 sec
testConversionToPointType(org.eclipse.smarthome.core.library.types.DecimalTypeTest)  Time elapsed: 0 sec
testConversionToPercentType(org.eclipse.smarthome.core.library.types.DecimalTypeTest)  Time elapsed: 0 sec
testConversionToHSBType(org.eclipse.smarthome.core.library.types.DecimalTypeTest)  Time elapsed: 0 sec
testIntFormat(org.eclipse.smarthome.core.library.types.DecimalTypeTest)  Time elapsed: 0 sec
testConversionToUpDownType(org.eclipse.smarthome.core.library.types.DecimalTypeTest)  Time elapsed: 0 sec
testEquals(org.eclipse.smarthome.core.library.types.DecimalTypeTest)  Time elapsed: 0 sec
testFloatFormat(org.eclipse.smarthome.core.library.types.DecimalTypeTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.types.HSBTypeTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.smarthome.core.library.types.HSBTypeTest
testConversionToOnOffType(org.eclipse.smarthome.core.library.types.HSBTypeTest)  Time elapsed: 0 sec
testRgbToHsbConversion(org.eclipse.smarthome.core.library.types.HSBTypeTest)  Time elapsed: 0 sec
testHsbToRgbConversion(org.eclipse.smarthome.core.library.types.HSBTypeTest)  Time elapsed: 0 sec
testConversionToPointType(org.eclipse.smarthome.core.library.types.HSBTypeTest)  Time elapsed: 0 sec
testConversionToPercentType(org.eclipse.smarthome.core.library.types.HSBTypeTest)  Time elapsed: 0 sec
testEquals(org.eclipse.smarthome.core.library.types.HSBTypeTest)  Time elapsed: 0 sec
testConversionToDecimalType(org.eclipse.smarthome.core.library.types.HSBTypeTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.types.OnOffTypeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.smarthome.core.library.types.OnOffTypeTest
testConversionToPointType(org.eclipse.smarthome.core.library.types.OnOffTypeTest)  Time elapsed: 0 sec
testConversionToPercentType(org.eclipse.smarthome.core.library.types.OnOffTypeTest)  Time elapsed: 0 sec
testConversionToHSBType(org.eclipse.smarthome.core.library.types.OnOffTypeTest)  Time elapsed: 0 sec
testConversionToDecimalType(org.eclipse.smarthome.core.library.types.OnOffTypeTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.types.OpenClosedTypeTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.smarthome.core.library.types.OpenClosedTypeTest
testConversionToPointType(org.eclipse.smarthome.core.library.types.OpenClosedTypeTest)  Time elapsed: 0 sec
testConversionToPercentType(org.eclipse.smarthome.core.library.types.OpenClosedTypeTest)  Time elapsed: 0 sec
testConversionToDecimalType(org.eclipse.smarthome.core.library.types.OpenClosedTypeTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.types.PercentTypeTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in org.eclipse.smarthome.core.library.types.PercentTypeTest
testConversionToOnOffType(org.eclipse.smarthome.core.library.types.PercentTypeTest)  Time elapsed: 0 sec
testConversionToOpenCloseType(org.eclipse.smarthome.core.library.types.PercentTypeTest)  Time elapsed: 0 sec
MoreThan100(org.eclipse.smarthome.core.library.types.PercentTypeTest)  Time elapsed: 0 sec
testConversionToHSBType(org.eclipse.smarthome.core.library.types.PercentTypeTest)  Time elapsed: 0 sec
DoubleValue(org.eclipse.smarthome.core.library.types.PercentTypeTest)  Time elapsed: 0 sec
IntValue(org.eclipse.smarthome.core.library.types.PercentTypeTest)  Time elapsed: 0 sec
testConversionToUpDownType(org.eclipse.smarthome.core.library.types.PercentTypeTest)  Time elapsed: 0 sec
testEquals(org.eclipse.smarthome.core.library.types.PercentTypeTest)  Time elapsed: 0 sec
testConversionToDecimalType(org.eclipse.smarthome.core.library.types.PercentTypeTest)  Time elapsed: 0 sec
negativeNumber(org.eclipse.smarthome.core.library.types.PercentTypeTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.types.PointTypeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in org.eclipse.smarthome.core.library.types.PointTypeTest
testConstructorBadlyFormated2(org.eclipse.smarthome.core.library.types.PointTypeTest)  Time elapsed: 0 sec
testConstructorBadlyFormated3(org.eclipse.smarthome.core.library.types.PointTypeTest)  Time elapsed: 0 sec
testConstructorNull(org.eclipse.smarthome.core.library.types.PointTypeTest)  Time elapsed: 0 sec
testConstructorEmpty(org.eclipse.smarthome.core.library.types.PointTypeTest)  Time elapsed: 0 sec
testConstructorBadlyFormated(org.eclipse.smarthome.core.library.types.PointTypeTest)  Time elapsed: 0 sec
testDistance(org.eclipse.smarthome.core.library.types.PointTypeTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.types.StringListTypeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in org.eclipse.smarthome.core.library.types.StringListTypeTest
testToFullString(org.eclipse.smarthome.core.library.types.StringListTypeTest)  Time elapsed: 0 sec
testSerializedEquals_withEscapedEntries(org.eclipse.smarthome.core.library.types.StringListTypeTest)  Time elapsed: 0 sec
testError(org.eclipse.smarthome.core.library.types.StringListTypeTest)  Time elapsed: 0 sec
testValueOf_withEscapedEntries(org.eclipse.smarthome.core.library.types.StringListTypeTest)  Time elapsed: 0 sec
testSerializedEquals_simple(org.eclipse.smarthome.core.library.types.StringListTypeTest)  Time elapsed: 0.016 sec
testValueOf_simple(org.eclipse.smarthome.core.library.types.StringListTypeTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.types.StringTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.smarthome.core.library.types.StringTypeTest
testEquals(org.eclipse.smarthome.core.library.types.StringTypeTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.library.types.UpDownTypeTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.smarthome.core.library.types.UpDownTypeTest
testConversionToPointType(org.eclipse.smarthome.core.library.types.UpDownTypeTest)  Time elapsed: 0 sec
testConversionToPercentType(org.eclipse.smarthome.core.library.types.UpDownTypeTest)  Time elapsed: 0 sec
testConversionToDecimalType(org.eclipse.smarthome.core.library.types.UpDownTypeTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.net.HttpServiceUtilTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 sec - in org.eclipse.smarthome.core.net.HttpServiceUtilTest
shouldReturnHttpServicePortFromSystemProperty(org.eclipse.smarthome.core.net.HttpServiceUtilTest)  Time elapsed: 0.016 sec
shouldReturnHttpServicePortSecureFromSystemProperty(org.eclipse.smarthome.core.net.HttpServiceUtilTest)  Time elapsed: 0.015 sec
shouldReturnHttpServicePortFromServiceReference(org.eclipse.smarthome.core.net.HttpServiceUtilTest)  Time elapsed: 0.016 sec
shouldReturnHttpServicePortSecureFromServiceReference(org.eclipse.smarthome.core.net.HttpServiceUtilTest)  Time elapsed: 0.016 sec
shouldReturnUndefinedForException(org.eclipse.smarthome.core.net.HttpServiceUtilTest)  Time elapsed: 0.021 sec
Running org.eclipse.smarthome.core.net.NetUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.smarthome.core.net.NetUtilTest
testNetwork(org.eclipse.smarthome.core.net.NetUtilTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.scheduler.CronExpressionTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.031 sec - in org.eclipse.smarthome.core.scheduler.CronExpressionTest
dayOfWeekAndMonth(org.eclipse.smarthome.core.scheduler.CronExpressionTest)  Time elapsed: 0.016 sec
findNext(org.eclipse.smarthome.core.scheduler.CronExpressionTest) skipped
getTimeAfterCheck(org.eclipse.smarthome.core.scheduler.CronExpressionTest)  Time elapsed: 0 sec
getFinalTimeCheck(org.eclipse.smarthome.core.scheduler.CronExpressionTest)  Time elapsed: 0.015 sec
garbageString(org.eclipse.smarthome.core.scheduler.CronExpressionTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.scheduler.DateExpressionTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.smarthome.core.scheduler.DateExpressionTest
getTimeAfterCheck(org.eclipse.smarthome.core.scheduler.DateExpressionTest)  Time elapsed: 0 sec
getFinalTimeCheck(org.eclipse.smarthome.core.scheduler.DateExpressionTest)  Time elapsed: 0 sec
garbageString(org.eclipse.smarthome.core.scheduler.DateExpressionTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.scheduler.ExpressionThreadPoolExecutorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.021 sec - in org.eclipse.smarthome.core.scheduler.ExpressionThreadPoolExecutorTest
testScheduleAndRemove(org.eclipse.smarthome.core.scheduler.ExpressionThreadPoolExecutorTest)  Time elapsed: 3.018 sec
testScheduleAndRemoveRunnable(org.eclipse.smarthome.core.scheduler.ExpressionThreadPoolExecutorTest)  Time elapsed: 3.003 sec
Running org.eclipse.smarthome.core.scheduler.RecurrenceExpressionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec - in org.eclipse.smarthome.core.scheduler.RecurrenceExpressionTest
IntervalCheck(org.eclipse.smarthome.core.scheduler.RecurrenceExpressionTest)  Time elapsed: 0.063 sec
getTimeAfterCheck(org.eclipse.smarthome.core.scheduler.RecurrenceExpressionTest)  Time elapsed: 0 sec
getFinalTimeCheck(org.eclipse.smarthome.core.scheduler.RecurrenceExpressionTest)  Time elapsed: 0 sec
garbageString(org.eclipse.smarthome.core.scheduler.RecurrenceExpressionTest)  Time elapsed: 0 sec
Running org.eclipse.smarthome.core.service.AbstractWatchServiceTest
Tests run: 8, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 50.984 sec <<< FAILURE! - in org.eclipse.smarthome.core.service.AbstractWatchServiceTest
AbstractWatchQueueReader processWatchEvent path in subsubdir provided with correct arguments(org.eclipse.smarthome.core.service.AbstractWatchServiceTest)  Time elapsed: 0.688 sec
subdirs are registered and modifications are watched(org.eclipse.smarthome.core.service.AbstractWatchServiceTest)  Time elapsed: 30.062 sec  <<< FAILURE!
java.lang.AssertionError: Exactly 2 watch events were expected, but were: [Watch Event: count 1; kind: ENTRY_CREATE; path: watchDirectory\correctlyWatchedSubDir\correctSubDirInnerFile]
Expected: is <2>
     but: was <1>
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.junit.Assert.assertThat(Assert.java:956)
        at org.junit.Assert$assertThat$3.callStatic(Unknown Source)
        at org.eclipse.smarthome.core.service.AbstractWatchServiceTest$_assertAllEventsAreProcessed_closure9.doCall(AbstractWatchServiceTest.groovy:254)
        at org.eclipse.smarthome.core.service.AbstractWatchServiceTest$_assertAllEventsAreProcessed_closure9.doCall(AbstractWatchServiceTest.groovy)
        at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:278)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
        at org.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy:220)
        at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrap.invoke(PogoMetaMethodSite.java:187)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:61)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:153)
        at org.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy:191)
        at org.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
        at org.eclipse.smarthome.core.service.AbstractWatchServiceTest.assertAllEventsAreProcessed(AbstractWatchServiceTest.groovy:254)

AbstractWatchQueueReader processWatchEvent path in root provided with correct arguments(org.eclipse.smarthome.core.service.AbstractWatchServiceTest)  Time elapsed: 0.581 sec
same file names in root and subdir are correctly processed(org.eclipse.smarthome.core.service.AbstractWatchServiceTest)  Time elapsed: 3.018 sec

AbstractWatchQueueReader processWatchEvent path in subdir provided with correct arguments(org.eclipse.smarthome.core.service.AbstractWatchServiceTest)  Time elapsed: 0.562 sec
subdirs are not registered, but dirs modifications are watched(org.eclipse.smarthome.core.service.AbstractWatchServiceTest)  Time elapsed: 10.026 sec  <<< FAILURE!
java.lang.AssertionError: Exactly 1 watch events were expected, but were: []
Expected: is <1>
     but: was <0>
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.junit.Assert.assertThat(Assert.java:956)
        at org.junit.Assert$assertThat$3.callStatic(Unknown Source)
        at org.eclipse.smarthome.core.service.AbstractWatchServiceTest$_assertDirectoryModifyEventIsProcessed_closure12.doCall(AbstractWatchServiceTest.groovy:300)
        at org.eclipse.smarthome.core.service.AbstractWatchServiceTest$_assertDirectoryModifyEventIsProcessed_closure12.doCall(AbstractWatchServiceTest.groovy)
        at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:278)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
        at org.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy:220)
        at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrap.invoke(PogoMetaMethodSite.java:187)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:61)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:153)
        at org.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy:191)
        at org.eclipse.smarthome.test.OSGiTest.waitForAssert(OSGiTest.groovy)
        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
        at org.eclipse.smarthome.core.service.AbstractWatchServiceTest.assertDirectoryModifyEventIsProcessed(AbstractWatchServiceTest.groovy:300)

subdirs are not registered and modifications are not watched(org.eclipse.smarthome.core.service.AbstractWatchServiceTest)  Time elapsed: 3 sec
subdirs are registered, but dirs modifications are not watched(org.eclipse.smarthome.core.service.AbstractWatchServiceTest)  Time elapsed: 3.031 sec
Running org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec - in org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest
assert two items with same name can not be added(org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest)  Time elapsed: 0.031 sec
assert items are there once the factory gets added(org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest)  Time elapsed: 0.031 sec
assert items are added as group members on deferred creation(org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest)  Time elapsed: 0.016 sec
assert group functions are stored and retrieved as well(org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest)  Time elapsed: 0 sec
assert getItems returns item from registered ManagedItemProvider(org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest)  Time elapsed: 0.015 sec
assert removal returns old value(org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest)  Time elapsed: 0 sec
assert tags are stored and retrieve as well(org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest)  Time elapsed: 0 sec
updating existing item returns old value(org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest)  Time elapsed: 0 sec
assert remove recursively works(org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest)  Time elapsed: 0 sec
assert functions are stored and retrieved as well(org.eclipse.smarthome.core.storage.ManagedItemProviderOSGiTest)  Time elapsed: 0 sec

Results :

Failed tests:
  AbstractWatchServiceTest.subdirs are registered and modifications are watched:164->assertAllEventsAreProcessed:254->OSGiTest.waitForAssert:-1->OSGiTest.waitForAssert:191->OSGiTest.waitForAssert:220 Exactly 2 watch events were expected, but were: [Watch Event: count 1; kind: ENTRY_CREATE; path: watchDirectory\correctlyWatchedSubDir\correctSubDirInnerFile]
Expected: is <2>
     but: was <1>
  AbstractWatchServiceTest.subdirs are not registered, but dirs modifications are watched:234->assertDirectoryModifyEventIsProcessed:300->OSGiTest.waitForAssert:-1->OSGiTest.waitForAssert:191->OSGiTest.waitForAssert:220 Exactly 1 watch events were expected, but were: []
Expected: is <1>
     but: was <0>

Tests run: 291, Failures: 2, Errors: 0, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Eclipse SmartHome .................................. SUCCESS [  0.574 s]
[INFO] Eclipse SmartHome Bundles .......................... SUCCESS [  0.318 s]
[INFO] Eclipse SmartHome Test Components .................. SUCCESS [  0.086 s]
[INFO] Eclipse SmartHome Core Components .................. SUCCESS [  0.062 s]
[INFO] Eclipse SmartHome Core ............................. SUCCESS [  9.243 s]
[INFO] Eclipse SmartHome Configurations ................... SUCCESS [  0.062 s]
[INFO] Eclipse SmartHome Configuration Core ............... SUCCESS [  2.351 s]
[INFO] Eclipse SmartHome Configuration XML ................ SUCCESS [  1.903 s]
[INFO] Eclipse SmartHome AutoUpdate Binding ............... SUCCESS [  1.031 s]
[INFO] Eclipse SmartHome Test ............................. SUCCESS [  2.822 s]
[INFO] Eclipse SmartHome I/O Components ................... SUCCESS [  0.043 s]
[INFO] Eclipse SmartHome Console .......................... SUCCESS [  1.489 s]
[INFO] Eclipse SmartHome Thing ............................ SUCCESS [  4.990 s]
[INFO] Magic Bundle ....................................... SUCCESS [  1.119 s]
[INFO] Magic Bundle Tests ................................. SUCCESS [  9.826 s]
[INFO] Eclipse SmartHome Auth Components .................. SUCCESS [  0.047 s]
[INFO] Eclipse SmartHome JAAS Authentication .............. SUCCESS [  0.804 s]
[INFO] Eclipse SmartHome Configuration Dispatcher ......... SUCCESS [  0.668 s]
[INFO] Eclipse SmartHome Configuration Dispatcher Tests ... SUCCESS [ 16.988 s]
[INFO] Eclipse SmartHome Configuration Core Tests ......... SUCCESS [  9.782 s]
[INFO] Eclipse SmartHome Configuration Discovery .......... SUCCESS [  1.603 s]
[INFO] Eclipse SmartHome Core Thing XML ................... SUCCESS [  2.080 s]
[INFO] Eclipse SmartHome Configuration Discovery Tests .... SUCCESS [ 24.846 s]
[INFO] Eclipse SmartHome Config XML Tests ................. SUCCESS [ 10.183 s]
[INFO] Eclipse SmartHome Core Audio ....................... SUCCESS [  1.775 s]
[INFO] Eclipse SmartHome Core Binding XML ................. SUCCESS [  0.925 s]
[INFO] Eclipse Smarthome Audio Test ....................... SUCCESS [ 13.379 s]
[INFO] Eclipse SmartHome Sample Extension Service ......... SUCCESS [  0.976 s]
[INFO] Eclipse SmartHome REST Interface ................... SUCCESS [  1.583 s]
[INFO] Eclipse SmartHome Core ID .......................... SUCCESS [  0.665 s]
[INFO] Eclipse SmartHome ID Tests ......................... SUCCESS [  8.047 s]
[INFO] Eclipse SmartHome Core Tests ....................... FAILURE [01:19 min]
[INFO] Eclipse SmartHome Thing Tests ...................... SKIPPED
[INFO] Eclipse SmartHome Core Persistence ................. SKIPPED
[INFO] Eclipse SmartHome Core Scheduler Service ........... SKIPPED
[INFO] Eclipse SmartHome Core Transformation Service ...... SKIPPED
[INFO] Eclipse SmartHome Core Binding XML Tests ........... SKIPPED
[INFO] Eclipse SmartHome Core Thing XML Tests ............. SKIPPED
[INFO] Eclipse SmartHome Core Voice ....................... SKIPPED
[INFO] Eclipse SmartHome Core Voice Test .................. SKIPPED
[INFO] Eclipse SmartHome Automation ....................... SKIPPED
[INFO] Eclipse SmartHome Automation API ................... SKIPPED
[INFO] Eclipse SmartHome Automation Commands .............. SKIPPED
[INFO] Eclipse SmartHome Automation Parser GSON ........... SKIPPED
[INFO] Eclipse SmartHome Automation Providers ............. SKIPPED
[INFO] Eclipse SmartHome Automation Provider File ......... SKIPPED
[INFO] Eclipse SmartHome Automation Core .................. SKIPPED
[INFO] Eclipse SmartHome Automation Core Tests ............ SKIPPED
[INFO] Eclipse SmartHome Automation Sample JSON ........... SKIPPED
[INFO] Eclipse SmartHome Automation Core Modules .......... SKIPPED
[INFO] Eclipse SmartHome Automation Core Module Tests ..... SKIPPED
[INFO] Eclipse SmartHome Automation Script Modules ........ SKIPPED
[INFO] Eclipse SmartHome Automation Media Modules ......... SKIPPED
[INFO] Eclipse SmartHome Automation Timer Modules ......... SKIPPED
[INFO] Eclipse SmartHome Automation Module Timer Tests .... SKIPPED
[INFO] Eclipse SmartHome Models ........................... SKIPPED
[INFO] Eclipse SmartHome Model Core ....................... SKIPPED
[INFO] Eclipse SmartHome Model Lazy Generation ............ SKIPPED
[INFO] Eclipse SmartHome Model Items ...................... SKIPPED
[INFO] Eclipse SmartHome Model Persistence ................ SKIPPED
[INFO] Eclipse SmartHome Automation Script Default Scope .. SKIPPED
[INFO] Eclipse SmartHome Automation Script RuleSupport .... SKIPPED
[INFO] Eclipse SmartHome Automation Script Module Tests ... SKIPPED
[INFO] Eclipse SmartHome Automation Event Tests ........... SKIPPED
[INFO] Eclipse SmartHome Automation Integration Tests ..... SKIPPED
[INFO] Eclipse SmartHome Automation Sample Extension Java . SKIPPED
[INFO] Eclipse SmartHome Automation REST API .............. SKIPPED
[INFO] Eclipse SmartHome Automation Sample REST API ....... SKIPPED
[INFO] Eclipse SmartHome Automation Java Demo ............. SKIPPED
[INFO] Eclipse SmartHome Automation Json Demo ............. SKIPPED
[INFO] Eclipse SmartHome Automation Module Type Demo ...... SKIPPED
[INFO] Eclipse SmartHome Designer Bundles ................. SKIPPED
[INFO] Eclipse SmartHome Network I/O ...................... SKIPPED
[INFO] Eclipse SmartHome Model Script ..................... SKIPPED
[INFO] Eclipse SmartHome Designer Core Plugin ............. SKIPPED
[INFO] Eclipse SmartHome Designer UI Plugin ............... SKIPPED
[INFO] Eclipse SmartHome Console for OSGi framework Eclipse Equinox SKIPPED
[INFO] Eclipse SmartHome Console for OSGi Console RFC 147 . SKIPPED
[INFO] Eclipse SmartHome Console for OSGi runtime Karaf ... SKIPPED
[INFO] Eclipse SmartHome Monitor .......................... SKIPPED
[INFO] Eclipse SmartHome Network I/O Tests ................ SKIPPED
[INFO] Eclipse SmartHome IO REST Tests .................... SKIPPED
[INFO] Eclipse SmartHome Authentication Support for the REST Interface SKIPPED
[INFO] Eclipse SmartHome Basic Auth for the REST Interface  SKIPPED
[INFO] Eclipse SmartHome Core REST Interface .............. SKIPPED
[INFO] Eclipse SmartHome IO REST Core Tests ............... SKIPPED
[INFO] Eclipse SmartHome mDNS Service ..................... SKIPPED
[INFO] Eclipse SmartHome REST mDNS Announcer .............. SKIPPED
[INFO] Eclipse SmartHome SSE Interface .................... SKIPPED
[INFO] Eclipse SmartHome IO SSE Tests ..................... SKIPPED
[INFO] Eclipse SmartHome Model Sitemap .................... SKIPPED
[INFO] Eclipse SmartHome UIs .............................. SKIPPED
[INFO] Eclipse SmartHome UI ............................... SKIPPED
[INFO] Eclipse SmartHome Sitemap REST Interface ........... SKIPPED
[INFO] Eclipse SmartHome Core REST UI Logging Module ...... SKIPPED
[INFO] Eclipse SmartHome Voice REST Interface ............. SKIPPED
[INFO] Eclipse SmartHome DBus Transport ................... SKIPPED
[INFO] Eclipse SmartHome MQTT Transport ................... SKIPPED
[INFO] Eclipse SmartHome Mqtt Transport I/O Tests ......... SKIPPED
[INFO] Eclipse SmartHome UPnP Transport ................... SKIPPED
[INFO] Eclipse SmartHome IO UPnP Tests .................... SKIPPED
[INFO] Eclipse SmartHome Model Core Tests ................. SKIPPED
[INFO] Eclipse SmartHome Model Item IDE ................... SKIPPED
[INFO] Eclipse SmartHome Model Items Runtime .............. SKIPPED
[INFO] Eclipse SmartHome Model Item UI .................... SKIPPED
[INFO] Eclipse SmartHome Items Model Tests ................ SKIPPED
[INFO] Eclipse SmartHome Model Persistence IDE ............ SKIPPED
[INFO] Eclipse SmartHome Model Rules ...................... SKIPPED
[INFO] Eclipse SmartHome Model Rule IDE ................... SKIPPED
[INFO] Eclipse SmartHome Model Script IDE ................. SKIPPED
[INFO] Eclipse SmartHome Model Sitemap IDE ................ SKIPPED
[INFO] Eclipse SmartHome Thing Model ...................... SKIPPED
[INFO] Eclipse SmartHome Model Thing IDE .................. SKIPPED
[INFO] Eclipse SmartHome Model Persistence Runtime ........ SKIPPED
[INFO] Eclipse SmartHome Model Rules Runtime .............. SKIPPED
[INFO] Eclipse SmartHome Model Script Runtime ............. SKIPPED
[INFO] Eclipse SmartHome Model Sitemap Runtime ............ SKIPPED
[INFO] Eclipse SmartHome Thing Model Runtime .............. SKIPPED
[INFO] Eclipse SmartHome Language Server .................. SKIPPED
[INFO] Eclipse SmartHome Model Persistence UI ............. SKIPPED
[INFO] Eclipse SmartHome Model Persistence Tests .......... SKIPPED
[INFO] Eclipse SmartHome Model Script UI .................. SKIPPED
[INFO] Eclipse SmartHome Model Rules UI ................... SKIPPED
[INFO] Eclipse SmartHome Model Rules Tests ................ SKIPPED
[INFO] Eclipse SmartHome Model Script Tests ............... SKIPPED
[INFO] Eclipse SmartHome Model Sitemap UI Plugin .......... SKIPPED
[INFO] Eclipse SmartHome Thing Model UI ................... SKIPPED
[INFO] Eclipse SmartHome Thing Model Tests ................ SKIPPED
[INFO] Eclipse SmartHome UI Tests ......................... SKIPPED
[INFO] Eclipse SmartHome UI Icon Support .................. SKIPPED
[INFO] Eclipse SmartHome UI Icon Tests .................... SKIPPED
[INFO] Eclipse SmartHome Storages ......................... SKIPPED
[INFO] Eclipse SmartHome JSON Storage ..................... SKIPPED
[INFO] Eclipse SmartHome Storage JSON Tests ............... SKIPPED
[INFO] Eclipse SmartHome MapDB Storage .................... SKIPPED
[INFO] Eclipse SmartHome Storage MapDB Tests .............. SKIPPED
[INFO] Eclipse SmartHome Extensions ....................... SKIPPED
[INFO] Eclipse SmartHome Bindings ......................... SKIPPED
[INFO] Eclipse SmartHome Astro Binding .................... SKIPPED
[INFO] Eclipse SmartHome Astro Binding Tests .............. SKIPPED
[INFO] Eclipse SmartHome DigitalSTROM Binding ............. SKIPPED
[INFO] Eclipse SmartHome hue Binding ...................... SKIPPED
[INFO] Eclipse SmartHome hue Binding Tests ................ SKIPPED
[INFO] Eclipse SmartHome FSInternetRadio Binding .......... SKIPPED
[INFO] Eclipse Smarthome FSInternetRadio Binding Test ..... SKIPPED
[INFO] Eclipse SmartHome LIFX Binding ..................... SKIPPED
[INFO] Eclipse SmartHome LIRC Binding ..................... SKIPPED
[INFO] Eclipse SmartHome NTP Binding ...................... SKIPPED
[INFO] Eclipse SmartHome NTP Binding Tests ................ SKIPPED
[INFO] Eclipse SmartHome Sonos Binding .................... SKIPPED
[INFO] Tradfri Binding .................................... SKIPPED
[INFO] Tradfri Binding Tests .............................. SKIPPED
[INFO] WeatherUnderground Binding ......................... SKIPPED
[INFO] Eclipse SmartHome WeMo Binding ..................... SKIPPED
[INFO] Eclipse SmartHome Wemo Binding Tests ............... SKIPPED
[INFO] Eclipse SmartHome YahooWeather Binding ............. SKIPPED
[INFO] Eclipse SmartHome Extension Service Extensions ..... SKIPPED
[INFO] Eclipse SmartHome IoT Marketplace Extension Service  SKIPPED
[INFO] Eclipse SmartHome IoT Marketplace Extension Automation Support SKIPPED
[INFO] Eclipse SmartHome I/O Services ..................... SKIPPED
[INFO] Eclipse SmartHome JavaSound I/O .................... SKIPPED
[INFO] Eclipse SmartHome Web Audio Support ................ SKIPPED
[INFO] Eclipse SmartHome Transformation Services .......... SKIPPED
[INFO] Eclipse SmartHome Exec Transformation Service ...... SKIPPED
[INFO] Eclipse SmartHome Javascript Transformation Service  SKIPPED
[INFO] Eclipse SmartHome Map Transformation Service ....... SKIPPED
[INFO] Eclipse SmartHome Map Transformation Service Tests . SKIPPED
[INFO] Eclipse SmartHome Scale Transformation Service ..... SKIPPED
[INFO] Eclipse SmartHome Scale Transformation Service Tests SKIPPED
[INFO] Eclipse SmartHome RegEx Transformation Service ..... SKIPPED
[INFO] Eclipse SmartHome RegEx Transformation Service Tests SKIPPED
[INFO] Eclipse SmartHome XPath Transformation Service ..... SKIPPED
[INFO] Eclipse SmartHome XPath Transformation Service Tests SKIPPED
[INFO] Eclipse SmartHome JSonPath Transformation Service .. SKIPPED
[INFO] Eclipse SmartHome JSonPath Transformation Service Tests SKIPPED
[INFO] Eclipse SmartHome Xslt Transformation Service ...... SKIPPED
[INFO] Eclipse SmartHome Xslt Transformation Service Tests  SKIPPED
[INFO] Eclipse SmartHome UI Extensions .................... SKIPPED
[INFO] Eclipse SmartHome Icon Sets ........................ SKIPPED
[INFO] Eclipse SmartHome Classic Icon Set ................. SKIPPED
[INFO] Eclipse SmartHome Basic UI ......................... SKIPPED
[INFO] Eclipse SmartHome Classic UI ....................... SKIPPED
[INFO] Eclipse SmartHome Paper UI ......................... SKIPPED
[INFO] Eclipse SmartHome Voice Services ................... SKIPPED
[INFO] Eclipse SmartHome MacOS TTS ........................ SKIPPED
[INFO] Eclipse SmartHome Mac TTS Tests .................... SKIPPED
[INFO] Eclipse SmartHome Features ......................... SKIPPED
[INFO] Eclipse SmartHome Runtime Core Feature ............. SKIPPED
[INFO] Eclipse SmartHome Runtime Model Feature ............ SKIPPED
[INFO] Eclipse SmartHome Runtime UI Feature ............... SKIPPED
[INFO] Eclipse SmartHome Runtime REST Feature ............. SKIPPED
[INFO] Eclipse SmartHome Runtime Automation Feature ....... SKIPPED
[INFO] Eclipse SmartHome Runtime Equinox Console Feature .. SKIPPED
[INFO] Eclipse SmartHome Runtime RfC147 Console Feature ... SKIPPED
[INFO] Eclipse SmartHome Runtime Binding Feature .......... SKIPPED
[INFO] Eclipse SmartHome Test Dependencies ................ SKIPPED
[INFO] Eclipse SmartHome Karaf Features ................... SKIPPED
[INFO] Eclipse SmartHome Target Platform Feature .......... SKIPPED
[INFO] Eclipse SmartHome Core Feature ..................... SKIPPED
[INFO] Eclipse SmartHome Extensions Feature ............... SKIPPED
[INFO] Eclipse SmartHome Karaf Feature Verification ....... SKIPPED
[INFO] Eclipse SmartHome Products ......................... SKIPPED
[INFO] Eclipse SmartHome p2 Repository .................... SKIPPED
[INFO] Eclipse SmartHome Tools ............................ SKIPPED
[INFO] Eclipse SmartHome Archetypes ....................... SKIPPED
[INFO] Eclipse Smarthome Binding Archetype ................ SKIPPED
[INFO] Eclipse Smarthome Binding Archetype Testsuite ...... SKIPPED
[INFO] Eclipse SmartHome Target Platform .................. SKIPPED
[INFO] Eclipse SmartHome Distribution ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:55 min
[INFO] Finished at: 2017-08-28T19:50:19+02:00
[INFO] Final Memory: 209M/1546M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.eclipse.smarthome.core.test: There are test failures.
[ERROR]
[ERROR] Please refer to C:\openhab2\git\smarthome\bundles\core\org.eclipse.smarthome.core.test\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.eclipse.smarthome.core.test

Any idea what I'm doing wrong? ;-)
Thanks!

@kaikreuzer

This comment has been minimized.

Copy link
Member

commented Aug 28, 2017

@kubawolanin I have these failing tests when doing local builds on my Mac also from time to time. Best if you simply use a mvn -DskipTests=true clean install :-)

kubawolanin added a commit to kubawolanin/smarthome that referenced this pull request Aug 28, 2017

Updated README with skipTests flag
Thanks @kaikreuzer for [the info](eclipse#4148 (comment))! :-)

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com> (github: kubawolanin)
@sjka

This comment has been minimized.

Copy link
Contributor Author

commented Aug 29, 2017

FTR: I didn't update the (karaf) features yet - this time by intention because of eclipse/xtext-core#446

kaikreuzer added a commit that referenced this pull request Aug 31, 2017

Updated README with skipTests flag (#4150)
Thanks @kaikreuzer for [the info](#4148 (comment))! :-)

Signed-off-by: kubawolanin <hi@kubawolanin.com>
@kaikreuzer
Copy link
Member

left a comment

Please rebase this branch and add the new bundle to the p2 feature as well as to the Karaf feature - thanks!

for informational purposes only, and you should look to the Redistributor's license for
terms and conditions of use.</p>
<p>
<strong>Joda-Time 2.3</strong> <br/><br/>

This comment has been minimized.

Copy link
@kaikreuzer

kaikreuzer Sep 25, 2017

Member

Err, did you maybe choose a bad about.html to copy in here...?

private void listen() {
try {
socket = new ServerSocket(PORT);
logger.info("Language Server running on port {}", PORT);

This comment has been minimized.

Copy link
@kaikreuzer

kaikreuzer Sep 25, 2017

Member

Maybe better "started" instead of "running"?

private void handleConnection(final Socket client) {
logger.debug("Client {} connected", client.getRemoteSocketAddress());
try {

This comment has been minimized.

Copy link
@kaikreuzer

kaikreuzer Sep 25, 2017

Member

remove empty line

Future<?> future = launcher.startListening();
future.get();
} catch (IOException e) {
logger.error("Error communicating with the LSP client", e);

This comment has been minimized.

Copy link
@kaikreuzer

kaikreuzer Sep 25, 2017

Member

This is likely an "external" issue like a client that closes the connection. If we want to log it at all, we at least should not include the stacktrace here as it is no bug on our end.

@@ -101,6 +101,10 @@
<repository location="http://download.eclipse.org/modeling/emf/emf/updates/2.11/core/R201506010402"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.lsp4j.sdk.feature.group" version="0.2.0.v20170518-0647"/>

This comment has been minimized.

Copy link
@kaikreuzer

kaikreuzer Sep 25, 2017

Member

Is this an incubation project? If so, we might require a CQ for it, right?

This comment has been minimized.

Copy link
@sjka

sjka Sep 25, 2017

Author Contributor

The due diligence process allows "Re-Use of Eclipse Project or Plug-in (Orbit excluded) or bundle that has undergone a release review". It doesn't say anything about incubation status of Eclipse projects. LSP4J has been formally released.
Did I miss anything?

This comment has been minimized.

Copy link
@kaikreuzer

kaikreuzer Sep 25, 2017

Member

Ok, then we are lucky (and I had something wrong in mind... reminder to self: incubation!=unreleased).

WIP: Exposing a Language Server
Signed-off-by: Simon Kaufmann <simon.kfm@googlemail.com>

@sjka sjka force-pushed the sjka:lsp branch 2 times, most recently from b19978a to 45ba3b5 Sep 25, 2017

@@ -89,7 +88,7 @@ private void handleConnection(final Socket client) {
Future<?> future = launcher.startListening();
future.get();
} catch (IOException e) {
logger.error("Error communicating with the LSP client", e);
logger.warn("Error communicating with the LSP client");

This comment has been minimized.

Copy link
@kaikreuzer

kaikreuzer Sep 25, 2017

Member

a message or a client reference might be helpful, though, don't you think?

@sjka sjka force-pushed the sjka:lsp branch 2 times, most recently from 7e595ce to f5b94a1 Sep 25, 2017

@sjka sjka changed the title WIP: Exposing a Language Server Exposing a Language Server Sep 25, 2017

@sjka

This comment has been minimized.

Copy link
Contributor Author

commented Sep 25, 2017

I have updated the Karaf packaging to a state where it "builds on my machine". I hope that Travis comes to the same conclusion.

Dear Karaf packaging experts, please have a close look if you can make some sense of my copy'n'paste in the feature.xmls - I'm (almost) clueless what I'm doing there.

@@ -24,6 +24,7 @@
<feature dependency="true">esh-tp-jmdns</feature>
<feature dependency="true">esh-tp-paho</feature>
<feature dependency="true">esh-tp-xtext</feature>
<feature dependency="true">esh-tp-xtext-ide</feature>

This comment has been minimized.

Copy link
@maggu2810

maggu2810 Sep 25, 2017

Contributor

Add also the lsp4j ESH TP feature.


<feature name="esh-model-lsp" version="${project.version}">
<requirement>esh.tp;filter:="(&amp;(feature=xtext-ide)(version&gt;=2.12.0)(!(version&gt;=2.13.0)))"</requirement>
<feature dependency="true">esh-tp-lsp4j</feature>

This comment has been minimized.

Copy link
@maggu2810

maggu2810 Sep 25, 2017

Contributor

Rely on esh-tp features using "requirement" and a filter expression as you have done in the line above for xtext-ide (first add your lsp4j optional feature dependency to the tp).

This comment has been minimized.

Copy link
@sjka

sjka Sep 25, 2017

Author Contributor

awesome, I coudln't get the "requirement" statement to work - it seems like your above hint was the missing piece. THANKS!
Will do so, of course...

This comment has been minimized.

Copy link
@maggu2810

maggu2810 Sep 25, 2017

Contributor

Some background: Every solution could create its own target platform feature definition.
The esh-base feature depends on the esh-tp feature.
All features that are part of esh-tp are using dependency="true" so they are only considered if someone depends on it.
We are using the requirement declaration so we state which esh targetplafrom feature is necessary...

@sjka sjka force-pushed the sjka:lsp branch from f5b94a1 to f075815 Sep 25, 2017

added lsp to features
Signed-off-by: Simon Kaufmann <simon.kfm@googlemail.com>

@sjka sjka force-pushed the sjka:lsp branch from f075815 to b39ad5f Sep 25, 2017

@kaikreuzer

This comment has been minimized.

Copy link
Member

commented Sep 25, 2017

Travis seems to have problems this afternoon, it isn't at all starting the builds.
I did a local build and all looked good - so let's merge!

@kaikreuzer kaikreuzer merged commit 8233984 into eclipse:master Sep 25, 2017

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
ip-validation
Details

@kaikreuzer kaikreuzer added this to the 0.9.0 milestone Nov 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.