diff --git a/itests/org.openhab.core.automation.integration.tests/.classpath b/itests/org.openhab.core.automation.integration.tests/.classpath index 002ad570e..4975bcf74 100644 --- a/itests/org.openhab.core.automation.integration.tests/.classpath +++ b/itests/org.openhab.core.automation.integration.tests/.classpath @@ -11,19 +11,6 @@ - - - - - - - - - - - - - diff --git a/itests/org.openhab.core.automation.integration.tests/src/main/java/org/eclipse/smarthome/automation/integration/test/AutomationIntegrationJsonTest.java b/itests/org.openhab.core.automation.integration.tests/src/main/java/org/openhab/core/automation/integration/test/AutomationIntegrationJsonTest.java similarity index 95% rename from itests/org.openhab.core.automation.integration.tests/src/main/java/org/eclipse/smarthome/automation/integration/test/AutomationIntegrationJsonTest.java rename to itests/org.openhab.core.automation.integration.tests/src/main/java/org/openhab/core/automation/integration/test/AutomationIntegrationJsonTest.java index 614403f7c..d358098a8 100644 --- a/itests/org.openhab.core.automation.integration.tests/src/main/java/org/eclipse/smarthome/automation/integration/test/AutomationIntegrationJsonTest.java +++ b/itests/org.openhab.core.automation.integration.tests/src/main/java/org/openhab/core/automation/integration/test/AutomationIntegrationJsonTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.integration.test; +package org.openhab.core.automation.integration.test; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; @@ -23,21 +23,6 @@ import java.util.Set; import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; -import org.eclipse.smarthome.automation.Action; -import org.eclipse.smarthome.automation.Rule; -import org.eclipse.smarthome.automation.RuleManager; -import org.eclipse.smarthome.automation.RulePredicates; -import org.eclipse.smarthome.automation.RuleRegistry; -import org.eclipse.smarthome.automation.RuleStatus; -import org.eclipse.smarthome.automation.RuleStatusInfo; -import org.eclipse.smarthome.automation.Trigger; -import org.eclipse.smarthome.automation.core.ManagedRuleProvider; -import org.eclipse.smarthome.automation.events.RuleStatusInfoEvent; -import org.eclipse.smarthome.automation.type.ActionType; -import org.eclipse.smarthome.automation.type.Input; -import org.eclipse.smarthome.automation.type.ModuleTypeRegistry; -import org.eclipse.smarthome.automation.type.Output; -import org.eclipse.smarthome.automation.type.TriggerType; import org.eclipse.smarthome.core.common.registry.ProviderChangeListener; import org.eclipse.smarthome.core.events.Event; import org.eclipse.smarthome.core.events.EventFilter; @@ -58,6 +43,21 @@ import org.eclipse.smarthome.test.storage.VolatileStorageService; import org.junit.After; import org.junit.Before; import org.junit.Test; +import org.openhab.core.automation.Action; +import org.openhab.core.automation.ManagedRuleProvider; +import org.openhab.core.automation.Rule; +import org.openhab.core.automation.RuleManager; +import org.openhab.core.automation.RulePredicates; +import org.openhab.core.automation.RuleRegistry; +import org.openhab.core.automation.RuleStatus; +import org.openhab.core.automation.RuleStatusInfo; +import org.openhab.core.automation.Trigger; +import org.openhab.core.automation.events.RuleStatusInfoEvent; +import org.openhab.core.automation.type.ActionType; +import org.openhab.core.automation.type.Input; +import org.openhab.core.automation.type.ModuleTypeRegistry; +import org.openhab.core.automation.type.Output; +import org.openhab.core.automation.type.TriggerType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/itests/org.openhab.core.automation.integration.tests/src/main/java/org/eclipse/smarthome/automation/integration/test/AutomationIntegrationTest.java b/itests/org.openhab.core.automation.integration.tests/src/main/java/org/openhab/core/automation/integration/test/AutomationIntegrationTest.java similarity index 96% rename from itests/org.openhab.core.automation.integration.tests/src/main/java/org/eclipse/smarthome/automation/integration/test/AutomationIntegrationTest.java rename to itests/org.openhab.core.automation.integration.tests/src/main/java/org/openhab/core/automation/integration/test/AutomationIntegrationTest.java index 7e25477b3..09a76e9d7 100644 --- a/itests/org.openhab.core.automation.integration.tests/src/main/java/org/eclipse/smarthome/automation/integration/test/AutomationIntegrationTest.java +++ b/itests/org.openhab.core.automation.integration.tests/src/main/java/org/openhab/core/automation/integration/test/AutomationIntegrationTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.integration.test; +package org.openhab.core.automation.integration.test; import static java.util.stream.Collectors.*; import static org.hamcrest.CoreMatchers.*; @@ -31,32 +31,6 @@ import java.util.stream.Stream; import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; -import org.eclipse.smarthome.automation.Action; -import org.eclipse.smarthome.automation.Condition; -import org.eclipse.smarthome.automation.Rule; -import org.eclipse.smarthome.automation.RuleManager; -import org.eclipse.smarthome.automation.RuleProvider; -import org.eclipse.smarthome.automation.RuleRegistry; -import org.eclipse.smarthome.automation.RuleStatus; -import org.eclipse.smarthome.automation.Trigger; -import org.eclipse.smarthome.automation.Visibility; -import org.eclipse.smarthome.automation.core.ManagedRuleProvider; -import org.eclipse.smarthome.automation.core.util.ModuleBuilder; -import org.eclipse.smarthome.automation.core.util.RuleBuilder; -import org.eclipse.smarthome.automation.events.RuleAddedEvent; -import org.eclipse.smarthome.automation.events.RuleRemovedEvent; -import org.eclipse.smarthome.automation.events.RuleStatusInfoEvent; -import org.eclipse.smarthome.automation.events.RuleUpdatedEvent; -import org.eclipse.smarthome.automation.module.core.handler.GenericEventTriggerHandler; -import org.eclipse.smarthome.automation.template.RuleTemplate; -import org.eclipse.smarthome.automation.template.RuleTemplateProvider; -import org.eclipse.smarthome.automation.template.Template; -import org.eclipse.smarthome.automation.template.TemplateRegistry; -import org.eclipse.smarthome.automation.type.ActionType; -import org.eclipse.smarthome.automation.type.ModuleType; -import org.eclipse.smarthome.automation.type.ModuleTypeProvider; -import org.eclipse.smarthome.automation.type.ModuleTypeRegistry; -import org.eclipse.smarthome.automation.type.TriggerType; import org.eclipse.smarthome.config.core.ConfigDescriptionParameter; import org.eclipse.smarthome.config.core.Configuration; import org.eclipse.smarthome.core.common.registry.ProviderChangeListener; @@ -78,6 +52,32 @@ import org.junit.After; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; +import org.openhab.core.automation.Action; +import org.openhab.core.automation.Condition; +import org.openhab.core.automation.ManagedRuleProvider; +import org.openhab.core.automation.Rule; +import org.openhab.core.automation.RuleManager; +import org.openhab.core.automation.RuleProvider; +import org.openhab.core.automation.RuleRegistry; +import org.openhab.core.automation.RuleStatus; +import org.openhab.core.automation.Trigger; +import org.openhab.core.automation.Visibility; +import org.openhab.core.automation.events.RuleAddedEvent; +import org.openhab.core.automation.events.RuleRemovedEvent; +import org.openhab.core.automation.events.RuleStatusInfoEvent; +import org.openhab.core.automation.events.RuleUpdatedEvent; +import org.openhab.core.automation.internal.module.handler.GenericEventTriggerHandler; +import org.openhab.core.automation.template.RuleTemplate; +import org.openhab.core.automation.template.RuleTemplateProvider; +import org.openhab.core.automation.template.Template; +import org.openhab.core.automation.template.TemplateRegistry; +import org.openhab.core.automation.type.ActionType; +import org.openhab.core.automation.type.ModuleType; +import org.openhab.core.automation.type.ModuleTypeProvider; +import org.openhab.core.automation.type.ModuleTypeRegistry; +import org.openhab.core.automation.type.TriggerType; +import org.openhab.core.automation.util.ModuleBuilder; +import org.openhab.core.automation.util.RuleBuilder; import org.osgi.framework.Bundle; import org.osgi.framework.BundleException; import org.osgi.framework.FrameworkUtil; @@ -395,7 +395,7 @@ public class AutomationIntegrationTest extends JavaOSGiTest { }, 3000, 100); for (Bundle bundle : bundleContext.getBundles()) { - if (bundle.getSymbolicName().equals("org.eclipse.smarthome.automation.sample.extension.json")) { + if (bundle.getSymbolicName().equals("org.openhab.core.automation.sample.extension.json")) { bundle.uninstall(); break; } diff --git a/itests/org.openhab.core.automation.integration.tests/src/main/java/org/eclipse/smarthome/automation/integration/test/HostFragmentSupportTest.java b/itests/org.openhab.core.automation.integration.tests/src/main/java/org/openhab/core/automation/integration/test/HostFragmentSupportTest.java similarity index 99% rename from itests/org.openhab.core.automation.integration.tests/src/main/java/org/eclipse/smarthome/automation/integration/test/HostFragmentSupportTest.java rename to itests/org.openhab.core.automation.integration.tests/src/main/java/org/openhab/core/automation/integration/test/HostFragmentSupportTest.java index ef5f98dc0..9c9e25008 100644 --- a/itests/org.openhab.core.automation.integration.tests/src/main/java/org/eclipse/smarthome/automation/integration/test/HostFragmentSupportTest.java +++ b/itests/org.openhab.core.automation.integration.tests/src/main/java/org/openhab/core/automation/integration/test/HostFragmentSupportTest.java @@ -10,19 +10,19 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.integration.test; +package org.openhab.core.automation.integration.test; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; import java.util.Locale; -import org.eclipse.smarthome.automation.type.ModuleTypeRegistry; import org.eclipse.smarthome.core.storage.StorageService; import org.eclipse.smarthome.test.java.JavaOSGiTest; import org.junit.After; import org.junit.Before; import org.junit.Test; +import org.openhab.core.automation.type.ModuleTypeRegistry; import org.osgi.framework.Bundle; import org.osgi.framework.BundleException; import org.osgi.framework.FrameworkEvent; diff --git a/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/eclipse/smarthome/automation/module/core/internal/RunRuleModuleTest.java b/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/openhab/core/automation/internal/module/RunRuleModuleTest.java similarity index 95% rename from itests/org.openhab.core.automation.module.core.tests/src/main/java/org/eclipse/smarthome/automation/module/core/internal/RunRuleModuleTest.java rename to itests/org.openhab.core.automation.module.core.tests/src/main/java/org/openhab/core/automation/internal/module/RunRuleModuleTest.java index 9e537415f..8585d0f6d 100644 --- a/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/eclipse/smarthome/automation/module/core/internal/RunRuleModuleTest.java +++ b/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/openhab/core/automation/internal/module/RunRuleModuleTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.module.core.internal; +package org.openhab.core.automation.internal.module; import static org.junit.Assert.*; @@ -26,12 +26,6 @@ import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; -import org.eclipse.smarthome.automation.Rule; -import org.eclipse.smarthome.automation.RuleManager; -import org.eclipse.smarthome.automation.RuleRegistry; -import org.eclipse.smarthome.automation.RuleStatus; -import org.eclipse.smarthome.automation.core.util.ModuleBuilder; -import org.eclipse.smarthome.automation.core.util.RuleBuilder; import org.eclipse.smarthome.config.core.Configuration; import org.eclipse.smarthome.core.common.registry.ProviderChangeListener; import org.eclipse.smarthome.core.events.Event; @@ -51,6 +45,12 @@ import org.eclipse.smarthome.test.storage.VolatileStorageService; import org.junit.Assert; import org.junit.Before; import org.junit.Test; +import org.openhab.core.automation.Rule; +import org.openhab.core.automation.RuleManager; +import org.openhab.core.automation.RuleRegistry; +import org.openhab.core.automation.RuleStatus; +import org.openhab.core.automation.util.ModuleBuilder; +import org.openhab.core.automation.util.RuleBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/eclipse/smarthome/automation/module/core/internal/RuntimeRuleTest.java b/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/openhab/core/automation/internal/module/RuntimeRuleTest.java similarity index 97% rename from itests/org.openhab.core.automation.module.core.tests/src/main/java/org/eclipse/smarthome/automation/module/core/internal/RuntimeRuleTest.java rename to itests/org.openhab.core.automation.module.core.tests/src/main/java/org/openhab/core/automation/internal/module/RuntimeRuleTest.java index bbfe409f6..e2b840536 100644 --- a/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/eclipse/smarthome/automation/module/core/internal/RuntimeRuleTest.java +++ b/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/openhab/core/automation/internal/module/RuntimeRuleTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.module.core.internal; +package org.openhab.core.automation.internal.module; import static org.junit.Assert.*; @@ -26,17 +26,6 @@ import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; -import org.eclipse.smarthome.automation.Condition; -import org.eclipse.smarthome.automation.Rule; -import org.eclipse.smarthome.automation.RuleManager; -import org.eclipse.smarthome.automation.RuleRegistry; -import org.eclipse.smarthome.automation.RuleStatus; -import org.eclipse.smarthome.automation.RuleStatusDetail; -import org.eclipse.smarthome.automation.core.util.ModuleBuilder; -import org.eclipse.smarthome.automation.core.util.RuleBuilder; -import org.eclipse.smarthome.automation.events.RuleStatusInfoEvent; -import org.eclipse.smarthome.automation.module.core.handler.CompareConditionHandler; -import org.eclipse.smarthome.automation.type.ModuleTypeRegistry; import org.eclipse.smarthome.config.core.Configuration; import org.eclipse.smarthome.core.common.registry.ProviderChangeListener; import org.eclipse.smarthome.core.events.Event; @@ -58,6 +47,17 @@ import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; +import org.openhab.core.automation.Condition; +import org.openhab.core.automation.Rule; +import org.openhab.core.automation.RuleManager; +import org.openhab.core.automation.RuleRegistry; +import org.openhab.core.automation.RuleStatus; +import org.openhab.core.automation.RuleStatusDetail; +import org.openhab.core.automation.events.RuleStatusInfoEvent; +import org.openhab.core.automation.internal.module.handler.CompareConditionHandler; +import org.openhab.core.automation.type.ModuleTypeRegistry; +import org.openhab.core.automation.util.ModuleBuilder; +import org.openhab.core.automation.util.RuleBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/eclipse/smarthome/automation/module/core/internal/provider/AnnotationActionModuleTypeProviderTest.java b/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/openhab/core/automation/internal/module/provider/AnnotationActionModuleTypeProviderTest.java similarity index 91% rename from itests/org.openhab.core.automation.module.core.tests/src/main/java/org/eclipse/smarthome/automation/module/core/internal/provider/AnnotationActionModuleTypeProviderTest.java rename to itests/org.openhab.core.automation.module.core.tests/src/main/java/org/openhab/core/automation/internal/module/provider/AnnotationActionModuleTypeProviderTest.java index 34afc206f..1fba6559a 100644 --- a/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/eclipse/smarthome/automation/module/core/internal/provider/AnnotationActionModuleTypeProviderTest.java +++ b/itests/org.openhab.core.automation.module.core.tests/src/main/java/org/openhab/core/automation/internal/module/provider/AnnotationActionModuleTypeProviderTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.module.core.internal.provider; +package org.openhab.core.automation.internal.module.provider; import static org.junit.Assert.*; import static org.mockito.ArgumentMatchers.any; @@ -22,24 +22,25 @@ import java.util.List; import java.util.Map; import java.util.Set; -import org.eclipse.smarthome.automation.AnnotatedActions; -import org.eclipse.smarthome.automation.Visibility; -import org.eclipse.smarthome.automation.annotation.ActionInput; -import org.eclipse.smarthome.automation.annotation.ActionOutput; -import org.eclipse.smarthome.automation.annotation.ActionScope; -import org.eclipse.smarthome.automation.annotation.RuleAction; -import org.eclipse.smarthome.automation.module.core.provider.AnnotationActionModuleTypeHelper; -import org.eclipse.smarthome.automation.module.core.provider.i18n.ModuleTypeI18nService; -import org.eclipse.smarthome.automation.type.ActionType; -import org.eclipse.smarthome.automation.type.Input; -import org.eclipse.smarthome.automation.type.ModuleType; -import org.eclipse.smarthome.automation.type.Output; import org.eclipse.smarthome.config.core.ConfigConstants; import org.eclipse.smarthome.config.core.ConfigDescriptionParameter; import org.eclipse.smarthome.config.core.ParameterOption; import org.eclipse.smarthome.test.java.JavaTest; import org.junit.Before; import org.junit.Test; +import org.openhab.core.automation.AnnotatedActions; +import org.openhab.core.automation.Visibility; +import org.openhab.core.automation.annotation.ActionInput; +import org.openhab.core.automation.annotation.ActionOutput; +import org.openhab.core.automation.annotation.ActionScope; +import org.openhab.core.automation.annotation.RuleAction; +import org.openhab.core.automation.internal.module.provider.AnnotatedActionModuleTypeProvider; +import org.openhab.core.automation.module.provider.AnnotationActionModuleTypeHelper; +import org.openhab.core.automation.module.provider.i18n.ModuleTypeI18nService; +import org.openhab.core.automation.type.ActionType; +import org.openhab.core.automation.type.Input; +import org.openhab.core.automation.type.ModuleType; +import org.openhab.core.automation.type.Output; /** * Tests for the {@link AnnotatedActionModuleTypeProvider} diff --git a/itests/org.openhab.core.automation.module.script.defaultscope.tests/src/main/java/org/eclipse/smarthome/automation/module/script/defaultscope/internal/ScopeTest.java b/itests/org.openhab.core.automation.module.script.defaultscope.tests/src/main/java/org/openhab/core/automation/module/script/defaultscope/internal/ScopeTest.java similarity index 89% rename from itests/org.openhab.core.automation.module.script.defaultscope.tests/src/main/java/org/eclipse/smarthome/automation/module/script/defaultscope/internal/ScopeTest.java rename to itests/org.openhab.core.automation.module.script.defaultscope.tests/src/main/java/org/openhab/core/automation/module/script/defaultscope/internal/ScopeTest.java index 755f90125..999924d13 100644 --- a/itests/org.openhab.core.automation.module.script.defaultscope.tests/src/main/java/org/eclipse/smarthome/automation/module/script/defaultscope/internal/ScopeTest.java +++ b/itests/org.openhab.core.automation.module.script.defaultscope.tests/src/main/java/org/openhab/core/automation/module/script/defaultscope/internal/ScopeTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.module.script.defaultscope.internal; +package org.openhab.core.automation.module.script.defaultscope.internal; import java.io.File; import java.io.IOException; @@ -20,11 +20,11 @@ import java.net.URL; import javax.script.ScriptEngine; import javax.script.ScriptException; -import org.eclipse.smarthome.automation.module.script.ScriptEngineContainer; -import org.eclipse.smarthome.automation.module.script.ScriptEngineManager; import org.eclipse.smarthome.test.java.JavaOSGiTest; import org.junit.Before; import org.junit.Test; +import org.openhab.core.automation.module.script.ScriptEngineContainer; +import org.openhab.core.automation.module.script.ScriptEngineManager; /** * This tests the script modules diff --git a/itests/org.openhab.core.automation.module.script.tests/src/main/java/org/eclipse/smarthome/automation/module/script/ScriptRuleTest.java b/itests/org.openhab.core.automation.module.script.tests/src/main/java/org/openhab/core/automation/module/script/ScriptRuleTest.java similarity index 93% rename from itests/org.openhab.core.automation.module.script.tests/src/main/java/org/eclipse/smarthome/automation/module/script/ScriptRuleTest.java rename to itests/org.openhab.core.automation.module.script.tests/src/main/java/org/openhab/core/automation/module/script/ScriptRuleTest.java index e24cc016f..d73320b71 100644 --- a/itests/org.openhab.core.automation.module.script.tests/src/main/java/org/eclipse/smarthome/automation/module/script/ScriptRuleTest.java +++ b/itests/org.openhab.core.automation.module.script.tests/src/main/java/org/openhab/core/automation/module/script/ScriptRuleTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.module.script; +package org.openhab.core.automation.module.script; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.assertThat; @@ -22,14 +22,6 @@ import java.util.Optional; import java.util.Set; import org.eclipse.jdt.annotation.NonNull; -import org.eclipse.smarthome.automation.Action; -import org.eclipse.smarthome.automation.Condition; -import org.eclipse.smarthome.automation.Rule; -import org.eclipse.smarthome.automation.RuleManager; -import org.eclipse.smarthome.automation.RuleRegistry; -import org.eclipse.smarthome.automation.RuleStatus; -import org.eclipse.smarthome.automation.RuleStatusInfo; -import org.eclipse.smarthome.automation.Trigger; import org.eclipse.smarthome.core.common.registry.ProviderChangeListener; import org.eclipse.smarthome.core.events.Event; import org.eclipse.smarthome.core.events.EventFilter; @@ -47,6 +39,14 @@ import org.eclipse.smarthome.test.java.JavaOSGiTest; import org.eclipse.smarthome.test.storage.VolatileStorageService; import org.junit.Before; import org.junit.Test; +import org.openhab.core.automation.Action; +import org.openhab.core.automation.Condition; +import org.openhab.core.automation.Rule; +import org.openhab.core.automation.RuleManager; +import org.openhab.core.automation.RuleRegistry; +import org.openhab.core.automation.RuleStatus; +import org.openhab.core.automation.RuleStatusInfo; +import org.openhab.core.automation.Trigger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/BasicConditionHandlerTest.java b/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/BasicConditionHandlerTest.java similarity index 91% rename from itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/BasicConditionHandlerTest.java rename to itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/BasicConditionHandlerTest.java index c057046e4..317fed6df 100644 --- a/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/BasicConditionHandlerTest.java +++ b/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/BasicConditionHandlerTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.module.timer.internal; +package org.openhab.core.automation.module.timer.internal; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.assertThat; @@ -25,18 +25,6 @@ import java.util.Random; import java.util.Set; import org.eclipse.jdt.annotation.NonNull; -import org.eclipse.smarthome.automation.Action; -import org.eclipse.smarthome.automation.Condition; -import org.eclipse.smarthome.automation.Rule; -import org.eclipse.smarthome.automation.RuleManager; -import org.eclipse.smarthome.automation.RuleRegistry; -import org.eclipse.smarthome.automation.RuleStatus; -import org.eclipse.smarthome.automation.RuleStatusInfo; -import org.eclipse.smarthome.automation.Trigger; -import org.eclipse.smarthome.automation.core.util.ModuleBuilder; -import org.eclipse.smarthome.automation.core.util.RuleBuilder; -import org.eclipse.smarthome.automation.module.core.handler.ItemCommandActionHandler; -import org.eclipse.smarthome.automation.module.core.handler.ItemStateTriggerHandler; import org.eclipse.smarthome.config.core.Configuration; import org.eclipse.smarthome.core.common.registry.ProviderChangeListener; import org.eclipse.smarthome.core.events.Event; @@ -55,6 +43,18 @@ import org.eclipse.smarthome.test.java.JavaOSGiTest; import org.eclipse.smarthome.test.storage.VolatileStorageService; import org.junit.Before; import org.junit.Test; +import org.openhab.core.automation.Action; +import org.openhab.core.automation.Condition; +import org.openhab.core.automation.Rule; +import org.openhab.core.automation.RuleManager; +import org.openhab.core.automation.RuleRegistry; +import org.openhab.core.automation.RuleStatus; +import org.openhab.core.automation.RuleStatusInfo; +import org.openhab.core.automation.Trigger; +import org.openhab.core.automation.internal.module.handler.ItemCommandActionHandler; +import org.openhab.core.automation.internal.module.handler.ItemStateTriggerHandler; +import org.openhab.core.automation.util.ModuleBuilder; +import org.openhab.core.automation.util.RuleBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/DayOfWeekConditionHandlerTest.java b/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/DayOfWeekConditionHandlerTest.java similarity index 90% rename from itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/DayOfWeekConditionHandlerTest.java rename to itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/DayOfWeekConditionHandlerTest.java index 839106f45..9b6cd98a5 100644 --- a/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/DayOfWeekConditionHandlerTest.java +++ b/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/DayOfWeekConditionHandlerTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.module.timer.internal; +package org.openhab.core.automation.module.timer.internal; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.assertThat; @@ -21,12 +21,12 @@ import java.util.Calendar; import java.util.Collections; import java.util.Locale; -import org.eclipse.smarthome.automation.Condition; -import org.eclipse.smarthome.automation.core.util.ModuleBuilder; -import org.eclipse.smarthome.automation.module.timer.handler.DayOfWeekConditionHandler; -import org.eclipse.smarthome.automation.type.ModuleTypeRegistry; import org.eclipse.smarthome.config.core.Configuration; import org.junit.Test; +import org.openhab.core.automation.Condition; +import org.openhab.core.automation.internal.module.handler.DayOfWeekConditionHandler; +import org.openhab.core.automation.type.ModuleTypeRegistry; +import org.openhab.core.automation.util.ModuleBuilder; /** * This tests the dayOfWeek Condition. diff --git a/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/RuntimeRuleTest.java b/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/RuntimeRuleTest.java similarity index 91% rename from itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/RuntimeRuleTest.java rename to itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/RuntimeRuleTest.java index 42fc1fe8e..098f86678 100644 --- a/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/RuntimeRuleTest.java +++ b/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/RuntimeRuleTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.module.timer.internal; +package org.openhab.core.automation.module.timer.internal; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.assertThat; @@ -24,18 +24,6 @@ import java.util.Map; import java.util.Random; import org.eclipse.jdt.annotation.NonNull; -import org.eclipse.smarthome.automation.Action; -import org.eclipse.smarthome.automation.Rule; -import org.eclipse.smarthome.automation.RuleManager; -import org.eclipse.smarthome.automation.RuleRegistry; -import org.eclipse.smarthome.automation.RuleStatus; -import org.eclipse.smarthome.automation.RuleStatusDetail; -import org.eclipse.smarthome.automation.RuleStatusInfo; -import org.eclipse.smarthome.automation.Trigger; -import org.eclipse.smarthome.automation.core.util.ModuleBuilder; -import org.eclipse.smarthome.automation.core.util.RuleBuilder; -import org.eclipse.smarthome.automation.module.timer.handler.GenericCronTriggerHandler; -import org.eclipse.smarthome.automation.type.ModuleTypeRegistry; import org.eclipse.smarthome.config.core.Configuration; import org.eclipse.smarthome.core.common.registry.ProviderChangeListener; import org.eclipse.smarthome.core.events.Event; @@ -49,6 +37,18 @@ import org.eclipse.smarthome.test.java.JavaOSGiTest; import org.eclipse.smarthome.test.storage.VolatileStorageService; import org.junit.Before; import org.junit.Test; +import org.openhab.core.automation.Action; +import org.openhab.core.automation.Rule; +import org.openhab.core.automation.RuleManager; +import org.openhab.core.automation.RuleRegistry; +import org.openhab.core.automation.RuleStatus; +import org.openhab.core.automation.RuleStatusDetail; +import org.openhab.core.automation.RuleStatusInfo; +import org.openhab.core.automation.Trigger; +import org.openhab.core.automation.internal.module.handler.GenericCronTriggerHandler; +import org.openhab.core.automation.type.ModuleTypeRegistry; +import org.openhab.core.automation.util.ModuleBuilder; +import org.openhab.core.automation.util.RuleBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/TimeOfDayConditionHandlerTest.java b/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/TimeOfDayConditionHandlerTest.java similarity index 91% rename from itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/TimeOfDayConditionHandlerTest.java rename to itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/TimeOfDayConditionHandlerTest.java index 05e5595fd..fc163f398 100644 --- a/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/TimeOfDayConditionHandlerTest.java +++ b/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/TimeOfDayConditionHandlerTest.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.module.timer.internal; +package org.openhab.core.automation.module.timer.internal; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.assertThat; @@ -21,13 +21,13 @@ import java.time.temporal.ChronoUnit; import java.util.HashMap; import java.util.Map; -import org.eclipse.smarthome.automation.Condition; -import org.eclipse.smarthome.automation.core.util.ModuleBuilder; -import org.eclipse.smarthome.automation.module.timer.handler.DayOfWeekConditionHandler; -import org.eclipse.smarthome.automation.module.timer.handler.TimeOfDayConditionHandler; -import org.eclipse.smarthome.automation.type.ModuleTypeRegistry; import org.eclipse.smarthome.config.core.Configuration; import org.junit.Test; +import org.openhab.core.automation.Condition; +import org.openhab.core.automation.internal.module.handler.DayOfWeekConditionHandler; +import org.openhab.core.automation.internal.module.handler.TimeOfDayConditionHandler; +import org.openhab.core.automation.type.ModuleTypeRegistry; +import org.openhab.core.automation.util.ModuleBuilder; /** * This tests the TimeOfDay Condition. diff --git a/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/TimeOfDayTriggerHandlerTest.java b/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/TimeOfDayTriggerHandlerTest.java similarity index 86% rename from itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/TimeOfDayTriggerHandlerTest.java rename to itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/TimeOfDayTriggerHandlerTest.java index 7931f22cf..8be83c6b9 100644 --- a/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/eclipse/smarthome/automation/module/timer/internal/TimeOfDayTriggerHandlerTest.java +++ b/itests/org.openhab.core.automation.module.timer.tests/src/main/java/org/openhab/core/automation/module/timer/internal/TimeOfDayTriggerHandlerTest.java @@ -10,18 +10,18 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.eclipse.smarthome.automation.module.timer.internal; +package org.openhab.core.automation.module.timer.internal; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.assertThat; -import org.eclipse.smarthome.automation.RuleRegistry; -import org.eclipse.smarthome.automation.module.timer.handler.TimeOfDayTriggerHandler; -import org.eclipse.smarthome.automation.type.ModuleTypeRegistry; import org.eclipse.smarthome.test.java.JavaOSGiTest; import org.eclipse.smarthome.test.storage.VolatileStorageService; import org.junit.Before; import org.junit.Test; +import org.openhab.core.automation.RuleRegistry; +import org.openhab.core.automation.internal.module.handler.TimeOfDayTriggerHandler; +import org.openhab.core.automation.type.ModuleTypeRegistry; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/itests/org.openhab.core.binding.xml.tests/.classpath b/itests/org.openhab.core.binding.xml.tests/.classpath index 8131be0e5..7c632d263 100644 --- a/itests/org.openhab.core.binding.xml.tests/.classpath +++ b/itests/org.openhab.core.binding.xml.tests/.classpath @@ -6,19 +6,6 @@ - - - - - - - - - - - - - diff --git a/itests/org.openhab.core.config.xml.tests/.classpath b/itests/org.openhab.core.config.xml.tests/.classpath index 8131be0e5..7c632d263 100644 --- a/itests/org.openhab.core.config.xml.tests/.classpath +++ b/itests/org.openhab.core.config.xml.tests/.classpath @@ -6,19 +6,6 @@ - - - - - - - - - - - - - diff --git a/itests/org.openhab.core.io.net.tests/.classpath b/itests/org.openhab.core.io.net.tests/.classpath index 8131be0e5..7c632d263 100644 --- a/itests/org.openhab.core.io.net.tests/.classpath +++ b/itests/org.openhab.core.io.net.tests/.classpath @@ -6,19 +6,6 @@ - - - - - - - - - - - - - diff --git a/itests/org.openhab.core.io.rest.core.tests/.classpath b/itests/org.openhab.core.io.rest.core.tests/.classpath index 5e8a55fef..7c632d263 100644 --- a/itests/org.openhab.core.io.rest.core.tests/.classpath +++ b/itests/org.openhab.core.io.rest.core.tests/.classpath @@ -6,13 +6,6 @@ - - - - - - - diff --git a/itests/org.openhab.core.model.script.tests/.classpath b/itests/org.openhab.core.model.script.tests/.classpath index 8131be0e5..7c632d263 100644 --- a/itests/org.openhab.core.model.script.tests/.classpath +++ b/itests/org.openhab.core.model.script.tests/.classpath @@ -6,19 +6,6 @@ - - - - - - - - - - - - - diff --git a/itests/org.openhab.core.thing.xml.tests/.classpath b/itests/org.openhab.core.thing.xml.tests/.classpath index 8131be0e5..7c632d263 100644 --- a/itests/org.openhab.core.thing.xml.tests/.classpath +++ b/itests/org.openhab.core.thing.xml.tests/.classpath @@ -6,19 +6,6 @@ - - - - - - - - - - - - - diff --git a/itests/org.openhab.core.voice.tests/.classpath b/itests/org.openhab.core.voice.tests/.classpath index 8131be0e5..7c632d263 100644 --- a/itests/org.openhab.core.voice.tests/.classpath +++ b/itests/org.openhab.core.voice.tests/.classpath @@ -6,19 +6,6 @@ - - - - - - - - - - - - -