HomePhabricator

Add test for getHandle in FileChunkSaver

Authored by WMDE-Fisch on May 9 2018, 8:49 AM.

Description

Add test for getHandle in FileChunkSaver

fopen throws and exception right away when it fails to get
the handle in that case but still returns false. To allow the
custom exception flow to work as intended, I catch and log
that exception separately.

Bug: T190825
Change-Id: I403169751959a16ed283abba795ed32d256c9814

Details

Committed
WMDE-FischMay 9 2018, 10:02 AM
Parents
rEFLI6eddd0a4de60: Add tests for FileChunkSaver
Branches
Unknown
Tags
Unknown
ChangeId
I403169751959a16ed283abba795ed32d256c9814