testSingleListDataListener() Checks and verifies that the SelectionInList registers
its ListDataListener with the underlying ListModel once only.
public void
testSingleListDataListenerNoOldList() Checks and verifies that the SelectionInList registers
its ListDataListener with the underlying ListModel once only.
public void testIgnoreContentsChangedOnMinusOne()(Code)
testIgnoreContentsChangedOnMinusOneEmptySelection
public void testIgnoreContentsChangedOnMinusOneEmptySelection()(Code)
testIndexChangeFiresChangesWithNonNullOldValue
public void testIndexChangeFiresChangesWithNonNullOldValue()(Code)
testInsertAfterSelectionKeepsSelectionIndex
public void testInsertAfterSelectionKeepsSelectionIndex()(Code)
testInsertBeforeSelectionIncreasesSelectionIndex
public void testInsertBeforeSelectionIncreasesSelectionIndex()(Code)
testInsertBeforeSelectionKeepsSelection
public void testInsertBeforeSelectionKeepsSelection()(Code)
testKeepsSelectionOnListChange
public void testKeepsSelectionOnListChange()(Code)
Changes the listHolder's (list) value and checks how
the SelectionInList keeps or resets the selection.
The listHolder is a ValueHolder that
reports an old and a new value.
testKeepsSelectionOnListChangeNoOldList
public void testKeepsSelectionOnListChangeNoOldList()(Code)
Changes the listHolder's (list) value and checks how
the SelectionInList keeps or resets the selection.
The listHolder is a ForgetfulValueHolder that
uses null as old value when reporting value changes.
testKeepsTableSelectionOnListChange
public void testKeepsTableSelectionOnListChange()(Code)
Changes the listHolder's (list) value and checks how
the SelectionInList keeps or resets the selection.
The listHolder is a ValueHolder that
reports an old and a new value.
testKeepsTableSelectionOnListChangeNoOldList
public void testKeepsTableSelectionOnListChangeNoOldList()(Code)
Changes the listHolder's (list) value and checks how
the SelectionInList keeps or resets the selection.
The listHolder is a ForgetfulValueHolder that
uses null as old value when reporting value changes.
Checks and verifies that the SelectionInList registers
its ListDataListener with the underlying ListModel once only.
In other words: the SelectionInList doesn't register
its ListDataListener multiple times.
Uses a list holder that checks the identity and
reports an old and new value.
testSingleListDataListenerNoOldList
public void testSingleListDataListenerNoOldList()(Code)
Checks and verifies that the SelectionInList registers
its ListDataListener with the underlying ListModel once only.
In other words: the SelectionInList doesn't register
its ListDataListener multiple times.
Uses a list holder uses null as old value when reporting value changes.