Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0c4e405 authored by Rambo Wang's avatar Rambo Wang
Browse files

Add unit test for ClosedSubscriberGroupInfo

Compare homeNodebName based on values instead of references.

Bug: 151976726
Test: atest ClosedSubscriberGroupInfoTest
Change-Id: I15557e673c8b6842a6fc28b6ea814323652a00b8
parent a7aededa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ public final class ClosedSubscriberGroupInfo implements Parcelable {
        }

        ClosedSubscriberGroupInfo o = (ClosedSubscriberGroupInfo) other;
        return mCsgIndicator == o.mCsgIndicator && mHomeNodebName == o.mHomeNodebName
        return mCsgIndicator == o.mCsgIndicator && o.mHomeNodebName.equals(mHomeNodebName)
                && mCsgIdentity == o.mCsgIdentity;
    }