final public class BufferedValueModelTest extends TestCase (Code)
Tests class
BufferedValueModel .
Critical are state changes to and from the state
where buffered value == subject value.
author: Jeanette Winzenburg author: Karsten Lentzsch version: $Revision: 1.19 $ See Also:BufferedValueModel
testIgnoresSubjectValuesIfValueAssigned() Tests that the BufferedValueModel returns the buffered values
once a value has been assigned and ignores subject value changes.
public void
testIsBufferingIfValueAssigned() Tests that the buffer is buffering once a value has been assigned,
even if the buffered value is equal to the subject's value.
testListensToCurrentSubject() Checks that the buffer listens to changes of the current subject
and moves the value change handler if the subject changes.