Home
last modified time | relevance | path

Searched refs:spy (Results 1 – 3 of 3) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCollection8Test.java54 Consumer<Object> spy = (o) -> { found.add(o); }; in testForEach() local
55 c.stream().forEach(spy); in testForEach()
59 c.stream().forEach(spy); in testForEach()
64 c.stream().forEach(spy); in testForEach()
71 c.stream().forEach(spy); in testForEach()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCollection8Test.java656 Consumer<Object> spy = o -> found.add(o);
657 c.stream().forEach(spy);
661 c.stream().forEach(spy);
666 c.stream().forEach(spy);
673 c.stream().forEach(spy);
714 Consumer<Object> spy = o -> found.add(o);
715 c.forEach(spy);
719 c.forEach(spy);
724 c.forEach(spy);
731 c.forEach(spy);
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java21 import static org.mockito.Mockito.spy;
472 Provider provider = spy(new MockableProvider()); in testGetParameters_IsCalled()
473 Provider.Service service = spy(new Provider.Service(provider, "Signature", in testGetParameters_IsCalled()