@Test public void testDeletionOfExplicitlyUsedRow() throws Exception { addRowWithPriorityOver(""); addRowWithPriorityOver("1"); addRowWithPriorityOver("1"); addRowWithPriorityOver("2"); addRowWithPriorityOver("4"); modelSynchronizer.deleteRow(0); assertPriorities(Arrays.asList("0", "0", "1", "3")); }
public void deleteRow(final int rowIndex) { prioritySynchronizer.deleteRow(rowIndex); updateSystemControlledColumnValues((a, b) -> {}); }
SystemControlledColumnValuesSynchronizer { public void deleteRow(final int rowIndex) { prioritySynchronizer.deleteRow(rowIndex); updateSystemControlledColumnValues((a, b) -> {}); } }
SystemControlledColumnValuesSynchronizer { public void deleteRow(final int rowIndex) { prioritySynchronizer.deleteRow(rowIndex); updateSystemControlledColumnValues((a, b) -> {}); } SystemControlledColumnValuesSynchronizer(final GuidedDecisionTable52 model,
                                                    final GuidedDecisionTableUiModel uiModel,
                                                    final GridWidgetCellFactory gridWidgetCellFactory,
                                                    final CellUtilities cellUtilities,
                                                    final ColumnUtilities columnUtilities); }
SystemControlledColumnValuesSynchronizer { public void deleteRow(final int rowIndex) { prioritySynchronizer.deleteRow(rowIndex); updateSystemControlledColumnValues((a, b) -> {}); } SystemControlledColumnValuesSynchronizer(final GuidedDecisionTable52 model,
                                                    final GuidedDecisionTableUiModel uiModel,
                                                    final GridWidgetCellFactory gridWidgetCellFactory,
                                                    final CellUtilities cellUtilities,
                                                    final ColumnUtilities columnUtilities); void updateSystemControlledColumnValues(); void deleteRow(final int rowIndex); void insertRow(final int rowIndex); void appendRow(); }
SystemControlledColumnValuesSynchronizer { public void deleteRow(final int rowIndex) { prioritySynchronizer.deleteRow(rowIndex); updateSystemControlledColumnValues((a, b) -> {}); } SystemControlledColumnValuesSynchronizer(final GuidedDecisionTable52 model,
                                                    final GuidedDecisionTableUiModel uiModel,
                                                    final GridWidgetCellFactory gridWidgetCellFactory,
                                                    final CellUtilities cellUtilities,
                                                    final ColumnUtilities columnUtilities); void updateSystemControlledColumnValues(); void deleteRow(final int rowIndex); void insertRow(final int rowIndex); void appendRow();  }