Class TestTopScreenPresenter
java.lang.Object
org.apache.hadoop.hbase.hbtop.screen.top.TestTopScreenPresenter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private 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.Summary
private org.apache.hadoop.hbase.hbtop.screen.top.TopScreenModel
private org.apache.hadoop.hbase.hbtop.screen.top.TopScreenPresenter
private org.apache.hadoop.hbase.hbtop.screen.top.TopScreenView
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
assertHeaders
(List<org.apache.hadoop.hbase.hbtop.screen.top.Header> actual) private boolean
assertRecord
(org.apache.hadoop.hbase.hbtop.Record actual, org.apache.hadoop.hbase.hbtop.Record expected) private boolean
assertRecords
(List<org.apache.hadoop.hbase.hbtop.Record> actual) private boolean
assertSelectedRecord
(org.apache.hadoop.hbase.hbtop.Record actual, int expectedSelectedRecodeIndex) private boolean
assertSummary
(org.apache.hadoop.hbase.hbtop.screen.top.Summary actual) void
setup()
void
void
void
private void
verifyHorizontalScrolling
(org.mockito.InOrder inOrder, int expectedHeaderCount) private void
verifyVerticalScrolling
(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)
-