summaryrefslogtreecommitdiffstats
path: root/huawei
diff options
context:
space:
mode:
authorarun chapagain <arun.chapagain@huawei.com>2020-08-21 12:30:41 +0530
committerarun chapagain <arun.chapagain@huawei.com>2020-08-21 12:33:20 +0530
commite146093086a2871d07d1f68f70125f49cecb9eca (patch)
tree91cc388449f408fc8e920ba979204a666a2aa837 /huawei
parent81529f59455b00b2aa0e7b36f8dee872567143a3 (diff)
Junit for DefaultAsyncCallback
Issue-ID: VFC-1726 Signed-off-by: arun chapagain <arun.chapagain@huawei.com> Change-Id: Id4d9a165b121048968d3cce70bfbd21d162d3311
Diffstat (limited to 'huawei')
-rw-r--r--huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/DefaultAsyncCallbackTest.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/DefaultAsyncCallbackTest.java b/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/DefaultAsyncCallbackTest.java
new file mode 100644
index 00000000..a6d557c0
--- /dev/null
+++ b/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/DefaultAsyncCallbackTest.java
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2017 Huawei Technologies Co., Ltd.
+ *
+ * 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.
+ */
+package org.onap.vfc.nfvo.vnfm.svnfm.vnfmadapter.common.restclient;
+
+import org.junit.Test;
+
+public class DefaultAsyncCallbackTest {
+
+
+ @Test
+ public void callback() {
+ DefaultAsyncCallback defaultAsyncCallback = new DefaultAsyncCallback();
+ defaultAsyncCallback.callback(null);
+ defaultAsyncCallback.handleExcepion(null);
+ }
+}