Class TestConnectionId

java.lang.Object
org.apache.hadoop.hbase.ipc.TestConnectionId

public class TestConnectionId extends Object
  • Field Details

    • CLASS_RULE

      public static final HBaseClassTestRule CLASS_RULE
    • testConfig

      private org.apache.hadoop.conf.Configuration testConfig
    • testUser1

      private org.apache.hadoop.hbase.security.User testUser1
    • testUser2

      private org.apache.hadoop.hbase.security.User testUser2
    • serviceName

    • address

      private org.apache.hadoop.hbase.net.Address address
    • connectionId1

      private org.apache.hadoop.hbase.ipc.ConnectionId connectionId1
    • connectionId2

      private org.apache.hadoop.hbase.ipc.ConnectionId connectionId2
  • Constructor Details

  • Method Details

    • testGetServiceName

      public void testGetServiceName()
    • testGetAddress

      public void testGetAddress()
    • testGetTicket

      public void testGetTicket()
    • testToString

      public void testToString()
    • testEqualsWithHashCode

      public void testEqualsWithHashCode()
      Test if the over-ridden equals method satisfies all the properties (reflexive, symmetry, transitive and null) along with their hashcode
    • testHashCode

      public void testHashCode()
      Test the hashcode for same object and different object with both hashcode function and static hashcode function