[go: nahoru, domu]

Searched refs:mExpectations (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java421 private CountDownLatch mExpectations; field in class:ConnectivityServiceTest.MockNetworkFactory
424 // mExpectations is non-null.
463 if (mExpectations != null && !mExpectingAdditions) {
472 assertTrue("Added more requests than expected", mExpectations.getCount() > 0);
473 mExpectations.countDown();
480 if (mExpectations != null && mExpectingAdditions) {
489 assertTrue("Removed more requests than expected", mExpectations.getCount() > 0);
490 mExpectations.countDown();
495 if (mExpectations != null) {
496 fail("Can't add expectation, " + mExpectations
[all...]

Completed in 47 milliseconds