mirror of
https://github.com/androidx/media.git
synced 2025-05-10 00:59:51 +08:00
Delete temporary test folders on test exit.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=138860196
This commit is contained in:
parent
92a98d1ce2
commit
ff1a008817
@ -40,6 +40,11 @@ public class CachedContentIndexTest extends InstrumentationTestCase {
|
|||||||
index = new CachedContentIndex(cacheDir);
|
index = new CachedContentIndex(cacheDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void tearDown() throws Exception {
|
||||||
|
TestUtil.recursiveDelete(cacheDir);
|
||||||
|
}
|
||||||
|
|
||||||
public void testAddGetRemove() throws Exception {
|
public void testAddGetRemove() throws Exception {
|
||||||
final String key1 = "key1";
|
final String key1 = "key1";
|
||||||
final String key2 = "key2";
|
final String key2 = "key2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user