Fix dump file write directory

PiperOrigin-RevId: 332254072
This commit is contained in:
kimvde 2020-09-17 17:47:29 +01:00 committed by Oliver Woodman
parent f56db87c99
commit cc10657c09

View file

@ -98,7 +98,7 @@ public class DumpFileAsserts {
} else {
File file =
DUMP_FILE_ACTION == WRITE_TO_LOCAL
? new File(StandardSystemProperty.USER_DIR.value(), "../../testdata/src/test")
? new File(StandardSystemProperty.USER_DIR.value(), "../../testdata/src/test/assets")
: context.getExternalFilesDir(null);
file = new File(file, dumpFile);
Assertions.checkStateNotNull(file.getParentFile()).mkdirs();