Skip to content

Commit

Permalink
Remove unused method in MinidumpUploadCallableTest.
Browse files Browse the repository at this point in the history
BUG=

Review-Url: https://codereview.chromium.org/2828533003
Cr-Commit-Position: refs/heads/master@{#465336}
  • Loading branch information
gsennton authored and Commit bot committed Apr 18, 2017
1 parent d024b37 commit b6f9cf9
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
Expand Down Expand Up @@ -404,18 +402,6 @@ public void testCallPermittedButNotUnderCurrentCircumstances_ForcedUpload() thro
assertTrue(mExpectedFileAfterUpload.exists());
}

private void extendUploadFile(int numBytes) throws FileNotFoundException, IOException {
FileOutputStream stream = null;
try {
stream = new FileOutputStream(mTestUpload, true);
byte[] buf = new byte[numBytes];
stream.write(buf);
stream.flush();
} finally {
if (stream != null) stream.close();
}
}

@SmallTest
@Feature({"Android-AppBase"})
public void testReceivingErrorCodes() throws Exception {
Expand Down

0 comments on commit b6f9cf9

Please sign in to comment.