Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java216 String newFileContents = "bar"; in openFileOutput_shouldOverwriteData() local
221 fileOutputStream.write(newFileContents.getBytes(UTF_8)); in openFileOutput_shouldOverwriteData()
224 byte[] readBuffer = new byte[newFileContents.length()]; in openFileOutput_shouldOverwriteData()
226 assertThat(new String(readBuffer, UTF_8)).isEqualTo(newFileContents); in openFileOutput_shouldOverwriteData()