apps: create state tracking object for WifiStateMachine that holds notes
When processing Android logs, state will be kept in a new
WifiStateMachine object. This object holds an array of notes. The
notes are comprised of flagged messages that were found during
After processing, the log processor displays a summary for the supplied
log. In this summary, the notes for the WifiStateMachine are displayed.
Each note contains a link to the (highlighted) log line in the displayed
Two tests were also added:
1. Test for proper regular expression matching for the Android log
2. A sample log is processed and the resulting WifiStateMachine object
is confirmed to have the correct number of notes when complete.
TEST=manually with Chrome OS, Brillo and Android logs
TEST=ran 'grunt test'
9 files changed