| com.jgoodies.binding.tests.IndirectListModelTest
IndirectListModelTest | final public class IndirectListModelTest extends TestCase (Code) | | A test case for class
IndirectListModel .
author: Karsten Lentzsch version: $Revision: 1.2 $ |
testConstructorRejectsInvalidListModelHolderContent | public void testConstructorRejectsInvalidListModelHolderContent()(Code) | | |
testConstructorRejectsNonIdentityCheckingValueHolder | public void testConstructorRejectsNonIdentityCheckingValueHolder()(Code) | | |
testConstructorRejectsNullListModelHolder | public void testConstructorRejectsNullListModelHolder()(Code) | | |
testFiresListModelListDataEvents | public void testFiresListModelListDataEvents()(Code) | | Checks that list data events from an underlying are reported
by the SelectionInList.
|
testListDataEventsOnDirectListChange | public void testListDataEventsOnDirectListChange()(Code) | | Tests the ListDataEvents fired during list changes.
The transitions are {} -> {} -> {a, b} -> {b, c} -> {a, b, c} -> {b, c} -> {}.
|
testListDataEventsOnDirectListModelChange | public void testListDataEventsOnDirectListModelChange()(Code) | | Tests the ListDataEvents fired during ListModel changes.
The transitions are {} -> {} -> {a, b} -> {b, c} -> {a, b, c} -> {b, c} -> {}.
|
testListDataEventsOnIndirectListChange | public void testListDataEventsOnIndirectListChange()(Code) | | Tests the ListDataEvents fired during list changes.
The transitions are {} -> {a} -> {b} -> {} on the same list.
|
testListDataEventsOnIndirectListModelChange | public void testListDataEventsOnIndirectListModelChange()(Code) | | Tests the ListDataEvents fired during list changes.
The transitions are {} -> {a} -> {b} -> {} on the same list.
|
testListDataEventsOnListAdd | public void testListDataEventsOnListAdd()(Code) | | Tests the ListDataEvents fired in list changes after elements
have been added. Shall detect bugs where the IndirectListModel's internal
listSize is unsynchronized with the list.
|
testListDataEventsOnListModelAdd | public void testListDataEventsOnListModelAdd()(Code) | | Tests the ListDataEvents fired in list changes after elements
have been added. Shall detect bugs where the ListHolder's internal
listSize is unsynchronized with the list.
|
testListDataEventsOnListModelRemove | public void testListDataEventsOnListModelRemove()(Code) | | Tests the ListDataEvents fired in list changes after elements
have been removed. Shall detect bugs where the ListHolder's internal
listSize is unsynchronized with the list.
|
testListDataEventsOnListRemove | public void testListDataEventsOnListRemove()(Code) | | Tests the ListDataEvents fired in list changes after elements
have been removed. Shall detect bugs where the IndirectListModel's internal
listSize is unsynchronized with the list.
|
testListDataEventsRetainListModelSizeConstraints | public void testListDataEventsRetainListModelSizeConstraints()(Code) | | Tests that ListDataEvents fired during list changes
provide size information that are consistent with the
size of the list model.
The transitions are {} -> {} -> {a, b} -> {b, c} -> {a, b, c} -> {b, c} -> {}.
|
testListDataEventsRetainSizeConstraints | public void testListDataEventsRetainSizeConstraints()(Code) | | Tests that ListDataEvents fired during list changes
provide size information that are consistent with the
size of the list model.
The transitions are {} -> {} -> {a, b} -> {b, c} -> {a, b, c} -> {b, c} -> {}.
|
testReregisterListDataListener | public void testReregisterListDataListener()(Code) | | Checks and verifies for a bunch of ListModel instances,
whether the ListDataListener has been reregistered properly.
|
testSingleListDataListener | public void testSingleListDataListener()(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 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.
|
|
|