summaryrefslogtreecommitdiffstats
path: root/components/datalake-handler/feeder/src/test/java
diff options
context:
space:
mode:
authorRama-Huawei <rama.subba.reddy.s@huawei.com>2019-04-16 17:45:45 +0530
committerRama-Huawei <rama.subba.reddy.s@huawei.com>2019-04-16 17:47:49 +0530
commit6a104760c87139a7cfac5a23b9b6b67e90822134 (patch)
tree9ffb9285c6d4d8e0f5a787284a2bf6a08b5aab0e /components/datalake-handler/feeder/src/test/java
parentbca6895e81ceb77a467d3ceeec45b5536c1712df (diff)
Unit test code for datalake seed code
Improved Application code coverage Issue-ID: DCAEGEN2-1309 Change-Id: Iad599877616ea3b633765cf5119a97ef86912a97 Signed-off-by: Rama-Huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'components/datalake-handler/feeder/src/test/java')
-rw-r--r--components/datalake-handler/feeder/src/test/java/org/onap/datalake/feeder/ApplicationTest.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/components/datalake-handler/feeder/src/test/java/org/onap/datalake/feeder/ApplicationTest.java b/components/datalake-handler/feeder/src/test/java/org/onap/datalake/feeder/ApplicationTest.java
new file mode 100644
index 00000000..7513249f
--- /dev/null
+++ b/components/datalake-handler/feeder/src/test/java/org/onap/datalake/feeder/ApplicationTest.java
@@ -0,0 +1,33 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * org.onap.holmes.common.aai
+ * ================================================================================
+ * Copyright (C) 2018-2019 Huawei. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.datalake.feeder;
+
+import org.junit.Test;
+import org.onap.datalake.feeder.service.PullService;
+
+public class ApplicationTest {
+ @Test
+ //only dot(.) in key got replaced
+ public void replaceDotInKey() {
+ Application application = new Application();
+ application.commandLineRunner(new PullService());
+ }
+}