Home
last modified time | relevance | path

Searched refs:ShadowStatFs (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowStatFsTest.java17 ShadowStatFs.registerStats("/tmp", 100, 20, 10); in shouldRegisterStats()
23 assertThat(statsFs.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldRegisterStats()
28 ShadowStatFs.registerStats(new File("/tmp"), 100, 20, 10); in shouldRegisterStatsWithFile()
34 assertThat(statsFs.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldRegisterStatsWithFile()
39 ShadowStatFs.registerStats("/tmp", 101, 21, 11); in shouldUseBestMatch()
40 ShadowStatFs.registerStats("/tmp/a", 102, 22, 12); in shouldUseBestMatch()
49 assertThat(statsFsForTmp.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldUseBestMatch()
54 assertThat(statsFsForA.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldUseBestMatch()
59 assertThat(statsFsForB.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldUseBestMatch()
64 assertThat(statsFsForAC.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldUseBestMatch()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowStatFs.java20 public class ShadowStatFs { class