VOL-1838 Unit test cases for golang openolt adapter device_handler.go
1.Mocked AdapterproxyIntf and coreproxyIntf Interfaces for unit test cases.
2. Added few unit testcases for the device_handler.go functions
Change-Id: I793d94055d2c0480e614e918c064df51cdf0b0ae
diff --git a/Gopkg.lock b/Gopkg.lock
index 11f90bd..f0bef73 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -242,7 +242,7 @@
"rw_core/utils",
]
pruneopts = "UT"
- revision = "84169b5c5b9913aa612f3145b2a39c288ecd53d1"
+ revision = "4c9e559d974d5a8cf30e9ba6425547303b9a5d0d"
[[projects]]
digest = "1:78a853c38b4935f01a99fbb41edbb4382a23586f929ecf02dd80d4452f2e3c0d"
@@ -531,8 +531,10 @@
analyzer-version = 1
input-imports = [
"github.com/gogo/protobuf/proto",
+ "github.com/golang/protobuf/proto",
"github.com/golang/protobuf/ptypes",
"github.com/opencord/voltha-go/adapters",
+ "github.com/opencord/voltha-go/adapters/adapterif",
"github.com/opencord/voltha-go/adapters/common",
"github.com/opencord/voltha-go/common/log",
"github.com/opencord/voltha-go/common/ponresourcemanager",