internal virtual void Compare(DatanodeID dn, DatanodeID dn2) { NUnit.Framework.Assert.AreEqual(dn.GetIpAddr(), dn2.GetIpAddr()); NUnit.Framework.Assert.AreEqual(dn.GetHostName(), dn2.GetHostName()); NUnit.Framework.Assert.AreEqual(dn.GetDatanodeUuid(), dn2.GetDatanodeUuid()); NUnit.Framework.Assert.AreEqual(dn.GetXferPort(), dn2.GetXferPort()); NUnit.Framework.Assert.AreEqual(dn.GetInfoPort(), dn2.GetInfoPort()); NUnit.Framework.Assert.AreEqual(dn.GetIpcPort(), dn2.GetIpcPort()); }