|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.tests.util.observer.AnotherObserverTest
public class AnotherObserverTest
Another test case for the observer package.
| Nested Class Summary | |
|---|---|
(package private) class |
AnotherObserverTest.Sum
|
| Field Summary | |
|---|---|
(package private) ObservableValue<Integer> |
m_last
the last value. |
(package private) int |
m_notified
counts the number of change notifications received. |
(package private) SettableObservableValue<Integer> |
m_origin
the first value. |
(package private) ObservableValue<Integer>[] |
m_values
the list of all values. |
(package private) static int |
SIZE
the size of this test. |
| Constructor Summary | |
|---|---|
AnotherObserverTest()
|
|
| Method Summary | |
|---|---|
void |
changed(Integer newRef)
|
void |
setUp()
|
void |
testUnsubscribe()
tests unsubscription. |
void |
testUpdate()
tests update propagation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final int SIZE
SettableObservableValue<Integer> m_origin
ObservableValue<Integer>[] m_values
ObservableValue<Integer> m_last
int m_notified
| Constructor Detail |
|---|
public AnotherObserverTest()
| Method Detail |
|---|
public void setUp()
public void changed(Integer newRef)
changed in interface ValueObserver<Integer>public void testUpdate()
public void testUnsubscribe()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||