From 484ac5a5ac0bb10414ae8436f3765397bb1f8e87 Mon Sep 17 00:00:00 2001 From: Taka Date: Thu, 25 Jan 2018 11:41:43 -0500 Subject: enhance test coverage under appc-request-handler Change-Id: Ifa491d78dd2a65e3e3cbd25d09d8eda7a983a398 Signed-off-by: Taka Issue-ID: APPC-487 --- .../requesthandler/constant/ConstantsTest.java | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/constant/ConstantsTest.java (limited to 'appc-dispatcher/appc-request-handler/appc-request-handler-core') diff --git a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/constant/ConstantsTest.java b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/constant/ConstantsTest.java new file mode 100644 index 000000000..4947f93ad --- /dev/null +++ b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/constant/ConstantsTest.java @@ -0,0 +1,41 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APPC + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Copyright (C) 2017 Amdocs + * ============================================================================= + * 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. + * + * ECOMP is a trademark and service mark of AT&T Intellectual Property. + * ============LICENSE_END========================================================= + */ + +package org.onap.appc.requesthandler.constant; + +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import java.util.concurrent.TimeUnit; + +public class ConstantsTest { + + @Test + public void TestConstants(){ + + Constants Con = new Constants(); + Assert.assertEquals(900000, Con.DEFAULT_IDLE_TIMEOUT); + + } +} -- cgit 1.2.3-korg