Class TestTopScreenPresenter
java.lang.Object
org.apache.hadoop.hbase.hbtop.screen.top.TestTopScreenPresenter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final List<org.apache.hadoop.hbase.hbtop.field.FieldInfo>private static final List<org.apache.hadoop.hbase.hbtop.Record>private static final org.apache.hadoop.hbase.hbtop.screen.top.Summaryprivate org.apache.hadoop.hbase.hbtop.screen.top.TopScreenModelprivate org.apache.hadoop.hbase.hbtop.screen.top.TopScreenPresenterprivate org.apache.hadoop.hbase.hbtop.screen.top.TopScreenView -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanassertHeaders(List<org.apache.hadoop.hbase.hbtop.screen.top.Header> actual) private booleanassertRecord(org.apache.hadoop.hbase.hbtop.Record actual, org.apache.hadoop.hbase.hbtop.Record expected) private booleanassertRecords(List<org.apache.hadoop.hbase.hbtop.Record> actual) private booleanassertSelectedRecord(org.apache.hadoop.hbase.hbtop.Record actual, int expectedSelectedRecodeIndex) private booleanassertSummary(org.apache.hadoop.hbase.hbtop.screen.top.Summary actual) voidsetup()voidvoidvoidprivate voidverifyHorizontalScrolling(org.mockito.InOrder inOrder, int expectedHeaderCount) private voidverifyVerticalScrolling(org.mockito.InOrder inOrder, int expectedSelectedRecodeIndex)
-
Field Details
-
CLASS_RULE
-
TEST_FIELD_INFOS
-
TEST_RECORDS
-
TEST_SUMMARY
-
topScreenView
-
topScreenModel
-
topScreenPresenter
-
-
Constructor Details
-
TestTopScreenPresenter
public TestTopScreenPresenter()
-
-
Method Details
-
setup
-
testRefresh
-
testVerticalScrolling
-
verifyVerticalScrolling
-
testHorizontalScrolling
-
verifyHorizontalScrolling
-
assertSummary
-
assertHeaders
-
assertRecords
-
assertSelectedRecord
private boolean assertSelectedRecord(org.apache.hadoop.hbase.hbtop.Record actual, int expectedSelectedRecodeIndex) -
assertRecord
private boolean assertRecord(org.apache.hadoop.hbase.hbtop.Record actual, org.apache.hadoop.hbase.hbtop.Record expected)
-