Searched refs:expectedMemUsage (Results 1 – 1 of 1) sorted by relevance
567 int expectedMemUsage = (testKey1.length() + testValue1.length() in testMemoryUsagePerPackage() local569 assertEquals(expectedMemUsage, settingsState.getMemoryUsage(TEST_PACKAGE)); in testMemoryUsagePerPackage()574 expectedMemUsage += (testKey2.length() + testValue1.length()) * Character.BYTES; in testMemoryUsagePerPackage()575 assertEquals(expectedMemUsage, settingsState.getMemoryUsage(TEST_PACKAGE)); in testMemoryUsagePerPackage()580 expectedMemUsage += (testValue2.length() - testValue1.length()) * 2 * Character.BYTES; in testMemoryUsagePerPackage()581 assertEquals(expectedMemUsage, settingsState.getMemoryUsage(TEST_PACKAGE)); in testMemoryUsagePerPackage()586 expectedMemUsage -= (testValue2.length() - testValue3.length()) * Character.BYTES; in testMemoryUsagePerPackage()587 assertEquals(expectedMemUsage, settingsState.getMemoryUsage(TEST_PACKAGE)); in testMemoryUsagePerPackage()591 expectedMemUsage -= (testValue1.length() - testValue2.length()) * Character.BYTES; in testMemoryUsagePerPackage()592 assertEquals(expectedMemUsage, settingsState.getMemoryUsage(TEST_PACKAGE)); in testMemoryUsagePerPackage()[all …]