From: Rama-Huawei Date: Tue, 16 Apr 2019 12:15:45 +0000 (+0530) Subject: Unit test code for datalake seed code X-Git-Tag: 1.0.0~21 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=6a104760c87139a7cfac5a23b9b6b67e90822134;p=dcaegen2%2Fservices.git Unit test code for datalake seed code Improved Application code coverage Issue-ID: DCAEGEN2-1309 Change-Id: Iad599877616ea3b633765cf5119a97ef86912a97 Signed-off-by: Rama-Huawei --- 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()); + } +}