test_class.declarator: CONTENT_HEIGHT = 1700
test_class.modifier: private static final
test_class.original_string: private static final int CONTENT_HEIGHT = 1700;
test_class.type: int
test_class.var_name: CONTENT_HEIGHT
test_class.declarator: ITEM_HEIGHT = 230
test_class.modifier: private static final
test_class.original_string: private static final int ITEM_HEIGHT = 230;
test_class.type: int
test_class.var_name: ITEM_HEIGHT
test_class.declarator: mTodoListController
test_class.modifier: private
test_class.original_string: private TodoListController mTodoListController;
test_class.type: TodoListController
test_class.var_name: mTodoListController
test_class.declarator: mItemViewModelList
test_class.modifier: private
test_class.original_string: private List<TodoItemViewModel> mItemViewModelList;
test_class.type: List<TodoItemViewModel>
test_class.var_name: mItemViewModelList
test_class.declarator: mContext
test_class.modifier: private
test_class.original_string: private Context mContext;
test_class.type: Context
test_class.var_name: mContext
test_class.declarator: mTodoItemViewHolder
test_class.modifier: private
test_class.original_string: private TodoItemViewHolder mTodoItemViewHolder;
test_class.type: TodoItemViewHolder
test_class.var_name: mTodoItemViewHolder
test_class.declarator: mTodoFooterViewHolder
test_class.modifier: private
test_class.original_string: private TodoFooterViewHolder mTodoFooterViewHolder;
test_class.type: TodoFooterViewHolder
test_class.var_name: mTodoFooterViewHolder
test_class.declarator: mFooterView
test_class.modifier: private
test_class.original_string: private View mFooterView;
test_class.type: View
test_class.var_name: mFooterView
test_class.declarator: rule = new PowerMockRule()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public PowerMockRule rule = new PowerMockRule();
test_class.type: PowerMockRule
test_class.var_name: rule
test_class.declarator: mEventBus
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private EventBus mEventBus;
test_class.type: EventBus
test_class.var_name: mEventBus
test_class.file: app/src/test/java/apidez/com/doit/controller/TodoListControllerTest.java
test_class.identifier: TodoListControllerTest
test_case.body: @Test
      public void testResetState() throws Exception {
          clickView(mTodoItemViewHolder.todoView);
          mTodoListController.resetState();
          for (int i = 0; i < mItemViewModelList.size(); i++) {
              assertNormalitem(i);
          }
      }
test_case.class_method_signature: TodoListControllerTest.testResetState()
test_case.full_signature: @Test public void testResetState()
test_case.identifier: testResetState
test_case.invocations: clickView resetState size assertNormalitem
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testResetState()
focal_class.declarator: mFooterView
focal_class.modifier: private
focal_class.original_string: private View mFooterView;
focal_class.type: View
focal_class.var_name: mFooterView
focal_class.declarator: mEventBus
focal_class.modifier: private
focal_class.original_string: private EventBus mEventBus;
focal_class.type: EventBus
focal_class.var_name: mEventBus
focal_class.declarator: mContext
focal_class.modifier: private
focal_class.original_string: private Context mContext;
focal_class.type: Context
focal_class.var_name: mContext
focal_class.declarator: mItems
focal_class.modifier: private
focal_class.original_string: private List<TodoItemViewModel> mItems;
focal_class.type: List<TodoItemViewModel>
focal_class.var_name: mItems
focal_class.declarator: mListSize
focal_class.modifier: private
focal_class.original_string: private BehaviorSubject<Integer> mListSize;
focal_class.type: BehaviorSubject<Integer>
focal_class.var_name: mListSize
focal_class.declarator: mItemHeight
focal_class.modifier: private
focal_class.original_string: private BehaviorSubject<Integer> mItemHeight;
focal_class.type: BehaviorSubject<Integer>
focal_class.var_name: mItemHeight
focal_class.file: app/src/main/java/apidez/com/doit/controller/TodoListController.java
focal_class.identifier: TodoListController
focal_class.class_method_signature: TodoListController.TodoListController(@NonNull Context context, @NonNull List<TodoItemViewModel> items,
                                @NonNull EventBus eventBus)
focal_class.full_signature: public  TodoListController(@NonNull Context context, @NonNull List<TodoItemViewModel> items,
                                @NonNull EventBus eventBus)
focal_class.identifier: TodoListController
focal_class.modifiers: public
focal_class.parameters: (@NonNull Context context, @NonNull List<TodoItemViewModel> items,
                                @NonNull EventBus eventBus)
focal_class.signature:  TodoListController(@NonNull Context context, @NonNull List<TodoItemViewModel> items,
                                @NonNull EventBus eventBus)
focal_class.class_method_signature: TodoListController.setItems(List<TodoItemViewModel> items)
focal_class.full_signature: public void setItems(List<TodoItemViewModel> items)
focal_class.identifier: setItems
focal_class.modifiers: public
focal_class.parameters: (List<TodoItemViewModel> items)
focal_class.return: void
focal_class.signature: void setItems(List<TodoItemViewModel> items)
focal_class.class_method_signature: TodoListController.bindFooterAction(TodoFooterViewHolder holder)
focal_class.full_signature: public void bindFooterAction(TodoFooterViewHolder holder)
focal_class.identifier: bindFooterAction
focal_class.modifiers: public
focal_class.parameters: (TodoFooterViewHolder holder)
focal_class.return: void
focal_class.signature: void bindFooterAction(TodoFooterViewHolder holder)
focal_class.class_method_signature: TodoListController.footerHeight()
focal_class.full_signature: private Observable<Integer> footerHeight()
focal_class.identifier: footerHeight
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Observable<Integer>
focal_class.signature: Observable<Integer> footerHeight()
focal_class.class_method_signature: TodoListController.calculateFooterHeight(int listSize, int itemHeight)
focal_class.full_signature: private int calculateFooterHeight(int listSize, int itemHeight)
focal_class.identifier: calculateFooterHeight
focal_class.modifiers: private
focal_class.parameters: (int listSize, int itemHeight)
focal_class.return: int
focal_class.signature: int calculateFooterHeight(int listSize, int itemHeight)
focal_class.class_method_signature: TodoListController.bindItemAction(TodoItemViewHolder viewHolder, TodoItemViewModel viewModel)
focal_class.full_signature: public void bindItemAction(TodoItemViewHolder viewHolder, TodoItemViewModel viewModel)
focal_class.identifier: bindItemAction
focal_class.modifiers: public
focal_class.parameters: (TodoItemViewHolder viewHolder, TodoItemViewModel viewModel)
focal_class.return: void
focal_class.signature: void bindItemAction(TodoItemViewHolder viewHolder, TodoItemViewModel viewModel)
focal_class.class_method_signature: TodoListController.observeItemHeight(View itemView)
focal_class.full_signature: public void observeItemHeight(View itemView)
focal_class.identifier: observeItemHeight
focal_class.modifiers: public
focal_class.parameters: (View itemView)
focal_class.return: void
focal_class.signature: void observeItemHeight(View itemView)
focal_class.class_method_signature: TodoListController.emitItemHeightIfNot(View itemView)
focal_class.full_signature: private void emitItemHeightIfNot(View itemView)
focal_class.identifier: emitItemHeightIfNot
focal_class.modifiers: private
focal_class.parameters: (View itemView)
focal_class.return: void
focal_class.signature: void emitItemHeightIfNot(View itemView)
focal_class.class_method_signature: TodoListController.resetState()
focal_class.full_signature: public void resetState()
focal_class.identifier: resetState
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetState()
focal_class.class_method_signature: TodoListController.handleChooseItem(View itemView, TodoItemViewModel decorator)
focal_class.full_signature: private void handleChooseItem(View itemView, TodoItemViewModel decorator)
focal_class.identifier: handleChooseItem
focal_class.modifiers: private
focal_class.parameters: (View itemView, TodoItemViewModel decorator)
focal_class.return: void
focal_class.signature: void handleChooseItem(View itemView, TodoItemViewModel decorator)
focal_class.class_method_signature: TodoListController.updateFooterWhenClickItem(boolean actionShowing)
focal_class.full_signature: private void updateFooterWhenClickItem(boolean actionShowing)
focal_class.identifier: updateFooterWhenClickItem
focal_class.modifiers: private
focal_class.parameters: (boolean actionShowing)
focal_class.return: void
focal_class.signature: void updateFooterWhenClickItem(boolean actionShowing)
focal_class.class_method_signature: TodoListController.updateListWhenClickItem(TodoItemViewModel decorator)
focal_class.full_signature: private void updateListWhenClickItem(TodoItemViewModel decorator)
focal_class.identifier: updateListWhenClickItem
focal_class.modifiers: private
focal_class.parameters: (TodoItemViewModel decorator)
focal_class.return: void
focal_class.signature: void updateListWhenClickItem(TodoItemViewModel decorator)
focal_class.class_method_signature: TodoListController.waitForLayoutCompleteFireEvent(View itemView, TodoItemViewModel decorator)
focal_class.full_signature: private void waitForLayoutCompleteFireEvent(View itemView, TodoItemViewModel decorator)
focal_class.identifier: waitForLayoutCompleteFireEvent
focal_class.modifiers: private
focal_class.parameters: (View itemView, TodoItemViewModel decorator)
focal_class.return: void
focal_class.signature: void waitForLayoutCompleteFireEvent(View itemView, TodoItemViewModel decorator)
focal_class.class_method_signature: TodoListController.indexOf(TodoItemViewModel decorator)
focal_class.full_signature: private int indexOf(TodoItemViewModel decorator)
focal_class.identifier: indexOf
focal_class.modifiers: private
focal_class.parameters: (TodoItemViewModel decorator)
focal_class.return: int
focal_class.signature: int indexOf(TodoItemViewModel decorator)
focal_method.body: public void resetState() {
          updateFooterWhenClickItem(false);
          for (TodoItemViewModel todoItemViewModel : mItems) {
              todoItemViewModel.resetState();
          }
      }
focal_method.class_method_signature: TodoListController.resetState()
focal_method.full_signature: public void resetState()
focal_method.identifier: resetState
focal_method.invocations: updateFooterWhenClickItem resetState
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void resetState()