X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fmocks%2FrnibWriterMock.go;h=292e4558efe8d77aeb142de1a2ab4e2a2b8979ee;hb=611eba27c24f595a57f7c55068605a57788ead95;hp=9e1070eccd18c5ec8d53d543592f570ec2357b46;hpb=f846c5987cd35da745534e26ac3a22bdcf8b030a;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/mocks/rnibWriterMock.go b/E2Manager/mocks/rnibWriterMock.go index 9e1070e..292e455 100644 --- a/E2Manager/mocks/rnibWriterMock.go +++ b/E2Manager/mocks/rnibWriterMock.go @@ -17,7 +17,6 @@ // This source code is part of the near-RT RIC (RAN Intelligent Controller) // platform project (RICP). - package mocks import ( @@ -82,3 +81,31 @@ func (rnibWriterMock *RnibWriterMock) RemoveE2TInstance(address string) error { return args.Error(0) } + +func (rnibWriterMock *RnibWriterMock) UpdateGnbCells(nodebInfo *entities.NodebInfo, servedNrCells []*entities.ServedNRCell) error { + args := rnibWriterMock.Called(nodebInfo, servedNrCells) + return args.Error(0) +} + +func (rnibWriterMock *RnibWriterMock) RemoveServedNrCells(inventoryName string, servedNrCells []*entities.ServedNRCell) error { + args := rnibWriterMock.Called(inventoryName, servedNrCells) + return args.Error(0) +} + +func (rnibWriterMock *RnibWriterMock) UpdateNodebInfoOnConnectionStatusInversion(nodebInfo *entities.NodebInfo, event string) error { + args := rnibWriterMock.Called(nodebInfo, event) + + return args.Error(0) +} + +func (rnibWriterMock *RnibWriterMock) SaveGeneralConfiguration(config *entities.GeneralConfiguration) error { + args := rnibWriterMock.Called(config) + + return args.Error(0) +} + +func (rnibWriterMock *RnibWriterMock) RemoveEnb(nodebInfo *entities.NodebInfo) error { + args := rnibWriterMock.Called(nodebInfo) + + return args.Error(0) +} \ No newline at end of file