use of java.util.concurrent.CountedCompleter in project j2objc by google.
the class CountedCompleterTest method testGetCompleter.
/**
* getCompleter returns parent or null if at root
*/
public void testGetCompleter() {
NoopCC a = new NoopCC();
assertNull(a.getCompleter());
CountedCompleter b = new NoopCC(a);
assertSame(a, b.getCompleter());
CountedCompleter c = new NoopCC(b);
assertSame(b, c.getCompleter());
}
Aggregations