Home
last modified time | relevance | path

Searched refs:calls (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DLineNumberReaderTest.java150 private int calls = 0; in testReadLineSourceThrows()
158 if (calls++ < 2) { in testReadLineSourceThrows()
/libcore/luni/src/test/java/libcore/xml/
DDomTest.java873 assertEquals(expected, handler.calls); in testUserDataHandlerNotifiedOfShallowClones()
895 assertEquals(expected, handler.calls); in testUserDataHandlerNotifiedOfDeepClones()
917 assertEquals(expected, handler.calls); in testUserDataHandlerNotifiedOfShallowImports()
940 assertEquals(expected, handler.calls); in testUserDataHandlerNotifiedOfDeepImports()
1075 assertEquals(expected, handler.calls); in testUserDataHandlerNotifiedOfOnlyShallowAdoptions()
1334 assertEquals(expected, handler.calls); in testUserDataHandlerNotifiedOfRenames()
1702 final Set<String> calls = new HashSet<String>(); field in DomTest.RecordingHandler
1704 calls.add(notification(operation, key, data, src, dst)); in handle()
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java637 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in testConnectViaHttpProxyToHttps()
715 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in testProxyConnectIncludesProxyHeadersOnly()
1597 assertEquals(Arrays.asList("verify " + hostName), hostnameVerifier.calls);
1603 trustManager.calls);
2412 private final List<String> calls = new ArrayList<String>();
2415 calls.add("getAcceptedIssuers");
2421 calls.add("checkClientTrusted " + certificatesToString(chain) + " " + authType);
2426 calls.add("checkServerTrusted " + certificatesToString(chain) + " " + authType);
2439 private final List<String> calls = new ArrayList<String>();
2442 calls.add("verify " + hostname);
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinPoolTest.java71 volatile int calls = 0; field in ForkJoinPoolTest.FailingThreadFactory
73 if (++calls > 1) return null; in newThread()
DThreadPoolExecutorTest.java49 int calls = 0; field in ThreadPoolExecutorTest.FailingThreadFactory
51 if (++calls > 1) return null; in newThread()
DThreadPoolExecutorSubclassTest.java189 int calls = 0; field in ThreadPoolExecutorSubclassTest.FailingThreadFactory
191 if (++calls > 1) return null; in newThread()