Commit 6b01f32c authored by Wei-Yin Chen (陳威尹)'s avatar Wei-Yin Chen (陳威尹) Committed by Commit Bot

Fix JavaDoc in BitmapCacheTest

Bug: None
Change-Id: I956cb37b753b2983f90dd4750dfdb7e692c2d4cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1873917
Auto-Submit: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Reviewed-by: default avatarYusuf Ozuysal <yusufo@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#708303}
parent 3bf3810d
...@@ -97,13 +97,13 @@ public class BitmapCacheTest { ...@@ -97,13 +97,13 @@ public class BitmapCacheTest {
Assert.assertEquals(1, BitmapCache.dedupCacheSizeForTesting()); Assert.assertEquals(1, BitmapCache.dedupCacheSizeForTesting());
} }
/* /**
* {@link BitmapCache.clearDedupCacheForTesting} is supposed to be called in * {@link BitmapCache#clearDedupCacheForTesting} is supposed to be called in
* setUp() only, and should not be called inside a @Test, or it would leak * setUp() only, and should not be called inside a @Test, or it would leak
* too much implementation details. However, it is required to do it to * too much implementation details. However, it is required to do it to
* properly test the cache eviction without relying on GC. In order to make * properly test the cache eviction without relying on GC. In order to make
* sure {@link testLowCapacity} tests what we want to test, this test verifies * sure {@link #testLowCapacity} tests what we want to test, this test verifies
* that calling {@link BitmapCache.clearDedupCacheForTesting} is not the reason * that calling {@link BitmapCache#clearDedupCacheForTesting} is not the reason
* the cache returns null. * the cache returns null.
*/ */
@Test @Test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment