Package org.apache.hadoop.hbase.ipc
Class TestConnectionId
java.lang.Object
org.apache.hadoop.hbase.ipc.TestConnectionId
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.net.Addressstatic final HBaseClassTestRuleprivate org.apache.hadoop.hbase.ipc.ConnectionIdprivate org.apache.hadoop.hbase.ipc.ConnectionIdprivate Stringprivate org.apache.hadoop.conf.Configurationprivate org.apache.hadoop.hbase.security.Userprivate org.apache.hadoop.hbase.security.User -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest if the over-ridden equals method satisfies all the properties (reflexive, symmetry, transitive and null) along with their hashcodevoidvoidvoidvoidTest the hashcode for same object and different object with both hashcode function and static hashcode functionvoid
-
Field Details
-
CLASS_RULE
-
testConfig
-
testUser1
-
testUser2
-
serviceName
-
address
-
connectionId1
-
connectionId2
-
-
Constructor Details
-
TestConnectionId
public TestConnectionId()
-
-
Method Details
-
testGetServiceName
-
testGetAddress
-
testGetTicket
-
testToString
-
testEqualsWithHashCode
Test if the over-ridden equals method satisfies all the properties (reflexive, symmetry, transitive and null) along with their hashcode -
testHashCode
Test the hashcode for same object and different object with both hashcode function and static hashcode function
-