From d2d661eeb66a7a2dc8ceadfe47dc3493ef07d671 Mon Sep 17 00:00:00 2001 From: Ravi Pendurty Date: Fri, 14 Feb 2020 10:28:04 +0100 Subject: Add Unit tests Add Unit tests to provide Code coverage for compliance Issue-ID: SDNC-1069 Signed-off-by: Ravi Pendurty Change-Id: I34027a4cad73be01abf3ca1d988e66167449d251 --- .../model/src/main/yang/devicemanager-gran.yang | 42 +++++++++---- .../wt/devicemanager/gran/GRanNetworkElement.java | 2 +- .../gran/test/TestDeviceManagerGRanImpl.java | 58 ++++++++++++++++++ .../gran/test/TestGRanNetworkElement.java | 55 +++++++++++++++++ .../gran/test/TestGRanNetworkElementFactory.java | 68 ++++++++++++++++++++++ 5 files changed, 214 insertions(+), 11 deletions(-) create mode 100644 sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestDeviceManagerGRanImpl.java create mode 100644 sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestGRanNetworkElement.java create mode 100644 sdnr/wt/devicemanager-gran/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/gran/test/TestGRanNetworkElementFactory.java diff --git a/sdnr/wt/devicemanager-gran/model/src/main/yang/devicemanager-gran.yang b/sdnr/wt/devicemanager-gran/model/src/main/yang/devicemanager-gran.yang index ca52678dd..4272892a7 100644 --- a/sdnr/wt/devicemanager-gran/model/src/main/yang/devicemanager-gran.yang +++ b/sdnr/wt/devicemanager-gran/model/src/main/yang/devicemanager-gran.yang @@ -1,15 +1,37 @@ module devicemanager-gran { - yang-version 1; - namespace "urn:opendaylight:params:xml:ns:yang:devicemanager-gran"; - prefix "devicemanager-gran"; - description - "DeviceManager 3gpp Api Module"; + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:devicemanager-gran"; + prefix devicemanager-gran; + + organization + "highstreet technologies GmbH"; + contact + "Web: + O-RAN1: