| org.apache.commons.events.observable.ObservedTestHelper
All known Subclasses: org.apache.commons.events.observable.TestObservableCollection, org.apache.commons.events.observable.TestObservableSortedBag, org.apache.commons.events.observable.TestObservableBag, org.apache.commons.events.observable.TestObservableSet, org.apache.commons.events.observable.TestObservableList, org.apache.commons.events.observable.TestObservableBuffer, org.apache.commons.events.observable.TestObservableSortedSet,
ObservedTestHelper | public class ObservedTestHelper extends Assert (Code) | | Helper for testing
ObservedCollection implementations.
since: Commons Events 1.0 version: $Revision: 155443 $ $Date: 2005-02-26 06:19:51 -0700 (Sat, 26 Feb 2005) $ author: Stephen Colebourne |
Inner Class :public static class Listener implements StandardModificationListener | |
Inner Class :public static class PreListener implements StandardPreModificationListener | |
Inner Class :public static class PostListener implements StandardPostModificationListener | |
Inner Class :public static interface ObservedFactory | |
Method Summary | |
public static void | bulkTestObservedBag(ObservedFactory factory) | public static void | bulkTestObservedBuffer(ObservedFactory factory) | public static void | bulkTestObservedCollection(ObservedFactory factory) | public static void | bulkTestObservedList(ObservedFactory factory) | public static void | bulkTestObservedSet(ObservedFactory factory) | public static void | bulkTestObservedSortedBag(ObservedFactory factory) | public static void | bulkTestObservedSortedSet(ObservedFactory factory) | protected static void | checkPost(ObservableCollection coll, int type, int changeIndex, int changeRepeat, Object changeObject, Object previous, int preSize, int postSize, Collection view, int viewOffset) | protected static void | checkPre(ObservableCollection coll, int type, int changeIndex, int changeRepeat, Object changeObject, Object previous, int preSize, Collection view, int viewOffset) | protected static void | checkPrePost(ObservableCollection coll, int type, int changeIndex, int changeRepeat, Object changeObject, Object previous, boolean previousPre, int preSize, int postSize) | protected static void | checkPrePost(ObservableCollection coll, int type, int changeIndex, int changeRepeat, Object changeObject, Object previous, boolean previousPre, int preSize, int postSize, Collection view, int viewOffset) | public static void | doTestAdd(ObservedFactory factory) | public static void | doTestAddAll(ObservedFactory factory) | public static void | doTestAddAllIndexed(ObservedFactory factory) | public static void | doTestAddIndexed(ObservedFactory factory) | public static void | doTestAddIterated(ObservedFactory factory) | public static void | doTestAddNCopies(ObservedFactory factory) | public static void | doTestAddRemoveGetPostListeners(ObservedFactory factory) | public static void | doTestAddRemoveGetPreListeners(ObservedFactory factory) | public static void | doTestClear(ObservedFactory factory) | public static void | doTestFactoryPlain(ObservedFactory factory) | public static void | doTestFactoryWithHandler(ObservedFactory factory) | public static void | doTestFactoryWithListener(ObservedFactory factory) | public static void | doTestFactoryWithNull(ObservedFactory factory) | public static void | doTestFactoryWithObject(ObservedFactory factory) | public static void | doTestFactoryWithPostListener(ObservedFactory factory) | public static void | doTestFactoryWithPreListener(ObservedFactory factory) | public static void | doTestHeadSet(ObservedFactory factory) | public static void | doTestRemove(ObservedFactory factory) | public static void | doTestRemoveAll(ObservedFactory factory) | public static void | doTestRemoveIndexed(ObservedFactory factory) | public static void | doTestRemoveIterated(ObservedFactory factory) | public static void | doTestRemoveListIterated(ObservedFactory factory) | public static void | doTestRemoveNCopies(ObservedFactory factory) | public static void | doTestRemoveNext(ObservedFactory factory) | public static void | doTestRetainAll(ObservedFactory factory) | public static void | doTestSetIndexed(ObservedFactory factory) | public static void | doTestSetIterated(ObservedFactory factory) | public static void | doTestSubList(ObservedFactory factory) | public static void | doTestSubSet(ObservedFactory factory) | public static void | doTestTailSet(ObservedFactory factory) |
LISTENER | final public static Listener LISTENER(Code) | | |
LISTENER2 | final public static Listener LISTENER2(Code) | | |
POST_LISTENER | final public static PostListener POST_LISTENER(Code) | | |
PRE_LISTENER | final public static PreListener PRE_LISTENER(Code) | | |
SIX_SEVEN_LIST | public static List SIX_SEVEN_LIST(Code) | | |
ObservedTestHelper | public ObservedTestHelper()(Code) | | |
bulkTestObservedBag | public static void bulkTestObservedBag(ObservedFactory factory)(Code) | | |
bulkTestObservedBuffer | public static void bulkTestObservedBuffer(ObservedFactory factory)(Code) | | |
bulkTestObservedCollection | public static void bulkTestObservedCollection(ObservedFactory factory)(Code) | | |
bulkTestObservedList | public static void bulkTestObservedList(ObservedFactory factory)(Code) | | |
bulkTestObservedSet | public static void bulkTestObservedSet(ObservedFactory factory)(Code) | | |
bulkTestObservedSortedBag | public static void bulkTestObservedSortedBag(ObservedFactory factory)(Code) | | |
bulkTestObservedSortedSet | public static void bulkTestObservedSortedSet(ObservedFactory factory)(Code) | | |
checkPost | protected static void checkPost(ObservableCollection coll, int type, int changeIndex, int changeRepeat, Object changeObject, Object previous, int preSize, int postSize, Collection view, int viewOffset)(Code) | | |
checkPre | protected static void checkPre(ObservableCollection coll, int type, int changeIndex, int changeRepeat, Object changeObject, Object previous, int preSize, Collection view, int viewOffset)(Code) | | |
checkPrePost | protected static void checkPrePost(ObservableCollection coll, int type, int changeIndex, int changeRepeat, Object changeObject, Object previous, boolean previousPre, int preSize, int postSize)(Code) | | |
checkPrePost | protected static void checkPrePost(ObservableCollection coll, int type, int changeIndex, int changeRepeat, Object changeObject, Object previous, boolean previousPre, int preSize, int postSize, Collection view, int viewOffset)(Code) | | |
doTestAdd | public static void doTestAdd(ObservedFactory factory)(Code) | | |
doTestAddAll | public static void doTestAddAll(ObservedFactory factory)(Code) | | |
doTestAddAllIndexed | public static void doTestAddAllIndexed(ObservedFactory factory)(Code) | | |
doTestAddIndexed | public static void doTestAddIndexed(ObservedFactory factory)(Code) | | |
doTestAddIterated | public static void doTestAddIterated(ObservedFactory factory)(Code) | | |
doTestAddNCopies | public static void doTestAddNCopies(ObservedFactory factory)(Code) | | |
doTestAddRemoveGetPostListeners | public static void doTestAddRemoveGetPostListeners(ObservedFactory factory)(Code) | | |
doTestAddRemoveGetPreListeners | public static void doTestAddRemoveGetPreListeners(ObservedFactory factory)(Code) | | |
doTestClear | public static void doTestClear(ObservedFactory factory)(Code) | | |
doTestFactoryPlain | public static void doTestFactoryPlain(ObservedFactory factory)(Code) | | |
doTestFactoryWithHandler | public static void doTestFactoryWithHandler(ObservedFactory factory)(Code) | | |
doTestFactoryWithListener | public static void doTestFactoryWithListener(ObservedFactory factory)(Code) | | |
doTestFactoryWithNull | public static void doTestFactoryWithNull(ObservedFactory factory)(Code) | | |
doTestFactoryWithObject | public static void doTestFactoryWithObject(ObservedFactory factory)(Code) | | |
doTestFactoryWithPostListener | public static void doTestFactoryWithPostListener(ObservedFactory factory)(Code) | | |
doTestFactoryWithPreListener | public static void doTestFactoryWithPreListener(ObservedFactory factory)(Code) | | |
doTestHeadSet | public static void doTestHeadSet(ObservedFactory factory)(Code) | | |
doTestRemove | public static void doTestRemove(ObservedFactory factory)(Code) | | |
doTestRemoveAll | public static void doTestRemoveAll(ObservedFactory factory)(Code) | | |
doTestRemoveIndexed | public static void doTestRemoveIndexed(ObservedFactory factory)(Code) | | |
doTestRemoveIterated | public static void doTestRemoveIterated(ObservedFactory factory)(Code) | | |
doTestRemoveListIterated | public static void doTestRemoveListIterated(ObservedFactory factory)(Code) | | |
doTestRemoveNCopies | public static void doTestRemoveNCopies(ObservedFactory factory)(Code) | | |
doTestRemoveNext | public static void doTestRemoveNext(ObservedFactory factory)(Code) | | |
doTestRetainAll | public static void doTestRetainAll(ObservedFactory factory)(Code) | | |
doTestSetIndexed | public static void doTestSetIndexed(ObservedFactory factory)(Code) | | |
doTestSetIterated | public static void doTestSetIterated(ObservedFactory factory)(Code) | | |
doTestSubList | public static void doTestSubList(ObservedFactory factory)(Code) | | |
doTestSubSet | public static void doTestSubSet(ObservedFactory factory)(Code) | | |
doTestTailSet | public static void doTestTailSet(ObservedFactory factory)(Code) | | |
|
|