Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change version after creation of r2 branch
[ric-plt/e2mgr.git]
/
E2Manager
/
mocks
/
rnibWriterMock.go
diff --git
a/E2Manager/mocks/rnibWriterMock.go
b/E2Manager/mocks/rnibWriterMock.go
index
cb17fe1
..
d6b1ef9
100644
(file)
--- a/
E2Manager/mocks/rnibWriterMock.go
+++ b/
E2Manager/mocks/rnibWriterMock.go
@@
-18,7
+18,6
@@
package mocks
import (
package mocks
import (
- "gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/common"
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities"
"github.com/stretchr/testify/mock"
)
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities"
"github.com/stretchr/testify/mock"
)
@@
-27,37
+26,37
@@
type RnibWriterMock struct {
mock.Mock
}
mock.Mock
}
-func (rnibWriterMock *RnibWriterMock) SaveNodeb(nbIdentity *entities.NbIdentity, nb *entities.NodebInfo)
common.IRNibE
rror {
+func (rnibWriterMock *RnibWriterMock) SaveNodeb(nbIdentity *entities.NbIdentity, nb *entities.NodebInfo)
e
rror {
args := rnibWriterMock.Called(nbIdentity, nb)
errArg := args.Get(0)
if errArg != nil {
args := rnibWriterMock.Called(nbIdentity, nb)
errArg := args.Get(0)
if errArg != nil {
- return errArg.(
common.IRNibE
rror)
+ return errArg.(
e
rror)
}
return nil
}
}
return nil
}
-func (rnibWriterMock *RnibWriterMock) UpdateNodebInfo(nodebInfo *entities.NodebInfo)
common.IRNibE
rror {
+func (rnibWriterMock *RnibWriterMock) UpdateNodebInfo(nodebInfo *entities.NodebInfo)
e
rror {
args := rnibWriterMock.Called(nodebInfo)
errArg := args.Get(0)
if errArg != nil {
args := rnibWriterMock.Called(nodebInfo)
errArg := args.Get(0)
if errArg != nil {
- return errArg.(
common.IRNibE
rror)
+ return errArg.(
e
rror)
}
return nil
}
}
return nil
}
-func (rnibWriterMock *RnibWriterMock) SaveRanLoadInformation(inventoryName string, ranLoadInformation *entities.RanLoadInformation)
common.IRNibE
rror {
+func (rnibWriterMock *RnibWriterMock) SaveRanLoadInformation(inventoryName string, ranLoadInformation *entities.RanLoadInformation)
e
rror {
args := rnibWriterMock.Called(inventoryName, ranLoadInformation)
errArg := args.Get(0)
if errArg != nil {
args := rnibWriterMock.Called(inventoryName, ranLoadInformation)
errArg := args.Get(0)
if errArg != nil {
- return errArg.(
common.IRNibE
rror)
+ return errArg.(
e
rror)
}
return nil
}
return nil