-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Low
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: onos-sadis
-
Labels:None
-
Story Points:1
The method checkEquality, which is used in several unit tests, is comparing the same object instance:
public boolean checkEquality(BaseInformation localEntry, BaseInformation entry) { SubscriberAndDeviceInformation sub = (SubscriberAndDeviceInformation) localEntry; SubscriberAndDeviceInformation other = (SubscriberAndDeviceInformation) localEntry; [...]
Once I changed it, almost all unit tests failed.
Some adjustments on resources files are needed in order to make it work.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
32845,1 | [VOL-4737] Fixing unit tests. | master | sadis | Status: MERGED | +2 | +1 |