summaryrefslogtreecommitdiffstats
path: root/engine-d/src/test/java/org
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-08-07 12:36:54 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-08-07 12:42:24 +0800
commit7ab5d3b5150f3941f61f40bc27c94909bcbdfe7d (patch)
tree63a3f115c7023a07f7f092986f666704ba9a9b21 /engine-d/src/test/java/org
parent4ced1931f4e031761d6d16484bb59a975dfcdc68 (diff)
Change the groupid from openo to onap
Change the groupid and package paths to onap. Change-Id: Ie2f9926d418fbb434509a0d740efa95148ab58de Issue-ID: HOLMES-8 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d/src/test/java/org')
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/EngineDActiveAppTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/EngineDActiveAppTest.java)2
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/EnginedAppConfigTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/EnginedAppConfigTest.java)4
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/db/CorrelationRuleDaoTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/db/CorrelationRuleDaoTest.java)4
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/db/mapper/CorrelationRuleMapperTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/db/mapper/CorrelationRuleMapperTest.java)2
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/manager/DroolsEngineTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/manager/DroolsEngineTest.java)16
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/request/CompileRuleRequestTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/request/CompileRuleRequestTest.java)2
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/request/DeployRuleRequestTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/request/DeployRuleRequestTest.java)2
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/resources/EngineResourcesTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/resources/EngineResourcesTest.java)10
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/response/CorrelationRuleResponseTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/response/CorrelationRuleResponseTest.java)3
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/utils/AlarmUtilTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/utils/AlarmUtilTest.java)6
-rw-r--r--engine-d/src/test/java/org/onap/holmes/engine/wrapper/RuleMgtWrapperTest.java (renamed from engine-d/src/test/java/org/openo/holmes/engine/wrapper/RuleMgtWrapperTest.java)10
11 files changed, 30 insertions, 31 deletions
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/EngineDActiveAppTest.java b/engine-d/src/test/java/org/onap/holmes/engine/EngineDActiveAppTest.java
index b69f9db..362211b 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/EngineDActiveAppTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/EngineDActiveAppTest.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.holmes.engine;
+package org.onap.holmes.engine;
/**
* Created by Administrator on 2017/2/20.
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/EnginedAppConfigTest.java b/engine-d/src/test/java/org/onap/holmes/engine/EnginedAppConfigTest.java
index b7bcf34..9642474 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/EnginedAppConfigTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/EnginedAppConfigTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.openo.holmes.engine;
+package org.onap.holmes.engine;
import io.dropwizard.db.DataSourceFactory;
import org.hamcrest.core.IsEqual;
@@ -22,7 +22,7 @@ import org.hamcrest.core.IsNull;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
-import org.openo.holmes.common.config.MQConfig;
+import org.onap.holmes.common.config.MQConfig;
import org.powermock.api.easymock.PowerMock;
public class EnginedAppConfigTest {
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/db/CorrelationRuleDaoTest.java b/engine-d/src/test/java/org/onap/holmes/engine/db/CorrelationRuleDaoTest.java
index 073f590..128f58a 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/db/CorrelationRuleDaoTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/db/CorrelationRuleDaoTest.java
@@ -14,14 +14,14 @@
* limitations under the License.
*/
-package org.openo.holmes.engine.db;
+package org.onap.holmes.engine.db;
import org.easymock.EasyMock;
import org.hamcrest.core.IsNull;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
-import org.openo.holmes.common.api.entity.CorrelationRule;
+import org.onap.holmes.common.api.entity.CorrelationRule;
import org.powermock.api.easymock.PowerMock;
import java.util.ArrayList;
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/db/mapper/CorrelationRuleMapperTest.java b/engine-d/src/test/java/org/onap/holmes/engine/db/mapper/CorrelationRuleMapperTest.java
index 6e43f86..acf62c6 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/db/mapper/CorrelationRuleMapperTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/db/mapper/CorrelationRuleMapperTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.openo.holmes.engine.db.mapper;
+package org.onap.holmes.engine.db.mapper;
import org.junit.Test;
import org.powermock.api.easymock.PowerMock;
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/manager/DroolsEngineTest.java b/engine-d/src/test/java/org/onap/holmes/engine/manager/DroolsEngineTest.java
index 54d9bf5..5487177 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/manager/DroolsEngineTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/manager/DroolsEngineTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.openo.holmes.engine.manager;
+package org.onap.holmes.engine.manager;
import static org.easymock.EasyMock.anyBoolean;
import static org.easymock.EasyMock.anyInt;
@@ -44,13 +44,13 @@ import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
-import org.openo.holmes.common.api.entity.CorrelationRule;
-import org.openo.holmes.common.api.stat.Alarm;
-import org.openo.holmes.common.config.MQConfig;
-import org.openo.holmes.common.constant.AlarmConst;
-import org.openo.holmes.common.exception.CorrelationException;
-import org.openo.holmes.engine.request.DeployRuleRequest;
-import org.openo.holmes.engine.wrapper.RuleMgtWrapper;
+import org.onap.holmes.engine.request.DeployRuleRequest;
+import org.onap.holmes.common.api.entity.CorrelationRule;
+import org.onap.holmes.common.api.stat.Alarm;
+import org.onap.holmes.common.config.MQConfig;
+import org.onap.holmes.common.constant.AlarmConst;
+import org.onap.holmes.common.exception.CorrelationException;
+import org.onap.holmes.engine.wrapper.RuleMgtWrapper;
import org.powermock.api.easymock.PowerMock;
import org.powermock.modules.junit4.rule.PowerMockRule;
import org.powermock.reflect.Whitebox;
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/request/CompileRuleRequestTest.java b/engine-d/src/test/java/org/onap/holmes/engine/request/CompileRuleRequestTest.java
index e1baae7..3c938fd 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/request/CompileRuleRequestTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/request/CompileRuleRequestTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.openo.holmes.engine.request;
+package org.onap.holmes.engine.request;
import org.junit.Test;
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/request/DeployRuleRequestTest.java b/engine-d/src/test/java/org/onap/holmes/engine/request/DeployRuleRequestTest.java
index 1f9b12f..8170668 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/request/DeployRuleRequestTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/request/DeployRuleRequestTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.openo.holmes.engine.request;
+package org.onap.holmes.engine.request;
import org.junit.Test;
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/resources/EngineResourcesTest.java b/engine-d/src/test/java/org/onap/holmes/engine/resources/EngineResourcesTest.java
index 51f46a6..3c68182 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/resources/EngineResourcesTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/resources/EngineResourcesTest.java
@@ -14,16 +14,16 @@
* limitations under the License.
*/
-package org.openo.holmes.engine.resources;
+package org.onap.holmes.engine.resources;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
-import org.openo.holmes.common.exception.CorrelationException;
-import org.openo.holmes.engine.manager.DroolsEngine;
-import org.openo.holmes.engine.request.CompileRuleRequest;
-import org.openo.holmes.engine.request.DeployRuleRequest;
+import org.onap.holmes.common.exception.CorrelationException;
+import org.onap.holmes.engine.manager.DroolsEngine;
+import org.onap.holmes.engine.request.CompileRuleRequest;
+import org.onap.holmes.engine.request.DeployRuleRequest;
import org.powermock.api.easymock.PowerMock;
import org.powermock.reflect.Whitebox;
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/response/CorrelationRuleResponseTest.java b/engine-d/src/test/java/org/onap/holmes/engine/response/CorrelationRuleResponseTest.java
index f8899e6..85659f2 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/response/CorrelationRuleResponseTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/response/CorrelationRuleResponseTest.java
@@ -14,10 +14,9 @@
* limitations under the License.
*/
-package org.openo.holmes.engine.response;
+package org.onap.holmes.engine.response;
import org.junit.Test;
-import org.openo.holmes.engine.request.DeployRuleRequest;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.Assert.assertThat;
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/utils/AlarmUtilTest.java b/engine-d/src/test/java/org/onap/holmes/engine/utils/AlarmUtilTest.java
index 107d6e9..97330a7 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/utils/AlarmUtilTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/utils/AlarmUtilTest.java
@@ -14,15 +14,15 @@
* limitations under the License.
*/
-package org.openo.holmes.engine.utils;
+package org.onap.holmes.engine.utils;
import org.hamcrest.core.IsEqual;
import org.hamcrest.core.IsNull;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
-import org.openo.holmes.common.api.stat.Alarm;
-import org.openo.holmes.common.producer.MQProducer;
+import org.onap.holmes.common.api.stat.Alarm;
+import org.onap.holmes.common.producer.MQProducer;
import org.powermock.api.easymock.PowerMock;
import org.powermock.reflect.Whitebox;
diff --git a/engine-d/src/test/java/org/openo/holmes/engine/wrapper/RuleMgtWrapperTest.java b/engine-d/src/test/java/org/onap/holmes/engine/wrapper/RuleMgtWrapperTest.java
index fab68df..cd7aff4 100644
--- a/engine-d/src/test/java/org/openo/holmes/engine/wrapper/RuleMgtWrapperTest.java
+++ b/engine-d/src/test/java/org/onap/holmes/engine/wrapper/RuleMgtWrapperTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package org.openo.holmes.engine.wrapper;
+package org.onap.holmes.engine.wrapper;
import static org.easymock.EasyMock.anyInt;
import static org.easymock.EasyMock.anyObject;
@@ -25,10 +25,10 @@ import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
-import org.openo.holmes.common.api.entity.CorrelationRule;
-import org.openo.holmes.common.exception.CorrelationException;
-import org.openo.holmes.common.utils.DbDaoUtil;
-import org.openo.holmes.engine.db.CorrelationRuleDao;
+import org.onap.holmes.common.api.entity.CorrelationRule;
+import org.onap.holmes.common.exception.CorrelationException;
+import org.onap.holmes.common.utils.DbDaoUtil;
+import org.onap.holmes.engine.db.CorrelationRuleDao;
import org.powermock.api.easymock.PowerMock;
import org.powermock.reflect.Whitebox;