public class TestProcedureToString extends Object
| Modifier and Type | Class and Description | 
|---|---|
(package private) static class  | 
TestProcedureToString.BasicProcedure
A do-nothing basic procedure just for testing toString. 
 | 
(package private) static class  | 
TestProcedureToString.BasicProcedureEnv
A do-nothing environment for BasicProcedure. 
 | 
(package private) static class  | 
TestProcedureToString.DoublingStateStringBasicProcedure
A do-nothing basic procedure that overrides the toStringState method. 
 | 
(package private) static class  | 
TestProcedureToString.SimpleStateMachineProcedure
Do-nothing SimpleMachineProcedure for checking its toString. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
| Constructor and Description | 
|---|
TestProcedureToString()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
testBasicToString()
Test that I can override the toString for its state value. 
 | 
void | 
testStateMachineProcedure()  | 
public static final HBaseClassTestRule CLASS_RULE
public TestProcedureToString()
public void testBasicToString() throws org.apache.hadoop.hbase.procedure2.ProcedureYieldException, InterruptedException
ProcedureYieldExceptionInterruptedExceptionpublic void testStateMachineProcedure()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.