public class TestCoreMasterCoprocessor extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TestCoreMasterCoprocessor.CoreMasterCoprocessor
Annotate with CoreCoprocessor. 
 | 
static class  | 
TestCoreMasterCoprocessor.NotCoreMasterCoprocessor
No annotation with CoreCoprocessor. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static HBaseTestingUtility | 
HTU  | 
private org.apache.hadoop.hbase.master.MasterCoprocessorHost | 
mch  | 
private org.apache.hadoop.hbase.master.MasterServices | 
ms  | 
org.junit.rules.TestName | 
name  | 
| Constructor and Description | 
|---|
TestCoreMasterCoprocessor()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
after()  | 
void | 
before()  | 
void | 
testCoreRegionCoprocessor()
Assert that when a Coprocessor is annotated with CoreCoprocessor, then it is possible to
 access a MasterServices instance. 
 | 
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static final HBaseTestingUtility HTU
private org.apache.hadoop.hbase.master.MasterServices ms
private org.apache.hadoop.hbase.master.MasterCoprocessorHost mch
public TestCoreMasterCoprocessor()
public void before() throws IOException
IOExceptionpublic void after() throws IOException
IOExceptionpublic void testCoreRegionCoprocessor() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.