Package org.apache.hadoop.hbase.ipc
Class TestConnectionId
java.lang.Object
org.apache.hadoop.hbase.ipc.TestConnectionId
-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.net.Address
static final HBaseClassTestRule
private org.apache.hadoop.hbase.ipc.ConnectionId
private org.apache.hadoop.hbase.ipc.ConnectionId
private String
private org.apache.hadoop.conf.Configuration
private org.apache.hadoop.hbase.security.User
private org.apache.hadoop.hbase.security.User
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test if the over-ridden equals method satisfies all the properties (reflexive, symmetry, transitive and null) along with their hashcodevoid
void
void
void
Test 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
-