Create an entity record accumulator

RecordAccumulator builds a set of datastore Entity records from a set of
leveldb logfiles in a directory tree (which is how we receive them for
database backup/restore testing).

This CL also refactors some of the logfile test code out of
LevelDbLogReaderTest so that we can reuse it for building test logs.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=167313553
This commit is contained in:
mmuller 2017-09-01 13:01:25 -07:00 committed by jianglai
parent 06f3215659
commit 8aadf137fb
5 changed files with 291 additions and 43 deletions

View file

@ -41,6 +41,7 @@ java_library(
"@com_google_api_client",
"@com_google_appengine_api_1_0_sdk//:testonly",
"@com_google_appengine_remote_api//:link",
"@com_google_auto_value",
"@com_google_code_findbugs_jsr305",
"@com_google_guava",
"@com_google_http_client",