Home
last modified time | relevance | path

Searched refs:awaitClear (Results 1 – 15 of 15) sorted by relevance

/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java19 import static com.google.inject.Asserts.awaitClear;
83 awaitClear(weakKeyRef); in testEviction()
104 awaitClear(weakKeyRef); in testEviction_nullSource()
136 awaitClear(weakSource1Ref); in testEviction_keyOverlap_2x()
149 awaitClear(weakKey2Ref); in testEviction_keyOverlap_2x()
150 awaitClear(weakSource2Ref); in testEviction_keyOverlap_2x()
152 awaitClear(weakKey1Ref); in testEviction_keyOverlap_2x()
211 awaitClear(weakSourceRef); in testEviction_keyAndSourceOverlap_null()
220 awaitClear(weakKey2Ref); in testEviction_keyAndSourceOverlap_null()
221 awaitClear(weakSourceRef); in testEviction_keyAndSourceOverlap_null()
[all …]
DMapBinderTest.java1366 Asserts.awaitClear(weakRef); in testWeakKeySet_integration_mapbinder()
DOptionalBinderTest.java1442 Asserts.awaitClear(weakRef); in testWeakKeySet_integration()
/external/guava/guava-tests/test/com/google/common/base/
DFinalizableReferenceQueueClassLoaderUnloadingTest.java122 GcFinalization.awaitClear(sepStopwatchRef.get()); in useFrqInSeparateLoader()
130 GcFinalization.awaitClear(loaderRef); in doTestUnloadable()
186 GcFinalization.awaitClear(loaderRef); in testUnloadableInStaticFieldIfClosed()
227 GcFinalization.awaitClear(finalizableWeakReference); in doTestUnloadableInStaticFieldIfClosed()
DFinalizableReferenceQueueTest.java79 GcFinalization.awaitClear(queueReference); in testThatFinalizerStops()
DAbstractIteratorTest.java172 GcFinalization.awaitClear(ref); in testFreesNextReference()
DEnumsTest.java79 GcFinalization.awaitClear(shadowLoaderReference); in testGetIfPresent_doesNotPreventClassUnloading()
/external/guava/guava-testlib/src/com/google/common/testing/
DGcFinalization.java254 public static void awaitClear(final WeakReference<?> ref) { in awaitClear() method in GcFinalization
292 awaitClear(ref); in awaitFullGc()
/external/guava/guava-testlib/test/com/google/common/testing/
DGcFinalizationTest.java76 GcFinalization.awaitClear(ref); in testAwaitClear()
162 GcFinalization.awaitClear(ref); in testAwaitClear_Interrupted()
/external/guice/core/test/com/google/inject/
DKeyTest.java22 import static com.google.inject.Asserts.awaitClear;
338 awaitClear(moduleRef); // Make sure anonymous keys & typeliterals don't hold the module. in testAnonymousClassesDontHoldRefs()
351 awaitClear(runnerRef); // also make sure anonymous keys & typeliterals don't hold for JITs in testAnonymousClassesDontHoldRefs()
DAsserts.java195 public static void awaitClear(WeakReference<?> ref) {
206 GcFinalization.awaitClear(ref);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java116 GcFinalization.awaitClear(weakRef); in testWeakImplementations()
124 GcFinalization.awaitClear(garbage); in testStrongImplementations()
/external/guava/guava-tests/test/com/google/common/collect/
DInternersTest.java78 GcFinalization.awaitClear(signal); in testWeak_afterGC()
DAbstractIteratorTest.java145 GcFinalization.awaitClear(ref); in testFreesNextReference()
/external/guice/core/test/com/googlecode/guice/
DBytecodeGenTest.java252 GcFinalization.awaitClear(clazzRef); in testProxyClassUnloading()