de-serializes a journalentry from file . concode_field_sep String TEST_GROUP concode_elem_sep long TEST_TTL concode_elem_sep long TEST_BLOCK_ID concode_elem_sep long TEST_TABLE_ID concode_elem_sep AlluxioURI TEST_UFS_PATH concode_elem_sep String TEST_KEY1 concode_elem_sep long TEST_OP_TIME_MS concode_elem_sep List<JournalEntry> ENTRIES_LIST concode_elem_sep long TEST_LINEAGE_ID concode_elem_sep String TEST_PERSISTED_STATE concode_elem_sep short TEST_MODE concode_elem_sep String TEST_OWNER concode_elem_sep String TEST_JOB_OUTPUT_PATH concode_elem_sep JournalFormatter mFormatter concode_elem_sep long TEST_CONTAINER_ID concode_elem_sep TemporaryFolder mTestFolder concode_elem_sep String TEST_KEY2 concode_elem_sep long TEST_FILE_ID concode_elem_sep String TEST_FILE_NAME concode_elem_sep AlluxioURI TEST_ALLUXIO_PATH concode_elem_sep OutputStream mOs concode_elem_sep String TEST_JOB_COMMAND concode_elem_sep InputStream mIs concode_elem_sep long TEST_SEQUENCE_NUMBER concode_elem_sep long TEST_LENGTH_BYTES concode_elem_sep long TEST_BLOCK_SIZE_BYTES concode_field_sep void entries concode_elem_sep JournalEntry apply concode_elem_sep void before concode_elem_sep void checkEntriesNumber concode_elem_sep void entryTest concode_elem_sep void after concode_elem_sep JournalFormatter getFormatter concode_elem_sep void write concode_elem_sep void assertSameEntry
JournalEntry function ( ) { JournalInputStream loc0 = mFormatter . deserialize ( mIs ) ; JournalEntry loc1 = loc0 . read ( ) ; Assert . assertEquals ( TEST_SEQUENCE_NUMBER , loc0 . getLatestSequenceNumber ( ) ) ; return loc1 ; }