public final class ReplicationPeerConfigTestUtil extends Object
ReplicationPeerConfig
and do assertion.Modifier | Constructor and Description |
---|---|
private |
ReplicationPeerConfigTestUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
assertConfigEquals(org.apache.hadoop.hbase.replication.ReplicationPeerConfig expected,
org.apache.hadoop.hbase.replication.ReplicationPeerConfig actual) |
private static void |
assertMapEquals(Map<org.apache.hadoop.hbase.TableName,List<String>> expected,
Map<org.apache.hadoop.hbase.TableName,List<String>> actual) |
private static void |
assertSetEquals(Set<String> expected,
Set<String> actual) |
static org.apache.hadoop.hbase.replication.ReplicationPeerConfig |
getConfig(int seed) |
private static Set<String> |
randNamespaces(Random rand) |
private static Map<org.apache.hadoop.hbase.TableName,List<String>> |
randTableCFs(Random rand) |
private ReplicationPeerConfigTestUtil()
private static Set<String> randNamespaces(Random rand)
private static Map<org.apache.hadoop.hbase.TableName,List<String>> randTableCFs(Random rand)
public static org.apache.hadoop.hbase.replication.ReplicationPeerConfig getConfig(int seed)
private static void assertSetEquals(Set<String> expected, Set<String> actual)
private static void assertMapEquals(Map<org.apache.hadoop.hbase.TableName,List<String>> expected, Map<org.apache.hadoop.hbase.TableName,List<String>> actual)
public static void assertConfigEquals(org.apache.hadoop.hbase.replication.ReplicationPeerConfig expected, org.apache.hadoop.hbase.replication.ReplicationPeerConfig actual)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.