OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:observable
(Results
1 - 4
of
4
) sorted by null
/libcore/luni/src/test/java/libcore/java/util/
OldObserverTest.java
19
import java.util.
Observable
;
28
public void update(
Observable
observed, Object arg) {
37
class TestObservable extends
Observable
{
44
TestObservable
observable
= new TestObservable();
local
46
observable
.addObserver(observer = new Mock_Observer());
47
observable
.notifyObservers();
49
observable
.doChange();
50
observable
.notifyObservers();
/cts/tests/tests/database/src/android/database/cts/
ObservableTest.java
19
import android.database.
Observable
;
26
@TestTargetClass(android.database.
Observable
.class)
43
MockObservable
observable
= new MockObservable();
local
47
observable
.registerObserver((null));
53
// In the beginning,
Observable
has no observer object, nothing to be unregistered.
55
observable
.unregisterObserver(observer);
60
// Test unregister a null object, the
Observable
will unregister nothing.
62
observable
.unregisterObserver(null);
68
observable
.registerObserver(observer);
72
observable
.registerObserver(observer)
96
MockObservable
observable
= new MockObservable();
local
[
all
...]
/libcore/luni/src/test/java/tests/api/java/util/
ObservableTest.java
20
import java.util.
Observable
;
31
public void update(
Observable
observed, Object arg) {
51
public void update(
Observable
observed, Object arg) {
65
static class TestObservable extends
Observable
{
77
TestObservable
observable
;
field in class:ObservableTest
80
* java.util.
Observable
#
Observable
()
83
// Test for method java.util.
Observable
()
85
Observable
ov = new
Observable
();
[
all
...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ObservableTest.java
20
import java.util.
Observable
;
31
public void update(
Observable
observed, Object arg) {
51
public void update(
Observable
observed, Object arg) {
65
static class TestObservable extends
Observable
{
73
TestObservable
observable
;
field in class:ObservableTest
76
* @tests java.util.
Observable
#
Observable
()
79
// Test for method java.util.
Observable
()
80
Observable
ov = new
Observable
();
[
all
...]
Completed in 747 milliseconds